:root {
  --bg: #040807;
  --bg-2: #071310;
  --card: rgba(13, 31, 28, .72);
  --card-2: rgba(9, 20, 18, .86);
  --line: rgba(136, 255, 217, .18);
  --line-strong: rgba(136, 255, 217, .32);
  --text: #eafff8;
  --muted: #9bbbb3;
  --soft: #c7f8e8;
  --mint: #69ffd5;
  --mint-2: #20c7bd;
  --gold: #f5bb6f;
  --pink: #e6909a;
  --shadow: 0 24px 80px rgba(0, 0, 0, .38);
  --radius: 28px;
  --radius-sm: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  color-scheme: dark;
}
body {
  min-height: 100vh;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 16% -5%, rgba(105, 255, 213, .15), transparent 34rem),
    radial-gradient(circle at 88% 8%, rgba(245, 187, 111, .12), transparent 38rem),
    linear-gradient(135deg, #030605 0%, #061410 46%, #030606 100%);
  overflow-x: hidden;
}
body.light {
  --bg: #eefbf7;
  --bg-2: #e5f7f2;
  --card: rgba(255, 255, 255, .72);
  --card-2: rgba(255, 255, 255, .88);
  --line: rgba(5, 96, 81, .17);
  --line-strong: rgba(5, 96, 81, .28);
  --text: #08211d;
  --muted: #45605a;
  --soft: #12362f;
  --shadow: 0 24px 70px rgba(17, 84, 76, .13);
  color-scheme: light;
  background:
    radial-gradient(circle at 10% -5%, rgba(32, 199, 189, .18), transparent 34rem),
    radial-gradient(circle at 90% 0%, rgba(245, 187, 111, .23), transparent 32rem),
    linear-gradient(135deg, #f4fffb 0%, #e9fbf6 54%, #ffffff 100%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; color: inherit; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 99;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--mint);
  color: #02110d;
  transform: translateY(-160%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-bg { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: -2; }
.grid-noise {
  position: absolute;
  inset: 0;
  opacity: .22;
  background-image:
    linear-gradient(rgba(105, 255, 213, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(105, 255, 213, .06) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 50% 20%, #000 0, transparent 72%);
}
.aurora {
  position: absolute;
  width: 38rem;
  height: 38rem;
  filter: blur(42px);
  border-radius: 999px;
  opacity: .22;
  animation: floaty 11s ease-in-out infinite;
}
.aurora-a { left: -16rem; top: 8rem; background: #24ffd0; }
.aurora-b { right: -16rem; top: 12rem; background: #e7a354; animation-delay: -4s; }
@keyframes floaty {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(30px, -22px, 0) scale(1.08); }
}
.cursor-glow {
  position: fixed;
  width: 22rem;
  height: 22rem;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(circle, rgba(105,255,213,.12), transparent 65%);
  opacity: 0;
  transition: opacity .2s ease;
}
body:hover .cursor-glow { opacity: 1; }

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: min(calc(100% - 28px), var(--max));
  margin: 14px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(3, 9, 8, .62);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transition: transform .36s cubic-bezier(.2,.9,.2,1), opacity .28s ease, background .25s ease, border-color .25s ease;
  will-change: transform;
}
.header.header-hidden {
  transform: translateY(calc(-100% - 22px));
  opacity: .02;
}
body.menu-open .header {
  transform: none !important;
  opacity: 1 !important;
}
body.light .header { background: rgba(255,255,255,.62); }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background:
    linear-gradient(135deg, rgba(105,255,213,.95), rgba(245,187,111,.92));
  color: #06110f;
  font-weight: 900;
  letter-spacing: -.06em;
  box-shadow: 0 0 34px rgba(105,255,213,.25);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-size: .98rem; letter-spacing: .04em; }
.brand-text small { color: var(--muted); margin-top: 4px; font-size: .76rem; }

.brand-mark-logo {
  background: rgba(255,255,255,.03);
  overflow: hidden;
  padding: 0;
}
.brand-mark-logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.brand-clean {
  background: transparent !important;
  object-fit: contain !important;
  padding: 12px;
}
.qr-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-top: 12px;
  filter: drop-shadow(0 0 20px rgba(105,255,213,.22));
}


.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
}
.nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: .92rem;
  transition: .18s ease;
}
.nav a:hover,
.nav a.active {
  color: var(--text);
  background: rgba(105, 255, 213, .08);
}
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn, .lang-btn, .menu-btn {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  border-radius: 999px;
  min-width: 42px;
  height: 42px;
  cursor: pointer;
}
.icon-btn:hover, .lang-btn:hover, .menu-btn:hover {
  border-color: var(--line-strong);
  background: rgba(105, 255, 213, .1);
}
.lang-btn { font-weight: 800; }
.menu-btn { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 4px; overflow: hidden; }
.menu-btn span { width: 18px; height: 2px; background: currentColor; border-radius: 99px; transition: transform .28s cubic-bezier(.2,.9,.2,1), opacity .2s ease, width .2s ease; }
.menu-btn.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; width: 4px; }
.menu-btn.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.section {
  width: min(calc(100% - 28px), var(--max));
  margin: 0 auto;
  padding: 88px 0;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  gap: 42px;
  min-height: calc(100vh - 86px);
  align-items: center;
  padding-top: 54px;
}
.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, .58fr);
  gap: 34px;
  align-items: center;
  min-height: 440px;
}
.compact { padding-top: 76px; padding-bottom: 54px; }
.eyebrow, .section-kicker {
  margin: 0 0 16px;
  color: var(--mint);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 800;
  font-size: .75rem;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 20px;
  font-size: clamp(2.75rem, 8vw, 6.9rem);
  line-height: .9;
  letter-spacing: -.08em;
}
.page-hero h1 { font-size: clamp(2.5rem, 6vw, 5.4rem); max-width: 980px; }
h2 {
  font-size: clamp(1.72rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -.045em;
  margin-bottom: 16px;
}
h3 { letter-spacing: -.02em; }
.gradient-text {
  background: linear-gradient(112deg, var(--text), var(--mint) 46%, var(--gold) 88%);
  -webkit-background-clip: text;
  color: transparent;
}
.hero-text, .page-hero p, .section-text {
  color: var(--muted);
  max-width: 720px;
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.7;
}
.hero-actions, .cta-actions, .action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  font-weight: 850;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.btn.primary {
  background: linear-gradient(135deg, var(--mint), var(--gold));
  color: #04110f;
  border-color: transparent;
  box-shadow: 0 0 36px rgba(105,255,213,.19);
}
.btn.ghost { background: rgba(105,255,213,.07); }
.btn.soft { background: rgba(245,187,111,.11); }
.btn.small { min-height: 38px; padding: 9px 13px; font-size: .9rem; }
.hero-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}
.hero-mini span, .footer-badges span, .tag, .chip-cloud span {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 10px;
  font-size: .82rem;
}
.glass, .resume-panel, .contact-card, .service-card, .data-note, .vibe-card, .qr-card, .work-contact-card, .coop-visual, .resume-photo-card {
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.025)),
    var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  border-radius: var(--radius);
}
.hero-visual { display: grid; gap: 16px; }
.hero-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.hero-showcase .showcase-tile:first-child {
  grid-row: span 2;
  min-height: 470px;
}
.showcase-tile {
  position: relative;
  overflow: hidden;
  min-height: 228px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card-2);
  box-shadow: var(--shadow);
}

