
/* Hide the template's left column and page title on this page only */
body:has(.ulp--wide) .left_block,
body:has(.ulp--wide) .sidebar,
body:has(.ulp--wide) .left-column,
body:has(.ulp--wide) aside.left,
body:has(.ulp--wide) .left-menu-md,
body:has(.ulp--wide) .sidearea { display: none !important; }
body:has(.ulp--wide) .right_block,
body:has(.ulp--wide) .content-column,
body:has(.ulp--wide) .main-column,
body:has(.ulp--wide) .content-md {
  width: 100% !important; max-width: 100% !important; flex: 1 1 100% !important;
  margin-left: 0 !important; padding-left: 0 !important; float: none !important;
}
body:has(.ulp--notitle) #pagetitle,
body:has(.ulp--notitle) .page-top h1 { display: none !important; }
html:has(.ulp), body:has(.ulp) { overflow-x: clip; }

/* Tokens: palette and type of the site's retro template (same as the portfolio gallery).
   Layout: full-width bands, content in a 1240px container, dark bands open and close the page. */
.ulp {
  --ink: #24465b;
  --hero: #183746;
  --rust: #b84f33;
  --rust-hi: #cc5f41;
  --paper: #f4f1e9;
  --card: #fffdf8;
  --line: #d9d3c4;
  --muted: #5d6b70;
  --plate: #e9e4d6;
  --sage: #aec8b5;
  --on-dark: rgba(244, 241, 233, .82);
  --wood: #b8874f;

  --f-display: "Russo One", "Arial Narrow", Arial, sans-serif;
  --f-body: "Golos Text", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1240px;
  --r: 14px;
  --r-lg: 18px;

  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: var(--paper);
  color: var(--ink);
  font: 400 18px/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
.ulp *, .ulp *::before, .ulp *::after { box-sizing: border-box; }
.ulp img, .ulp svg { max-width: 100%; }
.ulp a { color: inherit; text-underline-offset: 4px; }
.ulp p { margin: 0; }
.ulp :focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; }
.ulp h1, .ulp h2, .ulp h3 { margin: 0; color: inherit; text-wrap: balance; }
.ulp h2 { font: 400 clamp(34px, 4.6vw, 62px)/1.02 var(--f-display); text-transform: uppercase; letter-spacing: .01em; }
.ulp h3 { font: 700 22px/1.25 var(--f-body); }

.ulp-band { position: relative; padding-block: clamp(64px, 8vw, 120px); overflow: clip; }
.ulp-wrap {
  position: relative; z-index: 1; max-width: var(--wrap); margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.ulp-head { display: grid; gap: 18px; max-width: 820px; margin-bottom: clamp(36px, 5vw, 64px); }
.ulp-head h2 { padding-bottom: 18px; position: relative; }
.ulp-head h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 96px; height: 4px; background: var(--rust); transform-origin: left; }
.ulp-lede { font-size: 21px; line-height: 1.5; color: var(--muted); max-width: 60ch; }
.ulp-dark { background: var(--hero); color: var(--paper); }
.ulp-dark .ulp-lede { color: var(--on-dark); }
/* Retro grid and orbit rings on dark bands */
.ulp-dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .13;
  background-image: linear-gradient(rgba(244,241,233,.6) 1px, transparent 1px), linear-gradient(90deg, rgba(244,241,233,.6) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: linear-gradient(100deg, transparent 30%, #000 90%); mask-image: linear-gradient(100deg, transparent 30%, #000 90%);
}
.ulp-dark::after {
  content: ""; position: absolute; right: -140px; top: -140px; width: 460px; height: 460px; border-radius: 50%; pointer-events: none;
  border: 1px solid rgba(244,241,233,.2); box-shadow: 0 0 0 48px rgba(244,241,233,.035), 0 0 0 96px rgba(244,241,233,.025);
}

/* Buttons */
.ulp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 60px; padding: 0 30px; border-radius: 12px; border: 2px solid transparent;
  font: 700 18px/1.2 var(--f-body); text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.ulp .ulp-btn--main { background: var(--rust); color: #fff; }
.ulp .ulp-btn--main:hover { background: var(--rust-hi); color: #fff; transform: translateY(-1px); }
.ulp .ulp-btn--ghost { border-color: rgba(244,241,233,.55); color: var(--paper); background: transparent; }
.ulp .ulp-btn--ghost:hover { border-color: var(--paper); background: rgba(244,241,233,.08); color: var(--paper); }
.ulp .ulp-btn--ink { border-color: var(--ink); color: var(--ink); background: transparent; }
.ulp .ulp-btn--ink:hover { background: var(--ink); color: var(--paper); }
.ulp .ulp-btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }

/* Spoiler */
.ulp-more { border-top: 1px dashed var(--line); margin-top: 14px; }
.ulp-more > summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 0 2px; font-weight: 600; font-size: 16px; color: var(--rust);
}
.ulp-more > summary::-webkit-details-marker { display: none; }
.ulp-more > summary::before {
  content: "+"; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  border: 1.5px solid currentColor; font: 400 16px/1 var(--f-display); transition: transform .25s;
}
.ulp-more[open] > summary::before { transform: rotate(45deg); }
.ulp-more > summary:hover { color: var(--rust-hi); }
.ulp-more > div { padding: 12px 0 4px; color: var(--muted); font-size: 17px; }
.ulp-more[open] > div { animation: ulp-open .35s ease-out; }
@keyframes ulp-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.ulp-dark .ulp-more { border-top-color: rgba(244,241,233,.22); }
.ulp-dark .ulp-more > summary { color: var(--sage); }
.ulp-dark .ulp-more > div { color: var(--on-dark); }

/* ===== Motion: scroll scenes in the manner of the "Kedr" house site =====
   ulp-anim  - script is running and motion is allowed: blocks rise in, words light up, numbers count
   ulp-full  - big screen with working sticky: hero folds into a card, frame opens, gallery rides sideways
   ulp-lite  - phone or a page where sticky cannot work: the same scenes play once on appearance */
@keyframes ulp-rise { from { opacity: 0; transform: translateY(50px); } }
@keyframes ulp-unveil { from { clip-path: inset(100% 0 0 0 round 18px); } to { clip-path: inset(0 0 0 0 round 18px); } }
@keyframes ulp-kb { from { transform: scale(1.16); } to { transform: scale(1); } }
@keyframes ulp-rule { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.ulp-anim .ulp-hero .ulp-kicker, .ulp-anim .ulp-hero h1, .ulp-anim .ulp-hero-sub,
.ulp-anim .ulp-hero .ulp-lede, .ulp-anim .ulp-hero .ulp-actions, .ulp-anim .ulp-hero .ulp-facts { animation: ulp-rise 1.2s cubic-bezier(.2,.7,.2,1) both; }
.ulp-anim .ulp-hero h1 { animation-delay: .08s; }
.ulp-anim .ulp-hero-sub { animation-delay: .22s; }
.ulp-anim .ulp-hero .ulp-lede { animation-delay: .32s; }
.ulp-anim .ulp-hero .ulp-actions { animation-delay: .42s; }
.ulp-anim .ulp-hero .ulp-facts { animation-delay: .52s; }
.ulp-anim .ulp-photo { animation: ulp-unveil 1.4s .25s cubic-bezier(.7,0,.2,1) both; }
.ulp-anim .ulp-photo img { animation: ulp-kb 2.6s .25s cubic-bezier(.2,.7,.2,1) backwards; }
.ulp-full .ulp-hero { will-change: clip-path; }

/* Blocks rise in when they come into view */
.ulp-anim .ulp-head > *, .ulp-anim .ulp-rv { opacity: 0; transform: translateY(44px); transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1); }
.ulp-anim .ulp-rv { transition-delay: calc(var(--i, 0) * 90ms); }
.ulp-anim .ulp-head > *:nth-child(2) { transition-delay: .1s; }
.ulp-anim .ulp-head > *:nth-child(3) { transition-delay: .2s; }
.ulp-anim .ulp-head.in > *, .ulp-anim .ulp-rv.in { opacity: 1; transform: none; }
.ulp-anim .ulp-head h2::after { transform: scaleX(0); transform-origin: left; transition: transform .9s .45s cubic-bezier(.2,.7,.2,1); }
.ulp-anim .ulp-head.in h2::after { transform: scaleX(1); }

/* Statement: words light up as you read */
.ulp-state { padding-block: clamp(80px, 11vw, 150px); }
.ulp-manifest { font: 600 clamp(28px, 3.5vw, 50px)/1.2 var(--f-body); letter-spacing: -.015em; color: var(--ink); max-width: 24em; text-wrap: pretty; }
.ulp-manifest .em { color: var(--rust); }
.ulp-anim .ulp-manifest .w { opacity: .14; transition: opacity .35s ease; }
.ulp-anim .ulp-manifest .w.on, .ulp-anim .ulp-manifest.lit .w { opacity: 1; }
.ulp-state-row { display: flex; flex-wrap: wrap; gap: 18px 56px; margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--line); }
.ulp-state-row div { display: grid; gap: 4px; }
.ulp-state-row b { font: 400 clamp(26px, 2.6vw, 36px)/1 var(--f-display); color: var(--ink); font-variant-numeric: tabular-nums; }
.ulp-state-row span { color: var(--muted); font-size: 17px; }

