@import url('../fonts/fonts.css');

:root {
  color-scheme: light;
  --paper: #f5f5f7; --ink: #1d1d1f; --secondary: #60616b; --line: #dedee3; --blue: #005fcc;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --page-width: 1280px; --page-gutter: 40px; --gap: 24px; --radius: 28px; --section-space: 104px;
  --scene-progress: 1;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: calc(400 + var(--weight-offset, 0)) calc(16px * var(--text-scale, 1))/1.5 var(--font); -webkit-font-smoothing: antialiased; }
::selection { background: #bfdcff; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: calc(600 + var(--weight-offset, 0)); }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { color: inherit; font: inherit; cursor: pointer; }
button, a { touch-action: manipulation; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; z-index: 200; top: -100px; left: 20px; padding: 12px 20px; border-radius: 12px; background: var(--ink); color: #fff; }
.skip-link:focus { top: 14px; }
.container, .desktop-surface { width: min(var(--page-width), calc(100% - var(--page-gutter) * 2)); margin-inline: auto; }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 44px; color: var(--blue); font-size: calc(14px * var(--text-scale, 1)); }

/* Every section shares the same outside edges. The hero windows keep their own internal grid. */
.desktop-scene { position: relative; height: 185svh; }
.desktop-stage { position: sticky; top: 0; height: 100svh; min-height: 680px; padding-block: 32px; }
.desktop-surface { position: relative; height: 100%; overflow: hidden; isolation: isolate; border: 1px solid #fff; border-radius: var(--radius); background: radial-gradient(ellipse at 50% 52%, #fff 0, #f0f1f3 45%, #e4e5e8 100%); box-shadow: inset 0 0 0 5px #fff3, 0 12px 32px #22263d08; }
.desktop-surface::after { content: ''; position: absolute; z-index: -1; bottom: -230px; right: -60px; width: 600px; height: 420px; border-radius: 50%; background: #d8dce760; filter: blur(50px); }
.hero__ghost { position: absolute; top: 32px; left: 50%; transform: translateX(-50%); color: #dcdde1; opacity: .64; font-size: calc(clamp(170px, 26vw, 330px) * var(--text-scale, 1)); font-weight: calc(700 + var(--weight-offset, 0)); line-height: 1; letter-spacing: -.09em; pointer-events: none; user-select: none; }
.desktop-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(6, minmax(0, 1fr)); gap: 12px; position: absolute; z-index: 2; left: 50%; top: 41%; width: calc(100% - 112px); height: clamp(310px, 43vh, 450px); transform: translate(-50%, -50%); perspective: 1400px; }
.desktop-card { position: relative; min-width: 0; min-height: 0; overflow: hidden; border: 1px solid #ffffffd9; border-radius: 15px; background: #ffffffb8; box-shadow: 0 20px 45px #262d3f1f, 0 3px 8px #15192a10, inset 0 1px 0 #fff; backdrop-filter: blur(20px); transform-origin: 50% 50%; will-change: transform; }
[data-manual="true"] .desktop-card { transition: transform 750ms cubic-bezier(.2,.75,.2,1); }
.desktop-card > a { display: flex; flex-direction: column; height: 100%; }
.window-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-shrink: 0; height: 32px; padding: 0 12px; background: #f8f8fae6; border-bottom: 1px solid #00000008; color: #73747d; font-size: calc(9px * var(--text-scale, 1)); }
.hero-footer { position: absolute; left: 40px; right: 40px; bottom: 112px; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
h1 { font-size: calc(clamp(38px, 4.2vw, 60px) * var(--text-scale, 1)); line-height: 1.035; letter-spacing: -.065em; }
.arrange { position: absolute; right: 24px; bottom: 24px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 10px 15px; border: 1px solid #ffffffd9; border-radius: 13px; background: #ffffff80; box-shadow: inset 0 1px 0 #fff; font-size: calc(11px * var(--text-scale, 1)); backdrop-filter: blur(18px); }
.arrange svg, .garden-reset svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.arrange:hover { background: #fff; }

/* A common card module: equal columns, heading, media, and baseline. */
.work, .playground, .about, .contact { margin-top: var(--section-space); }
.section-heading, .playground__heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 32px; }
.section-heading h2, .playground__heading h2 { font-size: calc(clamp(36px, 4.2vw, 58px) * var(--text-scale, 1)); line-height: 1.08; letter-spacing: -.06em; }
.section-heading > p { max-width: 270px; padding-bottom: 5px; color: var(--secondary); font-size: calc(14px * var(--text-scale, 1)); }
.bento-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.bento { position: relative; min-width: 0; height: 540px; border: 1px solid #fff; border-radius: var(--radius); background: #fff; box-shadow: 0 4px 16px #21233104; }
.bento__project-link { position: relative; display: grid; grid-template-rows: minmax(132px, auto) minmax(0, 1fr); gap: 20px; height: 100%; padding: 28px; overflow: hidden; border-radius: inherit; }
.bento__heading { display: flex; justify-content: space-between; align-items: start; gap: 16px; min-width: 0; }
.bento__heading > div { min-width: 0; }
.bento__category { display: block; font-size: calc(11px * var(--text-scale, 1)); line-height: 1.4; color: #586170; }
.bento h3 { margin-top: 8px; font-size: calc(clamp(25px, 2.5vw, 32px) * var(--text-scale, 1)); line-height: 1.1; letter-spacing: -.05em; overflow-wrap: anywhere; }
.bento__heading p { margin-top: 12px; color: #626875; font-size: calc(13px * var(--text-scale, 1)); line-height: 1.5; }
.circle-arrow { display: flex; flex-shrink: 0; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid #dce0e8; border-radius: 50%; font-size: calc(18px * var(--text-scale, 1)); color: #777d88; background: #ffffff70; transition: background 200ms, color 200ms; }
.bento__project-link:hover .circle-arrow { background: var(--ink); color: #fff; border-color: var(--ink); }
.case-media { min-width: 0; min-height: 0; overflow: hidden; border: 1px solid #ffffffb3; border-radius: 16px; background: #ffffff70; }
.case-media > img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms cubic-bezier(.2,.7,.2,1); }
.bento__project-link:hover .case-media > img { transform: scale(1.025); }
.bento__tag { align-self: center; color: #586170; font-size: calc(11px * var(--text-scale, 1)); line-height: 1.4; }
.bento--booking { background: linear-gradient(145deg, #fff, #eaf0fb); }
.bento--prepaid { background: linear-gradient(145deg, #f0eefb, #e7e4f5); }
.bento--prepaid h3 { color: #4b405f; }
.bento--prepaid .case-media > img { object-fit: contain; mix-blend-mode: multiply; }
.bento--dovgan { background: #f9ebec; }
.bento--osi { background: #e9f1ff; }
.bento--enande { background: #efede8; }
.bento--garden { background: #eaf1ec; }
.experiment-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px; background: #dae5df; }
.experiment-preview > img { border-radius: 8px; min-height: 0; }
.focus-veil { position: fixed; z-index: 80; inset: 0; background: #ffffffed; opacity: 0; pointer-events: none; transition: opacity 240ms; }
body[data-case-focus="true"] .focus-veil { opacity: 1; }
.bento.is-spotlit { z-index: 81; }

/* Evenly spaced starting positions; each card can leave its slot inside this light board. */
.playground__heading p { margin-top: 12px; color: var(--secondary); font-size: calc(14px * var(--text-scale, 1)); }
.garden-tools { display: flex; align-items: center; gap: 18px; color: var(--secondary); font-size: calc(12px * var(--text-scale, 1)); }
.garden-reset { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex-shrink: 0; min-height: 44px; padding: 10px 14px; border: 1px solid #dedee5; border-radius: 12px; background: #fff9; font-size: calc(12px * var(--text-scale, 1)); }
.garden-reset:hover { background: #fff; }
.garden-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--gap); padding: 24px; border: 1px solid #fff; border-radius: var(--radius); background: #eeeff2; isolation: isolate; }
.garden-tile { position: relative; grid-column: span 2; display: flex; flex-direction: column; min-width: 0; padding: 6px; border: 1px solid #fff; border-radius: 18px; background: #fff; box-shadow: 0 6px 16px #2025360b, 0 1px 3px #2025360a; text-align: left; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.garden-tile > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; pointer-events: none; }
.garden-tile__caption { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 48px; padding-left: 10px; color: #656b76; font-size: calc(12px * var(--text-scale, 1)); }
.garden-tile__handle { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; touch-action: none; }
.garden-tile__handle svg { width: 20px; height: 20px; fill: none; stroke: #989daa; stroke-width: 3; stroke-linecap: round; }
.garden-tile.is-dragging { cursor: grabbing; box-shadow: 0 20px 40px #20253626; }
.garden-tile.is-returning { transition: transform 420ms cubic-bezier(.2,.75,.2,1); }
.garden-tile:hover .garden-tile__caption { color: var(--ink); }

.about { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); align-items: center; }
.about__photo { position: relative; aspect-ratio: 1; overflow: hidden; border: 1px solid #fff; border-radius: var(--radius); background: #eae9e6; box-shadow: 0 6px 24px #22222208; }
.about__photo > img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.photos-badge { position: absolute; top: 20px; right: 20px; display: grid; place-items: center; width: 52px; height: 52px; padding: 5px; border: 1px solid #ffffffb3; border-radius: 13px; background: #ffffffed; box-shadow: 0 4px 12px #0002; }
.photo-controls { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; padding: 5px; border: 1px solid #ffffffa6; border-radius: 99px; background: #e5e3ddd9; backdrop-filter: blur(24px) saturate(140%); box-shadow: 0 6px 24px #0002; }
.photo-controls button { display: grid; place-items: center; width: 56px; height: 44px; padding: 0; border: 0; border-radius: 99px; background: transparent; color: #66635e; }
.photo-controls button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px #0000000b; }
.photo-controls svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.about__copy { padding: 32px 40px; }
.about__copy h2 { font-size: calc(clamp(36px, 3.5vw, 48px) * var(--text-scale, 1)); line-height: 1.08; letter-spacing: -.055em; }
.about__copy h2 > span { color: #86868e; }
.about__copy p { margin-top: 24px; max-width: 440px; font-size: calc(14px * var(--text-scale, 1)); line-height: 1.75; color: var(--secondary); }
.about__copy p + p { margin-top: 16px; }
.about__copy .text-link { margin-top: 24px; }

.contact-panel { display: flex; flex-direction: column; align-items: center; padding: 64px 32px 48px; border: 1px solid #fff; border-radius: var(--radius); background: linear-gradient(130deg, #fff, #fff 60%, #fafbff); box-shadow: 0 16px 50px #20253605; text-align: center; }
.contact__envelope { display: flex; align-items: center; justify-content: center; width: 66px; height: 66px; border: 1px solid #d7e8ff; border-radius: 20px; background: linear-gradient(#f3f9ff, #e5f0ff); box-shadow: inset 0 1px 0 #fff; transform: rotate(-8deg); }
.contact__envelope svg { width: 50px; height: 50px; fill: none; stroke: #429aff; stroke-width: 1.8; }
.contact-panel > p { margin-top: 24px; color: var(--secondary); font-size: calc(14px * var(--text-scale, 1)); }
.contact h2 { margin-top: 16px; font-size: calc(clamp(40px, 4.4vw, 60px) * var(--text-scale, 1)); line-height: 1.04; letter-spacing: -.06em; }
.contact__actions { display: flex; align-items: center; gap: 10px; margin-top: 32px; }
.mail-button, .copy { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 44px; padding: 12px 20px; border: 1px solid #e1e2e7; border-radius: 12px; background: #fff; font-size: calc(12px * var(--text-scale, 1)); }
.mail-button { background: linear-gradient(#3298ff, #007aff); border-color: #007aff; color: #fff; box-shadow: 0 3px 7px #007aff20, inset 0 1px 0 #ffffff35; }
.mail-button:hover { background: #0071ed; }.copy { color: #686872; gap: 10px; }.copy:hover { background: #f7f7f9; }
.contact__email { display: inline-flex; align-items: center; min-height: 44px; margin-top: 16px; font-size: calc(12px * var(--text-scale, 1)); color: #73737c; }
.footer { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: var(--gap); margin-top: 40px; padding-top: 20px; padding-bottom: 120px; border-top: 1px solid var(--line); font-size: calc(11px * var(--text-scale, 1)); color: #5b5c69; }
.footer > div { display: flex; align-items: center; justify-content: flex-end; gap: 28px; }
.footer a { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 44px; min-height: 44px; }
.footer a:hover { color: var(--ink); }

/* A single outline family, with Works as the persistent primary destination. */
.dock { position: fixed; z-index: 60; bottom: max(16px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; padding: 8px; border: 1px solid #ffffffd9; border-radius: 22px; background: #ffffffb3; box-shadow: 0 8px 30px #1e25351c, inset 0 1px 0 #fff; backdrop-filter: blur(28px) saturate(160%); }
.dock__link { position: relative; display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 14px; background: transparent; }
.dock__icon { position: relative; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid #dedfe67a; border-radius: 12px; color: #686f7e; background: linear-gradient(#fff, #f0f1f5); box-shadow: inset 0 1px 0 #fff, 0 2px 4px #2d35400a; transition: background 180ms; }
.dock__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dock__icon--home img { width: 28px; height: 28px; }
.dock__link:hover .dock__icon { background: #e8eaf0; }
.dock__work { width: auto; padding-right: 15px; gap: 3px; background: linear-gradient(#3298ff, #007aff); color: #fff; border: 1px solid #007aff; box-shadow: 0 3px 9px #007aff26, inset 0 1px 0 #ffffff40; }
.dock__work .dock__icon, .dock__work:hover .dock__icon { color: #fff; background: none; border: 0; box-shadow: none; }
.dock__work-label { font-size: calc(13px * var(--text-scale, 1)); font-weight: calc(550 + var(--weight-offset, 0)); }
.dock__link[aria-current]::after { content: ''; position: absolute; bottom: -6px; left: calc(50% - 2px); width: 4px; height: 4px; border-radius: 50%; background: #747c8c; }
.dock__divider { width: 1px; height: 30px; margin-inline: 3px; background: #c2c7d47a; }
.dock__language [data-language-code] { position: absolute; right: -2px; bottom: -1px; padding: 1px 3px; border: 1px solid #e6e8ee; border-radius: 4px; background: #fff; color: #505c70; font-size: calc(8px * var(--text-scale, 1)); line-height: 1.2; font-weight: calc(550 + var(--weight-offset, 0)); }
.dock__tooltip { position: absolute; bottom: 62px; left: 50%; transform: translateX(-50%) translateY(3px); padding: 5px 10px; border: 1px solid #fff9; border-radius: 7px; background: #fdfdfded; backdrop-filter: blur(12px); box-shadow: 0 3px 12px #0001; color: var(--ink); font-size: calc(11px * var(--text-scale, 1)); white-space: nowrap; opacity: 0; visibility: hidden; transition: opacity 150ms, transform 150ms; pointer-events: none; }
.dock__link:hover .dock__tooltip, .dock__link:focus-visible .dock__tooltip { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

.lightbox { width: min(1100px, calc(100% - 48px)); max-height: calc(100svh - 48px); padding: 0; overflow: hidden; border: 1px solid #ffffffa6; border-radius: 20px; background: #f8f8fa; color: var(--ink); box-shadow: 0 30px 100px #0003; }
.lightbox::backdrop { background: #ededf2d9; backdrop-filter: blur(16px); }
.lightbox__toolbar { display: flex; justify-content: space-between; align-items: center; padding: 8px 16px; border-bottom: 1px solid var(--line); }
.lightbox__counter { font-size: calc(12px * var(--text-scale, 1)); color: var(--secondary); font-variant-numeric: tabular-nums; }
.lightbox button { min-width: 44px; min-height: 44px; padding: 0 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: calc(20px * var(--text-scale, 1)); }
.lightbox__close { font-size: 26px !important; }
.lightbox__stage { display: flex; align-items: center; justify-content: center; height: min(68svh, 760px); padding: 16px; background: #eceef2; }
.lightbox__stage > img { width: 100%; height: 100%; object-fit: contain; }
.lightbox__footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; }
.lightbox__footer #lightbox-title { font-size: calc(14px * var(--text-scale, 1)); font-weight: calc(500 + var(--weight-offset, 0)); text-align: center; }

@media (max-width: 1100px) {
  :root { --page-gutter: 24px; }
  .desktop-grid { width: calc(100% - 80px); height: 350px; }
  .hero-footer { left: 28px; right: 28px; }
  h1 { font-size: calc(4.6vw * var(--text-scale, 1)); }
  .window-bar { font-size: calc(8px * var(--text-scale, 1)); padding-inline: 9px; }
  .bento { height: 500px; }.bento__project-link { padding: 24px; grid-template-rows: 142px minmax(0, 1fr); gap: 16px; }
  .about__copy { padding: 20px 24px; }.about__copy h2 { font-size: calc(38px * var(--text-scale, 1)); }
  .garden-tools { flex-direction: column; align-items: flex-end; gap: 8px; }
  .garden-grid { padding: 20px; }.garden-tile__caption { font-size: calc(11px * var(--text-scale, 1)); padding-left: 5px; }
}
@media (max-width: 700px) {
  :root { --page-gutter: 16px; --gap: 16px; --radius: 24px; --section-space: 64px; }
  html { scroll-padding-top: 24px; }
  .desktop-scene { height: 170svh; }.desktop-stage { min-height: 700px; padding-block: 16px; }
  .hero__ghost { top: 225px; font-size: calc(30vw * var(--text-scale, 1)); color: #d5d7df; }
  .desktop-grid { top: 52%; width: calc(100% - 40px); height: 277px; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 165px 102px; gap: 10px; }
  .desktop-card { border-radius: 10px; box-shadow: 0 10px 25px #262d3f1f, 0 2px 4px #15192a10; }
  .window-bar { height: 23px; padding-inline: 7px; font-size: calc(7px * var(--text-scale, 1)); gap: 6px; }
  .hero-footer { inset: 36px 24px auto; display: block; }h1 { font-size: calc(clamp(31px, 8.7vw, 56px) * var(--text-scale, 1)); line-height: 1.06; }
  .arrange { bottom: 80px; right: 20px; padding: 9px 12px; font-size: calc(10px * var(--text-scale, 1)); }
  .section-heading, .playground__heading { display: block; margin-bottom: 24px; }.section-heading h2, .playground__heading h2 { font-size: calc(36px * var(--text-scale, 1)); }
  .section-heading > p { max-width: 300px; margin-top: 16px; padding: 0; font-size: calc(13px * var(--text-scale, 1)); }
  .bento-grid { grid-template-columns: 1fr; }.bento { height: 460px; }
  .bento__project-link { grid-template-rows: 132px minmax(0, 1fr); padding: 24px; gap: 16px; }
  .bento h3 { font-size: calc(27px * var(--text-scale, 1)); }.bento__heading p { font-size: calc(12px * var(--text-scale, 1)); }.bento__category, .bento__tag { font-size: calc(10px * var(--text-scale, 1)); }
  .garden-tools { margin-top: 20px; flex-direction: row; justify-content: space-between; align-items: center; gap: 12px; font-size: calc(11px * var(--text-scale, 1)); }.garden-tools > span { max-width: 170px; }
  .garden-reset { padding-inline: 12px; font-size: calc(11px * var(--text-scale, 1)); }
  .garden-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 12px; }
  .garden-tile { padding: 4px; border-radius: 14px; }.garden-tile:nth-last-child(2) { grid-column: span 2; }.garden-tile:last-child { grid-column: 2 / span 2; }
  .garden-tile > img { border-radius: 9px; }.garden-tile__caption { min-height: 48px; padding-left: 5px; gap: 0; font-size: calc(10px * var(--text-scale, 1)); line-height: 1.3; }
  .garden-tile__handle { width: 44px; }.garden-tile__caption > span:first-child { overflow-wrap: anywhere; }
  .about { grid-template-columns: 1fr; gap: 32px; }.about__copy { padding: 0 8px; }.about__copy h2 { font-size: calc(40px * var(--text-scale, 1)); }.about__copy p { max-width: 480px; }
  .photos-badge { width: 46px; height: 46px; top: 16px; right: 16px; border-radius: 12px; }.photo-controls { bottom: 20px; }.photo-controls button { width: 52px; }
  .contact-panel { padding: 40px 20px 28px; }.contact-panel > p { font-size: calc(12px * var(--text-scale, 1)); }.contact h2 { font-size: calc(41px * var(--text-scale, 1)); }.contact__envelope { width: 56px; height: 56px; border-radius: 17px; }.contact__envelope svg { width: 43px; height: 43px; }
  .contact__actions { gap: 8px; margin-top: 24px; }.mail-button, .copy { padding-inline: 14px; gap: 10px; font-size: calc(11px * var(--text-scale, 1)); }.contact__email { font-size: calc(11px * var(--text-scale, 1)); }
  .footer { grid-template-columns: 1fr; gap: 4px; margin-top: 24px; padding-top: 16px; padding-bottom: 104px; font-size: calc(10px * var(--text-scale, 1)); }.footer > div { justify-content: space-between; gap: 16px; }
  .footer > span { min-height: 28px; }.footer a:last-child { margin-left: auto; }
  .dock { bottom: max(12px, env(safe-area-inset-bottom)); gap: 3px; padding: 6px; border-radius: 19px; }.dock__link { width: 44px; height: 44px; border-radius: 12px; }.dock__icon { width: 40px; height: 40px; border-radius: 11px; }
  .dock__work { padding: 0; }.dock__work-label { display: none; }.dock__divider { margin-inline: 2px; height: 26px; }.dock__icon svg { width: 23px; height: 23px; }.dock__icon--home img { width: 26px; height: 26px; }
  .dock__tooltip { bottom: 58px; }.lightbox { width: calc(100% - 24px); max-height: calc(100svh - 24px); border-radius: 16px; }.lightbox__stage { height: 58svh; padding: 8px; }.lightbox__footer #lightbox-title { font-size: calc(12px * var(--text-scale, 1)); }
}
@media (max-width: 359px) { .dock__home { display: none; }.hero-footer { left: 20px; right: 20px; }.arrange { bottom: 76px; }.photo-controls button { width: 48px; } }
@media (max-height: 800px) and (min-width: 701px) {
  .desktop-grid { top: 38%; height: 285px; width: calc(100% - 120px); }.hero__ghost { font-size: calc(22vw * var(--text-scale, 1)); top: 10px; }.hero-footer { bottom: 92px; }h1 { font-size: calc(43px * var(--text-scale, 1)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .desktop-scene { height: 100svh; min-height: 700px; }.desktop-stage { position: relative; }.arrange { display: none; }
}
