/* Mobila Direct · the home page. */

/* ------------------------------------------------------------------ opening screen */
.hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: clamp(680px, 100svh, 1100px); overflow: clip;
  background: linear-gradient(180deg, #e8e9ee 0%, #e6e8ee 55%, #e1e5ec 100%); }
.hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 90px; z-index: 2; pointer-events: none; background: linear-gradient(to bottom, rgba(242, 244, 249, 0), var(--paper)); }
.stage { position: absolute; inset: 0; z-index: 0; overflow: hidden; touch-action: pan-y; }
.stage__frame { position: absolute; translate: 0 calc(var(--sc, 0) * 9%); will-change: translate; }
.stage__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; translate: calc(var(--mx, 0) * -7px) calc(var(--my, 0) * -4px); scale: 1.02; transition: translate .9s var(--ease-out);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 20%), linear-gradient(to bottom, transparent 0, #000 3%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 20%), linear-gradient(to bottom, transparent 0, #000 3%); mask-composite: intersect; }
/* the arch takes the product's hue: a pastel layer cut to the arch's shape, with a faint gray copy
   of the photo over it for the arch's own light and shade */
.stage__arch { position: absolute; inset: 0; opacity: 0; translate: calc(var(--mx, 0) * -7px) calc(var(--my, 0) * -4px); scale: 1.02;
  background: linear-gradient(180deg, var(--c1, #9bbbe0) 4%, var(--c2, #d3e2f3) 80%);
  -webkit-mask: url('/assets/img/arch-mask.webp') 0 0 / 100% 100% no-repeat; mask: url('/assets/img/arch-mask.webp') 0 0 / 100% 100% no-repeat;
  transition: opacity .5s ease 1s, translate .9s var(--ease-out); }
/* the new tone fades in on top; the old one goes once it is covered */
.stage__arch.is-on { z-index: 1; opacity: 1; transition: opacity 1.1s ease, translate .9s var(--ease-out); }
.stage.is-plain .stage__arch { transition-delay: 0s; transition-duration: 1.1s; }
.stage__glow, .stage__shadow, .stage__spot, .stage__dim { z-index: 2; }
.stage__arch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15); opacity: .26; }
.stage__glow { position: absolute; left: 66.7%; top: 50%; width: 44%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; mix-blend-mode: soft-light; opacity: .8;
  background: radial-gradient(circle, #fff 0%, rgba(255, 255, 255, 0) 64%); animation: glow 7s ease-in-out infinite; }
@keyframes glow { 50% { scale: 1.12; opacity: .55; } }
.stage__shadow { position: absolute; left: 66.7%; top: 86.8%; width: calc(var(--pw, 16%) * .96); aspect-ratio: 7 / 1; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(18, 30, 66, .5), rgba(18, 30, 66, .16) 55%, rgba(18, 30, 66, 0)); filter: blur(5px); opacity: 0; scale: .5; }
.stage__shadow.is-on { opacity: 1; scale: 1; transition: opacity .7s ease .35s, scale 1s var(--ease-out) .3s; }
.stage__spot { position: absolute; inset: 0; translate: calc(var(--mx, 0) * 9px) calc(var(--my, 0) * 3px); transition: translate .9s var(--ease-out); }
.stage__img { position: absolute; left: 66.7%; bottom: 13.2%; max-width: none; object-fit: contain; object-position: 50% 100%; translate: -50% 0; transform-origin: 50% 100%;
  opacity: 0; transform: translateY(-9%) scale(.95); filter: drop-shadow(0 18px 22px rgba(18, 30, 66, .16)); pointer-events: none; }
.stage__img.is-on { opacity: 1; transform: none; transition: opacity .5s ease .12s, transform 1.05s cubic-bezier(.2, 1.25, .32, 1) .12s; }
.stage__img.is-off { opacity: 0; transform: translateY(2.5%) scale(.93); filter: blur(7px); transition: opacity .42s ease, transform .6s ease, filter .42s ease; }
html:not(.is-open) .stage__img.is-on { opacity: 0; transform: translateY(-16%) scale(.92); }
html:not(.is-open) .stage__shadow.is-on { opacity: 0; scale: .5; }
/* the measuring line beside the product */
.stage__dim { position: absolute; left: calc(66.7% - var(--pw, 16%) / 2 - 2.6%); bottom: 13.2%; height: var(--ph, 50%); width: 14px; opacity: 0; color: var(--ink-2); }
.stage__dim i { position: absolute; left: 6px; top: 0; bottom: 0; width: 1px; background: currentColor; transform: scaleY(0); transform-origin: 50% 100%; }
.stage__dim i::before, .stage__dim i::after { content: ''; position: absolute; left: -5px; width: 11px; height: 1px; background: currentColor; }
.stage__dim i::before { top: 0; } .stage__dim i::after { bottom: 0; }
.stage__dim b { position: absolute; right: 14px; top: 50%; translate: 0 -50%; padding: 5px 9px; border-radius: 999px; background: rgba(255, 255, 255, .86); box-shadow: var(--sh-s); font: 600 .72rem/1 var(--f-display); letter-spacing: .02em; white-space: nowrap; color: var(--ink); }
.stage__dim.is-on { opacity: 1; transition: opacity .5s ease .7s; }
.stage__dim.is-on i { transform: none; transition: transform .9s var(--ease-out) .7s; }
html:not(.is-open) .stage__dim { opacity: 0; }

.hero__in { width: min(100% - var(--gut) * 2, var(--wrap)); margin-inline: auto; padding-block: 118px 86px; }
.hero__copy { max-width: min(46%, 640px); display: grid; gap: 24px; justify-items: start; opacity: calc(1 - var(--sc, 0) * 1.6); translate: 0 calc(var(--sc, 0) * -40px); }
.hero__title { font-size: clamp(2.7rem, 5.5vw, 5.9rem); }
.hero__eyebrow, .hero__lead, .hero__cta, .hero__facts { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out); }
html.is-open .hero__eyebrow { opacity: 1; transform: none; transition-delay: .05s; }
html.is-open .hero__lead { opacity: 1; transform: none; transition-delay: .5s; }
html.is-open .hero__cta { opacity: 1; transform: none; transition-delay: .62s; }
html.is-open .hero__facts { opacity: 1; transform: none; transition-delay: .76s; }
.hero__lead { max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(100%, 500px); margin-top: 6px; padding: 16px 4px 15px; border-radius: 22px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .82), rgba(255, 255, 255, .5)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .95), 0 14px 34px -20px rgba(19, 42, 99, .4); }
.hero__facts li { display: grid; justify-items: center; align-content: start; gap: 8px; padding: 0 8px; text-align: center; font: 500 .8rem/1.25 var(--f-display); letter-spacing: .01em; color: var(--muted); }
.hero__facts li + li { border-left: 1px solid rgba(12, 20, 36, .08); }
.hero__facts b { display: block; height: 32px; padding-inline: .06em; font: 700 2rem/32px var(--f-display); letter-spacing: -.045em;
  background: var(--g-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__fact-ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 11px; background: var(--g-brand); color: #fff; box-shadow: 0 8px 16px -8px rgba(47, 99, 214, .7); }
.hero__fact-ic .ic { width: 19px; height: 19px; }

/* the card that names what is on the plinth */
.podium { position: absolute; right: 0; top: clamp(110px, 17%, 190px); z-index: 3; width: 264px; padding: 16px 18px 14px; border-radius: var(--r-m); display: grid; gap: 12px;
  background: rgba(255, 255, 255, .68); box-shadow: 0 0 0 1px rgba(255, 255, 255, .8), var(--sh-m); backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5);
  opacity: 0; transform: translateX(30px); transition: opacity .9s var(--ease-out) .55s, transform 1.1s var(--ease-out) .55s; }
html.is-open .podium { opacity: 1; transform: none; }
.podium__top { display: flex; align-items: center; justify-content: space-between; font: 600 .68rem/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--cobalt); }
.podium__n { color: var(--muted); letter-spacing: .06em; }
.podium__main { display: grid; gap: 4px; }
.podium__name { font: 700 1.7rem/1 var(--f-display); letter-spacing: -.04em; color: var(--ink); }
.podium__colour { font-size: .88rem; color: var(--muted); }
.podium__price { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-top: 6px; }
.podium__price b { font: 700 1.15rem/1 var(--f-display); letter-spacing: -.02em; color: var(--ink); }
.podium__price s { font-size: .84rem; color: var(--muted); }
.podium.is-swap .podium__main > * { animation: rise .6s var(--ease-out) both; }
.podium.is-swap .podium__main > *:nth-child(2) { animation-delay: .06s; }
.podium.is-swap .podium__main > *:nth-child(3) { animation-delay: .12s; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
.podium__sws { display: flex; gap: 12px; min-height: 26px; padding-left: 5px; }
.podium__sws:empty { display: none; }
.podium__ctl { display: flex; align-items: center; gap: 10px; }
.podium__ctl .round { width: 38px; height: 38px; }
.podium__bar { flex: 1; height: 3px; border-radius: 3px; background: rgba(12, 20, 36, .1); overflow: hidden; }
.podium__bar i { display: block; height: 100%; width: 100%; border-radius: 3px; background: var(--g-brand); transform-origin: 0 50%; transform: scaleX(0); }
@keyframes podium-bar { to { transform: scaleX(1); } }

.hero__scroll { position: absolute; left: 50%; bottom: 22px; z-index: 3; display: none; align-items: center; gap: 10px; translate: -50% 0; font: 600 .68rem/1 var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2);
  opacity: calc(1 - var(--sc, 0) * 4); }