.showcase-tile,
.game-shot {
  padding: 0;
  color: inherit;
  font: inherit;
  text-align: left;
}
.showcase-tile picture,
.game-shot picture,
.channel-img picture {
  display: block;
  width: 100%;
  height: 100%;
}

.showcase-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s ease, filter .3s ease;
}
.showcase-tile:hover img { transform: scale(1.05); filter: saturate(1.12); }
.showcase-tile .brand-clean { filter: drop-shadow(0 0 22px rgba(105,255,213,.18)); }
.showcase-label {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  padding: 11px 13px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  background: rgba(2,8,7,.62);
  backdrop-filter: blur(14px);
}
.work-strip {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: center;
  padding: 13px;
}
.work-strip img {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  object-fit: cover;
  border: 1px solid var(--line);
}
.work-strip p { margin: 5px 0 0; color: var(--muted); }
.work-strip a { color: var(--mint); }

.split-section {
  display: grid;
  grid-template-columns: .78fr 1.1fr;
  gap: 32px;
  align-items: end;
}
.brand-collage {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: 16px;
  align-items: stretch;
}
.image-card {
  min-height: 360px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.image-card.tall { min-height: 360px; grid-row: auto; }
.image-card img { width: 100%; height: 100%; object-fit: cover; }
.image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75), transparent 58%);
}
.image-card div {
  position: absolute;
  z-index: 1;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 4px;
}
.image-card span { color: #d7fff5; }

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 24px;
}
.game-list { display: grid; gap: 22px; }
.game-card {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
}
.game-media {
  position: relative;
  min-height: 340px;
  background:
    radial-gradient(circle at 50% 45%, rgba(105,255,213,.16), transparent 44%),
    linear-gradient(135deg, rgba(105,255,213,.09), rgba(245,187,111,.08));
}
.game-gallery {
  height: 100%;
  min-height: 340px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 10px;
}
.game-gallery.one { grid-template-columns: 1fr; }
.game-shot {
  border: 0;
  padding: 0;
  border-radius: 22px;
  overflow: hidden;
  cursor: zoom-in;
  background: rgba(255,255,255,.04);
}
.game-shot img { width: 100%; height: 100%; object-fit: cover; min-height: 150px; transition: transform .35s ease; }
.game-shot:hover img { transform: scale(1.04); }
.game-placeholder {
  height: 100%;
  min-height: 340px;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
}
.fake-window {
  width: min(360px, 92%);
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  overflow: hidden;
  background: rgba(0,0,0,.28);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05), 0 24px 60px rgba(0,0,0,.32);
}
.window-bar { display:flex; gap:7px; padding: 12px; border-bottom: 1px solid var(--line); }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--mint); opacity: .7; }
.window-body { padding: 32px 18px; }
.window-body strong { display: block; font-size: clamp(2rem, 5vw, 4rem); letter-spacing: -.07em; }
.window-body span { color: var(--muted); }
.game-body { padding: 30px; align-self: center; }
.game-body h3 { font-size: clamp(1.8rem, 4vw, 3.4rem); margin: 14px 0 10px; }
.game-body p { color: var(--muted); line-height: 1.7; }
.feature-list {
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
}
.feature-list li {
  position: relative;
  padding-left: 24px;
  color: var(--soft);
}
.feature-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--mint);
}
.game-actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }

.data-note {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 22px;
  align-items: center;
  padding: 26px;
}
.data-note p { color: var(--muted); line-height: 1.7; }
pre {
  margin: 0;
  overflow: auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(0,0,0,.24);
}
code { color: var(--mint); font-size: .88rem; line-height: 1.7; }

.cards-grid, .channel-grid, .service-grid, .contact-grid, .resume-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card, .channel-card, .contact-card, .service-card, .resume-panel {
  padding: 22px;
}
.card {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card p, .channel-card p, .contact-card p, .service-card p, .resume-panel p { color: var(--muted); line-height: 1.7; }
.channel-card {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--card);
}
.channel-card .channel-img {
  height: 245px;
  overflow: hidden;
}
.channel-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.channel-card:hover img { transform: scale(1.04); }
.channel-body { padding: 20px; }
.channel-note { color: var(--mint); font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; }
.channel-body h3 { font-size: 1.45rem; margin: 8px 0 4px; }
.handle { color: var(--gold); font-weight: 850; }
.open-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

.docs-section { padding-top: 40px; }
.resume-photo-card, .qr-card, .work-contact-card, .coop-visual {
  padding: 18px;
  display: grid;
  gap: 14px;
}
.resume-photo-card img, .work-contact-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  object-fit: cover;
  border: 1px solid var(--line);
}
.resume-photo-card strong, .work-contact-card strong { font-size: 1.4rem; }
.resume-photo-card span, .work-contact-card span { color: var(--muted); display: block; margin-top: 6px; }
.qr-card { text-align: center; align-content: center; justify-items: center; }
.qr-card img { width: min(230px, 100%); border-radius: 24px; }
.qr-card span { color: var(--muted); }
.chip-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.timeline {
  display: grid;
  gap: 14px;
}
.timeline div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.035);
}
.timeline span, .service-card span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  background: rgba(105,255,213,.1);
  color: var(--mint);
  font-weight: 900;
  margin-bottom: 14px;
}
.timeline p { color: var(--muted); line-height: 1.7; }
.vibe-card {
  display: grid;
  grid-template-columns: .62fr 1fr;
  gap: 24px;
  padding: 18px;
  align-items: center;
}
.vibe-card img { height: 330px; width: 100%; object-fit: cover; border-radius: 24px; }
.vibe-card p { color: var(--muted); line-height: 1.7; }
.contact-cta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 34px;
  margin-bottom: 70px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  background:
    radial-gradient(circle at 12% 0%, rgba(105,255,213,.16), transparent 32rem),
    var(--card);
  box-shadow: var(--shadow);
}
.contact-cta p { color: var(--muted); line-height: 1.7; max-width: 640px; }
.fake-form {
  display: grid;
  gap: 14px;
}
.fake-form label { display: grid; gap: 8px; color: var(--muted); }
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.045);
  border-radius: 18px;
  padding: 14px 15px;
  outline: none;
  color: var(--text);
}
input:focus, textarea:focus { border-color: var(--mint); box-shadow: 0 0 0 4px rgba(105,255,213,.1); }
.message-builder {
  display: grid;
  grid-template-columns: .8fr 1fr;
  gap: 24px;
  padding: 26px;
}
.message-builder p { color: var(--muted); line-height: 1.7; }
.coop-visual img { height: 360px; width: 100%; object-fit: cover; border-radius: 24px; }
.service-grid { grid-template-columns: repeat(4, 1fr); }

