/* Wax & Ledger: paper, ink blue and one oxblood wax seal. Quiet on purpose. */
:root {
  --paper: #f1eadb;
  --paper-2: #e9e0ca;
  --sheet: #faf5e9;
  --ink: #17223b;
  --ink-2: #2b3550;
  --wax: #8c2a2e;
  --wax-hi: #e08a84;
  --pencil: #5b6075;
  --line: rgba(23, 34, 59, 0.2);
  --display: 'Newsreader', Georgia, serif;
  --body: 'Schibsted Grotesk', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --gutter: clamp(16px, 4.5vw, 64px);
  --nav-h: 64px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
main, .footer { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, figure, dl { margin: 0; }
h1, h2, h3 { font-weight: 400; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--wax); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { max-width: 1520px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 120px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; }
.skip:focus { left: 16px; }

/* ------------------------------------------------------------------ type bits */
.kicker, .label { font: 400 12px/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--pencil); }
.label span:first-child { color: var(--wax); }
h2 { font: 400 min(clamp(34px, 4.4vw, 68px), 12cqi)/1.05 var(--display); font-variation-settings: 'opsz' 72; letter-spacing: -0.012em; text-wrap: balance; }
[data-split] > div, .line-mask { padding-bottom: 0.18em; margin-bottom: -0.18em; }
.sec-head { container-type: inline-size; }
.sec-head .label { margin-bottom: 18px; }
.sec-head .reveal { margin-top: 24px; font-size: 18px; color: var(--ink-2); max-width: 46ch; }

/* ------------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 26px; border: 0; border-radius: 2px; background: var(--ink); color: var(--paper); font: 600 15px/1 var(--body); text-decoration: none; cursor: pointer; transition: background 0.25s ease, color 0.25s ease; }
.btn:hover { background: var(--wax); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-wax { background: var(--wax); color: #fbeee9; }
.btn-wax:hover { background: #a33237; }

/* ------------------------------------------------------------------ the seal */
.seal { --s: 44px; position: relative; display: inline-grid; place-items: center; flex: none; width: var(--s); height: var(--s); border-radius: 52% 48% 54% 46% / 48% 54% 46% 52%; background: radial-gradient(circle at 34% 28%, #b9403f 0, #8c2a2e 52%, #5d191d 100%); box-shadow: inset 0 0 0 calc(var(--s) * 0.06) rgba(255, 255, 255, 0.07), inset 0 calc(var(--s) * -0.07) calc(var(--s) * 0.12) rgba(0, 0, 0, 0.28), 0 calc(var(--s) * 0.14) calc(var(--s) * 0.22) calc(var(--s) * -0.1) rgba(60, 10, 14, 0.55); color: #efc8bf; }
.seal::before { content: ''; position: absolute; inset: 15%; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.18), inset 0 2px 4px rgba(0, 0, 0, 0.3); }
.seal::after { content: ''; position: absolute; inset: -10%; border-radius: 50%; border: 2px solid var(--wax); opacity: 0; pointer-events: none; }
.seal.ping::after { animation: ping 0.9s ease-out; }
.seal-mark { position: relative; font: italic 500 calc(var(--s) * 0.34)/1 var(--display); text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35); }
.seal-lg { --s: 104px; }
@keyframes ping { from { opacity: 0.6; transform: scale(0.84); } to { opacity: 0; transform: scale(1.25); } }

/* ------------------------------------------------------------------ nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 30; }
.bar { position: relative; display: flex; align-items: center; gap: 24px; height: 64px; padding-inline: max(var(--gutter), calc((100% - 1520px) / 2 + var(--gutter))); transition: background 0.3s ease, box-shadow 0.3s ease; }
.nav.solid .bar { background: rgba(241, 234, 219, 0.96); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(8px); }
.logo { display: inline-flex; align-items: center; gap: 12px; min-width: 0; text-decoration: none; }
.logo-mark { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--wax); color: #f1d9d0; font: italic 500 14px/1 var(--display); }
.logo-name { font: 500 18px/1.1 var(--display); letter-spacing: -0.005em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.links { display: flex; gap: 28px; margin-left: auto; }
.links a { position: relative; display: inline-flex; align-items: center; min-height: 40px; font: 500 14px/1 var(--body); text-decoration: none; white-space: nowrap; }
.links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.links a:hover::after { transform: scaleX(1); }
.lang { display: inline-flex; align-items: center; font: 500 12px/1 var(--mono); color: var(--pencil); }
.lang button { min-width: 40px; height: 40px; border: 0; background: none; cursor: pointer; letter-spacing: 0.08em; color: var(--pencil); }
.lang button[aria-pressed='true'] { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
.btn-call { height: 40px; padding: 0 20px; background: var(--wax); color: #fbeee9; }
.btn-call:hover { background: #a33237; }
.menu-btn { display: none; position: relative; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; }
.menu-btn i { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform 0.3s var(--ease); }
.menu-btn i:first-child { top: 17px; }
.menu-btn i:last-child { top: 26px; }
.nav.menu-open .menu-btn i:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav.menu-open .menu-btn i:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; display: flex; align-items: center; min-height: 100svh; padding: calc(var(--nav-h) + 40px) 0 72px; overflow: hidden; }
.hero-gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: clamp(32px, 5vw, 96px); align-items: center; width: 100%; }
.hero-copy { container-type: inline-size; }
.hero-copy .kicker { margin-bottom: 22px; }
.h1-mask { overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; }
h1 { font: 400 min(112px, 12.4cqi)/0.98 var(--display); font-variation-settings: 'opsz' 72; letter-spacing: -0.016em; text-wrap: balance; }
.areas-line { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 34px 0 24px; padding: 6px 0; border-block: 1px solid var(--ink); font: 500 14px/1.4 var(--body); }
.areas-line li { display: flex; align-items: center; }
.areas-line li + li::before { content: ''; width: 4px; height: 4px; margin: 0 16px; border-radius: 50%; background: var(--wax); }
.areas-line a { display: inline-block; padding: 8px 0; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.4s var(--ease); }
.areas-line a:hover { background-size: 100% 1px; }
.lede { max-width: 50ch; font-size: 19px; line-height: 1.55; color: var(--ink-2); }
.lede.quote { max-width: 30ch; font: italic 400 clamp(22px, 2.1vw, 30px)/1.3 var(--display); letter-spacing: -0.005em; color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 18px; }
.note { font: 400 12px/1.5 var(--mono); letter-spacing: 0.04em; color: var(--pencil); }

.portrait { position: relative; justify-self: end; width: min(100%, 440px); }
.portrait-frame { padding: 14px; background: var(--sheet); box-shadow: 0 1px 0 #d9ceb5, 0 36px 60px -34px rgba(23, 34, 59, 0.55); }
.portrait-frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 56% 18%; filter: sepia(0.1) saturate(0.92); }
.portrait figcaption { position: relative; display: inline-block; margin-top: 14px; padding: 4px 10px 4px 0; background: var(--paper); font: 400 12px/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--pencil); }
.portrait .seal-lg { position: absolute; left: -38px; bottom: 34px; }
/* No WebGL: a couple of paper sheets under the portrait keep the idea. */
.hero.no-gl .portrait::before, .hero.no-gl .portrait::after { content: ''; position: absolute; inset: 0 0 34px; z-index: -1; background: #f7f0df; box-shadow: 0 1px 0 #d9ceb5; }
.hero.no-gl .portrait::before { transform: rotate(-4deg) translate(-14px, 10px); }
.hero.no-gl .portrait::after { transform: rotate(3deg) translate(12px, 6px); background: #efe6d0; }

/* ------------------------------------------------------------------ sections */
.section { padding: clamp(72px, 9vw, 140px) 0; }

/* practice areas: a ledger */
.ledger { margin-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--ink); }
.row { border-bottom: 1px solid var(--line); }
.row-btn { display: grid; grid-template-columns: 64px auto minmax(24px, 1fr) minmax(0, 38ch) 28px; column-gap: 20px; align-items: baseline; width: 100%; padding: 30px 0; border: 0; background: none; text-align: left; cursor: pointer; }
.row-btn:focus-visible { outline-offset: -3px; }
.no { font: 500 13px/1 var(--mono); letter-spacing: 0.06em; color: var(--wax); }
.nm { font: 400 clamp(26px, 2.7vw, 40px)/1.12 var(--display); font-variation-settings: 'opsz' 48; letter-spacing: -0.01em; transition: transform 0.45s var(--ease); }
.row-btn:hover .nm { transform: translateX(10px); }
.leader { align-self: end; margin-bottom: 0.55em; border-bottom: 1.5px dotted rgba(23, 34, 59, 0.4); }
.sm { font-size: 15px; line-height: 1.45; color: var(--pencil); }
.pm { position: relative; justify-self: end; align-self: center; width: 16px; height: 16px; }
.pm::before, .pm::after { content: ''; position: absolute; left: 0; right: 0; top: 7.25px; height: 1.5px; background: var(--ink); transition: transform 0.4s var(--ease); }
.pm::after { transform: rotate(90deg); }
[aria-expanded='true'] .pm::after { transform: rotate(0deg); }
.panel { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows 0.55s var(--ease), visibility 0s linear 0.55s; }
.open > .panel { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
.panel-in { min-height: 0; overflow: hidden; }
.row .panel-in { padding-left: 84px; max-width: 920px; }
.row .panel-in > :first-child { margin-top: 2px; }
.row .panel-in p { max-width: 62ch; color: var(--ink-2); }
.row .panel-in ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 22px; }
.row .panel-in li { padding: 7px 14px; border: 1px solid var(--line); font-size: 14px; line-height: 1.3; }
.row .panel-in .ptitle { margin: 4px 0 14px; font: 500 12px/1.5 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--wax); }
.row .panel-in p + p { margin-top: 14px; }
.row .panel-in ul.items { display: block; margin: 18px 0 18px; }
.row .panel-in ul.items li { position: relative; padding: 11px 0 11px 24px; border: 0; border-bottom: 1px dotted rgba(23, 34, 59, 0.3); font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.row .panel-in ul.items li::before { content: ''; position: absolute; left: 0; top: 1.15em; width: 6px; height: 6px; border-radius: 50%; background: var(--wax); }
.row .panel-in .link { margin-top: 18px; }
.link { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; margin-bottom: 34px; font-weight: 600; font-size: 15px; text-decoration: none; background: linear-gradient(var(--wax), var(--wax)) 0 calc(100% - 6px) / 100% 1px no-repeat; color: var(--wax); }
.link::after { content: '→'; transition: transform 0.3s var(--ease); }
.link:hover::after { transform: translateX(4px); }

/* about + biography */
.section-alt { background: var(--paper-2); }
.split-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 120px); align-items: start; }
.bio-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 120px); align-items: end; }
.bio-lede { max-width: 36ch; font: 400 clamp(22px, 2vw, 29px)/1.4 var(--display); font-variation-settings: 'opsz' 36; letter-spacing: -0.005em; color: var(--ink); }
.timeline { --s: 1; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(20px, 2.4vw, 40px); margin: clamp(48px, 6vw, 88px) 0; }
.timeline::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--ink); transform-origin: left; transform: scaleX(var(--s)); }
.tl-item { position: relative; padding-top: 30px; }
.tl-item::before { content: ''; position: absolute; left: 0; top: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--wax); box-shadow: 0 0 0 4px var(--paper-2); }
.tl-year { display: block; margin-bottom: 14px; font: italic 400 clamp(28px, 2.6vw, 38px)/1.1 var(--display); font-variation-settings: 'opsz' 48; letter-spacing: -0.01em; color: var(--wax); }
.tl-item p { max-width: 34ch; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.bio-body { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 120px); align-items: start; }
.bio-photo { position: sticky; top: calc(var(--nav-h) + 32px); max-width: 420px; }
.bio-frame { overflow: hidden; padding: 12px; background: var(--sheet); box-shadow: 0 1px 0 #d9ceb5, 0 30px 50px -32px rgba(23, 34, 59, 0.5); }
.bio-frame img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; object-position: 54% 14%; filter: sepia(0.1) saturate(0.92); }
.bio-photo figcaption { margin-top: 14px; font: 400 12px/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--pencil); }
.seal-bio { --s: 72px; position: absolute; right: -22px; top: 34px; }
.prose-group + .prose-group { margin-top: 44px; padding-top: 40px; border-top: 1px solid var(--ink); }
.prose p { max-width: 62ch; font-size: 18px; line-height: 1.65; color: var(--ink-2); }
.prose p + p { margin-top: 22px; }
.prose .statement { max-width: 24ch; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--ink); font: 400 clamp(26px, 2.6vw, 38px)/1.2 var(--display); letter-spacing: -0.01em; color: var(--ink); }