/* Frame opens to the full screen */
.ulp-expand { position: relative; background: var(--paper); }
.ulp-stick { position: relative; height: min(86vh, 820px); min-height: 460px; overflow: hidden; }
.ulp-expand-media { position: absolute; inset: 0; background: var(--hero); overflow: hidden; }
.ulp-expand-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ulp-expand-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,36,46,.15) 0%, rgba(16,36,46,0) 35%, rgba(16,36,46,.78) 100%); }
.ulp-expand-copy { position: absolute; left: 0; right: 0; bottom: clamp(32px, 6vw, 72px); z-index: 2; color: var(--paper); }
.ulp-expand-copy h2 { font-size: clamp(42px, 6.6vw, 96px); line-height: .98; color: var(--paper); }
.ulp-expand-copy p { margin-top: 18px; font-size: 20px; color: var(--on-dark); max-width: 46ch; }
.ulp-expand-side { position: absolute; inset: 0; z-index: 1; display: none; align-items: center; pointer-events: none; }
.ulp-expand-side .ulp-wrap { width: 100%; display: flex; justify-content: space-between; font: 400 17px/1.2 var(--f-display); text-transform: uppercase; color: var(--muted); }
.ulp-full .ulp-expand { height: 230vh; }
.ulp-full .ulp-stick { position: sticky; top: 0; height: 100vh; }
.ulp-full .ulp-expand-side { display: flex; }
.ulp-full .ulp-expand-media { clip-path: inset(14% 22% 14% 22% round 22px); will-change: clip-path; }
.ulp-full .ulp-expand-media img { transform: scale(1.25); will-change: transform; }
.ulp-full .ulp-expand-copy, .ulp-anim.ulp-lite .ulp-expand-copy { opacity: 0; transform: translateY(40px); transition: opacity .8s, transform .8s; }
.ulp-full .ulp-expand.done .ulp-expand-copy, .ulp-anim.ulp-lite .ulp-expand.open .ulp-expand-copy { opacity: 1; transform: none; }
.ulp-anim.ulp-lite .ulp-expand-media { clip-path: inset(9% 10% 9% 10% round 20px); transition: clip-path 1.6s cubic-bezier(.2,.7,.2,1); }
.ulp-anim.ulp-lite .ulp-expand-media img { transform: scale(1.2); transition: transform 2s cubic-bezier(.2,.7,.2,1); }
.ulp-anim.ulp-lite .ulp-expand.open .ulp-expand-media { clip-path: inset(0 0 0 0 round 0); }
.ulp-anim.ulp-lite .ulp-expand.open .ulp-expand-media img { transform: none; }
.ulp-anim.ulp-lite .ulp-expand.open .ulp-expand-copy { transition-delay: .9s; }

/* "What is included": the drawing stays, the list scrolls past it and lights the current node */
.ulp-full .ulp-parts > li { padding-block: 34px; opacity: .3; transition: opacity .5s, background-color .2s; }
.ulp-full .ulp-parts > li.is-cur, .ulp-full .ulp-parts > li:hover, .ulp-full .ulp-parts > li:focus-within { opacity: 1; }
.ulp-full .ulp-sheet { top: 10vh; }

/* ===== Hero ===== */
.ulp-hero { padding-block: clamp(48px, 7vw, 104px); }
.ulp-hero .ulp-wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.ulp-kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; color: var(--sage); margin-bottom: 22px; }
.ulp-kicker::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--rust); box-shadow: 0 0 0 5px rgba(184,79,51,.25); }
.ulp-hero h1 { font: 400 clamp(52px, 7.4vw, 108px)/.94 var(--f-display); text-transform: uppercase; letter-spacing: .005em; color: var(--paper); }
.ulp-hero-sub { font: 600 clamp(22px, 2.2vw, 30px)/1.3 var(--f-body); color: var(--paper); margin-top: 26px; max-width: 26ch; }
.ulp-hero .ulp-lede { margin-top: 18px; max-width: 52ch; }
.ulp-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.ulp-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 44px 0 0; padding: 0; border-top: 1px solid rgba(244,241,233,.22); }
.ulp-facts div { padding: 20px 20px 0 0; }
.ulp-facts div + div { padding-left: 20px; border-left: 1px solid rgba(244,241,233,.22); }
.ulp-facts dt { font: 400 clamp(30px, 3vw, 42px)/1 var(--f-display); color: var(--paper); }
.ulp-facts dd { margin: 8px 0 0; font-size: 16px; color: var(--on-dark); }