.footer {
  width: min(calc(100% - 28px), var(--max));
  margin: 0 auto 14px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(3,9,8,.70);
  backdrop-filter: blur(18px);
  border-radius: 32px;
  box-shadow: var(--shadow);
}
body.light .footer { background: rgba(255,255,255,.72); }
.footer-glow {
  position: absolute;
  inset: auto -10% -60% auto;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(105,255,213,.18), transparent 62%);
  pointer-events: none;
}
.footer-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, .72fr);
  gap: 28px;
  padding: 34px;
}
.footer p { color: var(--muted); line-height: 1.7; max-width: 420px; }
.footer h3 { margin-bottom: 14px; font-size: 1rem; }
.footer a { display: block; color: var(--muted); margin: 10px 0; }
.footer a:hover { color: var(--mint); }
.footer-logo { margin-bottom: 18px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding: 16px 34px;
  color: var(--muted);
  font-size: .9rem;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(10px);
}
.lightbox.open { display: grid; }
.lightbox img {
  max-width: min(1100px, 94vw);
  max-height: 80vh;
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.lightbox p { color: #fff; text-align: center; margin: 14px 0 0; }
.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.1);
  border-radius: 999px;
  cursor: pointer;
  color: #fff;
  font-size: 28px;
}
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }


.quote-section {
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 54px 34px;
  margin-top: -24px;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  background:
    radial-gradient(circle at 50% 0%, rgba(105,255,213,.16), transparent 32rem),
    linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.02)),
    var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.quote-section::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(105,255,213,.12), transparent);
  opacity: .75;
  pointer-events: none;
}
.quote-mark {
  position: absolute;
  top: -28px;
  left: 34px;
  font-size: 11rem;
  line-height: 1;
  color: rgba(105,255,213,.12);
  font-weight: 900;
}
.quote-section blockquote {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 900px;
}
.quote-section p {
  margin: 0 0 18px;
  font-size: clamp(1.7rem, 4vw, 4rem);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 900;
  color: var(--text);
}
.quote-section cite {
  font-style: normal;
  color: var(--mint);
  font-weight: 800;
  letter-spacing: .06em;
}
.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.form-actions .btn {
  flex: 1 1 190px;
}
.mailto-builder strong {
  color: var(--mint);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media (max-width: 1020px) {
  .header { align-items: center; }
  .menu-btn { display: inline-flex; }
  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(3,9,8,.86);
    backdrop-filter: blur(22px);
    box-shadow: 0 28px 80px rgba(0,0,0,.44);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px) scale(.96);
    transform-origin: top center;
    transition: opacity .24s ease, transform .28s cubic-bezier(.2,.9,.2,1), visibility .24s ease;
  }
  body.light .nav { background: rgba(255,255,255,.94); }
  .nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }
  .nav a {
    text-align: center;
    padding: 13px;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity .24s ease, transform .26s ease, background .18s ease, color .18s ease;
  }
  .nav.open a { opacity: 1; transform: translateY(0); }
  .nav.open a:nth-child(1) { transition-delay: .03s; }
  .nav.open a:nth-child(2) { transition-delay: .06s; }
  .nav.open a:nth-child(3) { transition-delay: .09s; }
  .nav.open a:nth-child(4) { transition-delay: .12s; }
  .nav.open a:nth-child(5) { transition-delay: .15s; }
  .nav.open a:nth-child(6) { transition-delay: .18s; }
  .hero, .page-hero, .split-section, .data-note, .message-builder, .vibe-card {
    grid-template-columns: 1fr;
  }
  .hero { min-height: auto; padding-top: 76px; }
  .hero-showcase .showcase-tile:first-child { min-height: 360px; }
  .brand-collage, .cards-grid, .channel-grid, .contact-grid, .resume-grid, .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .game-card { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .header {
    width: calc(100% - 18px);
    margin-top: 9px;
    padding: 9px;
    border-radius: 22px;
  }
  .brand-mark { width: 38px; height: 38px; border-radius: 13px; }
  .brand-text small { display: none; }
  .section {
    width: calc(100% - 18px);
    padding: 58px 0;
  }
  .compact { padding-top: 54px; padding-bottom: 34px; }
  h1 { font-size: clamp(2.55rem, 15vw, 4.3rem); }
  h2 { font-size: clamp(1.75rem, 9vw, 2.65rem); }
  .hero-actions .btn, .cta-actions .btn, .contact-card .btn { width: 100%; }
  .hero-showcase { grid-template-columns: 1fr; }
  .hero-showcase .showcase-tile:first-child, .showcase-tile { min-height: 280px; }
  .brand-collage, .cards-grid, .channel-grid, .contact-grid, .resume-grid, .service-grid, .footer-main {
    grid-template-columns: 1fr;
  }
  .image-card, .image-card.tall { min-height: 330px; }
  .section-head { align-items: start; flex-direction: column; }
  .game-gallery { grid-template-columns: 1fr; }
  .game-media, .game-gallery, .game-placeholder { min-height: 280px; }
  .game-body, .card, .channel-body, .contact-card, .service-card, .resume-panel { padding: 18px; }
  .data-note, .contact-cta, .message-builder { padding: 18px; }
  .contact-cta { flex-direction: column; align-items: stretch; }
  .vibe-card img { height: 260px; }
  .footer {
    width: calc(100% - 18px);
    border-radius: 26px;
  }
  .footer-main { padding: 24px; }
  .footer-bottom { padding: 14px 24px; flex-direction: column; }
}

