/* QROWN.com: the page's own rules. The palette follows the concept on <html data-brand>; the registered
   colour tokens let the whole page ease from one project's colours to the next. */

@property --p-bg       { syntax: '<color>'; inherits: true; initial-value: #102219; }
@property --p-surface  { syntax: '<color>'; inherits: true; initial-value: #243028; }
@property --p-ink      { syntax: '<color>'; inherits: true; initial-value: #f1ede4; }
@property --p-muted    { syntax: '<color>'; inherits: true; initial-value: #a9b1a6; }
@property --p-accent   { syntax: '<color>'; inherits: true; initial-value: #d9c9a0; }
@property --p-accent-ink { syntax: '<color>'; inherits: true; initial-value: #18221c; }
@property --p-action   { syntax: '<color>'; inherits: true; initial-value: #d9c9a0; }
@property --p-action-ink { syntax: '<color>'; inherits: true; initial-value: #18221c; }

:root {
  transition: --p-bg .8s var(--ease), --p-surface .8s var(--ease), --p-ink .8s var(--ease), --p-muted .8s var(--ease),
              --p-accent .8s var(--ease), --p-accent-ink .8s var(--ease), --p-action .8s var(--ease), --p-action-ink .8s var(--ease);
  --line: color-mix(in oklab, var(--p-ink) 14%, transparent);
}
html.is-first { transition: none; }

/* the house colours, forest green and gold, whenever no concept is being looked at */
html[data-brand="house"]      { --p-bg: #102219; --p-surface: #17301f; --p-ink: #f3eedf; --p-muted: #a8b4a2; --p-accent: #cfa94f; --p-accent-ink: #102219; --p-action: #cfa94f; --p-action-ink: #102219; }
/* six concepts, six palettes: each matches the stage its reel is filmed on */
html[data-brand="lodges"]     { --p-bg: #1c261f; --p-surface: #263229; --p-ink: #f1ede4; --p-muted: #a9b1a6; --p-accent: #d9c9a0; --p-accent-ink: #18221c; --p-action: #d9c9a0; --p-action-ink: #18221c; }
html[data-brand="coffee"]     { --p-bg: #e44f2b; --p-surface: #d2431f; --p-ink: #1a0f0a; --p-muted: #4a1d0f; --p-accent: #1a120d; --p-accent-ink: #fbf3ea; --p-action: #1a120d; --p-action-ink: #fbf3ea; }
html[data-brand="architects"] { --p-bg: #dedcd6; --p-surface: #d0cdc6; --p-ink: #121212; --p-muted: #55524c; --p-accent: #d6372b; --p-accent-ink: #ffffff; --p-action: #121212; --p-action-ink: #f6f5f2; }
html[data-brand="analytics"]  { --p-bg: #dfe6ff; --p-surface: #cdd8fd; --p-ink: #0c0e12; --p-muted: #46506c; --p-accent: #2d5bff; --p-accent-ink: #ffffff; --p-action: #0c0e12; --p-action-ink: #ffffff; }
html[data-brand="bank"]       { --p-bg: #15120c; --p-surface: #211d15; --p-ink: #f4f2ec; --p-muted: #a6a093; --p-accent: #e9c87e; --p-accent-ink: #17120a; --p-action: #e9c87e; --p-action-ink: #17120a; }
html[data-brand="audio"]      { --p-bg: #19191b; --p-surface: #242427; --p-ink: #f1efea; --p-muted: #a3a19c; --p-accent: #e8653a; --p-accent-ink: #160700; --p-action: #e8653a; --p-action-ink: #160700; }
body { background: var(--bg); color: var(--ink); }

/* ------------------------------------------------------------ header */
.skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { width: auto; height: auto; clip-path: none; padding: var(--s-2) var(--s-3); background: var(--bg); z-index: 20; border-radius: var(--r-sm); }
.nav__actions { margin-left: auto; }
.nav__logo { --logo-ink: var(--accent-ink); gap: 10px; color: var(--ink); text-decoration: none; }
.logo-mark { width: 30px; height: 30px; flex: none; color: var(--accent); transition: color .8s var(--ease); }
.logo-word { font: 800 19px/1 var(--font-head); letter-spacing: .02em; }
.logo-dot { color: var(--accent); transition: color .8s var(--ease); }
.nav__logo:hover .logo-mark { transform: rotate(-8deg); }
.logo-mark { transition: color .8s var(--ease), transform .3s var(--ease); }

/* ------------------------------------------------------------ hero: the sale over a third, the wall under it */
.hero.showcase { height: 100svh; min-height: 600px; padding: var(--nav) 0 0; overflow: clip; }
.showcase__wrap { height: 100%; display: flex; flex-direction: column; }
.marquee { flex: 0 0 33svh; min-height: 230px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-top: var(--s-3); }
.marquee__eyebrow { display: flex; align-items: center; gap: 18px; margin: 0; font: 600 clamp(15px, 2.3svh, 22px)/1 var(--font-serif); letter-spacing: .34em; text-transform: uppercase; color: var(--accent); transition: color .8s var(--ease); }
.marquee__eyebrow span { margin-right: -.34em; }
.marquee__eyebrow::before, .marquee__eyebrow::after { content: ""; width: clamp(28px, 4vw, 64px); height: 1px; background: currentColor; opacity: .7; }
.marquee h1 { margin: clamp(8px, 1.6svh, 18px) 0 0; display: flex; flex-direction: column; align-items: center; font-family: var(--font-serif); font-weight: 500; letter-spacing: 0; line-height: 1; }
.marquee__name { font: 800 min(12.4svh, 11.4vw, 140px)/.9 var(--font-head); letter-spacing: -.035em; text-transform: uppercase; white-space: nowrap; }
.marquee__sub { margin-top: clamp(6px, 1.2svh, 14px); font: 800 min(3.4svh, 5.4vw, 32px)/1 var(--font-head); letter-spacing: .14em; margin-right: -.14em; text-transform: uppercase; color: color-mix(in oklab, var(--ink) 82%, var(--bg)); }
.marquee__cta { margin-top: clamp(14px, 2.8svh, 28px); }
.marquee__cta, .nav__actions .btn { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.nav__actions .btn { font-size: 14px; }
.nav { background: color-mix(in oklab, var(--bg) 74%, transparent); -webkit-backdrop-filter: blur(24px) saturate(1.2); backdrop-filter: blur(24px) saturate(1.2); }

/* the animated ground behind the first screen: a Neat gradient in the colours of the concept being looked at */
.backdrop { position: absolute; inset: 0; z-index: -1; overflow: clip; pointer-events: none; }
.backdrop__neat { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s var(--ease); }
.backdrop.is-live .backdrop__neat { opacity: 1; }
.backdrop::after { content: ""; position: absolute; inset: 0; background: color-mix(in oklab, var(--bg) 30%, transparent); }

/* the wall: six browser windows on a shallow curve, three by two (two by three on narrow or upright screens) */
.gallery { position: relative; flex: 1 1 0; min-height: 0; container-type: size; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s-4); padding-bottom: var(--s-5); perspective: 1700px; perspective-origin: 50% 30%; }
.wall { --cols: 3; --gap: clamp(14px, 1.8vw, 28px); --px: 0deg; --py: 0deg;
  width: min(100cqw, (100cqh - 72px) * 2.2); display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: var(--gap);
  margin: 0; padding: 0; list-style: none; transform-style: preserve-3d; transform: rotateX(calc(6deg + var(--px))) rotateY(var(--py)); }
.wall > li { --ry: 0deg; --tz: 0px; --lift: 0px; transform-style: preserve-3d; transform: translateZ(calc(var(--tz) + var(--lift))) rotateY(var(--ry)); transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.wall > li:has(.shot.is-on) { --lift: 90px; --ry: 0deg !important; z-index: 2; }
.shot { display: block; width: 100%; padding: 0; border: 0; border-radius: 10px; overflow: clip; cursor: pointer; text-align: left; color: #1a1a1a;
  background: #f4f3ef; box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 18px 40px -18px rgba(0,0,0,.55), 0 2px 6px rgba(0,0,0,.18);
  transition: opacity .5s var(--ease), filter .5s var(--ease), box-shadow .6s var(--ease); }
.shot__bar { display: flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; background: #ecebe6; border-bottom: 1px solid rgba(0,0,0,.08); }
.shot__bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(0,0,0,.16); }
.shot__url { margin: 0 auto; transform: translateX(-12px); padding: 2px 14px; border-radius: 5px; background: #fff; font: 500 10px/1.2 var(--font-text); color: #55554f; letter-spacing: .01em; }
.shot__screen { position: relative; display: block; aspect-ratio: 16 / 10; background: #ddd; overflow: clip; }
.shot__screen :is(img, video) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.shot__screen .shot__page { bottom: auto; height: auto; object-fit: initial; opacity: 0; will-change: transform; transition: opacity .3s var(--ease); }
.shot.is-playing .shot__screen .shot__page { opacity: 1; }
.wall.is-looking .shot:not(.is-on) { opacity: .42; filter: saturate(.6); }
.shot.is-on { box-shadow: 0 0 0 1.5px var(--accent), 0 40px 80px -24px rgba(0,0,0,.6), 0 6px 16px rgba(0,0,0,.2); }
.shot:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.shot:active { filter: brightness(.96); }
.showcase__note { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; text-align: center; font-size: var(--t-small); line-height: 1.4; color: var(--muted); }
.showcase__name { color: var(--ink); font-weight: 500; }
@media (hover: none) { .showcase__hint { display: none; } }


/* ------------------------------------------------------------ transfer */
.transfer__dg { --p-h: 260px; --p-r: var(--r-lg); border-radius: var(--r-lg); flex: 1 1 auto;
  --ground-bg: var(--surface); --ground-surface: color-mix(in oklab, var(--surface) 88%, var(--ink)); --ground-accent: var(--accent);
  --ground-ink: var(--ink); --ground-muted: var(--muted); }
.steps { margin: var(--s-6) 0 0; padding: 0; list-style: none; row-gap: var(--s-5); }
.step h3 { margin: 0 0 var(--s-2); font-size: var(--t-card); line-height: 1.3; font-weight: 500; letter-spacing: -0.01em; }
.step p { margin: 0; font-size: var(--t-body); line-height: 1.6; color: color-mix(in oklab, var(--ink) 82%, var(--bg)); }
.a-inline { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: color-mix(in oklab, var(--ink) 40%, transparent); transition: text-decoration-color var(--dur) var(--ease); }
.a-inline:hover { text-decoration-color: var(--ink); }

/* ------------------------------------------------------------ offer */
.closing__cta.offer { display: grid; align-items: start; align-content: start; row-gap: var(--s-6); column-gap: var(--gutter); }
.offer__copy h2 { margin: 0; max-width: 14ch; }
.offer__copy .t-lead { margin: var(--s-5) 0 0; max-width: 40ch; line-height: 1.55; }
.offer__form { align-self: start; display: grid; gap: var(--s-5); padding: var(--s-6); border-radius: var(--r-lg); background: var(--surface); transition: background-color .8s var(--ease); }
.budget { display: grid; gap: var(--s-2); }
.budget__label, .field label { font-size: var(--t-label); font-weight: 500; color: var(--muted); }
.budget__value { font-family: var(--font-display); font-size: var(--t-h2); line-height: 1.1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.budget__value.is-unset { font-family: var(--font-serif); font-style: italic; font-weight: 500; letter-spacing: 0; color: var(--accent); }
.budget__range { --fill: 0%; -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 0; background: transparent; cursor: pointer; }
.budget__range::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(to right, var(--ink) var(--fill), color-mix(in oklab, var(--ink) 18%, transparent) var(--fill)); }
.budget__range::-moz-range-track { height: 6px; border-radius: 3px; background: color-mix(in oklab, var(--ink) 18%, transparent); }
.budget__range::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--ink); }
.budget__range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: var(--bg); border: 4px solid var(--ink); transition: transform var(--dur) var(--ease); }
.budget__range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--bg); border: 4px solid var(--ink); }
.budget__range:active::-webkit-slider-thumb { transform: scale(1.12); }
.budget__range:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 4px; }
.budget__ends { display: flex; justify-content: space-between; font-size: var(--t-label); color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.field { display: grid; gap: var(--s-2); }
.field input { height: 48px; padding: 0 var(--s-4); border-radius: var(--r-sm); border: 1px solid color-mix(in oklab, var(--ink) 24%, transparent); background: var(--bg); color: var(--ink); font: inherit; font-size: 16px; transition: border-color var(--dur) var(--ease), background-color .8s var(--ease); }
.field input:hover { border-color: color-mix(in oklab, var(--ink) 45%, transparent); }
.field input:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; border-color: transparent; }
.field input[aria-invalid="true"] { border-color: #e5484d; }
.offer__send { justify-self: start; }
.offer__status { margin: 0; font-size: var(--t-small); color: var(--muted); }
.offer__status:empty { display: none; }
.offer__status.is-error { color: color-mix(in oklab, #ff3b30 70%, var(--ink)); }
.offer__status.is-done { color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3) var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--line); font-size: var(--t-small); color: var(--muted); }
.footer__legal a { color: inherit; }
.footer__note { max-width: 62ch; }

/* ------------------------------------------------------------ smaller screens */
@media (max-width: 1023px) {
  .steps > .step { grid-column: span 6; }
  .closing__cta.offer { grid-template-columns: minmax(0, 1fr); }
  .closing__cta.offer > * { grid-column: 1 / -1; }
}
/* narrow or upright screens: the wall goes two by three */
@media (max-width: 899px), (max-aspect-ratio: 1/1) {
  .wall { --cols: 2; width: min(100cqw, (100cqh - 60px) * .86); }
}
@media (max-width: 639px) {
  .marquee { min-height: 0; }
  .marquee__eyebrow { gap: 10px; font-size: 13px; letter-spacing: .26em; white-space: nowrap; }
  .marquee__eyebrow span { margin-right: -.26em; }
  .logo-word { font-size: 16px; }
  .logo-mark { width: 26px; height: 26px; }
  .marquee__eyebrow::before, .marquee__eyebrow::after { width: 18px; }
  .shot__bar { height: 14px; gap: 3px; padding: 0 6px; }
  .shot__bar i { width: 4px; height: 4px; }
  .shot__url { font-size: 7px; padding: 0 8px; transform: translateX(-6px); }
  .shot { border-radius: 7px; }
  .gallery { padding-bottom: var(--s-4); }
  .transfer__dg { --p-h: 244px; --dg-min: 244px; }
  #transfer { --head-gap: 24px; }
  #transfer .section-head { margin-bottom: 24px; }
  .steps > .step { grid-column: span 6; }
  .step h3 { margin: 0 0 var(--s-1); font-size: 16px; }
  .step p { font-size: 15px; line-height: 1.5; }
  .field-row { grid-template-columns: 1fr; }
  .offer__form { padding: var(--s-5); gap: var(--s-4); }
  .offer__copy .t-lead { font-size: 16px; margin-top: var(--s-3); }
  .closing__cta.offer { row-gap: var(--s-5); }
  .offer__send { justify-self: stretch; }
  .footer__legal { font-size: 13px; padding-top: var(--s-4); }
}
@media (prefers-reduced-motion: reduce) {
  :root { transition: none; }
  .wall > li, .shot { transition: none; }
}
.nav__logo .logo-img { display: block; height: 40px; width: auto; margin-top: -6px; transition: transform .3s var(--ease); }
.nav__logo:hover .logo-img { transform: rotate(-6deg); }
@media (max-width: 639px) { .nav__logo .logo-img { height: 32px; margin-top: -4px; } }

/* ------------------------------------------------------------ the escrow steps slider, under the offer's lead */
.esc { margin-top: var(--s-7); padding: var(--s-5) var(--s-5) var(--s-4); border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line); max-width: 460px; }
.esc__top { display: flex; justify-content: space-between; align-items: baseline; font-size: var(--t-label); color: var(--muted); }
.esc__label { font-weight: 500; }
.esc__count { font-variant-numeric: tabular-nums; }
.esc__view { overflow: clip; margin-top: var(--s-4); }
.esc__track { display: flex; margin: 0; padding: 0; list-style: none; transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.esc__slide { flex: 0 0 100%; min-width: 0; display: grid; grid-template-columns: auto 1fr; column-gap: var(--s-4); align-items: baseline; transition: opacity .5s var(--ease); }
.esc__slide[aria-hidden="true"] { opacity: .2; }
.esc__n { grid-row: span 2; font: 800 44px/1 var(--font-head); letter-spacing: -.03em; color: var(--accent); }
.esc__slide h3 { margin: 0; font-size: var(--t-card); font-weight: 600; letter-spacing: -.01em; }
.esc__slide p { margin: var(--s-2) 0 0; font-size: var(--t-body); line-height: 1.55; color: color-mix(in oklab, var(--ink) 82%, var(--bg)); min-height: 3.1em; }
.esc__ctl { display: flex; align-items: center; gap: var(--s-2); margin-top: var(--s-4); }
.esc__ctl .ctl { width: 36px; height: 36px; }
.esc__dots { flex: 1; display: flex; gap: 6px; }
.esc__dot { flex: 1; height: 36px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.esc__dot span { position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 2px; overflow: hidden; background: color-mix(in oklab, var(--ink) 20%, transparent); }
.esc__dot span::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform-origin: 0 50%; transform: scaleX(0); }
.esc__dot.is-done span::after { transform: scaleX(1); }
.esc__dot[aria-current="true"] span::after { animation: esc-fill var(--esc-time, 5s) linear forwards; }
.esc.is-paused .esc__dot[aria-current="true"] span::after { animation-play-state: paused; }
.esc.is-still .esc__dot[aria-current="true"] span::after { animation: none; transform: scaleX(1); }
.esc__dot:hover span { background: color-mix(in oklab, var(--ink) 40%, transparent); }
.esc__pause .i-play { display: none; }
.esc__pause[aria-pressed="true"] .i-play { display: block; }
.esc__pause[aria-pressed="true"] .i-pause { display: none; }
:is(.esc__dot):focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
@keyframes esc-fill { to { transform: scaleX(1); } }
@media (max-width: 1023px) { .esc { max-width: none; } }
@media (max-width: 639px) { .esc { margin-top: var(--s-5); padding: var(--s-4); } .esc__n { font-size: 34px; } }
@media (prefers-reduced-motion: reduce) { .esc__track, .esc__slide { transition: none; } }
/* round icon buttons (the slider's arrows and pause) */
.ctl { flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.ctl svg { width: 15px; height: 15px; }
.ctl:hover { background: color-mix(in oklab, var(--ink) 10%, transparent); }
.ctl:active { transform: scale(.94); }
.ctl:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
