@font-face { font-family: 'Newsreader'; src: url(fonts/newsreader-latin-wght-normal.woff2) format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Newsreader'; src: url(fonts/newsreader-latin-wght-italic.woff2) format('woff2'); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: 'Schibsted Grotesk'; src: url(fonts/schibsted-grotesk-latin-wght-normal.woff2) format('woff2'); font-weight: 400 900; font-display: swap; }

:root {
    --lime: #F3EDE3;
    --lime-2: #EAE1D3;
    --card: #FBF8F3;
    --ink: #18282B;
    --ink-2: #4E5D5E;
    --ink-3: #7F8A88;
    --ochre: #C98B2E;
    --ochre-soft: #F1E2C6;
    --terra: #A9502F;
    --sea: #2E6B68;
    --sea-soft: #DCE9E5;
    --line: rgba(24, 40, 43, .12);
    --serif: 'Newsreader', 'Iowan Old Style', Georgia, serif;
    --sans: 'Schibsted Grotesk', 'Helvetica Neue', Arial, sans-serif;
    --r: 14px;
    --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--ink); color: var(--ink); font: 15px/1.45 var(--sans); -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ochre); outline-offset: 2px; border-radius: 6px; }
img { display: block; max-width: 100%; }
.mark { width: 24px; height: 24px; fill: currentColor; }
.mark .sun { fill: var(--ochre); }

/* ---------- desktop stage ---------- */
.stage { position: fixed; inset: 0; overflow: hidden; color: var(--lime); }
.stage-bg, .stage-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16, 28, 31, .9) 0%, rgba(16, 28, 31, .66) 42%, rgba(16, 28, 31, .2) 75%, rgba(16, 28, 31, .35) 100%); }
.stage-copy { position: absolute; left: clamp(40px, 7vw, 120px); top: 50%; transform: translateY(-50%); width: min(470px, 38vw); }
.stage-brand { display: flex; align-items: center; gap: 12px; font: 500 26px/1 var(--serif); letter-spacing: .02em; }
.stage-brand .mark { width: 40px; height: 40px; }
.stage-kicker { margin: 44px 0 14px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--ochre-soft); }
.stage-title { margin: 0; font: 400 clamp(40px, 4.2vw, 62px)/1.02 var(--serif); letter-spacing: -.01em; }
.stage-title em { font-style: italic; color: #F1D9AE; }
.stage-text { margin: 22px 0 30px; font-size: 16px; line-height: 1.55; color: rgba(243, 237, 227, .82); max-width: 40ch; }
.stage-link { color: var(--lime); font-weight: 500; text-decoration: none; border-bottom: 1px solid rgba(243, 237, 227, .4); padding-bottom: 3px; }
.stage-link:hover { border-color: var(--ochre); }
.ribbon { position: fixed; left: 18px; bottom: 16px; z-index: 50; font: 500 11px/1 var(--sans); letter-spacing: .04em; color: rgba(243, 237, 227, .78); text-decoration: none; padding: 6px 10px; border: 1px solid rgba(243, 237, 227, .25); border-radius: 99px; background: rgba(16, 28, 31, .45); }
.ribbon:hover { color: #fff; border-color: var(--ochre); }

.device { position: fixed; top: 50%; right: clamp(40px, 12vw, 220px); transform: translateY(-50%); width: 390px; height: min(820px, calc(100vh - 48px)); border-radius: 46px; padding: 10px; background: #0D1719; box-shadow: 0 40px 90px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .08) inset; }
.device .app { border-radius: 37px; }

/* ---------- app shell ---------- */
.app { position: relative; height: 100%; overflow: hidden; background: var(--lime); display: flex; flex-direction: column; isolation: isolate; }
.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 10px; background: var(--lime); z-index: 3; }
.brand { display: flex; align-items: center; gap: 8px; font: 500 19px/1 var(--serif); letter-spacing: .02em; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 99px; padding: 2px; }
.lang button { font-size: 11px; font-weight: 600; letter-spacing: .06em; padding: 5px 9px; border-radius: 99px; color: var(--ink-3); }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--lime); }
main { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 4px 20px 24px; scrollbar-width: none; }
main::-webkit-scrollbar { display: none; }
main:focus { outline: none; }