@media (max-width: 410px) {
  .header-actions { gap: 5px; }
  .icon-btn, .lang-btn, .menu-btn { min-width: 38px; height: 38px; }
  .brand-text strong { font-size: .88rem; }
  .hero-mini span { width: 100%; text-align: center; }
}


/* v6 polish */
html, body { max-width: 100%; overflow-x: clip; }
.hero { grid-template-columns: minmax(0, 1fr) minmax(320px, .82fr); column-gap: clamp(24px, 4vw, 52px); }
.hero-copy { min-width: 0; }
.hero-copy h1 { max-width: 11.8ch; line-height: .92; }
.hero-text { max-width: 680px; }
.showcase-tile img[src*="duxalife-plaque"],
.showcase-tile img[src*="dx-icon"] {
  object-fit: contain;
  padding: 22px;
  background: radial-gradient(circle at 50% 50%, rgba(105,255,213,.08), transparent 58%);
}
.showcase-tile img[src*="byduxa-cube"] { object-position: center; }
.image-card img[src*="byduxa-cube"] { object-position: center; }
.image-card.tall img[src*="byduxa-cube"] { object-fit: cover; }
.card .tag,
.game-body .tag,
.channel-note {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 16px;
  line-height: 1.1;
}
.card h3,
.channel-card h3,
.contact-card h2,
.service-card h2 {
  margin-top: 0;
  margin-bottom: 16px;
  line-height: 1.16;
}
.card p,
.contact-card p,
.service-card p { margin-bottom: 20px; }
.cards-grid .card { min-height: 230px; display: flex; flex-direction: column; align-items: flex-start; }
.cards-grid .card .btn { margin-top: auto; }
.window-body { padding: 42px 22px; }
.window-body span { display: block; max-width: 24ch; margin: 12px auto 0; line-height: 1.45; }
.fake-window { background: rgba(0, 0, 0, .20); }
.data-note { display: none !important; }
.vibe-card { margin-bottom: 36px; }
.vibe-card img { object-position: center; }
.footer { margin-top: 8px; }
.cta-actions .btn { min-width: 126px; justify-content: center; }

@media (max-width: 1020px) {
  .hero-copy h1 { max-width: 12.5ch; }
}
@media (max-width: 680px) {
  .hero-copy h1 { max-width: 100%; font-size: clamp(2.25rem, 13vw, 3.7rem); line-height: .94; }
  .hero { padding-top: 58px; }
  .showcase-tile img[src*="duxalife-plaque"],
  .showcase-tile img[src*="dx-icon"] { padding: 16px; }
  .vibe-card { gap: 18px; }
  .vibe-card img { height: 320px; }
}

.work-strip p a { white-space: nowrap; }
.work-strip p { line-height: 1.7; }


.honeypot {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  pointer-events: none !important;
}
.form-status {
  margin: 0;
  min-height: 1.4em;
  color: var(--muted);
  line-height: 1.5;
}
.form-status.success { color: var(--mint); }
.form-status.error { color: #ffb4a8; }
.contact-bot-form strong { color: var(--mint); }


/* V11: scroll-reactive desktop background */
.scroll-orbs {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  pointer-events: none;
  contain: layout paint;
}
.scroll-orb {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--size, 28rem);
  height: var(--size, 28rem);
  border-radius: 999px;
  opacity: 0;
  filter: blur(var(--blur, 34px));
  background:
    radial-gradient(circle at 38% 36%, rgba(210,255,243,.85), rgba(105,255,213,.26) 24%, rgba(105,255,213,.09) 48%, transparent 72%);
  mix-blend-mode: screen;
  will-change: transform, opacity;
  transform: translate3d(-40vw, 0, 0) scale(.76);
}
.scroll-orb.gold {
  background:
    radial-gradient(circle at 38% 36%, rgba(255,231,176,.74), rgba(245,187,111,.24) 26%, rgba(245,187,111,.08) 50%, transparent 72%);
}
.scroll-orb.deep {
  background:
    radial-gradient(circle at 38% 36%, rgba(94,198,255,.45), rgba(47,121,255,.12) 32%, transparent 72%);
}
@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .scroll-orbs { display: none; }
}

/* V11: smaller, premium quote block */
.quote-section {
  padding: 38px 0 !important;
  margin-top: -10px !important;
  margin-bottom: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}