.hero__scroll i { position: relative; width: 22px; height: 34px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px currentColor; }
.hero__scroll i::after { content: ''; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: currentColor; animation: wheel 1.9s var(--ease-io) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(11px); opacity: 0; } 100% { opacity: 0; } }
@media (min-width: 1100px) and (min-height: 760px) { .hero__scroll { display: inline-flex; } }

/* narrow screens: the words first, the plinth beneath them */
@media (max-width: 1099px) {
  .hero { flex-direction: column; align-items: stretch; min-height: 0; padding-top: 0; }
  .hero__in { display: contents; }
  .hero__copy { order: 1; max-width: none; padding: 112px var(--gut) 0; gap: 18px; opacity: 1; translate: none; }
  .hero__title { font-size: clamp(2.5rem, 9.6vw, 4.6rem); }
  .hero { background: #e7e9ee; }
  .hero__copy { position: relative; z-index: 1; }
  .stage { order: 2; position: relative; inset: auto; height: clamp(360px, 54svh, 640px); margin-top: 10px; }
  /* the studio photo melts into the page above it instead of starting on a hard line */
  .stage::before { content: ''; position: absolute; inset: 0 0 auto; height: 26%; z-index: 1; pointer-events: none; background: linear-gradient(#e7e9ee 8%, rgba(231, 233, 238, .7) 45%, rgba(231, 233, 238, 0)); }
  .stage__bg { -webkit-mask-image: none; mask-image: none; }
  /* phones: no blend modes, blurs or backdrop filters over the moving stage */
  .stage__glow { mix-blend-mode: normal; opacity: .3; animation: none; }
  .stage__img.is-off { filter: none; }
  .podium { order: 3; position: relative; right: auto; top: auto; width: auto; margin: -34px var(--gut) 44px; grid-template-columns: 1fr auto; align-items: center; column-gap: 16px;
    background: rgba(255, 255, 255, .92); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .hero .btn--ghost { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255, 255, 255, .78); }
  .podium__top { grid-column: 1 / -1; }
  .podium__sws { grid-column: 2; grid-row: 2; }
  .podium__ctl { grid-column: 1 / -1; }
  .hero__facts { margin-top: 2px; width: 100%; }
  .hero::after { height: 50px; }
  .stage__dim { display: none; }
}

/* ------------------------------------------------------------------ the running line of materials */
.mq { position: relative; z-index: 1; padding: 22px 0; overflow: hidden; background: #fff; border-block: 1px solid var(--line); }
.mq__track { display: flex; align-items: center; gap: clamp(22px, 3vw, 44px); width: max-content; will-change: transform; font: 650 clamp(1.5rem, 3vw, 2.7rem)/1 var(--f-display); letter-spacing: -.035em; color: var(--ink); white-space: nowrap; }
.mq__track span:nth-of-type(even) { font-family: var(--f-serif); font-style: italic; font-weight: 500; font-size: 1.14em; letter-spacing: -.02em; background: var(--g-text); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .1em; }
.mq__dot { width: .62em; height: .62em; color: var(--brass); flex: none; }

/* ------------------------------------------------------------------ three ways in */
.cats__grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.tile { position: relative; display: flex; flex-direction: column; min-height: 520px; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; color: var(--ink);
  background: linear-gradient(170deg, var(--tint) 0%, #fff 62%); box-shadow: var(--sh-s); transition: transform .7s var(--ease-out), box-shadow .7s var(--ease-out); }
.tile::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--g-brand-soft); opacity: 0; transition: opacity .7s ease; }
.tile__n { position: absolute; left: 26px; top: 22px; font: 500 3.2rem/1 var(--f-serif); font-style: italic; color: rgba(12, 20, 36, .16); }
.tile__pic { position: relative; flex: 1; min-height: 300px; display: grid; place-items: end center; padding: 34px 26px 0; }
.tile__ring { position: absolute; left: 50%; bottom: 6px; width: 76%; aspect-ratio: 5 / 1; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, #fff 0%, #fff 62%, rgba(255, 255, 255, 0) 100%); box-shadow: 0 18px 30px -14px rgba(19, 42, 99, .35); }
.tile__pic img { position: relative; max-height: 310px; width: auto; max-width: 92%; object-fit: contain; object-position: 50% 100%; margin-bottom: 20px; transition: transform .9s var(--ease-out); transform-origin: 50% 100%; filter: drop-shadow(0 14px 16px rgba(18, 30, 66, .14)); }
.tile__body { display: grid; gap: 8px; padding: 22px 26px 24px; }
.tile__name { display: inline-flex; align-items: center; gap: 12px; font: 700 clamp(1.7rem, 2.3vw, 2.3rem)/1 var(--f-display); letter-spacing: -.04em; }
.tile__name .ic { color: var(--cobalt); width: 1em; height: 1em; }
.tile__text { color: var(--text); max-width: 34ch; }
.tile__foot { display: flex; align-items: center; gap: 12px; margin-top: 10px; font: 600 1rem/1 var(--f-display); }
.tile__chips { margin-left: auto; }
.tile__chips i { display: none; }
.tile .round--go { transition: transform .6s var(--ease-out), background .4s; }
@media (hover: hover) {
  .tile:hover { transform: translateY(-8px); box-shadow: var(--sh-l); }
  .tile:hover::before { opacity: 1; }
  .tile:hover .tile__pic img { transform: scale(1.06) rotate(-1.5deg); }
  .tile:hover .round--go { background: var(--g-brand); transform: rotate(45deg) scale(1.08); }
}
@media (min-width: 900px) { .cats__grid { grid-template-columns: repeat(3, 1fr); } .tile:nth-child(2) { margin-top: 44px; } }

/* ------------------------------------------------------------------ why us */
.ben__grid { display: grid; gap: 44px; align-items: center; }
.ben__pics { position: relative; min-height: 460px; }
.ben__pic { position: absolute; display: block; padding: 26px 26px 64px; border-radius: var(--r-xl); background: linear-gradient(165deg, var(--tint), #fff 75%); box-shadow: var(--sh-m); overflow: hidden; will-change: translate; }
.ben__pic img { width: 100%; height: 100%; min-height: 0; object-fit: contain; object-position: 50% 100%; transition: transform .9s var(--ease-out); filter: drop-shadow(0 14px 16px rgba(18, 30, 66, .14)); }
.ben__pic:hover img { transform: scale(1.05); }
.ben__pic--a { left: 0; top: 0; width: 55%; height: 76%; }
.ben__pic--b { right: 0; bottom: 0; width: 47%; height: 72%; }
.ben__tag { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-radius: 999px; background: rgba(255, 255, 255, .86); font: 650 .95rem/1 var(--f-display); color: var(--ink); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.ben__tag b { color: var(--cobalt); font-size: .9rem; }
.ben__list { display: grid; gap: 14px; grid-template-columns: 1fr; }
.ben__list li { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border-radius: var(--r-m); background: #fff; box-shadow: var(--sh-s); transition: transform .6s var(--ease-out), box-shadow .6s; }
.ben__list li:hover { transform: translateY(-4px); box-shadow: var(--sh-m); }
.ben__ic { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 16px; background: var(--g-brand); color: #fff; box-shadow: var(--sh-blue); }
.ben__ic .ic { width: 26px; height: 26px; }
.ben__list li:nth-child(even) .ben__ic { background: var(--g-brass); color: #2a1e08; box-shadow: 0 14px 30px -14px rgba(163, 122, 54, .7); }
.ben__list h3 { font: 650 1.08rem/1.2 var(--f-display); letter-spacing: -.02em; color: var(--ink); margin-bottom: 4px; }
.ben__list p { font-size: .94rem; }
@media (min-width: 620px) { .ben__list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .ben__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; } .ben__pics { min-height: 620px; } }

/* ------------------------------------------------------------------ the row of chairs, the tables */
.rail { overflow: hidden; }
.rail__side { display: grid; gap: 18px; }
.rail__ctl { display: flex; align-items: center; gap: 10px; }
.rail__ctl .link { margin-left: auto; }
.rail__track { position: relative; z-index: 1; display: flex; gap: 20px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none;
  padding: 12px max(var(--gut), calc((100vw - var(--wrap)) / 2)) 44px; cursor: grab; }
.rail__track::-webkit-scrollbar { display: none; }
.rail__track.is-drag { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.rail__track.is-drag a { pointer-events: none; }
.card--rail { flex: 0 0 clamp(248px, 23vw, 330px); scroll-snap-align: start; }
.rail__tables { margin-top: clamp(40px, 6vw, 90px); }

/* ------------------------------------------------------------------ the set builder */
.bld__grid { display: grid; gap: 22px; align-items: start; }
/* the stage: a studio wall and floor, an arch in the chair's colour, a long plinth */
.bld__room { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-m); transition: --tint .8s ease, --hue .8s ease;
  background: linear-gradient(180deg, #eceef3 0%, #e7e9ef 66%, #dfe3ea 66.2%, #eef0f5 100%); }
.bld__arch { position: absolute; left: 50%; bottom: 21%; width: 44%; height: 72%; translate: -50% 0; border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, color-mix(in srgb, var(--hue) 34%, #e9edf4), color-mix(in srgb, var(--hue) 9%, #f3f5f9)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5); }
.bld__plinth { position: absolute; left: 50%; bottom: 9%; width: 97%; aspect-ratio: 9.5 / 1; translate: -50% 0; border-radius: 50%; background: linear-gradient(180deg, #fff, #f1f3f7);
  box-shadow: 0 12px 0 -1px #e3e7ee, 0 13px 0 -1px #d9dee7, 0 40px 44px -18px rgba(19, 42, 99, .36); }
.bld__scene { position: absolute; inset: 0; }
.bld__piece { position: absolute; translate: -50% -100%; transform-origin: 50% 100%;
  transition: left .8s var(--ease-out), top .8s var(--ease-out), width .8s var(--ease-out), opacity .45s ease, transform .9s cubic-bezier(.2, 1.2, .32, 1); }
.bld__piece img { display: block; width: 100%; height: auto; transform: scaleX(var(--k, 1)); filter: drop-shadow(0 8px 10px rgba(18, 30, 66, .14)); }
.bld__piece.is-new { opacity: 0; transform: translateY(-9%) scale(.9); }
.bld__piece.is-gone { opacity: 0; transform: translateY(3%) scale(.92); }
.bld__shade { position: absolute; left: 50%; bottom: -2.5%; width: 92%; aspect-ratio: 7 / 1; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(18, 30, 66, .36), rgba(18, 30, 66, .1) 60%, rgba(18, 30, 66, 0)); filter: blur(4px); }
.bld__piece--table .bld__shade { width: 100%; aspect-ratio: 9 / 1; bottom: -3%; }
/* under the stage: the plan from above and what it tells */
.bld__left { display: grid; gap: 14px; min-width: 0; }
.bld__under { display: grid; grid-template-columns: clamp(120px, 26%, 190px) 1fr; gap: 18px; align-items: center; padding: 14px 18px; border-radius: var(--r-l); background: #fff; box-shadow: var(--sh-s);
  transition: opacity .9s var(--ease-out) .15s, transform 1.1s var(--ease-out) .15s; }
.bld__plan { border-radius: var(--r-s); background: var(--paper); padding: 6px; }
.bld__plan svg { display: block; width: 100%; height: auto; }
.plan__top { fill: color-mix(in srgb, var(--top) 30%, #fff); stroke: var(--ink-2); stroke-width: 1.4; transition: fill .6s ease; }
.plan__seat { fill: color-mix(in srgb, var(--seat) 80%, #fff); stroke: var(--ink-2); stroke-width: 1.1; transition: fill .6s ease; }
.plan__back { fill: var(--ink-2); }
.bld__facts { display: grid; gap: 6px; min-width: 0; }
.bld__facts b { font: 650 .68rem/1.2 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--cobalt); }
.bld__size { font: 650 1.1rem/1.2 var(--f-display); letter-spacing: -.02em; color: var(--ink); margin-bottom: 4px; }
.bld__panel { display: grid; gap: 14px; padding: 20px; border-radius: var(--r-xl); background: #fff; box-shadow: var(--sh-m); min-width: 0; }
.bld__set { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; min-width: 0; }
.bld__set legend { display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 10px; font: 650 1.05rem/1 var(--f-display); letter-spacing: -.02em; color: var(--ink); }
.bld__step { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--g-brand); color: #fff; font: 700 .78rem/1 var(--f-display); }
.bld__picks { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 6px; margin: -4px -2px 0; scroll-snap-type: x proximity; }
.bld__picks::-webkit-scrollbar { display: none; }
.bld__picks.is-drag { cursor: grabbing; user-select: none; scroll-snap-type: none; }
.pick { flex: 0 0 96px; display: grid; gap: 4px; justify-items: center; padding: 8px 6px 10px; border-radius: var(--r-s); background: var(--paper); box-shadow: inset 0 0 0 1.5px transparent; scroll-snap-align: start;
  transition: box-shadow .3s, background-color .3s, transform .45s var(--ease-out); }
.pick:hover { transform: translateY(-2px); }
.pick.is-on { background: linear-gradient(165deg, var(--tint), #fff); box-shadow: inset 0 0 0 1.5px var(--azure), var(--sh-s); }
.pick__pic { display: block; width: 100%; height: 66px; }
.pick__pic img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; }
.pick__name { font: 650 .86rem/1.1 var(--f-display); color: var(--ink); }
.pick__price { font-size: .72rem; color: var(--muted); }
.bld__sws { display: flex; align-items: center; gap: 13px; min-height: 30px; padding-left: 6px; }
.bld__colour { font-size: .86rem; color: var(--muted); margin-left: 2px; }
.bld__set--row { grid-template-columns: auto 1fr; align-items: center; column-gap: 16px; padding-top: 8px; border-top: 1px solid var(--line); }
.bld__set--row legend { float: left; margin: 0 14px 0 0; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--paper); }
.seg button { min-width: 52px; height: 40px; padding: 0 14px; border-radius: 999px; font: 650 1rem/1 var(--f-display); color: var(--muted); transition: background-color .3s, color .3s, box-shadow .3s; }
.seg button.is-on { background: var(--ink); color: #fff; box-shadow: var(--sh-s); }
.bld__hint { display: flex; gap: 8px; align-items: flex-start; font-size: .84rem; line-height: 1.4; color: var(--muted); }
.bld__hint .ic { color: var(--cobalt); width: 17px; height: 17px; margin-top: 1px; }
.bld__sum { display: grid; gap: 9px; padding: 16px; border-radius: var(--r-m); background: var(--g-brand-soft); }
.bld__row { display: flex; justify-content: space-between; gap: 12px; font-size: .92rem; color: var(--ink-2); }
.bld__row b { font: 600 .92rem/1.4 var(--f-display); color: var(--ink); white-space: nowrap; }
.bld__total { display: flex; align-items: baseline; justify-content: space-between; padding-top: 10px; border-top: 1px dashed rgba(47, 99, 214, .35); font: 600 1rem/1 var(--f-display); color: var(--ink); }
.bld__total b { font-size: clamp(1.7rem, 2.4vw, 2.2rem); font-weight: 700; letter-spacing: -.04em; }
.bld__save { display: inline-flex; align-items: center; gap: 8px; font: 600 .86rem/1 var(--f-display); color: #876323; }
.bld__ready { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 18px; padding: 16px 22px; border-radius: 999px; background: #fff; box-shadow: var(--sh-s); font: 600 1rem/1.2 var(--f-display); color: var(--ink); transition: transform .5s var(--ease-out), box-shadow .5s; }
.bld__ready span { display: inline-flex; align-items: center; gap: 10px; }
.bld__ready span .ic { color: var(--cobalt); }
.bld__ready b { margin-left: auto; color: var(--cobalt); }
.bld__ready:hover { transform: translateY(-3px); box-shadow: var(--sh-m); }
.bld__ready:hover .ic--go { transform: translateX(5px); }
.bld__ready .ic--go { transition: transform .5s var(--ease-out); }
@media (min-width: 1000px) { .bld__grid { grid-template-columns: minmax(0, 1.45fr) minmax(360px, 1fr); gap: 26px; } .bld__left { position: sticky; top: 96px; } .bld__panel { padding: 24px; } }

/* ------------------------------------------------------------------ materials */
.mat { background: var(--g-night); overflow: hidden; }
.mat__row { display: flex; gap: 12px; height: clamp(420px, 56vh, 620px); }
.mat__item { position: relative; flex: 1 1 0; min-width: 0; border-radius: var(--r-l); overflow: hidden; cursor: pointer; isolation: isolate; outline-offset: -3px;
  transition: flex-grow .9s var(--ease-out); }
.mat__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out), filter .8s ease; filter: saturate(.85) brightness(.82); transform: scale(1.12); }
.mat__item::after { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(to top, rgba(6, 12, 30, .86) 0%, rgba(6, 12, 30, .2) 46%, rgba(6, 12, 30, .12) 100%); }
.mat__item.is-on { flex-grow: 4.4; cursor: default; }
.mat__item.is-on img { filter: none; transform: none; }
.mat__n { position: absolute; left: 18px; top: 16px; z-index: 1; font: 500 1.6rem/1 var(--f-serif); font-style: italic; color: rgba(255, 255, 255, .78); }
.mat__name { position: absolute; left: 18px; bottom: 18px; z-index: 1; font: 700 1.3rem/1 var(--f-display); letter-spacing: -.03em; color: #fff; writing-mode: vertical-rl; rotate: 180deg; white-space: nowrap; transition: opacity .3s ease; }
.mat__item.is-on .mat__name { opacity: 0; }
.mat__more { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: grid; gap: 10px; padding: 26px; min-width: 300px; max-width: 520px; color: #dbe3f3; opacity: 0; transform: translateY(18px); pointer-events: none; transition: opacity .3s ease, transform .5s ease; }
.mat__item.is-on .mat__more { opacity: 1; transform: none; pointer-events: auto; transition: opacity .6s ease .35s, transform .8s var(--ease-out) .35s; }
.mat__more p:first-child { font: 600 clamp(1.15rem, 1.5vw, 1.45rem)/1.3 var(--f-display); letter-spacing: -.02em; color: #fff; text-wrap: balance; }
.mat__in { font: 600 .68rem/1 var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: var(--brass-l); margin-top: 4px; }
.mat__models { display: flex; flex-wrap: wrap; gap: 8px; }
.mat__models .chip { background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .26); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background-color .3s, color .3s; }
.mat__models .chip:hover { background: #fff; color: var(--ink); }
@media (max-width: 899px) {
  .mat__row { height: auto; flex-direction: column; }
  .mat__item { flex: none; height: 76px; transition: height .8s var(--ease-out); }
  .mat__item.is-on { height: 380px; }
  .mat__name { writing-mode: horizontal-tb; rotate: none; left: 62px; top: 50%; bottom: auto; translate: 0 -50%; }
  .mat__n { top: 50%; translate: 0 -50%; }
  .mat__item.is-on .mat__n { top: 16px; translate: none; }
  .mat__more { min-width: 0; padding: 20px; }
}

/* ------------------------------------------------------------------ three steps */
.steps__road { position: relative; }
.steps__line { position: absolute; left: 0; right: 0; top: 16px; width: 100%; height: 120px; overflow: visible; display: none; }
.steps__dash { fill: none; stroke: var(--line-2); stroke-width: 2; stroke-dasharray: 2 10; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.steps__ink { fill: none; stroke: url(#g-brand); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; vector-effect: non-scaling-stroke; }
.steps__van { position: absolute; left: -24px; top: -8px; z-index: 2; display: none; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff; box-shadow: var(--sh-m); will-change: transform; }
.steps__list { position: relative; z-index: 1; display: grid; gap: 16px; counter-reset: s; }
.step { position: relative; display: grid; gap: 10px; justify-items: start; padding: 26px 24px 24px; border-radius: var(--r-l); background: #fff; box-shadow: var(--sh-s); opacity: .55; transform: translateY(18px) scale(.97);
  transition: opacity .7s ease, transform .9s var(--ease-out), box-shadow .7s; }
.step.is-on { opacity: 1; transform: none; box-shadow: var(--sh-m); }
.step__n { position: absolute; right: 22px; top: 10px; font: 500 4rem/1 var(--f-serif); font-style: italic; color: rgba(47, 99, 214, .14); transition: color .7s; }
.step.is-on .step__n { color: rgba(47, 99, 214, .34); }
.step__ic { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: var(--paper); color: var(--cobalt); transition: background .7s, color .5s, box-shadow .7s; }
.step__ic .ic { width: 28px; height: 28px; }
.step.is-on .step__ic { background: var(--g-brand); color: #fff; box-shadow: var(--sh-blue); }
.step h3 { font: 650 1.3rem/1.15 var(--f-display); letter-spacing: -.03em; color: var(--ink); }
.step p { font-size: .95rem; max-width: 34ch; }
.steps__text { margin: clamp(26px, 4vw, 48px) auto 0; text-align: center; max-width: 62ch; }
.steps__photos { display: grid; gap: 18px; margin-top: clamp(34px, 5vw, 70px); }
.shot { position: relative; aspect-ratio: 3 / 2; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-m); background: var(--mist); }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.shot figcaption { position: absolute; left: 14px; bottom: 14px; right: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: 999px; background: rgba(255, 255, 255, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.shot figcaption b { display: inline-flex; align-items: center; gap: 10px; font: 650 .98rem/1.2 var(--f-display); color: var(--ink); }
.shot figcaption b .ic { color: var(--cobalt); }
.shot figcaption i { font-size: .74rem; font-style: normal; color: var(--muted); white-space: nowrap; }
@media (min-width: 900px) {
  .steps__list { grid-template-columns: repeat(3, 1fr); gap: 22px; padding-top: 150px; }
  .steps__line, .steps__van { display: grid; }
  .steps__line { display: block; }
  .steps__photos { grid-template-columns: 1fr 1fr; }
  .steps__photos .shot:nth-child(2) { margin-top: 60px; }
}

/* ------------------------------------------------------------------ four reasons */
.why__grid { display: grid; gap: 40px; align-items: start; }
.acc { border-top: 1px solid var(--line-2); }
.acc__item { border-bottom: 1px solid var(--line-2); }
.acc__head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; width: 100%; padding: 22px 4px; text-align: left; }
.acc__n { font: 500 1.5rem/1 var(--f-serif); font-style: italic; color: var(--muted); transition: color .4s; }
.acc__t { font: 650 clamp(1.1rem, 1.6vw, 1.5rem)/1.2 var(--f-display); letter-spacing: -.03em; color: var(--ink); transition: color .4s; }
.acc__x { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: var(--sh-s); color: var(--ink); transition: rotate .6s var(--ease-out), background .4s, color .4s; }
.acc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease-out); }
.acc__body > div { overflow: hidden; }
.acc__body p { padding: 0 60px 24px 46px; max-width: 62ch; opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .7s var(--ease-out); }
.acc__item.is-on .acc__body { grid-template-rows: 1fr; }
.acc__item.is-on .acc__body p { opacity: 1; transform: none; transition-delay: .15s; }
.acc__item.is-on .acc__n, .acc__item.is-on .acc__t { color: var(--cobalt); }
.acc__item.is-on .acc__x { rotate: 135deg; background: var(--g-brand); color: #fff; }
.acc__head:hover .acc__t { color: var(--cobalt); }
.why__pics { position: relative; aspect-ratio: 4 / 5; max-height: 640px; width: 100%; border-radius: var(--r-xl); background: #fff; box-shadow: var(--sh-m); overflow: hidden; }
.why__pic { position: absolute; inset: 0; display: block; padding: 20% 18% 17%; background: linear-gradient(165deg, var(--tint), #fff 78%); opacity: 0; transition: opacity .7s ease; }
.why__pic.is-on { opacity: 1; }
.why__arch { position: absolute; left: 50%; bottom: 16%; width: 62%; height: 66%; translate: -50% 0; border-radius: 999px 999px 0 0; background: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .3)); }
.why__pic img { position: relative; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; transform: translateY(8%) scale(.92); opacity: 0; transition: transform 1s cubic-bezier(.2, 1.2, .32, 1), opacity .6s ease; filter: drop-shadow(0 16px 18px rgba(18, 30, 66, .16)); }
.why__pic.is-on img { transform: none; opacity: 1; transition-delay: .12s; }
.why__cap { position: absolute; left: 20px; bottom: 18px; font: 650 1.1rem/1 var(--f-display); letter-spacing: -.02em; color: var(--ink); }
.why__big { position: absolute; right: 22px; top: 8px; font: 500 clamp(4rem, 8vw, 7rem)/1 var(--f-serif); font-style: italic; background: var(--g-text); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .5; }
@media (min-width: 1000px) { .why__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 72px; } .why__pics { position: sticky; top: 110px; } }

/* ------------------------------------------------------------------ the stone banner, about */
.ban__box { position: relative; min-height: clamp(380px, 46vw, 560px); display: grid; align-items: end; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; box-shadow: var(--sh-l); }
.ban__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.ban__box::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(8, 14, 34, .9) 0%, rgba(13, 28, 70, .62) 48%, rgba(13, 28, 70, .12) 100%); }
.ban__in { display: grid; gap: 26px; padding: clamp(26px, 5vw, 64px); max-width: 880px; }
.ban__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ban__chips li { display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 999px; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .26); color: #fff; font: 550 .9rem/1 var(--f-display); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.ban__chips .ic { color: var(--brass-l); }
.ban__about { margin: clamp(28px, 4vw, 54px) auto 0; max-width: 78ch; text-align: center; font-size: clamp(1.02rem, 1.3vw, 1.22rem); line-height: 1.7; color: var(--text); text-wrap: pretty; }

/* ------------------------------------------------------------------ the closing call */
.cta { background: var(--g-night); overflow: hidden; }
.cta::before { content: ''; position: absolute; right: -10%; top: -40%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(103, 160, 222, .34), rgba(103, 160, 222, 0) 66%); animation: glow 9s ease-in-out infinite; }
.cta__grid { display: grid; gap: 34px; align-items: center; }
.cta__grid > div:first-child { display: grid; gap: 18px; justify-items: start; }
.cta__side { display: grid; gap: 18px; }
.cta__phone { display: flex; align-items: center; gap: 20px; padding: 22px 26px; border-radius: var(--r-l); background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background .4s, transform .6s var(--ease-out); }
.cta__phone:hover { background: rgba(255, 255, 255, .14); transform: translateY(-4px); }
.cta__ring { position: relative; display: grid; place-items: center; width: 64px; height: 64px; flex: none; border-radius: 50%; background: var(--g-brass); color: #2a1e08; }
.cta__ring::before, .cta__ring::after { content: ''; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(241, 221, 171, .7); animation: ring 2.6s ease-out infinite; }
.cta__ring::after { animation-delay: 1.3s; }
@keyframes ring { to { transform: scale(1.9); opacity: 0; } }
.cta__ring .ic { width: 28px; height: 28px; }
.cta__phone small { display: block; font: 600 .7rem/1 var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: var(--brass-l); margin-bottom: 8px; }
.cta__phone b { font: 700 clamp(1.5rem, 2.6vw, 2.3rem)/1 var(--f-display); letter-spacing: -.03em; }
.cta__row { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 1000px) { .cta__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 72px; } }

/* loops that run forever wait while their part of the page is off screen (data-live, reveal.js) */
.is-away .stage__glow, .is-away.cta::before, .is-away .cta__ring::before, .is-away .cta__ring::after { animation-play-state: paused; }