.ulp-photo { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--ink); aspect-ratio: 4 / 5; max-width: 100%; isolation: isolate; }
.ulp-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ulp-photo::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(16,36,46,.9) 0%, rgba(16,36,46,.25) 38%, rgba(16,36,46,0) 60%); }
.ulp-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 22px; display: grid; gap: 4px; color: #fff; }
.ulp-photo figcaption b { font: 400 22px/1.15 var(--f-display); text-transform: uppercase; }
.ulp-photo figcaption a { color: rgba(255,255,255,.85); font-size: 16px; }
.ulp-badge { position: absolute; left: 18px; top: 18px; z-index: 2; font-size: 14px; font-weight: 700; padding: 7px 14px; border-radius: 999px; background: var(--rust); color: #fff; }
/* Placeholder when a photo cannot load (preview, or a moved file) */
.ulp-noimg { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(244,241,233,.55); font-size: 15px;
  background: repeating-linear-gradient(135deg, rgba(244,241,233,.05) 0 12px, transparent 12px 24px), var(--ink); }
.ulp-orbit { position: absolute; right: -140px; top: -140px; width: 460px; height: 460px; border-radius: 50%; pointer-events: none; z-index: 0; animation: ulp-spin 28s linear infinite; }
.ulp-orbit::before { content: ""; position: absolute; left: 50%; top: -6px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--rust); box-shadow: 0 0 14px rgba(184,79,51,.8); }
@keyframes ulp-spin { to { transform: rotate(360deg); } }

/* Hero background: the factory-of-the-future picture with depth parallax (WebGL), sparks and dust (2D canvas).
   The plain <img> is the fallback and the first frame; the veil keeps the copy readable. */
.ulp-hero::before, .ulp-hero::after { display: none; }
.ulp-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; background: var(--hero); }
.ulp-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 62% 55%; filter: saturate(.82) brightness(.74); transition: opacity 1.2s ease; }
.ulp-bg-gl, .ulp-bg-fx { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s ease; }
.ulp-bg.is-live .ulp-bg-gl, .ulp-bg.is-live .ulp-bg-fx { opacity: 1; }
.ulp-bg.is-live .ulp-bg-img { opacity: 0; }
.ulp-bg.is-fx .ulp-bg-fx { opacity: 1; }
.ulp-bg.is-fx .ulp-bg-img { transition: opacity 1.2s ease, transform .2s linear; will-change: transform; }
.ulp-hero h1, .ulp-hero-sub, .ulp-hero .ulp-lede, .ulp-hero .ulp-kicker, .ulp-hero .ulp-facts { text-shadow: 0 2px 18px rgba(12, 28, 36, .65); }
.ulp-sky-veil { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(24,55,70,.93) 0%, rgba(24,55,70,.84) 30%, rgba(24,55,70,.58) 47%, rgba(24,55,70,.2) 60%, rgba(24,55,70,0) 70%),
    linear-gradient(180deg, rgba(24,55,70,.55) 0%, rgba(24,55,70,.12) 24%, rgba(24,55,70,0) 40%, rgba(24,55,70,0) 66%, rgba(24,55,70,.72) 100%); }
.ulp-hero .ulp-wrap { min-height: min(78vh, 760px); }
.ulp-hero .ulp-photo { aspect-ratio: 4 / 3; width: min(360px, 100%); justify-self: end; align-self: end; box-shadow: 0 24px 60px rgba(8, 20, 28, .45); }
.ulp-hero .ulp-photo figcaption { padding: 16px 18px; }
.ulp-hero .ulp-photo figcaption b { font-size: 18px; }
.ulp-hero .ulp-photo figcaption a { font-size: 15px; }
.ulp-hero .ulp-badge { left: 14px; top: 14px; font-size: 13px; }
@media (max-width: 1040px) {
  .ulp-hero { padding-top: min(56vw, 440px); }
  .ulp-bg { bottom: auto; height: calc(min(56vw, 440px) + 12vw); -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }
  .ulp-hero .ulp-wrap { min-height: 0; }
  .ulp-hero .ulp-photo { width: 100%; justify-self: stretch; }
  .ulp-sky-veil { background: linear-gradient(180deg, rgba(24,55,70,0) 0, rgba(24,55,70,.1) min(42vw, 330px), rgba(24,55,70,.84) min(60vw, 470px), rgba(24,55,70,.7) 75%, rgba(24,55,70,.3) 100%); }
}