.quote-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 24px clamp(20px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(105,255,213,.12), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.025)),
    rgba(5, 19, 16, .66);
  box-shadow: 0 26px 80px rgba(0,0,0,.34);
  backdrop-filter: blur(18px);
  overflow: hidden;
}
.quote-card::after {
  content: "";
  position: absolute;
  inset: auto 20px 0 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(105,255,213,.52), transparent);
  opacity: .8;
}
.quote-mark {
  position: static !important;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  font-size: 4rem !important;
  line-height: 1 !important;
  color: var(--mint) !important;
  background: rgba(105,255,213,.10);
  border: 1px solid rgba(105,255,213,.20);
  text-shadow: 0 0 28px rgba(105,255,213,.32);
}
.quote-section blockquote {
  margin: 0 !important;
  max-width: none !important;
}
.quote-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .72rem;
  font-weight: 900;
}
.quote-section p {
  margin: 0 0 12px !important;
  font-size: clamp(1.12rem, 2vw, 1.8rem) !important;
  line-height: 1.22 !important;
  letter-spacing: -.025em !important;
  font-weight: 780 !important;
  color: var(--text);
}
.quote-section cite {
  display: inline-flex;
  font-style: normal;
  color: var(--mint);
  font-weight: 800;
  letter-spacing: .04em;
}
@media (max-width: 680px) {
  .quote-card {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 22px;
  }
  .quote-mark {
    width: 48px;
    height: 48px;
    font-size: 3.1rem !important;
  }
}


/* V13: cleaner galleries with 3 screenshots */
.game-gallery.count-3 {
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1fr 1fr;
}
.game-gallery.count-3 .game-shot:nth-child(1) {
  grid-column: 1 / -1;
}
.game-gallery.count-3 .game-shot img {
  min-height: 0;
}
@media (max-width: 680px) {
  .game-gallery.count-3 {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .game-gallery.count-3 .game-shot:nth-child(1) {
    grid-column: auto;
  }
}


/* v14 CTA buttons */
.contact-cta .cta-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: 12px;
  min-width: min(300px, 100%);
  margin-top: 0;
}
.contact-cta .cta-actions .btn {
  min-width: 0;
  width: 100%;
}
@media (max-width: 680px) {
  .contact-cta .cta-actions {
    grid-template-columns: 1fr;
    width: 100%;
  }
}


.message-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: -4px;
}
.message-examples button {
  border: 1px solid var(--line);
  background: rgba(105,255,213,.07);
  color: var(--muted);
  border-radius: 999px;
  padding: 9px 12px;
  font: inherit;
  font-size: .88rem;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, color .18s ease, background .18s ease;
}
.message-examples button:hover {
  transform: translateY(-1px);
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(105,255,213,.12);
}

