:root {
  --paper: #f3f3f3;
  --ink: #252525;
  --muted: #6a6a6a;
  --line: #d4d4d4;
  --lime: #d6ff4a;
  --lime-deep: #c3ff00;
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", "Source Serif 4";
  --sans: "Onest";
  --scale: 1;
  --pad: clamp(16px, 3.5vw, calc(48px * var(--scale)));
  --wrap: calc(1180px * var(--scale));
  --island-w: calc(920px * var(--scale));
  --type-body: calc(17px * var(--scale));
  --row: calc(300px * var(--scale));
  --gap: calc(16px * var(--scale));
  --island: rgba(255, 255, 255, 0.42);
  --glass-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.48) 100%);
  --glass-border: 1px solid rgba(255, 255, 255, 0.95);
  --glass-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 10px 28px rgba(37, 37, 37, 0.1);
  --glass-blur: blur(20px) saturate(1.45);
}

@font-face {
  font-family: "Onest";
  src: url("/assets/fonts/onest.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: block;
  font-optical-sizing: auto;
}

@font-face {
  font-family: "Source Serif 4";
  src: url("/assets/fonts/source-serif-4-cyrillic.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: block;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  font-synthesis: none;
}

html, body {
  margin: 0;
  min-height: 100%;
  background-color: var(--paper);
  background-image: radial-gradient(circle, #d9d9d9 1px, transparent 1px);
  background-size: calc(18px * var(--scale)) calc(18px * var(--scale));
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
}

body.is-locked,
body.is-nav-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }

.wrap {
  width: min(var(--wrap), calc(100% - var(--pad) * 2));
  margin: 0 auto;
}

/* Island header */
.island-wrap {
  position: sticky;
  top: calc(14px * var(--scale));
  z-index: 60;
  display: flex;
  justify-content: center;
  padding: 0 12px;
  pointer-events: none;
}

.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.island {
  position: relative;
  pointer-events: auto;
  width: min(var(--island-w), 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(16px * var(--scale));
  padding: calc(7px * var(--scale)) calc(8px * var(--scale)) calc(7px * var(--scale)) calc(18px * var(--scale));
  border-radius: 999px;
}

.island-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.burger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 999px;
  z-index: 2;
}

.burger span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.burger[aria-expanded="true"] span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.burger[aria-expanded="true"] span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(243, 243, 243, 0.52);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.brand {
  font-weight: 500;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.nav-btn {
  height: calc(34px * var(--scale));
  padding: 0 calc(12px * var(--scale));
  border-radius: 999px;
  font-size: calc(13px * var(--scale));
  font-weight: 500;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-btn:hover {
  color: var(--ink);
  background: rgba(37, 37, 37, 0.05);
}

.lang {
  display: flex;
  margin-left: 4px;
  padding: 2px;
  border-radius: 999px;
  background: rgba(37, 37, 37, 0.06);
}

.lang button {
  min-width: calc(36px * var(--scale));
  height: calc(28px * var(--scale));
  border-radius: 999px;
  font-size: calc(11px * var(--scale));
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: background 0.25s ease, color 0.25s ease;
}

.lang button:hover {
  color: var(--ink);
}

.lang button.is-on {
  background: var(--ink);
  color: #fff;
}

/* Hero like Tilda */
.hero {
  min-height: calc(100svh - 120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 0 32px;
}

.hero .lede {
  position: relative;
  z-index: 1;
  max-width: calc(780px * var(--scale));
  margin: 0 0 calc(32px * var(--scale));
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: clamp(24px, 2.6vw, calc(32px * var(--scale)));
  font-weight: 400;
  line-height: 1.38;
  letter-spacing: -0.018em;
  color: #2a2a2a;
  animation: rise 0.9s ease backwards;
}

.hl {
  position: relative;
  display: inline;
  font: inherit;
  color: inherit;
  background-color: transparent;
  background-image: linear-gradient(var(--lime), var(--lime));
  background-repeat: no-repeat;
  background-position: 0 85%;
  background-size: 0% 0.42em;
  padding: 0 0.04em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  cursor: pointer;
  transition: background-size 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.hl.has-peek::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  z-index: 5;
  width: calc(76px * var(--scale));
  height: calc(96px * var(--scale));
  background: url("assets/peek-1.jpg?v=2") center 28% / cover no-repeat;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(37, 37, 37, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 14px) rotate(-8deg) scale(0.88);
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.hl.peek-role::after {
  background-image: url("assets/peek-2.jpg?v=2");
  background-position: center 22%;
}

.hl.peek-contact::after {
  background-image: url("assets/peek-3.jpg?v=2");
  background-position: center 40%;
}

.lede .hl.has-peek:nth-of-type(2)::after {
  transform: translate(-50%, 14px) rotate(9deg) scale(0.88);
}

.hl:hover,
.hl.is-hot {
  background-size: 100% 0.42em;
}

.hl.has-peek:hover::after,
.hl.has-peek.is-hot::after {
  opacity: 1;
  transform: translate(-50%, 0) rotate(-8deg) scale(1);
}

.lede .hl.has-peek:nth-of-type(2):hover::after,
.lede .hl.has-peek:nth-of-type(2).is-hot::after {
  transform: translate(-50%, 0) rotate(9deg) scale(1);
}

.hero .btn-primary {
  animation: rise 0.9s ease 0.22s backwards;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: calc(8px * var(--scale));
  border-radius: 999px;
  font-size: calc(18px * var(--scale));
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.btn-primary {
  position: relative;
  isolation: isolate;
  min-height: calc(56px * var(--scale));
  padding: 0 calc(32px * var(--scale));
  color: #333;
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: -10px;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(195, 255, 0, 0.55), transparent 68%);
  opacity: 0;
  filter: blur(10px);
  transition: opacity 0.28s ease;
}

.btn-primary:hover {
  color: #5a6b12;
  border-color: rgba(195, 255, 0, 0.35);
  background: linear-gradient(180deg, rgba(245, 255, 180, 0.95) 0%, rgba(214, 255, 74, 0.85) 100%);
  transform: translateY(-2px);
  box-shadow:
    0 8px 28px rgba(195, 255, 0, 0.45),
    0 0 36px rgba(214, 255, 74, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.btn-primary:hover::after {
  opacity: 1;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-lg {
  min-height: calc(64px * var(--scale));
  min-width: min(calc(320px * var(--scale)), 100%);
  padding: 0 calc(36px * var(--scale));
  font-size: calc(18px * var(--scale));
}

.text-link {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  transition: color 0.2s ease, text-underline-offset 0.2s ease;
}

.text-link:hover {
  color: var(--muted);
  text-underline-offset: 6px;
}

.back-link {
  font-size: calc(13px * var(--scale));
  font-weight: 400;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--ink);
}

.section {
  padding: calc(48px * var(--scale)) 0 calc(80px * var(--scale));
}

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: var(--row);
  grid-auto-flow: dense;
  gap: var(--gap);
  padding-top: 8px;
  margin-top: -8px;
  overflow: visible;
  align-items: stretch;
}

.tile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: visible;
  background: transparent;
  text-align: left;
  cursor: pointer;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.tile.is-in {
  opacity: 1;
  transform: none;
}

.tile.is-in:hover {
  z-index: 2;
}

.tile.feature { grid-column: span 2; grid-row: span 2; }
.tile.tall { grid-row: span 2; }
.tile.wide { grid-column: span 2; }

.tile-media {
  display: block;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  border-radius: calc(18px * var(--scale));
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #ececec;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.tile.contain .tile-media,
.tile.contain .tile-media img {
  background: #161616;
}

.tile.contain .tile-media img {
  object-fit: contain;
}

.tile.is-in:hover .tile-media {
  transform: translateY(-6px);
}

.tile.is-in:hover .tile-media img {
  transform: scale(1.07);
}

.tile-copy {
  flex: 0 0 auto;
  height: calc(58px * var(--scale));
  padding: 0 2px 2px;
}

.tile-copy .kicker {
  display: block;
  margin-bottom: 2px;
  font-family: var(--sans);
  font-size: calc(11px * var(--scale));
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tile-copy h3 {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--type-body);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.25;
  max-height: 2.5em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  transition: transform 0.4s ease;
}

.tile.is-in:hover .tile-copy h3 {
  transform: translateX(2px);
}

.about {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: calc(40px * var(--scale));
  padding: calc(40px * var(--scale)) 0 calc(80px * var(--scale));
  align-items: stretch;
}

.about-photo {
  min-height: 0;
  overflow: hidden;
  border-radius: 28px;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  cursor: zoom-in;
  transform: scale(1.04);
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.about.is-in .about-photo img {
  transform: none;
}

.about-copy {
  display: flex;
  flex-direction: column;
}

.about h2 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, calc(56px * var(--scale)));
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.about p { margin: 0 0 14px; font-size: var(--type-body); line-height: 1.5; color: #3d3d3d; }

.about-sub {
  margin: 6px 0 8px;
  font-size: var(--type-body);
  font-weight: 600;
  color: var(--ink);
}

.about-list {
  margin: 0 0 18px;
  padding: 0 0 0 1.2em;
  list-style: disc;
}

.about-list li {
  margin: 0 0 10px;
  padding-left: 0.15em;
  font-size: var(--type-body);
  line-height: 1.5;
  color: #3d3d3d;
}

.about-list li::marker {
  color: var(--ink);
  font-size: 0.85em;
}

.about-list strong {
  color: var(--ink);
  font-weight: 600;
}

.skills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.skill {
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  border: 0;
  box-shadow: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease, filter 0.2s ease;
}

.about.is-in .skill {
  opacity: 1;
  transform: none;
}

.skill:hover {
  filter: brightness(0.96);
}

.skill-figma { background: #edd9ff; color: #5b2d82; }
.skill-tilda { background: #f3efe4; color: #4a4338; }
.skill-ps { background: #cfe8f8; color: #1d5f86; }
.skill-ai { background: #fde7c4; color: #8a4b12; }
.skill-ae { background: #e4d9fb; color: #5a3d8a; }
.skill-blender { background: #f8ddc8; color: #8a3d12; }
.skill-procreate { background: #f8d5dc; color: #8a2f45; }
.skill-lottie { background: #d4f0e2; color: #1f6b4a; }
.skill-spine { background: #cfeaf1; color: #1d5a6a; }
.skill-gpt { background: #dde7fb; color: #2d4a7a; }
.skill-en { background: #ececec; color: #4a4a4a; }

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  column-gap: 48px;
  row-gap: 0;
  padding: 56px 0 0;
  margin-top: 32px;
  border-top: 1px solid rgba(37, 37, 37, 0.12);
  text-align: left;
}
.contact-copy {
  max-width: 28em;
  position: relative;
  z-index: 4;
}
.contact-copy p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: var(--type-body);
  line-height: 1.45;
}
.contact h2 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, calc(56px * var(--scale)));
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  width: fit-content;
  cursor: default;
}
.contact-mail {
  display: block;
  width: fit-content;
  margin: 0 0 12px;
  text-align: left;
  white-space: nowrap;
  font-size: var(--type-body);
}
.contact-socials {
  display: flex;
  justify-content: flex-start;
  gap: 22px;
}
.contact-cta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.contact-tg {
  width: auto;
  min-width: calc(220px * var(--scale));
  min-height: calc(56px * var(--scale));
  padding: 0 calc(36px * var(--scale));
  font-family: var(--sans);
  font-size: calc(18px * var(--scale));
  font-weight: 500;
  letter-spacing: -0.01em;
  border-radius: 999px;
}
.contact-foot {
  grid-column: 1 / -1;
  margin: 28px 0 0;
  padding: 18px 0 40px;
  border-top: 1px solid rgba(37, 37, 37, 0.08);
  color: var(--muted);
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.85s ease, transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Detail sheet */
.sheet {
  width: min(calc(1040px * var(--scale)), calc(100% - 48px));
  max-height: calc(100svh - 48px);
  margin: auto;
  border: 0;
  border-radius: 28px;
  padding: 0;
  overflow: hidden;
  background: #f7f7f7;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
  scrollbar-width: none;
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition:
    opacity 0.38s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    overlay 0.38s allow-discrete,
    display 0.38s allow-discrete;
}
.sheet::-webkit-scrollbar {
  display: none;
}
.sheet[open] {
  opacity: 1;
  transform: none;
}

@starting-style {
  .sheet[open] {
    opacity: 0;
    transform: translateY(28px) scale(0.985);
  }
}

.sheet::backdrop {
  background: rgba(20, 20, 20, 0.38);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.35s ease, overlay 0.35s allow-discrete, display 0.35s allow-discrete;
}

.sheet[open]::backdrop {
  opacity: 1;
}

@starting-style {
  .sheet[open]::backdrop {
    opacity: 0;
  }
}

.sheet-inner {
  padding: clamp(32px, 5vw, 56px) clamp(32px, 5vw, 64px) clamp(40px, 6vw, 72px);
  overflow: auto;
  max-height: calc(100svh - 48px);
  scrollbar-width: none;
}
.sheet-inner::-webkit-scrollbar {
  display: none;
}

.sheet-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
}

.sheet h1 {
  margin: 8px 0 16px;
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: clamp(32px, 4vw, calc(48px * var(--scale)));
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.sheet .body {
  max-width: 62ch;
  font-family: var(--sans);
  font-size: var(--type-body);
  line-height: 1.55;
  color: #3d3d3d;
}
.sheet .body p { margin: 0 0 10px; }
.sheet .body ul { margin: 0 0 14px; padding-left: 18px; }

.sheet-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  margin: 20px 0 8px;
}

.sheet[open] .sheet-inner > * {
  animation: rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.sheet[open] .sheet-inner > *:nth-child(1) { animation-delay: 0.02s; }
.sheet[open] .sheet-inner > *:nth-child(2) { animation-delay: 0.08s; }
.sheet[open] .sheet-inner > *:nth-child(3) { animation-delay: 0.12s; }
.sheet[open] .sheet-inner > *:nth-child(4) { animation-delay: 0.16s; }
.sheet[open] .sheet-inner > *:nth-child(5) { animation-delay: 0.2s; }
.sheet[open] .sheet-inner > *:nth-child(6) { animation-delay: 0.26s; }

.gallery {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}
.gallery.stack { grid-template-columns: 1fr; }
.gallery.pair { grid-template-columns: 1fr 1fr; }
.gallery.devices {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.shot {
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(37, 37, 37, 0.06);
}
.shot img,
.shot video {
  width: 100%;
  display: block;
}
.shot img {
  cursor: zoom-in;
}
.shot video {
  background: #111;
  vertical-align: middle;
}
.sheet[open] .shot {
  animation: rise 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.sheet[open] .shot:nth-child(1) { animation-delay: 0.22s; }
.sheet[open] .shot:nth-child(2) { animation-delay: 0.3s; }
.sheet[open] .shot:nth-child(3) { animation-delay: 0.38s; }
.sheet[open] .shot:nth-child(4) { animation-delay: 0.46s; }

.shot.device {
  background: var(--paper);
  padding: 16px 12px;
}
.shot.device img {
  object-fit: contain;
  max-height: 560px;
  margin: 0 auto;
  width: auto;
  max-width: 100%;
}

.zoom {
  width: min(96vw, calc(1280px * var(--scale)));
  max-height: 94svh;
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}
.zoom img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 94svh;
  object-fit: contain;
  border-radius: 16px;
  cursor: zoom-out;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}
.zoom::backdrop {
  background: rgba(18, 18, 18, 0.72);
  backdrop-filter: blur(12px);
}

@media (prefers-reduced-motion: reduce) {
  html, body,
  .hero .lede,
  .lede .hl,
  .hero .btn-primary,
  .island,
  .tile,
  .reveal,
  .skill,
  .sheet,
  .sheet::backdrop,
  .sheet[open] .sheet-inner > *,
  .sheet[open] .shot {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
  .hl.has-peek::after {
    display: none;
  }
}

@media (max-width: 1024px) {
  .burger { display: inline-flex; }
  .island { padding: 6px 6px 6px 16px; }
  .brand { font-size: 14px; overflow: hidden; text-overflow: ellipsis; }
  .hero {
    min-height: auto;
    padding-top: 112px;
    padding-bottom: 40px;
  }
  .island-nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 12px;
    right: 12px;
    z-index: 61;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 10px 16px;
    border-radius: 28px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
  }
  body.is-nav-open .island-nav { display: flex; }
  .island-nav .nav-btn {
    height: 48px;
    padding: 0 14px;
    font-size: 16px;
    color: var(--ink);
  }
  .island-nav .lang {
    margin: 10px auto 2px;
    align-self: center;
  }
}

@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: var(--row); }
  .tile.feature, .tile.tall, .tile.wide {
    grid-column: auto;
    grid-row: auto;
    min-height: 0;
  }
  .about, .gallery.pair, .gallery.devices, .contact { grid-template-columns: 1fr; }
  .about-photo { aspect-ratio: 1 / 1; }
  .contact { padding: 40px 0 0; }
  .contact-cta { width: 100%; margin-top: 16px; justify-content: flex-start; }
}