.tabs { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); background: var(--card); padding: 8px 6px calc(10px + env(safe-area-inset-bottom)); z-index: 3; }
.tabs button { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 500; color: var(--ink-3); padding: 4px 0; }
.tabs svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tabs button[aria-current="page"] { color: var(--ink); }
.tabs button[aria-current="page"] svg { stroke: var(--terra); }
.tabs .dot { position: relative; }
.tabs .dot::after { content: ''; position: absolute; top: -1px; right: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--terra); }

/* ---------- shared bits ---------- */
.eyebrow { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 6px; }
h2.title { font: 400 30px/1.08 var(--serif); margin: 6px 0 4px; letter-spacing: -.01em; }
.sub { color: var(--ink-2); margin: 0 0 18px; font-size: 14px; }
.section-h { display: flex; justify-content: space-between; align-items: baseline; margin: 26px 0 10px; }
.section-h h3 { margin: 0; font: 500 19px/1.2 var(--serif); }
.section-h span { font-size: 12px; color: var(--ink-3); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 20px; border-radius: 99px; background: var(--ink); color: var(--lime); font-weight: 600; font-size: 15px; width: 100%; transition: transform .15s var(--ease), background .2s; }
.btn:active { transform: scale(.98); }
.btn:disabled { background: var(--ink-3); cursor: not-allowed; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.chip { height: 34px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line); font-size: 13px; font-weight: 500; white-space: nowrap; background: var(--card); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--lime); border-color: var(--ink); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 2px 20px 4px; }
.chips::-webkit-scrollbar { display: none; }
.tag { display: inline-block; font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 3px 6px; border-radius: 5px; background: var(--lime-2); color: var(--ink-2); }
.price { font-variant-numeric: tabular-nums; font-weight: 600; }
.fade-in { animation: fadeIn .35s var(--ease) both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- stay ---------- */
.hero { position: relative; margin: 0 -20px; height: 290px; overflow: hidden; color: #fff; }
.hero img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24, 40, 43, 0) 35%, rgba(24, 40, 43, .78) 100%); }
.hero-txt { position: absolute; left: 20px; right: 20px; bottom: 42px; z-index: 1; }
.hero-txt p { margin: 0 0 4px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.hero-txt h2 { margin: 0; font: 400 30px/1.05 var(--serif); }
.stay-card { margin-top: -26px; position: relative; z-index: 2; padding: 16px 18px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; box-shadow: 0 12px 30px rgba(24, 40, 43, .08); }
.stay-card .k { font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .12em; }
.stay-card .v { font: 500 18px/1.2 var(--serif); margin-top: 3px; }
.stay-card .mid { text-align: center; }
.nights { display: flex; gap: 4px; justify-content: center; }
.nights i { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--ink-3); }
.nights i.on { background: var(--ochre); border-color: var(--ochre); }
.nights + small { display: block; font-size: 11px; color: var(--ink-3); margin-top: 6px; }
.stay-card .r { text-align: right; }
.weather { display: flex; gap: 16px; padding: 12px 2px 0; font-size: 13px; color: var(--ink-2); }
.weather b { color: var(--ink); font-weight: 600; }
.nudge { margin-top: 18px; padding: 16px 18px; display: flex; gap: 14px; align-items: flex-start; background: var(--ink); color: var(--lime); border: 0; text-align: left; width: 100%; }
.nudge svg { flex: none; width: 26px; height: 26px; fill: none; stroke: var(--ochre); stroke-width: 1.5; }
.nudge strong { display: block; font: 500 17px/1.25 var(--serif); margin-bottom: 4px; }
.nudge span { font-size: 13px; color: rgba(243, 237, 227, .75); }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { padding: 14px; text-align: left; min-height: 92px; display: flex; flex-direction: column; justify-content: space-between; }
.tile svg { width: 24px; height: 24px; fill: none; stroke: var(--terra); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tile b { font-weight: 600; font-size: 14px; }
.tile small { display: block; color: var(--ink-3); font-size: 12px; }
.agenda { list-style: none; margin: 0; padding: 0; }
.agenda li { display: grid; grid-template-columns: 54px 1fr auto; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.agenda li:last-child { border-bottom: 0; }
.agenda time { font-variant-numeric: tabular-nums; font-weight: 600; font-size: 14px; }
.agenda .what b { display: block; font-weight: 500; }
.agenda .what small { color: var(--ink-3); font-size: 12px; }
.pill { font-size: 11px; font-weight: 600; padding: 4px 8px; border-radius: 99px; background: var(--sea-soft); color: var(--sea); white-space: nowrap; }
.pill.wait { background: var(--ochre-soft); color: #8A5A14; }
.pill.done { background: var(--lime-2); color: var(--ink-3); }

/* ---------- dine ---------- */
.dish-list { display: grid; gap: 12px; margin-top: 14px; }
.dish { display: grid; grid-template-columns: 1fr 92px; gap: 14px; padding: 14px; align-items: start; }
.dish.noimg { grid-template-columns: 1fr auto; }
.dish h4 { margin: 0 0 4px; font: 500 17px/1.2 var(--serif); }
.dish p { margin: 0 0 10px; font-size: 13px; color: var(--ink-2); line-height: 1.4; }
.dish .row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dish .ph { position: relative; }
.dish .ph img { width: 92px; height: 92px; object-fit: cover; border-radius: 10px; }
.dish .ph .add, .dish .add { position: absolute; right: -6px; bottom: -6px; }
.dish.noimg .addwrap { position: relative; width: 40px; height: 40px; align-self: end; }
.add { width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--lime); display: grid; place-items: center; box-shadow: 0 4px 12px rgba(24, 40, 43, .2); border: 2px solid var(--card); }
.add svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; fill: none; }
.stepper { position: absolute; right: -6px; bottom: -6px; display: flex; align-items: center; background: var(--ink); color: var(--lime); border-radius: 99px; height: 38px; border: 2px solid var(--card); }
.stepper button { width: 32px; height: 34px; display: grid; place-items: center; font-size: 18px; }
.stepper span { min-width: 16px; text-align: center; font-weight: 600; font-size: 14px; }
.dish.out { opacity: .55; }
.dish.out .ph img { filter: grayscale(1); }
.soldout { font-size: 11px; font-weight: 600; color: var(--terra); letter-spacing: .04em; text-transform: uppercase; }
.cartbar { position: absolute; left: 14px; right: 14px; bottom: 76px; z-index: 4; }
.cartbar button { width: 100%; height: 54px; border-radius: 16px; background: var(--terra); color: #fff; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; font-weight: 600; box-shadow: 0 12px 28px rgba(169, 80, 47, .35); animation: rise .3s var(--ease); }
.cartbar .count { display: inline-grid; place-items: center; min-width: 24px; height: 24px; border-radius: 99px; background: rgba(255, 255, 255, .22); margin-right: 10px; font-size: 13px; }
@keyframes rise { from { transform: translateY(20px); opacity: 0; } }
.has-cart main { padding-bottom: 90px; }

/* ---------- sheet ---------- */
.scrim { position: absolute; inset: 0; background: rgba(16, 28, 31, .45); z-index: 8; animation: fade .25s both; }
@keyframes fade { from { opacity: 0; } }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; max-height: 88%; overflow-y: auto; background: var(--lime); border-radius: 24px 24px 0 0; z-index: 9; padding: 10px 20px 24px; animation: sheetIn .35s var(--ease) both; }
@keyframes sheetIn { from { transform: translateY(100%); } }
.grab { width: 40px; height: 4px; border-radius: 9px; background: var(--line); margin: 0 auto 14px; }
.sheet h3 { font: 400 26px/1.1 var(--serif); margin: 0 0 4px; }
.sheet .close { position: absolute; right: 14px; top: 14px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--lime-2); }
.sheet .close svg { width: 14px; height: 14px; stroke: var(--ink); stroke-width: 2; }
.lines { list-style: none; margin: 14px 0; padding: 0; }
.lines li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; height: 32px; }
.qty button { width: 28px; height: 30px; font-size: 16px; }
.qty span { min-width: 14px; text-align: center; font-weight: 600; font-size: 13px; }
.field-l { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 18px 0 8px; display: block; }
textarea { width: 100%; min-height: 66px; resize: none; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font: inherit; background: var(--card); color: var(--ink); }
.sum { display: flex; justify-content: space-between; margin: 18px 0 6px; font-size: 14px; color: var(--ink-2); }
.sum.total { font-size: 17px; color: var(--ink); font-weight: 600; margin-bottom: 16px; }
.charge { display: flex; gap: 12px; align-items: center; padding: 12px 14px; margin: 14px 0 16px; }
.charge svg { width: 22px; height: 22px; fill: none; stroke: var(--sea); stroke-width: 1.6; flex: none; }
.charge small { display: block; color: var(--ink-3); font-size: 12px; }