/* full-width photograph */
.band { position: relative; height: clamp(260px, 46vh, 540px); overflow: hidden; background: var(--ink); }
.band img { position: absolute; left: 0; top: -14%; width: 100%; height: 128%; object-fit: cover; object-position: 50% 45%; filter: saturate(0.8) sepia(0.1); }
.band::after { content: ''; position: absolute; inset: 0; background: rgba(23, 34, 59, 0.2); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 7vw, 130px); align-items: start; }
.faq-head { position: sticky; top: calc(var(--nav-h) + 32px); }
.faq-photo { max-width: 360px; margin-top: 40px; }
.faq-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.faq { border-top: 1px solid var(--ink); }
.qa { border-bottom: 1px solid var(--line); }
.q { display: grid; grid-template-columns: 52px 1fr 28px; align-items: baseline; width: 100%; padding: 26px 0; border: 0; background: none; text-align: left; cursor: pointer; font: 400 clamp(21px, 2vw, 28px)/1.25 var(--display); font-variation-settings: 'opsz' 32; }
.q:focus-visible { outline-offset: -3px; }
.q .no { font-family: var(--mono); }
.qa .panel-in p:not(:last-child) { padding-bottom: 14px; }
.qa .panel-in p { max-width: 62ch; padding: 0 0 30px 52px; color: var(--ink-2); font-size: 17px; }