/* ===== What is included ===== */
.ulp-spec .grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.ulp-sheet { position: sticky; top: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px; box-shadow: 0 1px 0 var(--line), 12px 12px 0 var(--plate); }
.ulp-sheet__frame { border: 1px solid var(--ink); border-radius: 8px; overflow: hidden; }
.ulp-draw { display: block; width: 100%; height: auto; }
.ulp-stamp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); font-size: 14px; line-height: 1.3; }
.ulp-stamp > div { padding: 9px 12px; border-left: 1px solid var(--ink); }
.ulp-stamp > div:first-child { border-left: 0; }
.ulp-stamp .wide { grid-column: 1 / -1; border-left: 0; border-bottom: 1px solid var(--ink); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ulp-stamp b { font: 400 15px/1.2 var(--f-display); text-transform: uppercase; }

.ulp-draw .st { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.ulp-draw .thin { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.ulp-draw .dim { fill: none; stroke: var(--muted); stroke-width: 1; }
.ulp-draw .ext { fill: none; stroke: var(--muted); stroke-width: .8; stroke-dasharray: 4 3; }
.ulp-draw .dpk { fill: var(--wood); stroke: var(--ink); stroke-width: 1.2; }
.ulp-draw .metal { fill: var(--muted); stroke: var(--ink); stroke-width: 1; }
.ulp-draw .wall { fill: url(#ulpHatch); stroke: var(--ink); stroke-width: 1.4; }
.ulp-draw .roof { fill: var(--rust); stroke: var(--ink); stroke-width: 1.2; }
.ulp-draw text { font-family: var(--f-body); fill: var(--muted); font-size: 15px; }
.ulp-draw .call circle { fill: var(--card); stroke: var(--ink); stroke-width: 1.6; transition: fill .2s; }
.ulp-draw .call text { fill: var(--ink); font-weight: 700; font-size: 16px; text-anchor: middle; dominant-baseline: central; }
.ulp-draw .call line { stroke: var(--ink); stroke-width: 1.1; }
.ulp-draw g[data-pos] { transition: opacity .2s; }
.ulp-draw.is-focus g[data-pos]:not(.is-on) { opacity: .16; }
.ulp-draw.is-focus g[data-pos].is-on .call circle, .ulp-draw g.call.is-on circle { fill: var(--rust); }
.ulp-draw.is-focus g.call.is-on text { fill: #fff; }
@keyframes ulp-stroke { to { stroke-dashoffset: 0; } }
@keyframes ulp-fade { from { opacity: 0; } to { opacity: 1; } }
.ulp-draw.is-anim .ulp-layer * { stroke-dasharray: 1; stroke-dashoffset: 1; animation: ulp-stroke .8s ease-out forwards; animation-delay: calc(var(--d) * .3s); }
.ulp-draw.is-anim .ulp-layer { animation: ulp-fade .3s ease-out both; animation-delay: calc(var(--d) * .3s); }
.ulp-draw.is-anim .call, .ulp-draw.is-anim .dims { animation: ulp-fade .5s ease-out both; animation-delay: 2.1s; }

.ulp-parts { list-style: none; margin: 0; padding: 0; display: grid; border-top: 2px solid var(--ink); }
.ulp-parts > li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 4px 18px; padding: 22px 0; border-bottom: 1px solid var(--line); transition: background-color .2s; }
.ulp-parts > li.is-on { background: linear-gradient(90deg, rgba(184,79,51,.07), transparent 70%); }
.ulp-pos { grid-row: 1 / span 3; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--ink); font: 400 20px/1 var(--f-display); transition: background-color .2s, color .2s, border-color .2s; }
.ulp-parts > li.is-on .ulp-pos { background: var(--rust); border-color: var(--rust); color: #fff; }
.ulp-pos--opt { border-style: dashed; color: var(--muted); }
.ulp-parts h3 { font-size: 23px; padding-top: 2px; }
.ulp-parts p.sum { color: var(--muted); font-size: 18px; }
.ulp-parts .ulp-more { grid-column: 2; margin-top: 8px; }

/* ===== Steps ===== */
.ulp-steps ol { list-style: none; margin: 0; padding: 0; counter-reset: ulpstep; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ulp-steps ol > li {
  counter-increment: ulpstep; position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: 26px 24px 22px; border-radius: var(--r); background: rgba(244,241,233,.05); border: 1px solid rgba(244,241,233,.16);
}
.ulp-steps ol > li::before { content: counter(ulpstep); font: 400 64px/.9 var(--f-display); color: var(--rust); margin-bottom: 6px; }
.ulp-steps ol > li::after { content: ""; position: absolute; top: 56px; right: -18px; width: 18px; border-top: 2px dashed rgba(244,241,233,.3); }
.ulp-steps ol > li:nth-child(4n)::after, .ulp-steps ol > li.ulp-step-cta::after { display: none; }
.ulp-steps h3 { font: 400 24px/1.1 var(--f-display); text-transform: uppercase; color: var(--paper); }
.ulp-steps .res { color: var(--sage); font-size: 17px; }
.ulp-steps .ulp-more { margin-top: auto; padding-top: 4px; }
.ulp .ulp-steps ol > li.ulp-step-cta { background: var(--rust); border-color: var(--rust); justify-content: space-between; }
.ulp-steps ol > li.ulp-step-cta::before { content: none; }
.ulp-step-cta p { font: 400 28px/1.05 var(--f-display); text-transform: uppercase; color: #fff; }
.ulp-step-cta span { color: rgba(255,255,255,.85); font-size: 17px; }
.ulp .ulp-step-cta .ulp-btn { background: var(--paper); color: var(--ink); min-height: 54px; }
.ulp .ulp-step-cta .ulp-btn:hover { background: #fff; color: var(--ink); }

/* ===== Works: horizontal track (rides sideways on scroll on big screens, swipes on phones) ===== */
.ulp-hgal { position: relative; background: var(--paper); }
.ulp-hgal-pin { display: flex; flex-direction: column; gap: clamp(28px, 4vh, 44px); padding-block: clamp(64px, 8vw, 120px); }
.ulp-hgal .top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.ulp-hgal .ulp-head { margin-bottom: 0; }
.ulp-track {
  display: flex; gap: clamp(14px, 2vw, 28px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-left: max(16px, calc((100% - var(--wrap)) / 2 + 16px)); padding-right: 16px; scroll-padding-left: max(16px, calc((100% - var(--wrap)) / 2 + 16px));
  overscroll-behavior-x: contain;
}
.ulp-track::-webkit-scrollbar { display: none; }
.ulp-shot { flex: none; width: clamp(280px, 46vw, 720px); display: grid; gap: 14px; align-content: start; align-self: flex-start; text-decoration: none; color: var(--ink); scroll-snap-align: start; }
.ulp-shot.tall { width: clamp(240px, 30vw, 460px); }
.ulp-shot figure { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10.5; max-width: 100%; background: var(--ink); }
.ulp-shot.tall figure { aspect-ratio: 4 / 5; }
.ulp-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.ulp-shot .cap { display: flex; justify-content: space-between; gap: 14px; font-weight: 700; font-size: 18px; line-height: 1.3; }
.ulp-shot .cap span { color: var(--muted); font-weight: 500; font-size: 16px; white-space: nowrap; }
.ulp-shot:hover .cap b { color: var(--rust); }
.ulp-shot:focus-visible { outline-offset: 4px; border-radius: var(--r); }
.ulp-hbar { display: flex; align-items: center; gap: 16px; font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ulp-hbar i { flex: 1; max-width: 420px; height: 2px; background: var(--line); position: relative; overflow: hidden; }
.ulp-hbar i b { position: absolute; left: 0; top: 0; bottom: 0; width: 20%; background: var(--rust); }
.ulp-full .ulp-hgal-pin { position: sticky; top: 0; height: 100vh; justify-content: center; overflow: hidden; padding-block: 48px; }
.ulp-full .ulp-track { overflow: visible; scroll-snap-type: none; will-change: transform; }
.ulp-full .ulp-shot img { transform: scale(1.12); will-change: transform; transition: none; }
.ulp-full .ulp-hgal-pin { gap: clamp(18px, 3vh, 36px); }
.ulp-full .ulp-hgal .ulp-lede { font-size: 19px; }
.ulp-full .ulp-hgal { --shot-h: min(42vh, 500px); }
.ulp-full .ulp-hgal .ulp-shop { margin-top: 14px; }
.ulp-full .ulp-shot { width: calc(var(--shot-h) * 16 / 10.5); }
.ulp-full .ulp-shot.tall { width: calc(var(--shot-h) * 4 / 5); }
.ulp-full .ulp-shot .cap { flex-wrap: wrap; }
@media (max-height: 820px) { .ulp-full .ulp-hgal .ulp-lede { display: none; } .ulp-full .ulp-hgal-pin { padding-block: 20px; } .ulp-full .ulp-hgal h2 { font-size: clamp(30px, 3.6vw, 46px); } .ulp-full .ulp-hgal { --shot-h: min(40vh, 500px); } }
.ulp-shop { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.ulp-shop a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-weight: 600; font-size: 16px; text-decoration: none; transition: border-color .2s, background-color .2s, color .2s; }
.ulp-shop a:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }

/* ===== Calculator ===== */
.ulp-calc { background: var(--card); border-block: 1px solid var(--line); }
.ulp-calc .grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.ulp-field { border: 0; margin: 0 0 32px; padding: 0; min-width: 0; }
.ulp-field legend, .ulp-label { display: block; font-weight: 700; font-size: 19px; margin-bottom: 12px; padding: 0; }
.ulp-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ulp-chip { position: relative; }
.ulp-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ulp-chip span { display: inline-flex; align-items: center; min-height: 52px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-size: 17px; font-weight: 600; transition: border-color .2s, background-color .2s, color .2s; }
.ulp-chip input:hover + span { border-color: var(--ink); }
.ulp-chip input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.ulp-chip input:focus-visible + span { outline: 3px solid var(--rust); outline-offset: 2px; }
.ulp-range { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; }
.ulp-range input[type=range] { width: 100%; height: 36px; accent-color: var(--rust); }
.ulp-range output { font: 400 36px/1 var(--f-display); min-width: 130px; text-align: right; font-variant-numeric: tabular-nums; }
.ulp-calc .ulp-more { max-width: 60ch; }
.ulp-result { position: sticky; top: 24px; background: var(--hero); color: var(--paper); border-radius: var(--r-lg); padding: 30px; overflow: hidden; }
.ulp-result::after { content: ""; position: absolute; right: -80px; top: -80px; width: 220px; height: 220px; border-radius: 50%; border: 1px solid rgba(244,241,233,.18); box-shadow: 0 0 0 30px rgba(244,241,233,.03); pointer-events: none; }
.ulp-result h3 { font: 400 24px/1.1 var(--f-display); text-transform: uppercase; margin-bottom: 18px; }
.ulp-result dl { margin: 0 0 20px; display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.ulp-result dt, .ulp-result dd { margin: 0; padding: 13px 0; border-bottom: 1px solid rgba(244,241,233,.16); font-size: 18px; }
.ulp-result dt { color: var(--on-dark); }
.ulp-result dd { font: 400 22px/1.2 var(--f-display); text-align: right; font-variant-numeric: tabular-nums; }
.ulp-verdict { display: flex; gap: 12px; align-items: flex-start; font-size: 18px; margin-bottom: 22px; }
.ulp-verdict i { flex: none; width: 14px; height: 14px; border-radius: 50%; margin-top: 6px; background: var(--sage); box-shadow: 0 0 0 4px rgba(174,200,181,.2); }
.ulp-verdict[data-state="steep"] i { background: var(--rust-hi); box-shadow: 0 0 0 4px rgba(204,95,65,.25); }
.ulp-verdict[data-state="flat"] i { background: #e2b86a; box-shadow: 0 0 0 4px rgba(226,184,106,.25); }
.ulp-result .ulp-btn { width: 100%; }

/* ===== Why metal and WPC ===== */
.ulp-plates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ulp-plate { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 26px; display: grid; gap: 12px; align-content: start; }
.ulp-plate b { font: 400 26px/1.08 var(--f-display); text-transform: uppercase; color: var(--ink); }
.ulp-plate p { color: var(--muted); font-size: 18px; }
.ulp-plate svg { width: 44px; height: 44px; color: var(--rust); }
.ulp-compare { margin-top: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 6px 26px 18px; }
.ulp-compare > summary { font-size: 18px; }
.ulp-table-scroll { overflow-x: auto; }
.ulp-mat table { width: 100%; border-collapse: collapse; min-width: 640px; }
.ulp-mat th, .ulp-mat td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 17px; }
.ulp-mat thead th { font: 400 17px/1.2 var(--f-display); text-transform: uppercase; border-bottom: 2px solid var(--ink); }
.ulp-mat tbody th { font-weight: 600; color: var(--ink); width: 22%; }
.ulp-mat td { color: var(--muted); }
.ulp-mat .ours { background: rgba(184,79,51,.06); color: var(--ink); }
.ulp-mat thead .ours { color: var(--rust); }

/* ===== FAQ ===== */
.ulp-faq .grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.ulp-faq .ulp-head { margin-bottom: 0; }
.ulp-ask { margin-top: 8px; display: grid; gap: 8px; }
.ulp-ask a { font: 400 30px/1.1 var(--f-display); text-decoration: none; color: var(--ink); }
.ulp-ask a:hover { color: var(--rust); }
.ulp-ask span { color: var(--muted); font-size: 17px; }
.ulp-faq details.q { border-bottom: 1px solid var(--line); }
.ulp-faq details.q:first-child { border-top: 2px solid var(--ink); }
.ulp-faq details.q > summary { list-style: none; cursor: pointer; padding: 24px 52px 24px 0; position: relative; font-weight: 700; font-size: 21px; line-height: 1.3; }
.ulp-faq details.q > summary::-webkit-details-marker { display: none; }
.ulp-faq details.q > summary::after { content: "+"; position: absolute; right: 0; top: 50%; width: 36px; height: 36px; margin-top: -18px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; font: 400 20px/1 var(--f-display); transition: transform .25s, background-color .2s, color .2s; }
.ulp-faq details.q[open] > summary::after { transform: rotate(45deg); background: var(--ink); color: var(--paper); }
.ulp-faq details.q > p { padding: 0 0 26px; color: var(--muted); font-size: 18px; max-width: 64ch; }
.ulp-faq details.q[open] > p { animation: ulp-open .35s ease-out; }
.ulp-faq details a { color: var(--rust); }

/* ===== Order ===== */
.ulp-order .grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.ulp-contacts { display: grid; gap: 22px; margin-top: 40px; }
.ulp-contacts div { display: grid; gap: 4px; }
.ulp-contacts span { font-size: 16px; color: var(--sage); }
.ulp-contacts a, .ulp-contacts b { color: var(--paper); font: 400 26px/1.15 var(--f-display); text-decoration: none; }
.ulp-contacts a:hover { color: #f0b9a6; }
.ulp-form { position: relative; z-index: 1; background: var(--card); color: var(--ink); padding: clamp(24px, 3.4vw, 44px); border-radius: var(--r-lg); display: grid; gap: 20px; box-shadow: 14px 14px 0 rgba(0,0,0,.18); }
.ulp-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ulp-form label.ulp-label { margin-bottom: 8px; font-size: 17px; }
.ulp-form input[type=text], .ulp-form input[type=tel], .ulp-form textarea {
  width: 100%; font: 400 18px/1.4 var(--f-body); color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 12px; padding: 15px 16px; min-height: 58px;
}
.ulp-form textarea { min-height: 130px; resize: vertical; }
.ulp-form input:focus, .ulp-form textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 4px rgba(36,70,91,.14); }
.ulp-form input[aria-invalid="true"] { border-color: var(--rust); }
.ulp-err { color: #9c3a22; font-size: 15px; margin-top: 6px; }
.ulp-consent { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; font-size: 15px; color: var(--muted); }
.ulp-consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ink); }
.ulp-consent a { color: var(--ink); }
.ulp-form .ulp-btn { width: 100%; min-height: 64px; font-size: 19px; }
.ulp-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.ulp-status { font-size: 16px; padding: 14px 16px; border-radius: 12px; }
.ulp-status[data-type="ok"] { background: #e4eee5; color: #234a37; }
.ulp-status[data-type="err"] { background: #f7e3dc; color: #8a2f1c; }

@media (prefers-reduced-motion: reduce) {
  .ulp *, .ulp *::before, .ulp *::after { animation: none !important; transition: none !important; }
  .ulp-draw .ulp-layer * { stroke-dasharray: none !important; stroke-dashoffset: 0 !important; }
}

/* Tablet */
@media (min-width: 641px) and (max-width: 1040px) {
  .ulp-hero .ulp-wrap, .ulp-spec .grid, .ulp-calc .grid, .ulp-faq .grid, .ulp-order .grid { grid-template-columns: minmax(0, 1fr); }
  .ulp-photo { aspect-ratio: 16 / 10; }
  .ulp-sheet, .ulp-result { position: static; }
  .ulp-steps ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ulp-steps ol > li::after { display: none; }
  .ulp-plates { grid-template-columns: minmax(0, 1fr); }
}

/* ===== Phone: the same rules apply at phone width and for phones that show the site
   at desktop width (class ulp--phone, set by the script) */
@media (max-width: 640px) {

.ulp { font-size: 19px; }
.ulp .ulp-band { padding-block: 64px; }
.ulp h2 { font-size: 36px; line-height: 1.04; }
.ulp .ulp-head { gap: 16px; margin-bottom: 36px; }
.ulp .ulp-lede { font-size: 19px; }
.ulp .ulp-hero .ulp-wrap, .ulp .ulp-spec .grid, .ulp .ulp-calc .grid, .ulp .ulp-faq .grid, .ulp .ulp-order .grid { grid-template-columns: minmax(0, 1fr); }
.ulp .ulp-sheet, .ulp .ulp-result { position: static; }
.ulp .ulp-dark::after { width: 300px; height: 300px; right: -120px; top: -120px; }
.ulp .ulp-btn { width: 100%; min-height: 64px; font-size: 19px; }

.ulp .ulp-hero { padding-block: 40px 64px; }
.ulp .ulp-hero .ulp-wrap { gap: 40px; }
.ulp .ulp-kicker { font-size: 16px; margin-bottom: 18px; }
.ulp .ulp-hero h1 { font-size: clamp(46px, 13.5vw, 60px); line-height: .96; }
.ulp .ulp-hero-sub { font-size: 23px; margin-top: 20px; }
.ulp .ulp-facts { grid-template-columns: minmax(0, 1fr); margin-top: 36px; }
.ulp .ulp-facts div, .ulp .ulp-facts div + div { padding: 16px 0; border-left: 0; border-bottom: 1px solid rgba(244,241,233,.16); display: flex; align-items: baseline; gap: 14px; }
.ulp .ulp-facts dt { font-size: 32px; min-width: 104px; }
.ulp .ulp-facts dd { margin: 0; font-size: 17px; }
.ulp .ulp-photo { aspect-ratio: 4 / 4.4; }
.ulp .ulp-photo figcaption b { font-size: 21px; }
.ulp .ulp-sky-veil { background: linear-gradient(180deg, rgba(24,55,70,0) 0, rgba(24,55,70,.1) min(60vw, 300px), rgba(24,55,70,.84) min(86vw, 430px), rgba(24,55,70,.7) 75%, rgba(24,55,70,.3) 100%); }
.ulp .ulp-hero { padding-top: min(80vw, 400px); }
.ulp .ulp-bg { bottom: auto; height: calc(min(80vw, 400px) + 16vw); -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.ulp .ulp-hero .ulp-wrap { min-height: 0; }
.ulp .ulp-hero .ulp-photo { width: 100%; justify-self: stretch; }

.ulp .ulp-sheet { padding: 8px; box-shadow: 6px 6px 0 var(--plate); }
.ulp .ulp-draw text { font-size: 30px; }
.ulp .ulp-draw .call text { font-size: 28px; }
.ulp .ulp-draw .call circle { stroke-width: 2; }
.ulp .ulp-draw .st { stroke-width: 2.8; }
.ulp .ulp-stamp { font-size: 15px; }
.ulp .ulp-stamp b { font-size: 15px; }
.ulp .ulp-parts > li { grid-template-columns: 48px minmax(0, 1fr); gap: 4px 14px; padding: 20px 0; }
.ulp .ulp-pos { width: 44px; height: 44px; font-size: 19px; }
.ulp .ulp-parts h3 { font-size: 22px; }

.ulp .ulp-steps ol { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.ulp .ulp-steps ol > li { padding: 24px 22px 20px; }
.ulp .ulp-steps ol > li::before { font-size: 52px; }
.ulp .ulp-steps ol > li::after { display: none; }
.ulp .ulp-steps h3 { font-size: 24px; }
.ulp .ulp-step-cta p { font-size: 26px; }

.ulp .ulp-hgal-pin { padding-block: 64px; gap: 28px; }
.ulp .ulp-shot, .ulp .ulp-shot.tall { width: min(84vw, 560px); }
.ulp .ulp-shot.tall figure { aspect-ratio: 16 / 10.5; }
.ulp .ulp-shot .cap { font-size: 19px; flex-wrap: wrap; }
.ulp .ulp-state { padding-block: 72px; }
.ulp .ulp-manifest { font-size: 29px; line-height: 1.22; }
.ulp .ulp-state-row { flex-direction: column; gap: 18px; margin-top: 40px; }
.ulp .ulp-state-row b { font-size: 30px; }
.ulp .ulp-stick { height: auto; min-height: 0; aspect-ratio: 4 / 5; max-height: 860px; }
.ulp .ulp-expand-copy h2 { font-size: 42px; }
.ulp .ulp-expand-copy p { font-size: 18px; }
.ulp .ulp-shop a { min-height: 54px; font-size: 17px; }

.ulp .ulp-field legend, .ulp .ulp-label { font-size: 20px; }
.ulp .ulp-chip span { min-height: 56px; padding: 0 20px; font-size: 18px; }
.ulp .ulp-range { grid-template-columns: minmax(0, 1fr); gap: 8px; }
.ulp .ulp-range output { text-align: left; order: -1; font-size: 40px; }
.ulp .ulp-range input[type=range] { height: 44px; }
.ulp .ulp-result { padding: 24px 22px; }
.ulp .ulp-result dt, .ulp .ulp-result dd { font-size: 18px; }
.ulp .ulp-result dd { font-size: 21px; }

.ulp .ulp-plates { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.ulp .ulp-plate { padding: 24px 22px; }
.ulp .ulp-plate b { font-size: 24px; }
.ulp .ulp-compare { padding: 4px 18px 14px; }
.ulp .ulp-mat table, .ulp .ulp-mat tbody, .ulp .ulp-mat tr { display: block; min-width: 0; }
.ulp .ulp-mat thead { display: none; }
.ulp .ulp-mat tbody tr { padding-block: 16px; border-bottom: 1px solid var(--line); }
.ulp .ulp-mat tbody th { display: block; width: auto; padding: 0 0 10px; border: 0; font: 400 20px/1.2 var(--f-display); text-transform: uppercase; }
.ulp .ulp-mat td { display: grid; gap: 2px; padding: 10px 12px; border: 0; font-size: 18px; }
.ulp .ulp-mat td::before { content: attr(data-label); font-size: 15px; color: var(--muted); font-weight: 600; }
.ulp .ulp-mat td.ours::before { color: var(--rust); }

.ulp .ulp-ask a { font-size: 30px; }
.ulp .ulp-faq details.q > summary { font-size: 20px; padding-block: 22px; }

.ulp .ulp-contacts { margin-top: 32px; }
.ulp .ulp-contacts a, .ulp .ulp-contacts b { font-size: 25px; }
.ulp .ulp-form { padding: 24px 20px; gap: 22px; box-shadow: 8px 8px 0 rgba(0,0,0,.18); }
.ulp .ulp-form .row { grid-template-columns: minmax(0, 1fr); gap: 22px; }
.ulp .ulp-form label.ulp-label { font-size: 19px; }
.ulp .ulp-form input[type=text], .ulp .ulp-form input[type=tel], .ulp .ulp-form textarea { font-size: 19px; min-height: 62px; }
.ulp .ulp-consent { grid-template-columns: 30px 1fr; font-size: 17px; }
.ulp .ulp-consent input { width: 26px; height: 26px; }
}

.ulp.ulp--phone { font-size: 19px; }
.ulp.ulp--phone .ulp-band { padding-block: 64px; }
.ulp.ulp--phone h2 { font-size: 36px; line-height: 1.04; }
.ulp.ulp--phone .ulp-head { gap: 16px; margin-bottom: 36px; }
.ulp.ulp--phone .ulp-lede { font-size: 19px; }
.ulp.ulp--phone .ulp-hero .ulp-wrap, .ulp.ulp--phone .ulp-spec .grid, .ulp.ulp--phone .ulp-calc .grid, .ulp.ulp--phone .ulp-faq .grid, .ulp.ulp--phone .ulp-order .grid { grid-template-columns: minmax(0, 1fr); }
.ulp.ulp--phone .ulp-sheet, .ulp.ulp--phone .ulp-result { position: static; }
.ulp.ulp--phone .ulp-dark::after { width: 300px; height: 300px; right: -120px; top: -120px; }
.ulp.ulp--phone .ulp-btn { width: 100%; min-height: 64px; font-size: 19px; }

.ulp.ulp--phone .ulp-hero { padding-block: 40px 64px; }
.ulp.ulp--phone .ulp-hero .ulp-wrap { gap: 40px; }
.ulp.ulp--phone .ulp-kicker { font-size: 16px; margin-bottom: 18px; }
.ulp.ulp--phone .ulp-hero h1 { font-size: clamp(46px, 13.5vw, 60px); line-height: .96; }
.ulp.ulp--phone .ulp-hero-sub { font-size: 23px; margin-top: 20px; }
.ulp.ulp--phone .ulp-facts { grid-template-columns: minmax(0, 1fr); margin-top: 36px; }
.ulp.ulp--phone .ulp-facts div, .ulp.ulp--phone .ulp-facts div + div { padding: 16px 0; border-left: 0; border-bottom: 1px solid rgba(244,241,233,.16); display: flex; align-items: baseline; gap: 14px; }
.ulp.ulp--phone .ulp-facts dt { font-size: 32px; min-width: 104px; }
.ulp.ulp--phone .ulp-facts dd { margin: 0; font-size: 17px; }
.ulp.ulp--phone .ulp-photo { aspect-ratio: 4 / 4.4; }
.ulp.ulp--phone .ulp-photo figcaption b { font-size: 21px; }
.ulp.ulp--phone .ulp-sky-veil { background: linear-gradient(180deg, rgba(24,55,70,0) 0, rgba(24,55,70,.1) min(60vw, 300px), rgba(24,55,70,.84) min(86vw, 430px), rgba(24,55,70,.7) 75%, rgba(24,55,70,.3) 100%); }
.ulp.ulp--phone .ulp-hero { padding-top: min(80vw, 400px); }
.ulp.ulp--phone .ulp-bg { bottom: auto; height: calc(min(80vw, 400px) + 16vw); -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.ulp.ulp--phone .ulp-hero .ulp-wrap { min-height: 0; }
.ulp.ulp--phone .ulp-hero .ulp-photo { width: 100%; justify-self: stretch; }

.ulp.ulp--phone .ulp-sheet { padding: 8px; box-shadow: 6px 6px 0 var(--plate); }
.ulp.ulp--phone .ulp-draw text { font-size: 30px; }
.ulp.ulp--phone .ulp-draw .call text { font-size: 28px; }
.ulp.ulp--phone .ulp-draw .call circle { stroke-width: 2; }
.ulp.ulp--phone .ulp-draw .st { stroke-width: 2.8; }
.ulp.ulp--phone .ulp-stamp { font-size: 15px; }
.ulp.ulp--phone .ulp-stamp b { font-size: 15px; }
.ulp.ulp--phone .ulp-parts > li { grid-template-columns: 48px minmax(0, 1fr); gap: 4px 14px; padding: 20px 0; }
.ulp.ulp--phone .ulp-pos { width: 44px; height: 44px; font-size: 19px; }
.ulp.ulp--phone .ulp-parts h3 { font-size: 22px; }

.ulp.ulp--phone .ulp-steps ol { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.ulp.ulp--phone .ulp-steps ol > li { padding: 24px 22px 20px; }
.ulp.ulp--phone .ulp-steps ol > li::before { font-size: 52px; }
.ulp.ulp--phone .ulp-steps ol > li::after { display: none; }
.ulp.ulp--phone .ulp-steps h3 { font-size: 24px; }
.ulp.ulp--phone .ulp-step-cta p { font-size: 26px; }

.ulp.ulp--phone .ulp-hgal-pin { padding-block: 64px; gap: 28px; }
.ulp.ulp--phone .ulp-shot, .ulp.ulp--phone .ulp-shot.tall { width: min(84vw, 560px); }
.ulp.ulp--phone .ulp-shot.tall figure { aspect-ratio: 16 / 10.5; }
.ulp.ulp--phone .ulp-shot .cap { font-size: 19px; flex-wrap: wrap; }
.ulp.ulp--phone .ulp-state { padding-block: 72px; }
.ulp.ulp--phone .ulp-manifest { font-size: 29px; line-height: 1.22; }
.ulp.ulp--phone .ulp-state-row { flex-direction: column; gap: 18px; margin-top: 40px; }
.ulp.ulp--phone .ulp-state-row b { font-size: 30px; }
.ulp.ulp--phone .ulp-stick { height: auto; min-height: 0; aspect-ratio: 4 / 5; max-height: 860px; }
.ulp.ulp--phone .ulp-expand-copy h2 { font-size: 42px; }
.ulp.ulp--phone .ulp-expand-copy p { font-size: 18px; }
.ulp.ulp--phone .ulp-shop a { min-height: 54px; font-size: 17px; }

.ulp.ulp--phone .ulp-field legend, .ulp.ulp--phone .ulp-label { font-size: 20px; }
.ulp.ulp--phone .ulp-chip span { min-height: 56px; padding: 0 20px; font-size: 18px; }
.ulp.ulp--phone .ulp-range { grid-template-columns: minmax(0, 1fr); gap: 8px; }
.ulp.ulp--phone .ulp-range output { text-align: left; order: -1; font-size: 40px; }
.ulp.ulp--phone .ulp-range input[type=range] { height: 44px; }
.ulp.ulp--phone .ulp-result { padding: 24px 22px; }
.ulp.ulp--phone .ulp-result dt, .ulp.ulp--phone .ulp-result dd { font-size: 18px; }
.ulp.ulp--phone .ulp-result dd { font-size: 21px; }

.ulp.ulp--phone .ulp-plates { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.ulp.ulp--phone .ulp-plate { padding: 24px 22px; }
.ulp.ulp--phone .ulp-plate b { font-size: 24px; }
.ulp.ulp--phone .ulp-compare { padding: 4px 18px 14px; }
.ulp.ulp--phone .ulp-mat table, .ulp.ulp--phone .ulp-mat tbody, .ulp.ulp--phone .ulp-mat tr { display: block; min-width: 0; }
.ulp.ulp--phone .ulp-mat thead { display: none; }
.ulp.ulp--phone .ulp-mat tbody tr { padding-block: 16px; border-bottom: 1px solid var(--line); }
.ulp.ulp--phone .ulp-mat tbody th { display: block; width: auto; padding: 0 0 10px; border: 0; font: 400 20px/1.2 var(--f-display); text-transform: uppercase; }
.ulp.ulp--phone .ulp-mat td { display: grid; gap: 2px; padding: 10px 12px; border: 0; font-size: 18px; }
.ulp.ulp--phone .ulp-mat td::before { content: attr(data-label); font-size: 15px; color: var(--muted); font-weight: 600; }
.ulp.ulp--phone .ulp-mat td.ours::before { color: var(--rust); }

.ulp.ulp--phone .ulp-ask a { font-size: 30px; }
.ulp.ulp--phone .ulp-faq details.q > summary { font-size: 20px; padding-block: 22px; }

.ulp.ulp--phone .ulp-contacts { margin-top: 32px; }
.ulp.ulp--phone .ulp-contacts a, .ulp.ulp--phone .ulp-contacts b { font-size: 25px; }
.ulp.ulp--phone .ulp-form { padding: 24px 20px; gap: 22px; box-shadow: 8px 8px 0 rgba(0,0,0,.18); }
.ulp.ulp--phone .ulp-form .row { grid-template-columns: minmax(0, 1fr); gap: 22px; }
.ulp.ulp--phone .ulp-form label.ulp-label { font-size: 19px; }
.ulp.ulp--phone .ulp-form input[type=text], .ulp.ulp--phone .ulp-form input[type=tel], .ulp.ulp--phone .ulp-form textarea { font-size: 19px; min-height: 62px; }
.ulp.ulp--phone .ulp-consent { grid-template-columns: 30px 1fr; font-size: 17px; }
.ulp.ulp--phone .ulp-consent input { width: 26px; height: 26px; }

.ulp.ulp--phone { width: auto; margin-left: 0; }
@media (min-width: 641px) { .ulp-anim.ulp-lite:not(.ulp--phone) .ulp-stick { height: auto; min-height: 0; aspect-ratio: 16 / 10; max-height: 860px; } }

/* layouts when parts of a block are switched off in the admin */
.ulp-hero .ulp-wrap.ulp-wrap--solo { grid-template-columns: minmax(0, 1fr); }
.ulp-hero .ulp-wrap.ulp-wrap--solo > div { max-width: 820px; }
.ulp-spec .grid.is-solo { grid-template-columns: minmax(0, 1fr); max-width: 900px; }