/* order tracker */
.tracker { list-style: none; padding: 0; margin: 22px 0; }
.tracker li { position: relative; padding: 0 0 22px 34px; color: var(--ink-3); }
.tracker li::before { content: ''; position: absolute; left: 6px; top: 4px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line); background: var(--lime); transition: all .4s; }
.tracker li::after { content: ''; position: absolute; left: 12px; top: 20px; bottom: 0; width: 2px; background: var(--line); }
.tracker li:last-child::after { display: none; }
.tracker li.on { color: var(--ink); }
.tracker li.on::before { background: var(--sea); border-color: var(--sea); box-shadow: 0 0 0 5px var(--sea-soft); }
.tracker b { display: block; font-weight: 600; }
.tracker small { font-size: 12px; }
.eta { display: flex; justify-content: space-between; align-items: end; padding: 18px; }
.eta b { font: 400 40px/1 var(--serif); }

/* ---------- spa ---------- */
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--lime-2); border-radius: 99px; padding: 3px; margin: 12px 0 16px; }
.seg button { height: 36px; border-radius: 99px; font-weight: 600; font-size: 13px; color: var(--ink-2); }
.seg button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: 0 2px 6px rgba(24, 40, 43, .08); }
.spa-hero { margin: 0 -20px 16px; height: 180px; position: relative; overflow: hidden; }
.spa-hero img { width: 100%; height: 100%; object-fit: cover; }
.spa-hero span { position: absolute; left: 20px; bottom: 14px; color: #fff; font: italic 400 20px/1.2 var(--serif); text-shadow: 0 2px 14px rgba(0, 0, 0, .4); }
.treat { display: flex; gap: 14px; padding: 14px 16px; align-items: center; width: 100%; text-align: left; margin-bottom: 10px; }
.treat .meta { flex: 1; }
.treat h4 { margin: 0 0 3px; font: 500 17px/1.2 var(--serif); }
.treat p { margin: 0; font-size: 13px; color: var(--ink-2); }
.treat .side { text-align: right; font-size: 13px; }
.treat .side small { display: block; color: var(--ink-3); }
.booked-flag { display: inline-block; margin-top: 6px; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slot { height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); font-weight: 600; font-variant-numeric: tabular-nums; }
.slot:disabled { background: transparent; color: var(--ink-3); text-decoration: line-through; opacity: .6; cursor: not-allowed; }
.slot[aria-pressed="true"] { background: var(--ink); color: var(--lime); border-color: var(--ink); }
.days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.day { padding: 10px 0; border-radius: 12px; border: 1px solid var(--line); background: var(--card); text-align: center; }
.day small { display: block; font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .1em; }
.day b { font: 500 22px/1.1 var(--serif); }
.day[aria-pressed="true"] { background: var(--ink); color: var(--lime); }
.day[aria-pressed="true"] small { color: var(--ochre-soft); }

/* ---------- concierge ---------- */
.chat-view { display: flex; flex-direction: column; height: 100%; padding: 0; }
main.chat { padding: 0; display: flex; flex-direction: column; overflow: hidden; }
.chat-head { padding: 4px 20px 12px; display: flex; gap: 12px; align-items: center; border-bottom: 1px solid var(--line); }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; flex: none; }
.avatar svg { width: 22px; height: 22px; fill: var(--lime); }
.avatar .sun { fill: var(--ochre); }
.chat-head b { display: block; font: 500 17px/1.2 var(--serif); }
.chat-head small { color: var(--ink-3); font-size: 12px; display: flex; align-items: center; gap: 6px; }
.chat-head small::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #3F9B6B; }
.thread { flex: 1; overflow-y: auto; padding: 16px 20px; display: flex; flex-direction: column; gap: 10px; scrollbar-width: none; }
.thread::-webkit-scrollbar { display: none; }
.msg { max-width: 84%; padding: 10px 14px; border-radius: 18px; font-size: 14.5px; line-height: 1.45; animation: fadeIn .25s var(--ease) both; }
.msg.bot { background: var(--card); border: 1px solid var(--line); border-bottom-left-radius: 6px; align-self: flex-start; }
.msg.me { background: var(--ink); color: var(--lime); border-bottom-right-radius: 6px; align-self: flex-end; }
.typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.confirm { align-self: flex-start; width: 84%; padding: 14px 16px; border-left: 3px solid var(--sea); animation: fadeIn .3s var(--ease) both; }
.confirm small { display: block; color: var(--sea); font-weight: 600; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.confirm b { display: block; font: 500 18px/1.25 var(--serif); }
.confirm span { font-size: 13px; color: var(--ink-2); }
.quick { display: flex; gap: 8px; overflow-x: auto; padding: 10px 20px 4px; scrollbar-width: none; }
.quick::-webkit-scrollbar { display: none; }
.composer { display: flex; gap: 8px; padding: 8px 14px 12px; }
.composer input { flex: 1; min-width: 0; height: 44px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); padding: 0 16px; font: inherit; color: var(--ink); }
.composer button { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; flex: none; }
.composer svg { width: 18px; height: 18px; fill: none; stroke: var(--lime); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ai-note { text-align: center; font-size: 11px; color: var(--ink-3); margin: 0 0 4px; }

/* ---------- folio ---------- */
.folio-total { padding: 20px; background: var(--ink); color: var(--lime); border: 0; }
.folio-total small { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ochre-soft); }
.folio-total b { display: block; font: 400 44px/1.05 var(--serif); margin: 6px 0 4px; font-variant-numeric: tabular-nums; }
.folio-total span { font-size: 13px; color: rgba(243, 237, 227, .7); }
.fday { margin: 22px 0 4px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.fline { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.fline.new { animation: flash 1.6s var(--ease); }
.fline .new-tag { margin-left: 8px; }
@keyframes flash { 0% { background: var(--ochre-soft); } 100% { background: transparent; } }
.folio-actions { display: grid; gap: 10px; margin-top: 24px; }

.toast { position: absolute; left: 50%; top: 64px; transform: translate(-50%, -12px); background: var(--ink); color: var(--lime); padding: 11px 16px; border-radius: 12px; font-size: 13px; font-weight: 500; opacity: 0; pointer-events: none; transition: all .3s var(--ease); z-index: 12; width: max-content; max-width: 86%; text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- phone: full bleed ---------- */
@media (max-width: 900px) {
    body { background: var(--lime); }
    .stage-bg, .stage-copy { display: none; }
    .stage { position: static; }
    .ribbon { left: auto; right: 0; top: 50%; bottom: auto; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; border-radius: 0 6px 6px 0; padding: 8px 3px; font-size: 9px; background: rgba(24, 40, 43, .55); color: rgba(243, 237, 227, .9); border: 0; top: 62%; }
    .device { position: static; transform: none; width: auto; height: 100dvh; padding: 0; border-radius: 0; background: none; box-shadow: none; }
    .device .app { border-radius: 0; }
}
@media (min-width: 901px) and (max-width: 1180px) {
    .stage-copy { width: min(400px, 40vw); }
    .device { right: 40px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
