/* The guided brief (brief.js): a full-screen walkthrough over the night. Questions on the left; on the right a
   laptop and a phone showing a sketch of the visitor's own site, which builds itself as they answer. */

/* 04's two doors: the walkthrough, or the one-sentence form that stands beside it */
.doors { display: flex; align-items: center; gap: 22px; margin-top: 30px; }
.doors .btn { flex: none; }
.doors span { max-width: 19em; font-size: 14px; line-height: 1.5; color: var(--soft); }

/* the way in reuses the arch (styles.css: .warp), a little quicker, and fades once you are through */
.warp--quick .warp__hole { transition-duration: .55s, .3s; }
.warp--quick.through .warp__hole { transition: transform .7s cubic-bezier(.55, 0, .85, .35); }
.warp--quick .warp__hole path { transition: stroke-dashoffset .45s cubic-bezier(.6, 0, .3, 1) .15s; }
.warp--quick .warp__name { transition-delay: .25s; }
.warp--quick.gone { opacity: 0; transition: opacity .5s ease; pointer-events: none; }

.bf-on, .bf-on body { overflow: hidden; }
.bf { position: fixed; inset: 0; z-index: 55; background: linear-gradient(to bottom, #050403 0, var(--night) 60%); color: var(--cream); opacity: 0; transition: opacity .45s ease; }
.bf[hidden] { display: none; }
.bf.is-open { opacity: 1; }
.bf__in { height: 100%; display: grid; grid-template-columns: minmax(380px, 41%) minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }

.bf__top { grid-column: 1 / -1; position: relative; display: flex; align-items: center; gap: 18px; padding: 18px clamp(20px, 4vw, 56px); }
.bf__brand { display: flex; align-items: center; gap: 14px; font-family: var(--serif); font-size: 19px; }
.bf__brand svg { width: 24px; height: 26px; }
.bf__where { margin-left: auto; font-size: 14px; color: rgba(247, 239, 224, .7); font-variant-numeric: tabular-nums; }
.bf__close { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; color: var(--cream); background: rgba(5, 4, 3, .5); border: 1px solid rgba(185, 138, 62, .55); border-radius: 50%; cursor: pointer; transition: background .3s, color .3s; }
.bf__close:hover { color: var(--ink); background: #cbbda3; }
.bf__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(247, 239, 224, .12); }
.bf__bar i { display: block; height: 1px; width: calc(var(--p, 0) * 100%); background: var(--gold); transition: width .7s var(--ease); }

/* ---- the questions ---- */
.bf__ask { overflow-y: auto; overscroll-behavior: contain; padding: clamp(22px, 5vh, 56px) clamp(20px, 4vw, 56px) 0; scrollbar-width: thin; scrollbar-color: rgba(247, 239, 224, .2) transparent; }
.bf__ask > * { max-width: 540px; }
.bf h2 { font-size: clamp(28px, 3vw, 44px); line-height: 1.08; }
.bf__sub { margin-top: 14px; font-size: 16px; line-height: 1.6; color: rgba(247, 239, 224, .72); }
.bf__two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; } /* email and phone share a row, so the last screen fits a laptop without scrolling */
.bf__field { display: block; margin-top: 18px; font-size: 14px; color: rgba(247, 239, 224, .72); }
.bf__field i { font-style: normal; opacity: .7; }
.bf__input { display: block; width: 100%; margin-top: 4px; padding: 10px 0; border: 0; border-bottom: 1px solid rgba(247, 239, 224, .35); border-radius: 0; background: none; color: var(--cream); font: 20px/1.4 var(--sans); outline: none; transition: border-color .3s; }
.bf__input:focus { border-color: var(--gold); }
.bf__input::placeholder { color: rgba(247, 239, 224, .34); }
.bf__list { list-style: none; padding: 0; margin-top: 4px; } /* its height is held by brief.js, so the fields below never jump as you type */
.bf__list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 46px; padding: 0 12px; margin: 0 -12px; border-bottom: 1px solid rgba(247, 239, 224, .1); font-size: 16px; cursor: pointer; transition: background .2s; }
.bf__list b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bf__list span { flex: none; font-size: 13px; color: rgba(247, 239, 224, .55); }
.bf__list li.is-act, .bf__list li:hover { background: rgba(247, 239, 224, .07); }
.bf__list li.is-on b, .bf__list li.is-on span { color: var(--gold); }
/* the way on is always in reach: the button row stays at the foot of the questions however long they run */
.bf__nav { position: sticky; bottom: 0; z-index: 2; display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; margin-top: 14px; padding: 18px 0 26px; background: linear-gradient(to bottom, rgba(11, 8, 6, 0), var(--night) 16px); }
.bf__hint { font-size: 14px; color: rgba(247, 239, 224, .72); }
.bf__link { padding: 8px 0; border: 0; border-bottom: 1px solid rgba(247, 239, 224, .35); background: none; color: var(--cream); font: 15px/1.3 var(--sans); cursor: pointer; transition: border-color .3s; }
.bf__link:hover { border-color: var(--gold); }
.bf__feats { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 20px 0 16px; }
.bf__f { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 50px; padding: 9px 14px; border: 1px solid rgba(247, 239, 224, .18); background: none; color: rgba(247, 239, 224, .74); font: 15px/1.3 var(--sans); text-align: left; cursor: pointer; transition: border-color .3s, color .3s, background .3s; }
.bf__f:hover { border-color: rgba(247, 239, 224, .4); }
.bf__f i { position: relative; flex: none; width: 16px; height: 16px; border: 1px solid rgba(247, 239, 224, .45); transition: background .3s, border-color .3s; }
.bf__f i::after { content: ''; position: absolute; left: 4.5px; top: 1px; width: 5px; height: 9px; border: solid var(--night); border-width: 0 2px 2px 0; transform: rotate(45deg); opacity: 0; }
.bf__f[aria-pressed='true'] { border-color: rgba(185, 138, 62, .8); color: var(--cream); background: rgba(185, 138, 62, .09); }
.bf__f[aria-pressed='true'] i { background: var(--gold); border-color: var(--gold); }
.bf__f[aria-pressed='true'] i::after { opacity: 1; }
.bf__grp { margin-top: 22px; font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--gold); }
.bf__grp + .bf__feats { margin-top: 10px; }
.bf__incl { margin-top: 20px; font-size: 14px; line-height: 1.55; color: rgba(247, 239, 224, .6); }
.bf__near { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.bf__near button { padding: 8px 14px; border: 1px solid rgba(247, 239, 224, .2); border-radius: 999px; background: none; color: rgba(247, 239, 224, .74); font: 14px/1.3 var(--sans); cursor: pointer; transition: border-color .3s, color .3s; }
.bf__near button[aria-pressed='true'] { border-color: var(--gold); color: var(--gold); }

.bf__sent { flex: 0 0 100%; line-height: 1.6; }
.bf__sent:empty { display: none; }
.bf__sent a { color: var(--gold); border-bottom: 1px solid currentColor; }
.bf__zoom { display: none; }

/* the look */
.bf__grp i { font: normal 14px var(--sans); color: rgba(247, 239, 224, .6); }
label.bf__grp { display: block; }
.bf__pals { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 24px; }
.bf__pal { padding: 0 0 8px; overflow: hidden; border: 1px solid rgba(247, 239, 224, .18); background: none; color: rgba(247, 239, 224, .74); font: 13px/1.3 var(--sans); cursor: pointer; transition: border-color .3s, color .3s; }
.bf__pal > i { position: relative; display: block; height: 46px; margin-bottom: 8px; }
.bf__pal > i i { position: absolute; top: 0; bottom: 0; right: 34%; width: 14%; }
.bf__pal > i i + i { right: 0; width: 34%; }
.bf__pal:hover { border-color: rgba(247, 239, 224, .4); }
.bf__pal[aria-pressed='true'] { border-color: var(--gold); color: var(--cream); }
.bf__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.bf__col { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 6px 8px; align-items: center; }
.bf__col span { grid-column: 1 / -1; font-size: 14px; color: rgba(247, 239, 224, .72); }
.bf__col input[type='color'] { width: 40px; height: 40px; padding: 0; border: 1px solid rgba(247, 239, 224, .35); border-radius: 0; background: none; cursor: pointer; }
.bf__col input[type='color']::-webkit-color-swatch-wrapper { padding: 3px; }
.bf__col input[type='color']::-webkit-color-swatch { border: 0; border-radius: 0; }
.bf__hex { width: 100%; height: 40px; padding: 0 10px; border: 1px solid rgba(247, 239, 224, .25); border-radius: 0; background: none; color: var(--cream); font: 15px/1 ui-monospace, Consolas, monospace; outline: none; transition: border-color .3s; }
.bf__hex:focus { border-color: var(--gold); }
.bf__hex[aria-invalid='true'] { border-color: #c2623f; }
#bf-hexhint:empty { display: none; }
#bf-hexhint { margin-top: 10px; }
.bf__fonts { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin: 14px 0 18px; }
.bf__font { padding: 12px 14px; border: 1px solid rgba(247, 239, 224, .18); background: none; color: rgba(247, 239, 224, .7); text-align: left; cursor: pointer; transition: border-color .3s, background .3s; }
.bf__font b { display: block; font-size: 23px; line-height: 1.2; color: var(--cream); }
.bf__font span { display: block; margin-top: 3px; font-size: 13px; line-height: 1.35; }
.bf__font:hover { border-color: rgba(247, 239, 224, .4); }
.bf__font[aria-pressed='true'] { border-color: rgba(185, 138, 62, .8); background: rgba(185, 138, 62, .09); }
.bf__logo { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 8px; }
.bf__logo label:focus-within { border-color: var(--gold); outline: 1px solid currentColor; outline-offset: 4px; }
.bf__area { margin-top: 6px; min-height: 58px; font-size: 16px; line-height: 1.5; resize: vertical; }

/* ---- the display: a laptop and a phone on the night ---- */
.bf__show { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; min-width: 0; padding: 6px clamp(28px, 5vw, 84px) 36px 8px; }
.bf__rig { position: relative; width: min(100%, calc((100vh - 250px) * 1.42)); padding: 0 7% 4% 0; }
.bf__screen { position: relative; overflow: hidden; background: #0d0b09; }
.bf__desk .bf__screen { aspect-ratio: 16 / 10; border-radius: 7px; box-shadow: 0 0 0 1px rgba(185, 138, 62, .5), 0 0 0 11px #0a0806, 0 0 0 12px rgba(247, 239, 224, .12), 0 50px 100px rgba(0, 0, 0, .6); }
.bf__base { display: block; height: 13px; margin: 11px -4.5% 0; border-radius: 2px 2px 12px 12px; background: linear-gradient(#221d17, #0b0907); box-shadow: inset 0 1px 0 rgba(247, 239, 224, .18), 0 30px 50px rgba(0, 0, 0, .5); }
.bf__phone { position: absolute; right: 0; bottom: 0; width: 19%; }
.bf__phone .bf__screen { aspect-ratio: 9 / 18.6; border-radius: 13px; box-shadow: 0 0 0 1px rgba(185, 138, 62, .5), 0 0 0 6px #0a0806, 0 0 0 7px rgba(247, 239, 224, .14), 0 30px 60px rgba(0, 0, 0, .7); }
.bf__blank { position: absolute; inset: 0; display: grid; place-items: center; padding: 12%; text-align: center; font-family: var(--serif); font-style: italic; font-size: clamp(16px, 1.5vw, 22px); line-height: 1.4; color: rgba(247, 239, 224, .5); pointer-events: none; transition: opacity .4s; }
.bf__screen.is-live .bf__blank { opacity: 0; }
.bf__screen:not(.is-live) .sk { opacity: 0; }
.bf__chat { position: absolute; right: 2.6%; bottom: 4%; width: 6.4%; aspect-ratio: 1; border-radius: 50%; background: var(--ac); box-shadow: 0 6px 18px rgba(0, 0, 0, .3); pointer-events: none; opacity: 0; transform: scale(.4); transition: opacity .4s, transform .5s var(--ease); }
.bf__chat::after { content: ''; position: absolute; inset: 31% 27% 35%; border-radius: 3px; background: var(--on, var(--bg)); }
.bf__phone .bf__chat { width: 15%; right: 5%; bottom: 3%; }
.bf__screen.has-chat.is-live .bf__chat { opacity: 1; transform: none; }
.bf__cap { max-width: 30em; text-align: center; font-size: 14px; line-height: 1.5; color: rgba(247, 239, 224, .58); }

/* ---- the sketch itself: a small real page, at a real width, scaled into its frame (brief.js: fit) ---- */
.sk { --soft: color-mix(in srgb, var(--ink) 62%, var(--bg)); --line: color-mix(in srgb, var(--ink) 15%, var(--bg)); --tint: color-mix(in srgb, var(--ac) var(--mix, 9%), var(--bg)); --r: 4px; --rb: 3px;
  position: absolute; left: 0; top: 0; transform-origin: 0 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none;
  background: var(--bg); color: var(--ink); font: 16px/1.5 var(--bf, var(--sans)); transition: background .6s, color .6s, opacity .5s; }
.sk::-webkit-scrollbar { display: none; }
.sk b, .sk strong { font-weight: 600; }
.sk .sk-h1, .sk .sk-h2 { font-weight: var(--hw, 500); }
.sk em, .sk i { font-style: normal; }
.sk small { display: block; font-size: 14px; color: var(--soft); }
.sk-b { position: relative; padding: 56px 64px; transition: opacity .3s; }
.sk-b.sk-out { opacity: 0; }
.sk-band { background: var(--tint); }
.sk-nav { display: flex; align-items: center; gap: 32px; padding: 20px 64px; border-bottom: 1px solid var(--line); font-size: 15px; }
.sk-nav > span { color: var(--soft); }
.sk-logo { margin-right: auto; font: 600 21px/1.2 var(--hf); letter-spacing: -.01em; }
.sk-burger { display: none; width: 22px; height: 14px; border: solid var(--ink); border-width: 2px 0; }
.sk-btn { display: inline-block; padding: 12px 22px; border-radius: var(--rb); background: var(--ac); color: var(--on, var(--bg)); font-size: 15px; font-weight: 600; white-space: nowrap; }
.sk-btn--line { background: none; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.sk-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.sk-eye { margin-bottom: 14px; font-size: 15px; font-weight: 600; color: var(--ac); }
.sk-h1 { display: block; font: var(--hw, 500) calc(58px * var(--hs, 1))/1.04 var(--hf); letter-spacing: -.025em; text-wrap: balance; }
.sk-h2 { display: block; margin-bottom: 26px; font: var(--hw, 500) calc(34px * var(--hs, 1))/1.15 var(--hf); letter-spacing: -.015em; }
.sk-p { margin-top: 18px; max-width: 26em; font-size: 18px; color: var(--soft); }
.sk-h2 + .sk-p { margin-top: -10px; }
.sk-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.sk-lab { margin-bottom: 14px; font-size: 15px; font-weight: 600; }
.sk-p + .sk-lab { margin-top: 22px; }
.sk-ph { display: block; border-radius: var(--r); background: linear-gradient(155deg, color-mix(in srgb, var(--ac) 46%, var(--deep, var(--ink))) 0, color-mix(in srgb, var(--deep, var(--ink)) 86%, var(--ac)) 100%); }
.sk-hero .sk-ph { aspect-ratio: 4 / 3.1; }
.sk-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.sk-g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sk-g4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sk-card { padding: 26px; border: 1px solid var(--line); border-radius: calc(var(--r) * 1.5); background: var(--bg); }
.sk-card p { margin: 8px 0; }
.sk-in { display: block; height: 44px; margin-bottom: 12px; padding: 10px 14px; border: 1px solid var(--line); border-radius: min(var(--r), 10px); background: var(--bg); font-size: 14px; color: var(--soft); }
.sk-in--tall { height: 84px; }
.sk-line { display: flex; align-items: center; gap: 14px; }
.sk-line .sk-h2 { margin: 0 auto 0 0; }
.sk-line .sk-in { width: 150px; margin: 0; }
.sk-line .sk-in--wide { width: 300px; }
.sk-gal .sk-ph { aspect-ratio: 4 / 3; }
.sk-gal .sk-ph:nth-child(2n) { filter: brightness(1.3); }
.sk-gal .sk-ph:nth-child(3n) { filter: brightness(.78); }
.sk-item .sk-ph { aspect-ratio: 1; margin-bottom: 12px; }
.sk-item > span { display: block; color: var(--soft); }
.sk-item .sk-btn { margin-top: 10px; padding: 7px 16px; }
.sk-post .sk-ph { aspect-ratio: 16 / 10; }
.sk-post b { font: 500 20px/1.25 var(--hf); }
.sk-plan strong { display: block; margin: 6px 0; font: 500 36px/1.1 var(--hf); }
.sk-plan small { display: inline; }
.sk-plan p { color: var(--soft); }
.sk-plan .sk-btn { margin-top: 10px; }
.sk-st { display: block; margin-bottom: 8px; letter-spacing: 2px; color: var(--ac); }
.sk-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; font-size: 14px; }
.sk-cal i { padding: 8px 0; border-radius: 4px; color: var(--soft); }
.sk-cal .sk-dow { font-weight: 600; color: var(--ink); }
.sk-cal .ok { background: var(--tint); color: var(--ink); }
.sk-cal .on { background: var(--ac); color: var(--on, var(--bg)); font-weight: 600; }
.sk-slot { display: block; margin-bottom: 8px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 4px; font-size: 15px; }
.sk-slot.on { border-color: var(--ac); color: var(--ac); font-weight: 600; }
.sk-slot + .sk-btn { margin-top: 8px; }
.sk-mi { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.sk-mi > span { color: var(--soft); white-space: nowrap; }
.sk-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.sk-tags span { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; }
.sk-amts { margin: 0 0 16px !important; }
.sk-amts .on { border-color: var(--ac); background: var(--ac); color: var(--on, var(--bg)); font-weight: 600; }
.sk-map { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 6px; border: 1px solid var(--line);
  background: linear-gradient(115deg, transparent 47%, var(--line) 47% 49%, transparent 49%), linear-gradient(20deg, transparent 58%, var(--line) 58% 60%, transparent 60%),
    repeating-linear-gradient(0deg, transparent 0 46px, var(--line) 46px 47px), repeating-linear-gradient(90deg, transparent 0 62px, var(--line) 62px 63px), var(--tint); }
.sk-map i { position: absolute; left: 54%; top: 44%; width: 16px; height: 16px; border-radius: 50%; background: var(--ac); box-shadow: 0 0 0 5px color-mix(in srgb, var(--ac) 25%, transparent); }
.sk-vid { position: relative; }
.sk-vid .sk-ph { aspect-ratio: 16 / 7; }
.sk-vid > i:last-child { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px; border-radius: 50%; background: var(--bg); }
.sk-vid > i:last-child::after { content: ''; position: absolute; left: 26px; top: 20px; border: solid transparent; border-width: 12px 0 12px 18px; border-left-color: var(--ink); }
.sk-ev { display: flex; align-items: center; gap: 22px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.sk-ev > i { flex: none; width: 58px; padding: 6px 0; border-radius: 4px; background: var(--tint); text-align: center; font-size: 13px; color: var(--soft); }
.sk-ev > i b { display: block; font: 500 22px/1.1 var(--hf); color: var(--ink); }
.sk-ev > div { margin-right: auto; }
.sk-ev > span { font-size: 15px; font-weight: 600; color: var(--ac); }
.sk-behind { padding-top: 34px; padding-bottom: 34px; background: var(--ink); color: var(--bg); }
.sk-behind .sk-tags span { border-color: color-mix(in srgb, var(--bg) 30%, var(--ink)); }
.sk-foot { display: flex; align-items: center; gap: 30px; padding-top: 30px; padding-bottom: 30px; border-top: 1px solid var(--line); font-size: 14px; color: var(--soft); }
.sk-foot .sk-logo { color: var(--ink); }

/* the laptop's address bar */
.sk-url { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; gap: 7px; padding: 9px 18px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--ink) 8%, var(--bg)); }
.sk-url i { width: 10px; height: 10px; border-radius: 50%; background: color-mix(in srgb, var(--ink) 26%, var(--bg)); }
.sk-url span { flex: 0 1 440px; margin-left: 14px; padding: 4px 16px; border-radius: 999px; background: var(--bg); font-size: 13px; color: var(--soft); }

/* "Make it yours": their logo, and the four feels (brief.js sets data-feel; weight and size come with it) */
.sk-logoimg { display: block; height: 36px; max-width: 220px; margin-right: auto; object-fit: contain; object-position: 0 50%; }
.sk-b, .sk-btn, .sk-card, .sk-ph, .sk-in { transition: background-color .5s, color .5s, border-radius .4s, opacity .3s; }
.sk[data-feel='minimal'] { --r: 0px; --rb: 0px; --mix: 3%; }
.sk[data-feel='bold'] { --r: 6px; --rb: 6px; --mix: 20%; }
.sk[data-feel='bold'] .sk-btn { font-weight: 700; }
.sk[data-feel='warm'] { --r: 16px; --rb: 999px; --mix: 13%; }
.sk[data-feel='luxury'] { --r: 0px; --rb: 0px; --mix: 5%; }
.sk[data-feel='luxury'] .sk-btn { padding: 15px 26px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.sk[data-feel='luxury'] .sk-eye { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; }
.sk[data-feel='luxury'] .sk-h1, .sk[data-feel='luxury'] .sk-h2 { letter-spacing: -.01em; }

/* the phone's page: the same blocks, stacked */
.sk--phone .sk-b { padding: 34px 22px; }
.sk--phone .sk-nav { padding: 16px 22px; }
.sk--phone .sk-nav > span, .sk--phone .sk-cta { display: none; }
.sk--phone .sk-burger { display: block; }
.sk--phone .sk-hero, .sk--phone .sk-2 { grid-template-columns: 1fr; gap: 26px; }
.sk--phone .sk-h1 { font-size: calc(38px * var(--hs, 1)); }
.sk--phone .sk-h2 { font-size: calc(27px * var(--hs, 1)); margin-bottom: 18px; }
.sk--phone .sk-p { font-size: 16px; }
.sk--phone .sk-g3 { grid-template-columns: 1fr; }
.sk--phone .sk-g4, .sk--phone .sk-gal { grid-template-columns: 1fr 1fr; gap: 12px; }
.sk--phone .sk-line { flex-direction: column; align-items: stretch; }
.sk--phone .sk-line .sk-h2 { margin: 0 0 6px; }
.sk--phone .sk-line .sk-in { width: auto; }
.sk--phone .sk-line .sk-btn { text-align: center; }
.sk--phone .sk-behind, .sk--phone .sk-foot { padding-top: 26px; padding-bottom: 26px; }
.sk--phone .sk-foot { flex-wrap: wrap; gap: 6px 20px; }
.sk--phone .sk-vid .sk-ph { aspect-ratio: 16 / 10; }

/* a new block is drawn before it is filled: four gold lines run round it, then what is in it comes up */
.sk-ink { position: absolute; inset: 10px; opacity: 0; pointer-events: none; }
.sk-ink b { position: absolute; background: #c99a52; }
.sk-ink b:nth-child(1) { left: 0; right: 0; top: 0; height: 2px; transform-origin: 0 50%; }
.sk-ink b:nth-child(2) { top: 0; bottom: 0; right: 0; width: 2px; transform-origin: 50% 0; }
.sk-ink b:nth-child(3) { left: 0; right: 0; bottom: 0; height: 2px; transform-origin: 100% 50%; }
.sk-ink b:nth-child(4) { top: 0; bottom: 0; left: 0; width: 2px; transform-origin: 50% 100%; }
.sk-new > :not(.sk-ink) { opacity: 0; animation: sk-fill .55s ease calc(var(--d, 0ms) + .55s) forwards; }
.sk-new > .sk-ink { opacity: 1; animation: sk-inkout .45s ease calc(var(--d, 0ms) + .85s) forwards; }
.sk-new .sk-ink b:nth-child(odd) { animation: sk-x .17s linear var(--d, 0ms) both; }
.sk-new .sk-ink b:nth-child(even) { animation: sk-y .17s linear calc(var(--d, 0ms) + .15s) both; }
.sk-new .sk-ink b:nth-child(3) { animation-delay: calc(var(--d, 0ms) + .3s); }
.sk-new .sk-ink b:nth-child(4) { animation-delay: calc(var(--d, 0ms) + .45s); }
@keyframes sk-fill { to { opacity: 1; } }
@keyframes sk-inkout { to { opacity: 0; } }
@keyframes sk-x { from { transform: scaleX(0); } }
@keyframes sk-y { from { transform: scaleY(0); } }

@media (max-width: 860px) {
  .doors { flex-direction: column; align-items: flex-start; gap: 14px; }
  .bf__in { display: flex; flex-direction: column; }
  .bf__top { padding: 12px 16px; }
  .bf__show { order: 1; flex: none; gap: 8px; padding: 14px 20px 10px; }
  .bf__ask { order: 2; flex: 1; min-height: 0; padding: 14px 20px 0; }
  .bf__rig { width: 100%; padding: 0; }
  .bf__phone, .bf__base { display: none; }
  .bf__desk .bf__screen { aspect-ratio: 16 / 9; border-radius: 4px; box-shadow: 0 0 0 1px rgba(185, 138, 62, .5), 0 0 0 5px #0a0806, 0 0 0 6px rgba(247, 239, 224, .12); }
  .bf__cap { font-size: 12.5px; }
  .bf__zoom { display: block; padding: 2px 0; border: 0; border-bottom: 1px solid rgba(247, 239, 224, .35); background: none; color: var(--cream); font: 14px/1.3 var(--sans); cursor: pointer; }
  .bf--big .bf__show { position: absolute; inset: 62px 0 0; z-index: 3; justify-content: center; gap: 16px; padding: 12px 20px 20px; background: var(--night); }
  .bf--big .bf__desk { display: none; }
  .bf--big .bf__phone { display: block; position: static; width: min(74vw, calc((100svh - 220px) * 9 / 18.6)); margin: 0 auto; }
  .bf h2 { font-size: 26px; }
  .bf__sub { margin-top: 10px; font-size: 15px; }
  .bf__field { margin-top: 16px; }
  .bf__two { grid-template-columns: 1fr; }
  .bf__input { font-size: 18px; }
  .bf__feats { grid-template-columns: 1fr; }
  .bf__pals { gap: 6px; margin-top: 16px; }
  .bf__fonts { grid-template-columns: 1fr 1fr; }
  .bf__font span { display: none; }
  .bf__pal { font-size: 12px; }
  .bf__cols { grid-template-columns: 1fr; gap: 8px; }
  .bf__col { grid-template-columns: 96px 40px minmax(0, 1fr); }
  .bf__col span { grid-column: auto; }
  .bf__nav { margin-top: 6px; padding: 14px 0 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .bf, .bf__bar i, .bf__chat { transition: none; }
}