/* V15: strong mobile adaptation patch */
@media (max-width: 760px) {
  :root {
    --radius: 22px;
    --radius-sm: 16px;
  }

  html,
  body {
    width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
  }

  body {
    background:
      radial-gradient(circle at 8% -6%, rgba(105, 255, 213, .12), transparent 22rem),
      radial-gradient(circle at 96% 2%, rgba(245, 187, 111, .10), transparent 22rem),
      linear-gradient(135deg, #030605 0%, #061410 52%, #030606 100%);
  }

  .cursor-glow,
  .scroll-orbs {
    display: none !important;
  }

  .aurora {
    width: 24rem;
    height: 24rem;
    filter: blur(34px);
    opacity: .14;
  }

  .grid-noise {
    background-size: 38px 38px;
    opacity: .16;
  }

  .header {
    position: sticky;
    top: max(8px, env(safe-area-inset-top));
    width: min(calc(100% - 16px), 560px);
    margin-top: 8px;
    padding: 8px;
    gap: 8px;
    border-radius: 20px;
  }

  .brand {
    min-width: 0;
    gap: 9px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    flex: 0 0 auto;
  }

  .brand-text {
    min-width: 0;
  }

  .brand-text strong {
    font-size: .84rem;
    white-space: nowrap;
  }

  .brand-text small {
    display: none !important;
  }

  .menu-btn {
    min-width: 38px;
    height: 38px;
  }

  .nav {
    top: calc(100% + 8px);
    max-height: min(72vh, 430px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 10px;
    border-radius: 20px;
  }

  .nav a {
    padding: 13px 12px;
    font-size: .98rem;
  }

  .section {
    width: min(calc(100% - 16px), 560px);
    padding: 40px 0;
  }

  .compact {
    padding-top: 40px;
    padding-bottom: 28px;
  }

  .hero,
  .page-hero {
    gap: 24px;
    min-height: auto;
    padding-top: 38px;
    align-items: start;
  }

  .hero-copy h1,
  .page-hero h1,
  h1 {
    max-width: 100%;
    margin-bottom: 14px;
    font-size: clamp(2.05rem, 11.2vw, 3.25rem) !important;
    line-height: .98 !important;
    letter-spacing: -.058em;
  }

  h2 {
    font-size: clamp(1.45rem, 7vw, 2.15rem) !important;
    line-height: 1.08;
    letter-spacing: -.04em;
  }

  .eyebrow,
  .section-kicker {
    margin-bottom: 12px;
    font-size: .68rem;
    line-height: 1.45;
    letter-spacing: .13em;
  }

  .hero-text,
  .page-hero p,
  .section-text,
  .card p,
  .channel-card p,
  .contact-card p,
  .service-card p,
  .resume-panel p,
  .timeline p,
  .vibe-card p,
  .contact-cta p,
  .message-builder p,
  .work-strip p {
    font-size: .96rem;
    line-height: 1.58;
  }

  .hero-actions,
  .cta-actions,
  .action-row,
  .open-row,
  .game-actions,
  .form-actions {
    gap: 9px;
    margin-top: 18px;
  }

  .btn {
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    border-radius: 16px;
    text-align: center;
  }

  .btn.small {
    min-height: 42px;
    padding: 10px 12px;
    font-size: .9rem;
  }

  .hero-actions .btn,
  .open-row .btn,
  .game-actions .btn,
  .contact-card .btn,
  .form-actions .btn {
    flex: 1 1 100%;
  }

  .hero-mini {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin-top: 18px;
  }

  .hero-mini span,
  .footer-badges span,
  .tag,
  .chip-cloud span {
    min-width: 0;
    padding: 7px 8px;
    font-size: .76rem;
    text-align: center;
    line-height: 1.25;
  }

  .hero-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px;
  }

  .hero-showcase .showcase-tile:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 210px !important;
  }

  .showcase-tile {
    min-height: 145px !important;
    border-radius: 18px;
  }

  .showcase-label {
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 8px 9px;
    border-radius: 14px;
    align-items: start;
    flex-direction: column;
  }

  .showcase-label strong {
    font-size: .86rem;
  }

  .showcase-label small {
    font-size: .72rem;
    line-height: 1.25;
  }

  .showcase-tile img[src*="duxalife-plaque"],
  .showcase-tile img[src*="dx-icon"] {
    padding: 13px !important;
  }

  .work-strip {
    grid-template-columns: 52px 1fr;
    gap: 10px;
    padding: 10px;
    border-radius: 20px;
  }

  .work-strip img {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }

  .work-strip p {
    display: flex;
    flex-wrap: wrap;
    gap: 3px 7px;
    margin-top: 4px;
  }

  .work-strip p a {
    white-space: nowrap;
  }

  .split-section {
    gap: 12px;
    align-items: start;
  }

  .brand-collage {
    gap: 10px;
    padding-top: 6px;
  }

  .image-card,
  .image-card.tall {
    min-height: 235px !important;
    border-radius: 22px;
  }

  .image-card div {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .section-head {
    gap: 10px;
    margin-bottom: 16px;
  }

  .section-head .btn {
    width: 100%;
  }

  .game-list {
    gap: 14px;
  }

  .game-card {
    border-radius: 24px;
  }

  .game-media,
  .game-gallery,
  .game-placeholder {
    min-height: 0 !important;
  }

  .game-gallery {
    display: flex !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
    gap: 9px;
    height: auto;
    min-height: 0;
    padding: 9px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .game-gallery::-webkit-scrollbar {
    height: 0;
  }

  .game-gallery .game-shot,
  .game-gallery.count-3 .game-shot:nth-child(1) {
    grid-column: auto;
    flex: 0 0 min(82vw, 330px);
    min-width: 0;
    aspect-ratio: 16 / 10;
    border-radius: 17px;
    scroll-snap-align: start;
  }

  .game-gallery.one .game-shot {
    flex-basis: 100%;
  }

  .game-shot picture,
  .game-shot img {
    height: 100%;
  }

  .game-shot img {
    min-height: 0 !important;
  }

  .game-placeholder {
    padding: 12px;
  }

  .fake-window {
    width: 100%;
    border-radius: 18px;
  }

  .window-body {
    padding: 28px 16px;
  }

  .window-body strong {
    font-size: clamp(1.65rem, 9vw, 2.4rem);
  }

  .game-body,
  .card,
  .channel-body,
  .contact-card,
  .service-card,
  .resume-panel {
    padding: 17px;
  }

  .game-body h3,
  .channel-body h3,
  .card h3 {
    font-size: clamp(1.35rem, 6.4vw, 2rem);
    line-height: 1.08;
    margin: 10px 0 8px;
  }

  .feature-list {
    gap: 8px;
    margin-top: 14px;
  }

  .feature-list li {
    padding-left: 20px;
    line-height: 1.45;
  }

  .cards-grid,
  .channel-grid,
  .service-grid,
  .contact-grid,
  .resume-grid,
  .footer-main {
    gap: 10px;
  }

  .cards-grid .card {
    min-height: 0;
  }

  .channel-card {
    min-height: 0;
    border-radius: 22px;
  }

  .channel-card .channel-img {
    height: 190px;
  }

  .resume-photo-card,
  .work-contact-card {
    grid-template-columns: 82px 1fr;
    align-items: center;
    gap: 12px;
    padding: 13px;
    border-radius: 22px;
  }

  .resume-photo-card img,
  .work-contact-card img {
    width: 82px;
    height: 82px;
    aspect-ratio: auto;
    border-radius: 18px;
  }

  .resume-photo-card strong,
  .work-contact-card strong {
    font-size: 1.08rem;
    line-height: 1.2;
  }

  .resume-photo-card span,
  .work-contact-card span {
    margin-top: 4px;
    font-size: .86rem;
    line-height: 1.35;
  }

  .chip-cloud {
    gap: 7px;
  }

  .chip-cloud span {
    text-align: left;
  }

  .timeline {
    gap: 10px;
  }

  .timeline div {
    padding: 17px;
    border-radius: 20px;
  }

  .timeline span,
  .service-card span {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    margin-bottom: 10px;
  }

  .vibe-card,
  .message-builder,
  .contact-cta,
  .data-note {
    padding: 17px;
    border-radius: 22px;
  }

  .vibe-card {
    gap: 14px;
    margin-bottom: 20px;
  }

  .vibe-card img {
    height: 230px !important;
    border-radius: 18px;
  }

  .qr-card {
    padding: 17px;
  }

  .qr-card img,
  .qr-logo {
    width: min(180px, 78vw);
  }

  .contact-cta {
    margin-bottom: 38px;
  }

  .contact-cta .cta-actions {
    grid-template-columns: 1fr !important;
    min-width: 0;
    width: 100%;
    margin-top: 0;
  }

  .message-builder {
    gap: 16px;
  }

  .fake-form {
    gap: 11px;
  }

  input,
  textarea {
    border-radius: 15px;
    padding: 13px 14px;
    font-size: 16px;
  }

  textarea {
    min-height: 132px;
    resize: vertical;
  }

  .message-examples {
    gap: 7px;
  }

  .message-examples button {
    flex: 1 1 100%;
    border-radius: 15px;
    padding: 10px 12px;
    text-align: left;
  }

  .coop-visual {
    padding: 14px;
    border-radius: 22px;
  }

  .coop-visual img {
    height: min(330px, 72vw);
    border-radius: 18px;
    object-fit: contain;
  }

  .quote-section {
    padding: 28px 0 !important;
  }

  .quote-card {
    gap: 10px;
    padding: 18px;
    border-radius: 22px;
  }

  .quote-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    font-size: 2.75rem !important;
  }

  .quote-kicker {
    font-size: .64rem;
    letter-spacing: .12em;
  }

  .quote-section p {
    font-size: clamp(1.05rem, 5.2vw, 1.42rem) !important;
    line-height: 1.24 !important;
  }

  .footer {
    width: min(calc(100% - 16px), 560px);
    margin-bottom: 8px;
    border-radius: 24px;
  }

  .footer-main {
    padding: 20px;
  }

  .footer h3 {
    margin: 6px 0 10px;
  }

  .footer a {
    margin: 8px 0;
  }

  .footer-bottom {
    padding: 13px 20px calc(13px + env(safe-area-inset-bottom));
    gap: 6px;
  }

  .lightbox {
    padding: 12px;
  }

  .lightbox img {
    max-width: 94vw;
    max-height: 72vh;
    border-radius: 18px;
  }

  .lightbox-close {
    top: max(10px, env(safe-area-inset-top));
    right: 10px;
    width: 42px;
    height: 42px;
    font-size: 25px;
  }
}

@media (max-width: 430px) {
  .section,
  .header,
  .footer {
    width: calc(100% - 12px);
  }

  .hero,
  .page-hero {
    padding-top: 30px;
  }

  .hero-copy h1,
  .page-hero h1,
  h1 {
    font-size: clamp(1.92rem, 10.8vw, 2.78rem) !important;
  }

  .hero-mini {
    grid-template-columns: 1fr;
  }

  .hero-mini span {
    width: 100%;
  }

  .hero-showcase .showcase-tile:first-child {
    min-height: 190px !important;
  }

  .showcase-tile {
    min-height: 128px !important;
  }

  .image-card,
  .image-card.tall {
    min-height: 215px !important;
  }

  .channel-card .channel-img {
    height: 176px;
  }

  .resume-photo-card,
  .work-contact-card {
    grid-template-columns: 70px 1fr;
  }

  .resume-photo-card img,
  .work-contact-card img {
    width: 70px;
    height: 70px;
  }
}

@media (max-width: 360px) {
  .brand-text strong {
    font-size: .78rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .menu-btn {
    min-width: 36px;
    height: 36px;
  }

  .btn {
    min-height: 44px;
    padding-left: 11px;
    padding-right: 11px;
  }

  .showcase-label small {
    display: none;
  }
}
