/* Strechy Havrila: enamel house plate world */

@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-latin-ext-400-normal.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: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-latin-400-normal.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: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-latin-ext-500-normal.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: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-latin-500-normal.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: "Barlow Condensed"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-condensed-latin-ext-500-normal.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: "Barlow Condensed"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-condensed-latin-500-normal.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: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-condensed-latin-ext-600-normal.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: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-condensed-latin-600-normal.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: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/barlow-condensed-latin-ext-800-normal.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: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/barlow-condensed-latin-800-normal.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; }

/* width-matched stand-ins shown only until Barlow Condensed arrives, so the giant type does not jump when it swaps
   (measured: Barlow Condensed 800 is 0.955x the width of Impact and 0.70x the width of Arial Bold) */
@font-face { font-family: "BC Fallback Impact"; src: local("Impact"); font-weight: 100 900; size-adjust: 95.5%; }
@font-face { font-family: "BC Fallback Arial"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Arial"); font-weight: 100 900; size-adjust: 70%; }

:root {
  --ground: #F3F4F5;
  --paper: #FCFCFD;
  --ink: #1E1A1C;
  --ink-2: #57525A;
  --rule: #D8DADD;
  --plum: #4E2640;
  --plum-deep: #3A1B2F;
  --rim: #F3ECF0;
  --orange: #ED511D;
  --orange-ink: #BA3A0E;

  --display: "Barlow Condensed", "BC Fallback Impact", "BC Fallback Arial", sans-serif;
  --text: "Barlow", "Segoe UI", system-ui, sans-serif;

  --container: 1400px;
  --pad: clamp(20px, 4vw, 48px);
  --gap: 24px;
  --section: 96px;
  --header-h: 72px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-settle: cubic-bezier(.19, 1, .22, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); scrollbar-color: #B9B0B6 var(--ground); }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--text);
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
svg { display: block; }
::selection { background: var(--plum); color: #fff; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; background: var(--paper); padding: 10px 14px; border-radius: 6px; }
.skip:focus { left: 16px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1; letter-spacing: -.005em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 5.4vw, 5.25rem); line-height: .96; }
h2 { font-size: clamp(2.25rem, 3.6vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 2vw, 1.875rem); line-height: 1.05; }
p { margin: 0; text-wrap: pretty; }
.lead { font-size: clamp(1.125rem, 1.4vw, 1.3125rem); line-height: 1.5; color: var(--ink-2); max-width: 38ch; }

/* ---------- Plate: the enamel sign ---------- */
.plate {
  --plate-bg: var(--plum);
  --screw: 13px;
  --hole: 2.6px;
  --inset: 5px;
  --shadow: 0 1px 2px rgba(58,27,47,.2), 0 6px 14px -8px rgba(58,27,47,.35);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  padding: 14px 36px;
  /* flat enamel: solid field, punched mounting holes, 2px white rim */
  background:
    radial-gradient(circle at var(--screw) 50%, var(--ground) 0 var(--hole), transparent calc(var(--hole) + .7px)),
    radial-gradient(circle at calc(100% - var(--screw)) 50%, var(--ground) 0 var(--hole), transparent calc(var(--hole) + .7px)),
    var(--plate-bg);
  box-shadow:
    inset 0 0 0 var(--inset) var(--plate-bg),
    inset 0 0 0 calc(var(--inset) + 2px) var(--rim),
    var(--shadow);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.plate::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, transparent 32%, rgba(255,255,255,.26) 47%, rgba(255,255,255,.06) 54%, transparent 66%);
  transform: translateX(-115%);
  transition: transform .9s var(--ease-out);
}
.plate:hover::after, .plate:focus-visible::after { transform: translateX(115%); }
.plate:hover { --shadow: 0 2px 3px rgba(58,27,47,.2), 0 10px 18px -8px rgba(58,27,47,.38); transform: translateY(-1px); }
.plate:active { transform: translateY(1px) scale(.99); transition-duration: .08s; }
.plate:focus-visible { outline-offset: 4px; border-radius: 12px; }
.plate__icon { width: 24px; height: 24px; flex: none; }
.plate__text { display: flex; flex-direction: column; gap: 5px; }
.plate__label { font: 500 .9375rem/1 var(--text); color: #F1E6EC; }
.plate__num { font: 600 clamp(1.75rem, 2.4vw, 2.25rem)/1 var(--display); letter-spacing: .02em; font-variant-numeric: tabular-nums; white-space: nowrap; }

.plate--sm { --screw: 11px; padding: 10px 28px; border-radius: 8px; }
.plate--sm .plate__num { font-size: 1.25rem; letter-spacing: .03em; }
.plate--sm .plate__icon { width: 18px; height: 18px; }

.plate.plate--icon { --inset: 3px; width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 8px; background: var(--plate-bg); }
.plate--icon .plate__icon { width: 20px; height: 20px; }

.plate--orange { --plate-bg: var(--orange); --rim: #FFF4EF; }
.plate--orange .plate__label { color: #FFE9E0; }

.plate--xl { --screw: 22px; --hole: 4px; --inset: 8px; padding: 26px 60px; border-radius: 14px; gap: 20px; }
.hero .plate { --screw: 15px; --hole: 3px; --inset: 6px; padding: 18px 46px; border-radius: 12px; gap: 18px; }
.hero .plate__num { font-size: clamp(2.25rem, 3.5vw, 3.25rem); }
.hero .plate__icon { width: 30px; height: 30px; }
.plate--xl .plate__num { font-size: clamp(2.5rem, 6vw, 4.75rem); }
.plate--xl .plate__label { font-size: 1.0625rem; }
.plate--xl .plate__icon { width: 36px; height: 36px; }
.plate--xl.plate--orange .plate__num { font-size: clamp(1.5rem, 3vw, 2.25rem); letter-spacing: .01em; }

/* ---------- Links ---------- */
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--rule);
  text-underline-offset: 7px;
  transition: text-decoration-color .2s;
}
.link-arrow:hover { text-decoration-color: var(--orange); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .25s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(3px); }
.text-link { text-decoration: underline; text-decoration-color: var(--rule); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.text-link:hover { text-decoration-color: var(--orange); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ground); border-bottom: 1px solid transparent; transition: border-color .25s; }
.site-header.is-scrolled { border-bottom-color: var(--rule); }
.site-header__bar { display: flex; align-items: center; gap: 36px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; text-decoration: none; }
.brand img { height: 38px; width: auto; }
.brand span { font: 600 1.625rem/1 var(--display); letter-spacing: .005em; white-space: nowrap; }
.nav { display: flex; gap: 30px; }
.nav a { position: relative; padding: 10px 0; color: var(--ink-2); font-weight: 500; text-decoration: none; transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 2px; background: var(--orange); }
.site-header .plate--icon, .menu-btn { display: none; }
.menu-btn { width: 44px; height: 44px; align-items: center; justify-content: center; border: 0; background: none; color: var(--ink); border-radius: 8px; cursor: pointer; }
.menu-btn svg { width: 26px; height: 26px; }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }
.mobile-nav { border-top: 1px solid var(--rule); padding: 12px var(--pad) 32px; background: var(--ground); }
.mobile-nav a.m-link { display: block; padding: 12px 0; font: 600 2rem/1.1 var(--display); text-decoration: none; border-bottom: 1px solid var(--rule); }
.mobile-nav a.m-link[aria-current="page"] { color: var(--orange-ink); }
.mobile-nav .plate { margin-top: 28px; }

/* ---------- Hero ---------- */
.hero { padding-block: var(--section); }
.hero__grid { align-items: start; }
.site-footer li a { display: inline-block; padding-block: 6px; }
.site-footer ul { gap: 2px; }
.hero .lead { margin-bottom: 40px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; }

/* photo sits right; call-out labels hang in the gutter to its left, lines run onto the photo */

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--rule { border-top: 1px solid var(--rule); }
.section-head { margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { max-width: 20ch; }
.section-head .lead { margin-top: 20px; }
.split__head { grid-column: 1 / 5; align-self: start; position: sticky; top: calc(var(--header-h) + 40px); }
.split__head .lead { margin-top: 20px; }
.split__body { grid-column: 6 / 13; }

.benefits { list-style: none; margin: 0; padding: 0; }
.benefit { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap); padding-block: 32px 44px; border-top: 1px solid var(--rule); }
.benefit:last-child { padding-bottom: 0; }
.benefit p { color: var(--ink-2); max-width: 46ch; }

/* proof */

/* reviews */
.reviews { margin-top: var(--section); align-items: start; }
.quote { margin: 0; }
.quote blockquote { margin: 0; }
.quote--main { grid-column: 1 / 8; }
.quote--main blockquote p { font: 500 clamp(1.875rem, 3vw, 2.75rem)/1.1 var(--display); letter-spacing: -.005em; max-width: 22ch; }
.quote--side { grid-column: 9 / 13; display: grid; gap: 40px; }
.quote--side .quote { border-top: 1px solid var(--rule); padding-top: 24px; }
.quote--side blockquote p { font-size: 1.125rem; line-height: 1.5; }
.quote figcaption { margin-top: 18px; font-size: .9375rem; color: var(--ink-2); }
.quote figcaption strong { display: block; color: var(--ink); font-weight: 500; }

/* faq */
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; font: 600 clamp(1.25rem, 1.7vw, 1.5rem)/1.2 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--plum); }
.faq summary svg { width: 22px; height: 22px; flex: none; color: var(--orange-ink); transition: transform .35s var(--ease-out); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .answer { padding: 0 48px 26px 0; color: var(--ink-2); max-width: 62ch; }

/* cta */
.cta { padding-block: var(--section); background: var(--orange); color: var(--ink); }
.cta h2 { grid-column: 1 / 8; font-size: clamp(2.5rem, 4.6vw, 4.25rem); max-width: 16ch; }
.cta__action { grid-column: 8 / 13; justify-self: end; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.cta__alt { color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--rule); padding-block: 64px 32px; font-size: .9375rem; color: var(--ink-2); }
.footer__brand { grid-column: 1 / 6; }
.footer__brand img { width: 120px; height: auto; margin-bottom: 16px; }
.footer__brand p { max-width: 34ch; }
.footer__col { grid-column: span 2; }
.footer__col--wide { grid-column: span 3; }
.footer__title { font: 600 1.25rem/1 var(--display); color: var(--ink); margin: 0 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.footer__base { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* ---------- Page head (inner pages) ---------- */
.page-head { padding-block: var(--section); }
.page-head h1 { max-width: 14ch; margin-bottom: 28px; }
.page-head__text { grid-column: 1 / 8; }
.page-head__aside { grid-column: 9 / 13; align-self: end; }
.page-head__media { grid-column: 8 / 13; margin: 0; }
.page-head__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
.page-head--media .page-head__grid { align-items: center; }

.index { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.index a { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--rule); font: 600 1.375rem/1 var(--display); text-decoration: none; }
.index a:hover { color: var(--plum); }
.index svg { width: 18px; height: 18px; color: var(--orange-ink); transition: transform .25s var(--ease-out); }
.index a:hover svg { transform: translateY(2px); }

/* services */
.service { padding-block: clamp(40px, 5vw, 64px); border-top: 1px solid var(--rule); align-items: start; }
.service:last-of-type { border-bottom: 1px solid var(--rule); }
.service h2 { grid-column: 1 / 5; font-size: clamp(2rem, 3.2vw, 3rem); }
.service__body { grid-column: 5 / 9; }
.service__body > p { font-size: 1.125rem; }
.service__media { grid-column: 9 / 13; margin: 0; }
.service__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.ticks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 14px; color: var(--ink-2); }
.ticks li::before { content: ""; flex: none; width: 14px; height: 2px; margin-top: .78em; background: var(--orange); }

.strip-wrap { margin-top: var(--section); }
.strip-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 24px; }
.strip-head h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); }
.strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px var(--gap); }
.strip figure { margin: 0; scroll-snap-align: start; }
.strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; margin-bottom: 12px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.steps li { border-top: 2px solid var(--ink); padding-top: 22px; }
.steps h3 { margin-bottom: 12px; }
.steps p { color: var(--ink-2); max-width: 30ch; }