/* contact */
.section-contact { background: var(--paper-2); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
address { font-style: normal; margin-top: 36px; }
.addr { display: block; font: 400 clamp(26px, 2.6vw, 36px)/1.2 var(--display); text-decoration: none; }
.addr:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.lines { display: flex; flex-wrap: wrap; gap: 0 26px; margin-top: 18px; font-size: 16px; }
.lines a { display: inline-flex; align-items: center; min-height: 40px; text-underline-offset: 4px; }
.facts { margin-top: 28px; }
.facts li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 9px 0; font-size: 15px; }
.facts .k { font: 400 12px/1.9 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--pencil); }
.map svg { display: block; width: 100%; height: auto; aspect-ratio: 600 / 460; border: 1px solid var(--line); }
.map figcaption { margin-top: 12px; font: 400 12px/1.5 var(--mono); letter-spacing: 0.06em; color: var(--pencil); }

/* footer */
.footer { padding: 72px 0 56px; background: var(--ink); color: var(--paper); text-align: center; }
.footer-in { display: grid; justify-items: center; }
.footer .seal { --s: 64px; }
.f-name { margin-top: 20px; font: 400 clamp(24px, 3vw, 34px)/1.2 var(--display); }
.f-lines { margin-top: 10px; font-size: 15px; color: #cfd4e3; }
.f-lines a, .f-small a { display: inline-block; padding: 8px 0; text-underline-offset: 3px; }
.f-small { margin-top: 28px; font: 400 12px/1.6 var(--mono); letter-spacing: 0.04em; color: #aab2cb; }
.footer :focus-visible { outline-color: var(--wax-hi); }

/* Phones only: the main action stays in reach while scrolling. */
.sticky-cta { display: none; }

/* Entrances wait invisibly until main.js plays them (only when motion is allowed). */
@media (prefers-reduced-motion: no-preference) {
  .js:not(.ready) .hero-in, .js:not(.ready) .portrait figcaption { opacity: 0; }
  /* The portrait wipes open in plain CSS, so the largest thing on a phone never waits for the scripts. */
  .js .portrait-frame { animation: wipe 1.3s cubic-bezier(0.65, 0, 0.35, 1) 0.15s both; }
  .js .portrait-frame img { animation: settle 1.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both; }
  .capture .portrait-frame, .capture .portrait-frame img { animation: none; }
  @keyframes wipe { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
  @keyframes settle { from { transform: scale(1.18); } to { transform: scale(1); } }
}

/* ------------------------------------------------------------------ small laptop: the links fold into a menu */
@media (max-width: 1100px) {
  .menu-btn { display: block; margin-left: -8px; }
  .links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; margin: 0; padding: 8px var(--gutter) 20px; background: var(--sheet); box-shadow: 0 20px 30px -20px rgba(23, 34, 59, 0.4); }
  .nav.menu-open .links { display: flex; }
  .links a { min-height: 52px; font-size: 17px; border-bottom: 1px solid var(--line); }
  .links a::after { display: none; }
  .nav.menu-open .bar { background: var(--sheet); }
  .lang { margin-left: auto; }
}

/* ------------------------------------------------------------------ tablet */
@media (max-width: 900px) {
  .hero { min-height: 0; padding-bottom: 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .portrait { justify-self: start; width: min(100%, 440px); margin-left: 24px; }
  .section { padding: 80px 0; }
  .split-grid, .bio-top, .bio-body, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .bio-top { align-items: start; }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; }
  .bio-photo { position: relative; top: auto; max-width: 360px; }
  .seal-bio { right: -14px; }
  .faq-head { position: static; }
  .row-btn { grid-template-columns: 52px 1fr 28px; }
  .row-btn .leader { display: none; }
  .row-btn .sm { grid-column: 2; margin-top: 8px; }
  .row-btn .pm { grid-column: 3; grid-row: 1; }
  .row .panel-in { padding-left: 72px; }
}

/* ------------------------------------------------------------------ phone */
@media (max-width: 560px) {
  body { font-size: 16px; }
  .bar { gap: 8px; }
  .logo { gap: 8px; }
  .logo-mark { width: 32px; height: 32px; font-size: 12px; }
  .logo-name { font-size: 13.5px; }
  .lang { margin-left: auto; }
  .lang button { min-width: 36px; }
  .btn-call { padding: 0 14px; }
  .portrait { margin-left: 0; width: 100%; }
  .portrait .seal-lg { --s: 76px; left: 8px; bottom: 44px; }
  .areas-line li + li::before { margin: 0 11px; }
  .hero-actions { margin-top: 24px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-actions .btn:not(.btn-ghost) { display: none; } /* the sticky bar below carries Call */
  .row-btn { padding: 24px 0; column-gap: 12px; grid-template-columns: 40px 1fr 24px; }
  .row .panel-in { padding-left: 52px; }
  .q { grid-template-columns: 40px 1fr 24px; }
  .qa .panel-in p { padding-left: 40px; }
  .timeline { grid-template-columns: 1fr; gap: 32px; }
  .seal-bio { --s: 60px; }
  .facts li { grid-template-columns: 1fr; gap: 0; }
  .sticky-cta { display: inline-flex; position: fixed; left: 16px; right: 16px; bottom: calc(16px + var(--demo-bar-space, 0px) + env(safe-area-inset-bottom)); z-index: 20; height: 52px; box-shadow: 0 12px 24px -12px rgba(23, 34, 59, 0.5); }
  .footer { padding-bottom: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  .panel, .nm, .bar, .links a::after { transition: none; }
}