/* about */
.story { grid-column: 3 / 11; }
.story p { font-size: clamp(1.1875rem, 1.6vw, 1.4375rem); line-height: 1.55; max-width: 58ch; }
.story p + p { margin-top: 1.1em; }
   .quote--solo { grid-column: 1 / 10; }

/* contact */
.contact__text { grid-column: 1 / 8; }
.contact__plates { display: flex; flex-direction: column; align-items: stretch; width: fit-content; max-width: 100%; gap: 20px; margin-top: 44px; }
.contact__media { grid-column: 9 / 13; margin: 0; align-self: stretch; }
.contact__media img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.facts { margin: 44px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); max-width: 560px; }
.facts div { border-top: 1px solid var(--rule); padding-top: 14px; }
.facts dt { font-size: .9375rem; color: var(--ink-2); margin-bottom: 4px; }
.facts dd { margin: 0; font: 600 1.375rem/1.2 var(--display); }
.prep { list-style: none; margin: 0; padding: 0; counter-reset: prep; }
.prep li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap); padding-block: 26px 30px; border-top: 1px solid var(--rule); }
.prep li:last-child { border-bottom: 1px solid var(--rule); }
.prep p { color: var(--ink-2); max-width: 44ch; }

/* page-specific adjustments */
.footer__col { grid-column: 7 / 9; }
.footer__col--wide { grid-column: 9 / 13; }
.index svg { transform: rotate(90deg); }
.index a:hover svg { transform: rotate(90deg) translateX(3px); }
.services { padding-bottom: var(--section); }
.plate--orange .plate__label { color: #fff; font-weight: 600; font-size: 1.1875rem; }
.plate--xl.plate--orange .plate__label { font-size: 1.1875rem; }

/* 404 */
.notfound { padding-block: var(--section); }
.notfound h1 { margin-bottom: 24px; }
.notfound .actions { margin-top: 40px; }

/* ---------- Motion: plates settle, call-outs draw (one load moment) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero .plate--call, .contact__plates .plate { animation: settle .95s var(--ease-settle) .3s backwards; }
  .contact__plates .plate + .plate { animation-delay: .45s; }
                  }
@keyframes settle { from { opacity: 0; transform: translateY(-12px) rotate(-2.5deg); } }
@keyframes draw { from { transform: scaleX(0); } }
@keyframes fade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .plate, .plate::after, .link-arrow svg, .faq summary svg { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .site-header__bar { gap: 28px; }
  .nav { gap: 22px; }
        }

@media (max-width: 900px) {
  :root { --header-h: 64px; --gap: 20px; }
  .nav, .site-header .plate--head { display: none; }
  .site-header .plate--icon, .menu-btn { display: inline-flex; }
  .site-header__bar { gap: 8px; }
  .brand img { height: 32px; }
  .brand span { font-size: 1.4375rem; }

  .grid > * { grid-column: 1 / -1; }
  .split__head { position: static; }
  .split__body { margin-top: 40px; }
    .service h2, .cta h2, .quote--main, .quote--side { grid-column: 1 / -1; }
  /* mobile: numbered markers on the photo, labels in a legend below it */
            .strip { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding-bottom: 16px; }
  .strip img { aspect-ratio: 4 / 5; }
  .contact__plates { width: 100%; }
  .contact__media img { height: auto; aspect-ratio: 4 / 5; }
  .cta h2 { max-width: 14ch; }
  .benefit { grid-template-columns: 1fr; gap: 12px; padding-block: 26px 32px; }
  
              
  .quote--side { margin-top: 48px; }
  .faq .answer { padding-right: 0; }
  .cta__action { justify-self: start; margin-top: 32px; }

  .footer__brand { margin-bottom: 16px; }
  .footer__col, .footer__col--wide { grid-column: span 6; }

  .page-head__aside, .page-head__media, .contact__media { margin-top: 44px; }
  .service__body, .service__media { margin-top: 20px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
        .prep li { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 560px) {
  .plate { padding: 13px 32px; }
  .plate--xl { --screw: 16px; padding: 20px 40px; }
  .plate--xl .plate__num { font-size: clamp(2rem, 10vw, 2.75rem); }
  .plate--xl.plate--orange .plate__num { font-size: 1.3125rem; }
    .steps { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .footer__col, .footer__col--wide { grid-column: 1 / -1; }
  .strip-head { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* ---------- Colour fields ---------- */

/* the reviews section is one big enamel plate: plum field, white rim inset from the edges */

/* closing call: orange enamel field with the plum plate on it */
.cta h2 { color: #fff; }
.cta .text-link { text-decoration-color: rgba(30,26,28,.45); }
.cta .text-link:hover { text-decoration-color: var(--ink); }
.cta .plate { --shadow: 0 2px 3px rgba(90,25,0,.25), 0 12px 22px -10px rgba(90,25,0,.55); }

/* services band: one marquee, plum with a white rim top and bottom, roof chevrons in orange */
.band {
  overflow: hidden;
  padding-block: 26px;
  background: var(--plum);
  color: #fff;
  box-shadow: inset 0 7px 0 var(--plum), inset 0 9px 0 var(--rim), inset 0 -7px 0 var(--plum), inset 0 -9px 0 var(--rim);
}
.band__track { display: flex; width: max-content; }
.band__list { display: flex; margin: 0; padding: 0; list-style: none; }
.band__list li { display: flex; align-items: center; gap: 44px; padding-right: 44px; font: 600 clamp(1.5rem, 2.4vw, 2.25rem)/1 var(--display); letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.band__list li::after { content: ""; width: 13px; height: 13px; border-top: 3px solid var(--orange); border-left: 3px solid var(--orange); transform: translateY(4px) rotate(45deg); }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .band__track { animation: marquee 48s linear infinite; }
  .band:hover .band__track { animation-play-state: paused; }

        .hero .plate--call::after { animation: glint 1.3s var(--ease-out) 1.5s 1; }

  .js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
  /* the figure stays unclipped so IntersectionObserver can see it; only the photo inside is wiped in */
  .js [data-reveal="clip"] { opacity: 1; transform: none; }
  .js [data-reveal="clip"] img { clip-path: inset(100% 0 0 0); transition: clip-path 1.1s var(--ease-out), transform 1.2s var(--ease-out); transition-delay: calc(var(--i, 0) * 110ms), 0s; }
  .js [data-reveal="clip"].is-in img { clip-path: inset(0); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .service[data-reveal] { transition-delay: 0s; }
  [data-reveal]:nth-child(2) { --i: 1; }
  [data-reveal]:nth-child(3) { --i: 2; }
  [data-reveal]:nth-child(4) { --i: 3; }
  [data-reveal]:nth-child(5) { --i: 4; }
  [data-reveal]:nth-child(6) { --i: 5; }
  .strip figure img, .service__media img { transition: transform 1.2s var(--ease-out); }
  .strip figure:hover img, .service__media:hover img { transform: scale(1.03); }
  .strip figure, .service__media { overflow: hidden; }
}
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes unveil { from { clip-path: inset(0 0 0 100%); } }
@keyframes glint { from { transform: translateX(-115%); } to { transform: translateX(115%); } }

@media (max-width: 900px) {
  .hero { padding-top: 40px; }
    .page-head { padding-top: 48px; }
  .band { padding-block: 22px; }
}
/* ---------- v3: giant type (after the references) ---------- */
h2 { text-transform: uppercase; }
.footer__title { text-transform: none; }

/* hero: the name as the picture, a photo set into the first line, promise + phone beside the second */
.hero--giant { padding-block: 40px var(--section); }
.hero--giant .hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px 40px; align-items: end; }
.wordmark { margin: 0; font: 800 clamp(4.5rem, 16.5vw, 17rem)/.8 var(--display); letter-spacing: -.012em; text-transform: uppercase; color: var(--ink); }
.wordmark--1 { grid-column: 1 / -1; display: flex; align-items: flex-end; gap: .07em; }
.wordmark--2 { grid-column: 2; grid-row: 2; }
.wordmark__tile { flex: 1; min-width: 0; height: .71em; margin-bottom: 0; overflow: hidden; border-radius: 4px; }
.wordmark__tile img { width: 100%; height: 100%; object-fit: cover; }
.hero__side { grid-column: 1; grid-row: 2; padding-bottom: .5rem; }
.promise { margin: 0 0 14px; font: 800 clamp(1.75rem, 2.5vw, 2.5rem)/1.04 var(--display); text-transform: uppercase; color: var(--plum); max-width: 14ch; }
.hero__lead { margin-bottom: 24px; color: var(--ink-2); max-width: 32ch; }
.hero--giant .plate { --screw: 13px; --hole: 2.6px; --inset: 5px; padding: 14px 34px; border-radius: 10px; gap: 14px; }
.hero--giant .plate__num { font-size: clamp(1.75rem, 2.2vw, 2.125rem); }
.hero--giant .plate__icon { width: 24px; height: 24px; }

/* dark services band */
.band { background: var(--ink); box-shadow: inset 0 7px 0 var(--ink), inset 0 9px 0 rgba(255,255,255,.2), inset 0 -7px 0 var(--ink), inset 0 -9px 0 rgba(255,255,255,.2); }

/* benefits: big head, three ruled columns in the three brand inks */
.big-head { max-width: 17ch; margin-bottom: 64px; font: 800 clamp(2.5rem, 5.4vw, 5.25rem)/.92 var(--display); }
.trio-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px var(--gap); }
.trio-list li { border-top: 4px solid var(--ink); padding-top: 24px; }
.trio-list li:nth-child(1) { border-color: var(--plum); }
.trio-list li:nth-child(2) { border-color: var(--orange); }
.trio-list h3 { margin-bottom: 14px; font-size: clamp(1.625rem, 2.2vw, 2.125rem); }
.trio-list p { color: var(--ink-2); max-width: 36ch; }

/* plum statement block: the proof in giant caps, reviews underneath */
.statement {
  --pi: clamp(10px, 1.4vw, 18px);
  padding-block: var(--section);
  background: var(--plum);
  color: #fff;
  box-shadow: inset 0 0 0 var(--pi) var(--plum), inset 0 0 0 calc(var(--pi) + 2px) var(--rim);
}
.statement__text { max-width: 19ch; font: 800 clamp(2.75rem, 6.6vw, 6.5rem)/.9 var(--display); letter-spacing: -.008em; }
.statement__text em { font-style: normal; color: var(--orange); }
.statement__rating { margin: 40px 0 var(--section); font-size: 1.125rem; color: #E6D8E1; }
.statement__rating strong { color: #fff; font-weight: 500; }
.statement .reviews { margin-top: 0; }
.statement .quote--main blockquote p { font-size: clamp(2rem, 3.2vw, 3rem); }
.statement .quote figcaption { color: #E6D8E1; }
.statement .quote figcaption strong { color: #fff; }
.statement .quote figcaption::before { content: ""; display: block; width: 40px; height: 3px; margin-bottom: 14px; background: var(--orange); }
.statement .quote--side .quote { border-top-color: rgba(255,255,255,.22); }

/* wide rows of real work, small captions */
.works { padding-block: var(--section); }
.works__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; }
.works figure { margin: 0; }
.works img { width: 100%; object-fit: cover; border-radius: 2px; }
.works figcaption { margin-top: 10px; font-size: .875rem; color: var(--ink-2); }

/* closing call: the word itself, huge, on orange */
.cta--giant { overflow: hidden; }
.cta__giant { margin: 0 0 48px -.03em; font: 800 clamp(4.5rem, 18.5vw, 19rem)/.8 var(--display); letter-spacing: -.012em; text-transform: uppercase; color: #fff; white-space: nowrap; }
.cta__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 32px 48px; }
.cta--giant .cta__row h2 { max-width: 16ch; font-size: clamp(2rem, 3.4vw, 3.25rem); color: #fff; }
.cta--giant .cta__action { justify-self: auto; margin-top: 0; }

/* inner pages: one giant word above the page head */
.giant { grid-column: 1 / -1; margin: 0 0 56px -.03em; font: 800 clamp(4.5rem, 19vw, 19rem)/.8 var(--display); letter-spacing: -.012em; text-transform: uppercase; color: var(--ink); }
.page-head:has(.giant) { padding-top: 40px; }
.page-head h1 { font-size: clamp(2.25rem, 3.8vw, 3.75rem); }

@media (prefers-reduced-motion: no-preference) {
  .wordmark--1 .wordmark__word, .wordmark--2, .giant { animation: rise 1.1s var(--ease-out) backwards; }
  .wordmark--2 { animation-delay: .12s; }
  .wordmark__tile img { animation: unveil 1.3s var(--ease-out) .25s backwards; }
  .promise, .hero__lead { animation: rise 1s var(--ease-out) .35s backwards; }
  .hero--giant .plate--call { animation: settle .95s var(--ease-settle) .5s backwards; }
  .hero--giant .plate--call::after { animation: glint 1.3s var(--ease-out) 1.6s 1; }
  .js .statement__text[data-reveal] { transform: translateY(40px); }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .cta__giant { animation: slide-in linear both; animation-timeline: view(); animation-range: entry 0% cover 55%; }
  }
}
@keyframes slide-in { from { transform: translateX(22%); } to { transform: translateX(0); } }

@media (max-width: 1100px) {
  .hero--giant .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .wordmark--2 { grid-column: 1; grid-row: 2; justify-self: end; }
  .hero__side { grid-row: 3; margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 32px; align-items: end; }
  .hero__side .plate { grid-column: 2; grid-row: 1 / 3; }
  .trio-list { grid-template-columns: 1fr; max-width: 640px; }
}
@media (max-width: 700px) {
  .wordmark { font-size: 22.5vw; }
  .wordmark--1 { flex-wrap: wrap; }
  .hero--giant .hero__grid { row-gap: 0; }
  .wordmark__tile { flex-basis: 100%; height: auto; aspect-ratio: 16 / 10; margin: .12em 0 .06em; order: 2; }
  .hero__side { display: block; margin-top: 24px; }
  .hero__side .plate { width: 100%; justify-content: center; }
        .works__head { flex-direction: column; align-items: flex-start; }
  .cta__giant { font-size: 17.5vw; }
  .giant { font-size: 20vw; margin-bottom: 36px; }
}

@media (max-width: 420px) {
  .site-header__bar { gap: 6px; }
  .brand { gap: 8px; }
  .brand img { height: 28px; }
  .brand span { font-size: 1.25rem; }
  .menu-btn { margin-right: -8px; }
}

/* ---------- Hero in colour: plum-toned photo background, white and orange wordmark ---------- */
.hero--giant {
  position: relative;
  padding-block: 56px var(--section);
  color: #fff;
  background:
    linear-gradient(0deg, rgba(36,15,29,.78) 0%, rgba(36,15,29,0) 58%),
    linear-gradient(100deg, rgba(40,17,32,.9) 0%, rgba(58,27,47,.72) 50%, rgba(58,27,47,.48) 100%),
    url("../img/hero-bg-1280.webp") center 42% / cover no-repeat,
    var(--plum);
  background-blend-mode: normal, normal, luminosity, normal;
}
.hero--giant .wordmark { color: #F6F1F4; }
.hero--giant .wordmark--2 { color: var(--orange); }
.hero--giant .promise { color: #fff; }
.hero--giant .hero__lead { color: #E8DCE4; }
.hero--giant .wordmark__tile { box-shadow: 0 0 0 3px rgba(246,241,244,.9), 0 24px 44px -22px rgba(0,0,0,.7); }
.hero--giant .plate { --shadow: 0 2px 3px rgba(20,8,16,.35), 0 14px 26px -12px rgba(20,8,16,.7); }
@media (max-width: 700px) {
  .hero--giant { padding-top: 40px; background-image: linear-gradient(0deg, rgba(36,15,29,.8) 0%, rgba(36,15,29,.2) 60%), linear-gradient(100deg, rgba(40,17,32,.88) 0%, rgba(58,27,47,.7) 100%), url("../img/hero-bg-720.webp"); }
}

/* ---------- Page transition + loading screen: a plum curtain with the logo plate ---------- */
/* The curtain is down when a page starts. main.js adds .is-ready once the fonts and first photos are in and the
   curtain lifts; if that takes over 0.7 s, .is-slow shows a loader under the logo. Without JS it lifts by itself after 5 s.
   Clicking a link to another page drops it again (.pt-leave). */
@media (prefers-reduced-motion: no-preference) {
  body::before, body::after { content: ""; position: fixed; pointer-events: none; }
  body::before {
    inset: 0; z-index: 200;
    background: var(--plum);
    box-shadow: inset 0 -10px 0 var(--orange);
    animation: pt-lift .65s var(--ease-settle) 5s forwards;
  }
  body::after {
    left: 50%; top: 50%; z-index: 201;
    width: 168px; height: 168px; margin: -84px 0 0 -84px;
    border-radius: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 340 1080 700'%3E%3Cpath d='M 457.5 660.1 C 446.5 660.6, 417.7 661.4, 393.5 661.9 C 369.3 662.5, 345.7 663.4, 341 664 C 336.3 664.5, 320.6 665.4, 306 666 C 291 666.5, 276 667.7, 271.5 668.5 C 267.1 669.3, 253.2 670.5, 240.5 671 C 227.9 671.5, 213.5 672.7, 208.6 673.5 C 203.7 674.4, 191.8 675.7, 182.1 676.5 C 172.4 677.3, 161.1 678.4, 157 678.9 C 152.9 679.5, 145 680.2, 139.5 680.5 C 134 680.9, 127 681.6, 124 682.1 C 121 682.6, 113.8 683.5, 108 684 C 98.5 684.9, 97.3 685.2, 95.7 687.5 C 93.6 690.3, 90.5 690.7, 87.4 688.6 C 85.2 687.1, 84.3 687.2, 52.5 692 C 45.4 693.1, 34.8 694.5, 29 695 C 23.2 695.6, 16.1 696.5, 13.1 697 C 10.1 697.6, 5.9 698, 3.8 698 L 0 698 0 705.1 L 0 712.3 16.3 711.6 C 25.2 711.2, 37 710.5, 42.5 710 C 48 709.4, 57.9 708.6, 64.5 708 C 71.1 707.4, 78.8 706.5, 81.5 705.9 C 84.6 705.2, 87.4 705.2, 88.9 705.7 C 90.4 706.3, 95.7 706, 103.9 705 C 111.5 703.9, 128.1 703, 146 702.6 C 175.4 701.9, 194.8 700.8, 209 699 C 213.1 698.5, 231.6 697.6, 250 697 C 268.4 696.4, 297.2 695.2, 314 694.4 C 379.4 691, 716.7 691.5, 773.5 695 C 781.8 695.5, 805.6 696.4, 826.5 697 C 847.4 697.5, 870.8 698.6, 878.5 699.4 C 899.9 701.6, 908 702, 942 703 C 959.3 703.5, 975.6 704.4, 978.3 704.9 C 980.9 705.5, 987.8 706.2, 993.8 706.6 C 999.7 706.9, 1009.2 707.6, 1015 708 C 1044.1 710.3, 1078 712.2, 1079.4 711.7 C 1080.7 711.2, 1081 709.6, 1080.9 703.8 C 1080.9 699.8, 1080.6 697.1, 1080.3 697.8 C 1079.7 699.4, 1076.7 699.3, 1068.3 697.6 C 1064.6 696.8, 1056.1 695.6, 1049.5 695 C 1042.9 694.4, 1034.5 693.2, 1030.9 692.5 C 1027.3 691.7, 1019.2 690.6, 1012.9 690 C 1006.6 689.4, 998.2 688.2, 994.2 687.3 C 990.1 686.5, 985.1 686, 983 686.3 C 980.9 686.6, 978.8 686.4, 978.3 685.9 C 977 684.6, 971.6 683.9, 918 678.5 C 910 677.7, 899.9 676.8, 895.5 676.5 C 884.7 675.7, 881.6 675.3, 871.5 673.5 C 866.7 672.7, 852.2 671.6, 839.2 671 C 826.2 670.5, 809.4 669.1, 802 668 C 794.6 666.9, 784 666, 778.5 666 C 768.7 665.9, 755.8 665.2, 729.5 663.1 C 722.4 662.5, 696.3 661.8, 671.5 661.5 C 646.8 661.3, 618.6 660.6, 609 660 C 588.7 658.9, 486.8 658.9, 457.5 660.1 M 648.5 665 C 647.8 666.2, 650.2 667.3, 652.6 666.8 C 653.6 666.7, 654.5 665.9, 654.8 665.3 C 655.3 663.7, 649.4 663.5, 648.5 665 M 972.5 688 C 971.7 689.3, 974.5 690.4, 976.5 689.6 C 977.3 689.3, 978 688.6, 978 688 C 978 686.7, 973.3 686.7, 972.5 688 M 0.3 705 C 0.3 709.1, 0.5 710.8, 0.7 708.8 C 0.9 706.7, 0.9 703.3, 0.7 701.3 C 0.5 699.2, 0.3 700.9, 0.3 705' fill='%23965A73' fill-rule='evenodd'/%3E%3Cpath d='M 375.3 363.5 C 371.9 365.9, 361.7 376.8, 355.2 385 C 349.6 392.1, 338 405, 310.5 434.6 C 303.9 441.7, 296.2 450.2, 293.4 453.5 C 281.7 467.2, 246.3 506.4, 230 523.8 C 223.1 531.1, 214.8 540.2, 211.5 543.9 C 208.2 547.7, 199.2 557.9, 191.5 566.5 C 183.8 575.1, 175.5 584.5, 173.1 587.3 C 170.7 590.2, 166.4 595, 163.5 598 C 160.6 601, 152 610.3, 144.5 618.5 C 132.3 631.6, 122.7 641.9, 111.3 653.6 C 107.9 657, 107.3 659.3, 109 662 C 110.9 665, 156.2 663, 164.6 659.5 C 166.3 658.8, 171.4 653.9, 176.1 648.5 C 190.2 632.1, 193.8 628, 207.5 613.5 C 214.8 605.8, 226.6 592.8, 233.8 584.5 C 259.5 555, 274.7 538, 287 524.8 C 293.9 517.5, 307.8 502.1, 318 490.6 C 354.1 449.8, 374.3 427.8, 376.7 426.7 C 380 425.2, 380.8 425.8, 391.8 438.1 C 397 443.8, 405.8 453.7, 411.5 460 C 417.2 466.3, 427 477.2, 433.2 484.2 C 439.4 491.2, 450.6 503.5, 458 511.6 C 465.4 519.6, 475.6 530.8, 480.5 536.5 C 505.2 564.7, 525.9 587.8, 540 603 C 545.9 609.3, 553.7 617.9, 557.4 622 C 577.1 643.9, 574.1 642.5, 601.6 642.5 C 624.5 642.5, 626 642.2, 626 637.1 C 626 633.3, 624.3 631.2, 604.9 610.4 C 581.1 584.8, 565.7 567.8, 558.5 559.5 C 555.3 555.6, 549.9 549.5, 546.5 545.9 C 543.2 542.3, 537.4 535.8, 533.6 531.4 C 529.8 527.1, 520.8 517.2, 513.5 509.5 C 506.3 501.8, 495.9 490.6, 490.5 484.5 C 485.1 478.5, 476.6 469.2, 471.6 463.9 C 466.6 458.7, 458.8 449.9, 454.3 444.4 C 446 434.3, 430.6 417, 413 398 C 407.7 392.2, 398.9 382.6, 393.6 376.5 C 379.7 360.8, 379.4 360.6, 375.3 363.5 M 716.1 368.8 C 713 371.9, 707.6 378.1, 704 382.5 C 697.6 390.5, 694.9 393.4, 668.9 421 C 650.8 440.3, 641.8 450.4, 621.3 474.2 C 611.8 485.2, 595.8 502.9, 585.8 513.6 C 575.7 524.3, 566.4 535, 565.2 537.4 C 561.6 544.1, 562.6 546.3, 574.6 559.5 C 589 575.3, 588.1 575.3, 603.7 557.3 C 619.4 539.1, 633.4 523.7, 656.6 498.9 C 667.2 487.6, 678.1 475.7, 680.7 472.3 C 683.4 469, 689 462.5, 693.2 457.9 C 697.4 453.3, 705.5 444.3, 711.2 438 C 717.9 430.7, 722.5 426.4, 724 426.2 C 725.9 425.9, 728.1 427.6, 734.9 435.1 C 739.7 440.2, 748.7 449.9, 755 456.5 C 761.3 463.2, 770.4 473.4, 775.2 479.1 C 779.9 484.8, 786.9 492.9, 790.7 497.1 C 794.4 501.2, 803.1 510.9, 810 518.5 C 816.9 526.1, 827.7 538, 834 544.9 C 840.3 551.9, 849.8 562.5, 855 568.5 C 864.1 579.1, 876.6 592.9, 899 617 C 920.2 639.8, 926.3 646.6, 930 651.5 C 937.3 661.2, 940.2 662.5, 956 663.5 C 962.3 663.9, 973 665, 979.7 666.1 C 992.4 668.1, 996.1 667.7, 997.4 664.5 C 998.5 661.5, 998.1 660.8, 988.2 650.6 C 982.8 645, 976.2 638, 973.5 635 C 966.3 626.8, 935.9 594, 924.9 582.5 C 919.7 577, 912 568.5, 907.9 563.6 C 903.9 558.6, 895.2 548.7, 888.6 541.6 C 882.1 534.4, 876.1 526.9, 875.2 525 C 873.8 522, 873.5 515.5, 873 480.5 C 872.6 444.3, 872.3 439.1, 870.8 436.4 C 869.8 434.7, 868.3 433, 867.5 432.6 C 866.6 432.3, 855.7 432, 843.4 432 L 820.9 432 818.5 434.5 C 816 436.9, 815.4 439.9, 815.8 446.6 C 816.1 451, 814.4 455, 812.2 455 C 810.5 455, 803.8 448, 779.9 421 C 775.3 415.8, 767 406.8, 761.4 401 C 755.9 395.2, 747 385.3, 741.6 379 C 725.2 359.9, 724.9 359.7, 716.1 368.8 M 688 540.3 C 682.6 542.1, 681 546.3, 681 558.7 C 681 569.9, 682 573.2, 685.7 574.9 C 688.8 576.3, 710.5 576.3, 713.2 574.9 C 716.9 572.9, 718.1 567.8, 717.4 557.7 C 716.3 540.6, 714.8 539, 700.3 539.1 C 695.5 539.1, 689.9 539.7, 688 540.3 M 735.3 540 C 731.8 541.4, 730 546.1, 730 553.9 C 730 557.7, 730.5 561.2, 731 561.5 C 731.6 561.8, 732 563.2, 732 564.5 C 732 565.8, 731.6 567.2, 731 567.5 C 729.2 568.6, 730 571.8, 732.6 573.9 C 735 575.8, 736.6 576, 749.2 576 C 762.6 576, 763.2 575.9, 765.5 573.5 C 767.9 571.2, 768 570.5, 768 558.8 C 768 545.3, 767.3 543.3, 762 540.5 C 758.7 538.8, 739.2 538.5, 735.3 540 M 339.7 548.1 C 336.3 550.1, 335 555.3, 335.1 566.2 C 335.2 579.3, 335.7 581.1, 340 583.3 C 342.9 584.8, 345.4 585.1, 354.2 584.8 C 370.4 584.3, 372.8 581.6, 372.9 563.8 C 373 554.4, 372.9 553.9, 370.1 550.8 L 367.2 547.5 354.3 547.2 C 346.2 547.1, 340.8 547.4, 339.7 548.1 M 387.4 549.3 L 384.5 551.8 384.4 564.7 C 384.3 571.7, 384.7 578.5, 385.1 579.8 C 386.5 583.6, 391.7 585, 404.4 585 C 414.9 585, 416.1 584.8, 418.6 582.7 C 422 579.8, 423 573.6, 422.1 561.3 C 421.2 547.9, 420.8 547.6, 403.6 547.2 C 390.6 546.9, 390.2 546.9, 387.4 549.3 M 686.4 586 C 681.9 587.8, 681 590.7, 681 603 C 681 615.8, 681.7 617.7, 687.3 620.7 C 689.5 621.8, 693.1 622.4, 699 622.4 C 713.7 622.6, 716.8 619.1, 716.9 602.3 C 717 591.1, 716.1 588.3, 711.5 586.5 C 707.7 584.8, 690 584.5, 686.4 586 M 734.4 586.2 C 730.9 587.8, 730 591.4, 730 602.6 C 730 615.2, 731.1 618, 737 620.4 C 743.7 623, 755.1 623.6, 760.5 621.6 C 767.4 618.9, 768 617.4, 768 603.7 C 768 590.5, 767.3 588.5, 762.5 586.4 C 758.4 584.7, 737.7 584.6, 734.4 586.2 M 341.4 593.7 C 336.7 594.6, 335.5 597.4, 335.2 609.4 C 334.7 626.9, 337.3 629.8, 353.3 629.9 C 367.9 630, 371.4 626.9, 372.4 612.5 C 373.3 601.1, 372.2 596.7, 368.2 595.2 C 365.4 594.1, 345.2 593, 341.4 593.7 M 386.9 595.9 C 384.6 597.7, 384.5 598.5, 384.4 609.5 C 384.3 619.3, 384.6 621.5, 386.1 623.4 C 389.4 627.6, 394 629, 404.5 629 C 419.5 629, 422.3 626.5, 422.3 612.7 C 422.3 593.4, 422.9 594, 403.6 594 C 390.9 594, 388.9 594.2, 386.9 595.9 M 456.5 856.2 C 453.3 857.9, 447 864.2, 444.5 868 C 443.3 869.9, 440.1 877.4, 437.5 884.5 C 433.7 894.8, 432.5 899.4, 431.9 906.8 C 431.4 911.9, 430.8 916.5, 430.5 917 C 429.4 918.8, 426.1 918.1, 421.8 915.3 C 418.7 913.2, 416.6 912.6, 413.3 912.7 C 408.6 912.9, 400.1 917.2, 396.1 921.4 C 392.6 925.2, 391.1 924.7, 384.8 917.9 L 379.1 911.8 372.8 912.2 C 367.3 912.5, 365.7 913.1, 359.6 917.3 C 355.9 919.9, 352.4 922, 352 922 C 351.6 922, 349.6 920, 347.6 917.5 C 344.3 913.6, 343.4 913, 340 913 C 336.1 913, 329.9 917, 324.1 923.4 C 320 927.8, 318 926.4, 318 919.1 C 318 913.6, 316 912.4, 306 911.6 C 295.7 910.8, 293.9 909.4, 297.1 904.6 C 301.1 898.5, 305.1 889.2, 305.7 884.2 C 306.5 876.8, 305.4 872.4, 301.3 867.9 C 298.3 864.5, 297.2 864, 293.6 864 C 283.5 864, 270.5 881.4, 268.1 898.2 C 266.9 906.5, 265 909.4, 259.4 911.6 C 252.1 914.4, 250.9 920.4, 257 923.5 C 262 926.1, 263.1 928.9, 263.9 941.2 C 264.6 951.1, 265 953.3, 267.8 958.7 C 273.3 969.5, 280.5 972.6, 292.9 969.5 C 298.5 968.2, 300.6 968, 303.1 968.9 C 311.2 971.7, 316.8 968, 317.7 959.3 C 318.5 952.7, 325.2 938.4, 328 937.5 C 330.7 936.6, 332 937.8, 334 943.3 C 335 946.1, 336.7 948.2, 338.9 949.5 C 340.7 950.6, 346.1 955.4, 350.9 960.1 C 357.7 966.9, 360.4 969, 363.9 970 C 369.9 971.6, 379.4 970.4, 384.6 967.4 C 389.8 964.3, 392.9 964.4, 399.3 967.7 C 405.9 971.1, 417.9 971.6, 422.3 968.8 C 425.5 966.6, 429.9 966.5, 432.6 968.5 C 438.5 973, 443.4 968.4, 448.4 953.3 C 452.6 940.8, 455.1 936.7, 458.4 937.2 C 460.4 937.5, 460.5 938, 460.5 951.6 C 460.5 964.1, 460.7 966, 462.4 967.9 C 466 971.9, 472 969.7, 473.8 963.7 C 474.4 962, 475.1 956.4, 475.4 951.3 C 475.8 946.3, 477 938.6, 478.1 934.3 C 480.9 924, 480.3 918.5, 476.1 914.8 C 472.2 911.3, 468.7 911.2, 462.7 914.5 C 457.6 917.2, 456.1 916.5, 458.8 912.9 C 462.7 907.7, 469.2 895.9, 470.7 891.3 C 473 884.1, 473.1 865.5, 470.7 861.3 C 467.8 856, 461.2 853.6, 456.5 856.2 M 857.5 856.5 C 850.7 859.7, 846.2 865.2, 840.6 877.2 C 834.4 890.2, 833 891.4, 827.6 888.1 C 822.8 885.1, 819.4 885.4, 815.9 889.1 C 808.3 897.2, 812.1 904.2, 824.3 904.4 L 830.5 904.5 830.5 910.7 C 830.5 919, 829.2 920.2, 824.5 916.1 C 820 912.2, 817.3 912.2, 812.5 916 C 810.4 917.7, 808.4 919, 807.9 919 C 807.4 919, 805.5 917.7, 803.7 916 C 797.9 910.9, 793.8 911.8, 783.7 920.2 C 780.5 922.8, 777.5 925, 777.1 925 C 775.9 925, 775 922.4, 775 919 C 775 915.9, 772.8 913, 770.4 913 C 768.4 913, 763.6 915.5, 762.1 917.4 C 760.1 919.8, 758.2 919.3, 755.3 916 C 750.3 910, 743.2 913.5, 739.4 923.8 C 733.3 940.7, 728.5 948.4, 725.2 946.4 C 723.8 945.5, 723.4 943.2, 722.8 934.4 C 721.8 918.1, 721.2 915.2, 718.6 913.5 C 715.4 911.4, 711.7 912.9, 710 916.9 C 708.5 920.5, 709.4 957.2, 711.1 962.7 C 712.7 967.8, 717.3 970.4, 723.7 970.1 C 730.3 969.8, 745.3 949.2, 749.4 934.8 C 751.1 929.1, 754.1 925.3, 755.9 926.5 C 756.6 926.9, 757 933.4, 757 944.8 C 757 960.5, 757.2 962.9, 758.9 965.7 C 761.5 969.9, 764.5 970.7, 767.9 968.3 C 771.3 965.8, 777.6 953, 778.4 947 C 779.7 937.2, 784.5 935.1, 788.4 942.8 C 790.8 947.4, 794.1 950, 797.8 950 C 802 950, 804 952.8, 804 958.9 C 804 966, 806.5 970, 811.1 970 C 815.6 970, 817.1 966.5, 820.2 948.1 C 824.5 922.5, 826.7 919.7, 828.7 937.1 C 830.7 954.1, 835.5 964.6, 843 968.5 C 847 970.6, 878.4 969.9, 882.7 967.6 C 885.7 966, 886 966, 890.3 968.1 C 899.8 972.7, 902.5 969.2, 903.3 951 C 903.6 944.1, 904.3 937.2, 905 935.5 C 906.7 931.1, 906.7 921.5, 905 919.5 C 902.9 916.9, 893 912.8, 888.9 912.8 C 880.2 912.7, 867 923.8, 863 934.5 C 861.8 937.8, 860.4 943, 859.8 946 C 858.6 952.5, 856.7 955, 852.9 955 C 849.6 955, 846 951.6, 846 948.5 C 846 947.3, 847.4 944.4, 849 942.1 C 851.6 938.6, 856.4 930.4, 862.3 919.5 C 871.2 903.2, 874 893.3, 874 878.5 C 874 865.6, 872.2 860.3, 866.8 857 C 862.9 854.7, 861.5 854.6, 857.5 856.5 M 647.6 864 C 638.6 866.7, 625.9 886.2, 623.6 900.9 C 622.2 909.5, 621.2 911.3, 616.9 913.6 C 613.2 915.5, 598.7 915.5, 597.1 913.7 C 596.4 912.8, 596.1 906.5, 596.2 895.8 C 596.3 881.4, 596 878.7, 594.4 875.4 C 591.4 869.5, 587.9 867.5, 580.7 867.6 C 572.8 867.6, 562.7 872.6, 555.8 879.7 C 549.8 885.8, 548.4 889.4, 550.5 892.6 C 552.9 896.3, 555.7 895.5, 562.1 889.5 C 569.3 882.9, 574.6 880.9, 578.4 883.4 C 581.9 885.6, 582.4 888.6, 581.3 900 C 580.1 911.9, 578.7 914.3, 571.5 917.6 C 562.4 921.6, 561.5 927.6, 569.5 931 C 575.2 933.4, 575.8 935.9, 573.1 944.2 C 567.5 961.5, 568.7 970, 576.8 970 C 580.6 970, 585.6 964.2, 586.5 959 C 587.5 952.6, 591.8 936.3, 593 934 C 594.5 931.1, 596.6 930.3, 605.8 929 C 616.7 927.4, 617.5 928, 618.4 939.3 C 619.5 952.7, 625.5 963.6, 634.4 968.2 C 638.7 970.4, 647.8 970.8, 654 969 C 656.4 968.3, 659.2 968.4, 663.2 969.2 C 667.7 970.1, 670 970.1, 673.5 969.2 C 679.3 967.7, 682 967.7, 685.9 969.3 C 690.3 971.2, 694.6 970.3, 697.4 966.9 C 700 963.9, 700.8 956.4, 701.3 931.4 C 701.5 919.6, 701.2 918.9, 693.2 915.4 C 683.6 911.2, 676.3 912.9, 666.9 921.7 C 661.5 926.6, 655 938.5, 653.5 946 C 652 953.6, 646.8 956.4, 641.3 952.5 C 636.3 949, 634.9 944.9, 635.2 934.3 L 635.5 924.5 640.4 921 C 660.2 906.9, 663.5 901.9, 664.7 885.3 C 665.8 869.4, 658.8 860.7, 647.6 864 M 216.4 867.5 C 204.7 870, 194.2 877, 191.8 883.8 C 190.1 888.7, 190.1 904.7, 191.8 908.5 C 194.4 914.3, 204 921.1, 217.7 926.8 C 235.4 934.1, 241.4 940.2, 237.4 947.1 C 233.5 953.7, 227.9 955.9, 215.3 956 C 202.5 956, 197 951.9, 197 942.3 C 197 933, 189 928.7, 183.5 935.2 C 181 938.2, 180.8 938.9, 181.2 947.1 C 181.5 955.1, 181.8 956.1, 184.6 959.6 C 186.3 961.7, 190.5 965, 194.1 966.9 L 200.5 970.5 216 970.5 C 231 970.5, 231.7 970.4, 236.8 967.7 C 248.7 961.4, 255 952.5, 255 941.7 C 255 933.4, 252 926.9, 246.1 922.7 C 238.6 917.4, 230.2 912.9, 225.1 911.5 C 215.1 908.9, 205.1 899, 206.4 892.9 C 208 884.6, 213 882, 227 882 C 240.2 882, 242.4 883.8, 243.3 895.8 C 244 905.2, 250.6 908.4, 256.2 902.1 C 258.7 899.3, 259 898.3, 259 891.6 C 259 882.3, 257.8 879, 253.2 875.3 C 247.8 870.9, 243.7 869, 236.2 867.4 C 228.1 865.7, 224.4 865.7, 216.4 867.5 M 455.1 874.6 C 453.9 876.1, 452.6 878.9, 452.1 880.9 C 447.5 898.1, 446.9 901.3, 447.8 902.2 C 452.6 907, 464 884, 461.6 874.5 C 460.8 871.2, 457.7 871.3, 455.1 874.6 M 854 876.3 C 852.9 878.7, 851.5 883.1, 850.9 886.1 C 850.3 889.1, 849 894.4, 848 898 C 845.2 907.8, 844.5 916.1, 846.4 918.5 C 848.5 921.3, 851 919.6, 853.2 913.9 C 864.4 885.4, 866 872, 858.4 872 C 856.4 872, 855.5 872.9, 854 876.3 M 648.2 876.7 C 647.5 877, 646.3 878.5, 645.4 880.1 C 643.2 884.4, 638.9 900, 639.2 902.4 C 639.6 905.5, 643.2 905.5, 647 902.3 C 651.2 898.8, 652.7 895.2, 653.5 886.2 C 654.4 877.4, 653 874.8, 648.2 876.7 M 287.7 882.4 C 284.1 886.2, 279.4 898.8, 280.7 900.8 C 282.9 904.4, 285.4 902.7, 289.3 895.1 C 293.2 887.3, 293.9 883, 291.5 881 C 290.4 880, 289.6 880.3, 287.7 882.4 M 491.2 915.3 C 487.9 918.8, 486.1 925.2, 484.3 939.3 C 482.3 955.1, 483.2 961, 488.6 966.6 C 491.8 970.1, 492.3 970.2, 497 969.8 C 499.7 969.5, 502 969.6, 502 969.9 C 502 971.4, 497.9 976.2, 490.3 983.6 C 480.8 992.8, 479.2 996.1, 478.3 1006.8 C 477.6 1016.2, 479.3 1020.4, 484.5 1022.6 C 491.3 1025.4, 498.7 1023.6, 504.1 1017.8 C 509.1 1012.4, 516.8 995.3, 518 986.8 C 518.6 982.8, 519.8 976.6, 520.7 973 C 521.6 969.4, 522.8 963.6, 523.5 960 C 524.2 956.4, 525.4 950.1, 526.3 946 C 528.5 935.3, 529.5 917.9, 528.1 915.2 C 526.6 912.3, 521.8 912.3, 519.1 915.1 C 518 916.3, 515.2 922.5, 512.9 928.9 C 507.1 945.1, 506.1 946.9, 503.4 947.6 C 497.5 949.1, 497 945.3, 500.7 925.8 C 502.3 917.4, 502.3 916.9, 500.5 915 C 498.1 912.3, 493.9 912.5, 491.2 915.3 M 281.5 926.5 C 279.2 928.7, 279 929.7, 279 938.2 C 279 948.6, 280.1 951.8, 284.4 953.9 C 288 955.6, 294.3 954, 296.4 950.7 C 297.2 949.5, 298.6 944.1, 299.5 938.6 C 300.9 929.7, 300.9 928.5, 299.5 926.4 C 298.1 924.3, 297.2 924, 290.9 924 C 284.8 924, 283.6 924.3, 281.5 926.5 M 366.7 928.8 C 365.8 929.8, 364.5 932.1, 363.9 934 C 362.8 936.9, 362.9 937.5, 364.5 938.7 C 368.2 941.3, 374 937.2, 374 932.1 C 374 927.2, 369.8 925.3, 366.7 928.8 M 677.5 930.1 C 673.3 933.9, 671.6 939.2, 672.2 947.7 C 672.6 954.5, 673.8 956.5, 676.7 955.6 C 679.4 954.7, 681.4 950.6, 684 940.8 C 687.5 927.4, 685.1 923.4, 677.5 930.1 M 881.4 930.6 C 876.5 936, 875 939.9, 875 947.2 C 875 956.4, 878.1 958.6, 883.3 953.2 C 886.3 950.1, 891 937.4, 891 932.5 C 891 926.1, 886.4 925.2, 881.4 930.6 M 407.1 931.4 C 403.2 935.6, 402.2 946.8, 405.4 951.1 C 406.8 953, 412.3 956, 414.5 956 C 417.1 956, 423.7 952.2, 425.4 949.8 C 428.8 944.9, 427 940.6, 420.6 938.5 C 418.5 937.8, 416.8 936.2, 415.4 933.5 C 413 928.7, 410.3 928, 407.1 931.4 M 376.5 947.5 C 368.1 952.1, 367.1 953.2, 369 955.5 C 370.7 957.6, 375.9 957.3, 379.8 955 C 385 951.8, 388.8 944.1, 385.5 943.5 C 385 943.4, 380.9 945.2, 376.5 947.5 M 494.6 994.4 C 490 999.9, 488.5 1004.1, 490 1006.9 C 491.2 1009.2, 495.2 1009.7, 496.8 1007.8 C 498.7 1005.4, 503.2 992.9, 502.6 991.5 C 501.6 988.7, 498.2 990, 494.6 994.4' fill='%23ED511D' fill-rule='evenodd'/%3E%3C/svg%3E") center / 136px auto no-repeat, var(--ground);
    box-shadow: inset 0 0 0 7px var(--ground), inset 0 0 0 9px var(--plum), 0 24px 50px -20px rgba(10,4,8,.6);
    animation: pt-logo-lift .65s var(--ease-settle) 5s forwards;
  }
  .is-ready body::before { animation: pt-lift .65s var(--ease-settle) forwards; }
  .is-ready body::after { animation: pt-logo-lift .65s var(--ease-settle) forwards; }
  .is-late body::before { animation: none; transform: translateY(-100%); }
  .is-late body::after { animation: none; opacity: 0; }
  .pt-leave body::before { animation: pt-cover .42s var(--ease-out) forwards; }
  .pt-leave body::after { animation: pt-logo-in .42s var(--ease-out) .06s forwards; }

  /* the loader: an orange bar running along a track under the logo, with one line of text */
  html::after {
    content: "Načítavame stránku";
    position: fixed; left: 50%; top: calc(50% + 108px); z-index: 202;
    width: 220px; margin-left: -110px; padding-top: 18px;
    text-align: center; font: 500 .9375rem/1.2 var(--text); letter-spacing: .01em; color: #F1E6EC;
    background: linear-gradient(90deg, var(--orange), var(--orange)) no-repeat, linear-gradient(rgba(255,255,255,.2), rgba(255,255,255,.2)) no-repeat;
    background-size: 36% 3px, 100% 3px;
    background-position: -60% 0, 0 0;
    opacity: 0; pointer-events: none;
    /* appears by itself if the page is still loading after 0.8 s (no JS needed), gone when the CSS safety lifts at 5 s */
    animation: loader-show .3s var(--ease-out) .8s forwards, loader-run 1.1s linear .8s infinite, loader-hide .2s linear 5s forwards;
  }
  html.is-ready::after { display: none; }
}
@keyframes loader-show { to { opacity: 1; } }
@keyframes loader-hide { to { opacity: 0; } }
@keyframes loader-run { from { background-position: -60% 0, 0 0; } to { background-position: 160% 0, 0 0; } }
@keyframes pt-lift { from { transform: translateY(0); } to { transform: translateY(-100%); } }
@keyframes pt-logo-lift { from { transform: translateY(0); opacity: 1; } to { transform: translateY(-55vh); opacity: 0; } }
@keyframes pt-cover { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes pt-logo-in { from { transform: translateY(40px) scale(.9); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Photo galleries: one row that scrolls sideways, bleeding to the screen edge ---------- */
html, body { overflow-x: hidden; overflow-x: clip; }
.gallery { position: relative; }
.gallery__track {
  display: flex; gap: clamp(12px, 1.4vw, 20px);
  /* the gutter is a plain length (no %) so padding and snap padding agree: first photo lines up with the text column */
  --gutter: max(var(--pad), calc((100vw - var(--container)) / 2 + var(--pad)));
  width: 100vw; margin-left: calc(50% - 50vw);
  padding: 4px var(--gutter) 18px;
  scroll-padding-inline: var(--gutter);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scrollbar-width: thin; scrollbar-color: #C9C4C8 transparent;
}
.gallery__track:focus-visible { outline-offset: -2px; }
.gallery__item { flex: 0 0 auto; margin: 0; scroll-snap-align: start; }
.gallery__item img { width: auto; max-width: none; height: clamp(240px, 32vw, 440px); object-fit: cover; border-radius: 2px; }
.gallery__item figcaption { width: 0; min-width: 100%; margin-top: 10px; font-size: .875rem; color: var(--ink-2); }
.gallery__nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.gallery__btn {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  border: 0; border-radius: 8px; cursor: pointer; color: #fff; background: var(--plum);
  box-shadow: inset 0 0 0 3px var(--plum), inset 0 0 0 4.5px var(--rim), 0 8px 16px -10px rgba(58,27,47,.6);
  transition: transform .2s var(--ease-out), opacity .2s var(--ease-out);
}
.gallery__btn svg { width: 22px; height: 22px; }
.gallery__btn[data-dir="-1"] svg { transform: rotate(180deg); }
.gallery__btn:hover:not(:disabled) { transform: translateY(-1px); }
.gallery__btn:active:not(:disabled) { transform: translateY(1px) scale(.97); }
.gallery__btn:disabled { opacity: .3; cursor: default; }
@media (pointer: coarse) { .gallery__nav { display: none; } }
@media (max-width: 700px) { .gallery__item img { height: clamp(220px, 62vw, 300px); } }
@media (prefers-reduced-motion: no-preference) {
  .gallery__item img { transition: transform 1.2s var(--ease-out); }
  .gallery__item { overflow: hidden; }
  .gallery__item:hover img { transform: scale(1.03); }
}

/* ---------- Stavba pri skrolovaní: the hero's photo opens into a pinned four-step story ---------- */
/* default (no JS, reduced motion): the four steps as a plain grid */
.build { padding-block: var(--section); }
.build__stage { max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }
.build__intro { margin: 0 0 40px; font: 800 clamp(2.5rem, 5.4vw, 5.25rem)/.92 var(--display); }
.build__frame { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px var(--gap); }
.build__step { margin: 0; }
.build__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.build__cap { display: block; margin-top: 16px; }
.build__name { display: block; font: 800 clamp(1.75rem, 2.6vw, 2.5rem)/1 var(--display); text-transform: uppercase; }
.build__line { display: block; margin-top: 8px; max-width: 44ch; color: var(--ink-2); }
.build__rail { display: none; }
.build__note { margin: -24px 0 32px; font-size: .875rem; color: var(--ink-2); }
.is-scrub .build__note { position: absolute; z-index: 3; top: 14px; right: var(--pad); margin: 0; padding: 6px 12px; border-radius: 999px; background: rgba(20,14,18,.6); color: #fff; font-size: .8125rem; opacity: var(--open, 0); }

/* scrub mode, armed by JS when motion is allowed */
.build.is-scrub { height: 640vh; padding-block: 0; }
.is-scrub .build__stage { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); max-width: none; padding: 0; overflow: hidden; }
.is-scrub .build__intro { position: absolute; top: 3.5vh; left: 0; right: 0; z-index: 2; margin: 0; text-align: center; font-size: clamp(2rem, 4vw, 3.75rem); opacity: calc(1 - var(--open, 0) * 1.6); transform: translateY(calc(var(--open, 0) * -30px)); }
.is-scrub .build__frame { display: block; position: absolute; inset: 0; overflow: hidden; border-radius: 6px; background: var(--ink); transform: scale(calc(.58 + .42 * var(--open, 0))); transform-origin: 50% 58%; will-change: transform; }
.is-scrub .build__frame::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(20,14,18,0) 55%, rgba(20,14,18,.5) 100%); }
.is-scrub .build__step { position: absolute; inset: 0; }
.is-scrub .build__img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; border-radius: 0; object-position: 45% 40%; opacity: var(--o, 0); transform: scale(calc(1.1 - .1 * var(--z, 0))); will-change: opacity, transform; }
.is-scrub .build__step:first-child .build__img { opacity: 1; }
.is-scrub .build__cap {
  position: absolute; z-index: 2; left: var(--pad); bottom: calc(64px + 4vh); margin: 0;
  max-width: min(460px, calc(100% - 2 * var(--pad)));
  padding: 22px 28px 24px; border-radius: 12px;
  background: var(--plum); color: #fff;
  box-shadow: inset 0 0 0 6px var(--plum), inset 0 0 0 8px var(--rim), 0 18px 40px -18px rgba(20,10,16,.7);
  opacity: var(--k, 0); transform: translateY(calc((1 - var(--k, 0)) * 28px));
}
.is-scrub .build__name { font-size: clamp(2.25rem, 4.4vw, 4rem); color: #fff; }
.is-scrub .build__line { color: #F1E6EC; font-size: 1.0625rem; }
.is-scrub .build__rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; margin: 0; padding: 0 var(--pad); list-style: none; background: var(--ink); color: rgba(255,255,255,.55); opacity: var(--open, 0); }
.build__rail li { position: relative; padding: 18px 12px 18px 0; font: 600 .9375rem/1 var(--display); letter-spacing: .04em; text-transform: uppercase; transition: color .4s var(--ease-out); }
.build__rail li.is-active, .build__rail li.is-done { color: #fff; }
.build__rail i { position: absolute; top: 0; left: 0; right: 12px; height: 3px; overflow: hidden; background: rgba(255,255,255,.18); }
.build__rail i::after { content: ""; position: absolute; inset: 0; background: var(--orange); transform-origin: left center; transform: scaleX(var(--f, 0)); }

@media (max-width: 700px) {
  .build__frame { grid-template-columns: 1fr; }
  .is-scrub .build__cap { left: 16px; right: 16px; max-width: none; bottom: calc(56px + 3vh); padding: 18px 20px 20px; }
  .build__rail li { padding: 16px 6px 16px 0; font-size: .75rem; letter-spacing: .02em; }
  .build__rail i { right: 6px; }
}

/* ---------- Static background: one quiet roof pattern fixed behind everything; content scrolls over it ---------- */
html { background: var(--ground); }
body { background: transparent; }
html::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='104' viewBox='0 0 160 104'%3E%3Cg fill='none' stroke='%23DEE0E4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 40 36 20 58 40'/%3E%3Cpath d='M94 92 116 72 138 92'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 160px 104px repeat;
}

/* ---------- Floating menu ---------- */
:root { --header-h: 76px; --header-space: 88px; }
html { scroll-padding-top: 104px; }
.site-header { position: fixed; top: 0; left: 0; right: 0; padding: 12px clamp(12px, 2vw, 24px) 0; background: none; border: 0; pointer-events: none; }
.site-header.is-scrolled { border: 0; }
.site-header__bar {
  pointer-events: auto;
  max-width: 1320px; height: 64px; padding: 0 10px 0 20px; gap: 24px;
  border: 1px solid rgba(30,26,28,.08); border-radius: 18px;
  background: rgba(252,252,253,.86);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 12px 32px -20px rgba(30,16,26,.55);
  transition: max-width .5s var(--ease-out), background-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.site-header.is-scrolled .site-header__bar { max-width: 1180px; background: rgba(252,252,253,.95); box-shadow: 0 18px 40px -18px rgba(30,16,26,.55); }
main { padding-top: var(--header-space); }
.hero--giant { margin-top: calc(-1 * var(--header-space)); padding-top: calc(var(--header-space) + 56px); }

/* hover: a small plum plate slides under the link the pointer is on (driven by main.js) */
.nav { position: relative; gap: 2px; }
.nav a { z-index: 1; padding: 10px 14px; border-radius: 10px; transition: color .25s var(--ease-out); }
.nav a[aria-current="page"]::after { left: 14px; right: 14px; bottom: 4px; }
.nav a.is-lit { color: #fff; }
.nav__pill {
  position: absolute; left: 0; top: 50%; z-index: 0; pointer-events: none;
  width: var(--w, 0px); height: 40px; border-radius: 10px;
  background: var(--plum);
  box-shadow: inset 0 0 0 2px var(--plum), inset 0 0 0 3.5px var(--rim), 0 8px 16px -10px rgba(58,27,47,.7);
  opacity: 0; transform: translate(var(--x, 0px), -50%) scale(.85);
  transition: transform .38s var(--ease-out), width .38s var(--ease-out), opacity .2s var(--ease-out);
}
.nav.has-pill .nav__pill { opacity: 1; transform: translate(var(--x, 0px), -50%) scale(1); }
.nav__pill.no-anim { transition: none; }

/* mobile menu: a floating card under the bar */
.mobile-nav {
  pointer-events: auto; max-width: 1320px; margin: 8px auto 0; padding: 6px 18px 22px;
  border: 1px solid rgba(30,26,28,.08); border-radius: 18px;
  background: var(--paper); box-shadow: 0 22px 44px -22px rgba(30,16,26,.55);
  max-height: calc(100dvh - 90px); overflow-y: auto;
}
.mobile-nav nav a.m-link:last-child { border-bottom: 0; }

@media (prefers-reduced-motion: no-preference) {
  .mobile-nav:not([hidden]) { animation: menu-drop .38s var(--ease-out); transform-origin: 50% 0; }
  .mobile-nav:not([hidden]) .m-link, .mobile-nav:not([hidden]) > .plate { animation: rise .5s var(--ease-out) backwards; }
  .mobile-nav .m-link:nth-child(2) { animation-delay: .05s; }
  .mobile-nav .m-link:nth-child(3) { animation-delay: .1s; }
  .mobile-nav .m-link:nth-child(4) { animation-delay: .15s; }
  .mobile-nav > .plate { animation-delay: .2s; }
}
@media (prefers-reduced-motion: reduce) { .nav__pill, .site-header__bar { transition: opacity .15s; } }
@keyframes menu-drop { from { transform: translateY(-10px) scale(.97); } }

/* the pinned story now runs full screen, with the floating bar over it */
.is-scrub .build__stage { top: 0; height: 100vh; height: 100dvh; }
.is-scrub .build__intro { top: calc(var(--header-space) + 1vh); }
.is-scrub .build__note { top: calc(var(--header-space) + 4px); }

@media (max-width: 900px) {
  :root { --header-h: 64px; --header-space: 72px; }
  .site-header { padding: 8px 10px 0; }
  .site-header__bar { height: 56px; padding: 0 6px 0 14px; gap: 8px; border-radius: 16px; }
  .site-header.is-scrolled .site-header__bar { max-width: 1320px; }
  .hero--giant { padding-top: calc(var(--header-space) + 36px); }
}

/* ---------- Light plate: white enamel for the e-mail, same shape as the phone plate ---------- */
.plate--light { --plate-bg: var(--paper); --rim: var(--plum); color: var(--ink); }
.plate--light .plate__label { color: var(--ink-2); }
.plate--light .plate__icon { color: var(--orange-ink); }
.plate--light .plate__num { font-size: clamp(1.25rem, 1.8vw, 1.5rem); letter-spacing: .01em; }
.plate--light::after { background: linear-gradient(100deg, transparent 32%, rgba(78,38,64,.08) 47%, transparent 66%); }
.cta--giant .cta__action { display: grid; gap: 14px; min-width: min(380px, 100%); }
.cta--giant .cta__action .plate { width: 100%; }

/* ---------- Floating contact button ---------- */
.fab {
  position: fixed; right: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 28px); z-index: 90;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
  pointer-events: none; visibility: hidden; opacity: 0; transform: translateY(16px) scale(.96);
  transition: opacity .35s var(--ease-out), transform .45s var(--ease-out), visibility 0s .45s;
}
.fab.is-shown { visibility: visible; opacity: 1; transform: none; transition: opacity .35s var(--ease-out), transform .45s var(--ease-out), visibility 0s; }
.fab__btn, .fab__card { pointer-events: auto; }
.fab__btn {
  display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px 0 18px;
  border: 0; border-radius: 14px; cursor: pointer; color: #fff; background: var(--orange);
  font: 600 1.1875rem/1 var(--display); letter-spacing: .04em; text-transform: uppercase;
  box-shadow: inset 0 0 0 4px var(--orange), inset 0 0 0 6px #FFF4EF, 0 16px 30px -12px rgba(90,25,0,.6);
  transition: transform .25s var(--ease-out);
}
.fab__btn:hover { transform: translateY(-2px); }
.fab__btn:active { transform: translateY(1px) scale(.98); }
.fab__btn .plate__icon, .fab__close { width: 22px; height: 22px; flex: none; }
.fab__close { display: none; }
.fab.is-open .fab__btn { background: var(--plum); box-shadow: inset 0 0 0 4px var(--plum), inset 0 0 0 6px var(--rim), 0 16px 30px -12px rgba(58,27,47,.6); }
.fab.is-open .fab__btn .plate__icon { display: none; }
.fab.is-open .fab__close { display: block; }
.fab__card {
  display: grid; gap: 12px; width: min(340px, calc(100vw - 28px)); padding: 18px;
  border: 1px solid rgba(30,26,28,.08); border-radius: 18px; background: var(--paper);
  box-shadow: 0 24px 50px -22px rgba(30,16,26,.55);
}
.fab__card[hidden] { display: none; }
.fab__title { margin: 2px 2px 4px; font: 800 1.5rem/1 var(--display); text-transform: uppercase; color: var(--ink); }
.fab__card .plate { width: 100%; padding-inline: 30px; }
.fab__card .plate__num { font-size: 1.5rem; }
.fab__card .plate--light .plate__num { font-size: 1.1875rem; }
@media (prefers-reduced-motion: no-preference) { .fab__card:not([hidden]) { animation: menu-drop .35s var(--ease-out); transform-origin: 100% 100%; } }
@media (max-width: 700px) { .fab__label { display: none; } .fab__btn { width: 56px; padding: 0; justify-content: center; border-radius: 16px; } }

/* ---------- Accordions: Služby and Časté otázky, one item open at a time (slide driven by main.js) ---------- */
.faq .answer { padding: 0; overflow: hidden; }
.faq .answer p { padding: 0 48px 26px 0; }
.services details.service { display: block; padding: 0; border-top: 1px solid var(--rule); }
.services details.service:last-of-type { border-bottom: 1px solid var(--rule); }
.service__head { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px 0; cursor: pointer; list-style: none; }
.service__head::-webkit-details-marker { display: none; }
.service__head h2 { font-size: clamp(2rem, 3.6vw, 3.25rem); transition: color .25s var(--ease-out), transform .4s var(--ease-out); }
.service__head:hover h2 { color: var(--plum); transform: translateX(6px); }
.service__icon {
  display: grid; place-items: center; flex: none; width: 52px; height: 52px;
  border: 1px solid var(--rule); border-radius: 12px; background: var(--paper); color: var(--orange-ink);
  transition: transform .45s var(--ease-out), background-color .3s var(--ease-out), color .3s var(--ease-out), border-color .3s;
}
.service__icon svg { width: 22px; height: 22px; transition: transform .45s var(--ease-out); }
.service__head:hover .service__icon { border-color: var(--plum); }
details.service[open] .service__icon { background: var(--plum); border-color: var(--plum); color: #fff; }
details.service[open] .service__icon svg { transform: rotate(45deg); }
.service__panel { overflow: hidden; }
.service__grid { align-items: start; padding-bottom: clamp(32px, 4vw, 48px); }
.service__grid .service__body { grid-column: 1 / 7; }
.service__grid .service__media { grid-column: 7 / 13; }
@media (max-width: 900px) {
  .service__grid .service__body, .service__grid .service__media { grid-column: 1 / -1; }
  .service__head { padding: 22px 0; }
  .service__icon { width: 44px; height: 44px; }
  .faq .answer p { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) { .service__icon, .service__head h2 { transition: none; } }

/* ---------- 404: the page with the missing tile ---------- */
.notfound__grid { align-items: end; }
.notfound__code { display: flex; align-items: center; gap: .04em; margin-bottom: 40px; color: var(--plum); }
.notfound__tile { display: inline-block; width: .62em; height: .72em; border: .05em dashed var(--orange); border-radius: .08em; transform: rotate(-8deg) translateY(.02em); }
.notfound__text { grid-column: 1 / 8; }
.notfound__text .actions { margin-top: 32px; }
.notfound__links { grid-column: 9 / 13; }
.notfound__links .index svg { transform: none; }
.notfound__links .index a:hover svg { transform: translateX(3px); }
@media (max-width: 900px) {
  .notfound__text, .notfound__links { grid-column: 1 / -1; }
  .notfound__links { margin-top: 40px; }
}
