:root {
  --bg: #060607;
  --bg-soft: #0c0c10;
  --glass: rgba(5, 5, 7, 0.84);
  --glass-soft: rgba(11, 11, 14, 0.74);
  --line: rgba(255, 255, 255, 0.14);
  --text: #f4f4f6;
  --muted: #d0d0d8;
  --accent: #ff7a00;
  --accent-2: #ff9b2e;
  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --container: min(1180px, calc(100vw - 24px));
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Rajdhani", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 8%, rgba(255, 122, 0, 0.14), transparent 32%),
    radial-gradient(circle at 84% 90%, rgba(255, 122, 0, 0.12), transparent 34%),
    linear-gradient(180deg, #070709 0%, #040406 100%);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  background: #040406;
  overflow: hidden;
  transition: opacity 320ms ease, visibility 320ms ease;
  animation: preloadAutoHide 0s linear 9s forwards;
}

.preloader.hide {
  opacity: 0;
  visibility: hidden;
}

@keyframes preloadAutoHide {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

.intro-reel {
  position: absolute;
  inset: 0;
}

.intro-slide,
.intro-overlay {
  position: absolute;
  inset: 0;
}

.intro-slide {
  opacity: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: opacity 320ms ease, transform 460ms ease;
  transform: scale(1.04);
}

.intro-slide.active {
  opacity: 1;
  transform: scale(1.01);
}

.intro-overlay {
  background:
    radial-gradient(circle at 50% 10%, rgba(255, 122, 0, 0.18), transparent 38%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.74));
}

.intro-logo-wrap {
  position: relative;
  z-index: 3;
  text-align: center;
  display: grid;
  gap: 12px;
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition: opacity 360ms ease, transform 360ms ease;
}

.preloader.show-logo .intro-logo-wrap {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.preloader.show-logo .intro-reel {
  filter: blur(2px) brightness(0.72);
}

.intro-logo-wrap img {
  width: min(460px, 86vw);
  border-radius: 16px;
  box-shadow: 0 24px 66px rgba(0, 0, 0, 0.56);
}

.intro-logo-wrap p {
  margin: 0;
  color: var(--accent);
  letter-spacing: 0.14em;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(0.74rem, 1.8vw, 0.96rem);
}

.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)), var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(4px) saturate(110%);
  -webkit-backdrop-filter: blur(4px) saturate(110%);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.36);
}

.glass-soft {
  background: var(--glass-soft);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.topbar,
.hero,
.visual-puzzle,
.instagram-shell,
.listing-entry,
.footer {
  width: var(--container);
  margin-inline: auto;
}

.topbar {
  margin-top: 8px;
  border-radius: var(--radius-lg);
  padding: 7px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  position: relative;
  z-index: 20;
}

.logo-wrap {
  flex: 0 0 auto;
}

.logo-wrap img {
  width: min(360px, 56vw);
  display: block;
  border-radius: 8px;
}

.showroom-pill {
  min-height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Orbitron", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: #1f1200;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  box-shadow: 0 8px 20px rgba(255, 122, 0, 0.34);
  white-space: nowrap;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.lang-switch {
  border-radius: 999px;
  padding: 3px;
  display: inline-flex;
  gap: 3px;
}

.lang {
  min-width: 40px;
  min-height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #ececf2;
  font-weight: 700;
  font-size: 0.9rem;
}

.lang.active {
  color: #1c1000;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
}

.action-btn {
  min-height: 34px;
  border-radius: 999px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.action-btn:hover,
.action-btn:focus-visible {
  transform: translateY(-1px);
}

.action-btn.primary {
  color: #1c0f00;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  box-shadow: 0 8px 20px rgba(255, 122, 0, 0.32);
}

.action-btn.ghost {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(7, 7, 10, 0.54);
}

main {
  width: var(--container);
  margin: 12px auto 0;
  display: grid;
  gap: 12px;
}

.hero {
  border-radius: var(--radius-xl);
  padding: clamp(16px, 3vw, 28px);
  text-align: center;
  display: grid;
  gap: 10px;
  justify-items: center;
}

.hero-logo {
  width: min(340px, 82vw);
  border-radius: 12px;
}

.hero-kicker {
  margin: 0;
  font-family: "Orbitron", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--accent-2);
}

.hero h1 {
  margin: 0;
  font-family: "Orbitron", sans-serif;
  letter-spacing: 0.05em;
  font-size: clamp(1.14rem, 2.6vw, 1.78rem);
}

.hero p {
  margin: 0;
  max-width: 820px;
  color: var(--muted);
  font-size: clamp(0.98rem, 2.1vw, 1.1rem);
}

.hero-links {
  margin-top: 2px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-tags,
.puzzle-notes,
.insta-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.hero-tags span,
.puzzle-notes span,
.insta-badges span {
  min-height: 30px;
  border-radius: 999px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.44);
  color: #efeff4;
  font-weight: 600;
  font-size: 0.93rem;
}

.visual-puzzle,
.instagram-shell,
.listing-entry {
  border-radius: var(--radius-xl);
  padding: clamp(14px, 2.8vw, 22px);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.section-head h2 {
  margin: 0;
  font-family: "Orbitron", sans-serif;
  letter-spacing: 0.05em;
  font-size: clamp(1.02rem, 2.5vw, 1.4rem);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.section-head-stack {
  align-items: flex-start;
  flex-direction: column;
  gap: 6px;
}

.puzzle-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 56px;
  gap: 10px;
}

.puzzle-card {
  margin: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.58);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
}

.puzzle-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transform: scale(1.01);
}

.p1 { grid-column: 1 / span 4; grid-row: 1 / span 7; }
.p2 { grid-column: 5 / span 4; grid-row: 1 / span 5; }
.p3 { grid-column: 9 / span 4; grid-row: 1 / span 7; }
.p4 { grid-column: 1 / span 4; grid-row: 8 / span 5; }
.p5 { grid-column: 5 / span 4; grid-row: 6 / span 7; }
.p6 { grid-column: 9 / span 4; grid-row: 8 / span 5; }
.p7 { grid-column: 4 / span 6; grid-row: 13 / span 6; }

.cut-a {
  border-radius: 30px 8px 24px 10px;
  clip-path: polygon(6% 0, 100% 0, 100% 90%, 94% 100%, 0 100%, 0 10%);
}

.cut-b {
  border-radius: 10px 26px 8px 24px;
  clip-path: polygon(0 0, 94% 0, 100% 14%, 100% 100%, 8% 100%, 0 90%);
}

.cut-c {
  border-radius: 16px 28px 14px 20px;
  clip-path: polygon(8% 0, 100% 0, 100% 92%, 92% 100%, 0 100%, 0 8%);
}

.cut-d {
  border-radius: 26px 10px 22px 12px;
  clip-path: polygon(0 0, 92% 0, 100% 8%, 100% 100%, 0 100%, 0 12%);
}

.puzzle-notes {
  margin-top: 12px;
}

.instagram-layout {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 12px;
  align-items: stretch;
}

.insta-info {
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 122, 0, 0.2), transparent 46%),
    rgba(0, 0, 0, 0.42);
  padding: 14px;
  display: grid;
  gap: 8px;
}

.insta-label {
  margin: 0;
  font-family: "Orbitron", sans-serif;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  color: var(--accent-2);
}

.insta-info h3 {
  margin: 0;
  font-size: clamp(1.08rem, 2vw, 1.34rem);
  letter-spacing: 0.02em;
}

.insta-info p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.instagram-frame-wrap {
  border-radius: 22px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(155deg, rgba(255, 122, 0, 0.18), rgba(255, 122, 0, 0.04)),
    rgba(0, 0, 0, 0.58);
  min-height: 500px;
}

.instagram-frame-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 480px;
  border: 0;
  border-radius: 14px;
  background: #0b0b10;
}

.entry-grid {
  margin-top: 12px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.entry-card {
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.46);
  padding: 12px;
  display: grid;
  gap: 8px;
}

.entry-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.entry-card p {
  margin: 0;
  color: #dadbe2;
  font-size: 0.98rem;
  min-height: 52px;
}

.entry-card .action-btn {
  justify-self: start;
}

.wa-float {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 50;
  min-height: 42px;
  border-radius: 999px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #1b0f00;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  box-shadow: 0 12px 30px rgba(255, 122, 0, 0.35);
}

.footer {
  margin-top: 12px;
  margin-bottom: 66px;
  border-radius: var(--radius-lg);
  padding: 12px;
  text-align: center;
  display: grid;
  gap: 5px;
}

.footer p,
.footer small {
  margin: 0;
  color: #ececf3;
  font-size: 0.93rem;
}

.footer small,
.footer a {
  color: var(--accent-2);
}

@media (max-width: 1080px) {
  .puzzle-grid {
    grid-auto-rows: 50px;
  }

  .entry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .instagram-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .topbar {
    flex-wrap: wrap;
    justify-content: center;
  }

  .showroom-pill {
    order: 3;
  }

  .top-actions {
    justify-content: center;
  }

  .puzzle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 190px;
  }

  .p1, .p2, .p3, .p4, .p5, .p6, .p7 {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .logo-wrap img {
    width: min(92vw, 340px);
  }

  .section-head,
  .hero-links {
    flex-direction: column;
    align-items: stretch;
  }

  .section-head .action-btn,
  .hero-links .action-btn,
  .entry-card .action-btn {
    width: 100%;
  }

  .entry-grid {
    grid-template-columns: 1fr;
  }

  .entry-card p {
    min-height: 0;
  }

  .instagram-frame-wrap,
  .instagram-frame-wrap iframe {
    min-height: 440px;
  }

  .puzzle-grid {
    grid-auto-rows: 168px;
    gap: 8px;
  }
}

/* ===== Version 1.1 Enhancements ===== */
html {
  -webkit-text-size-adjust: 100%;
}

body {
  touch-action: pan-y;
  overscroll-behavior-x: none;
}

.topbar {
  margin-top: 14px;
  padding: 8px 12px;
  transition: background 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.logo-wrap img {
  transition: opacity 220ms ease, transform 220ms ease;
}

.topbar.compact {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34);
}

.topbar.compact .logo-wrap img {
  opacity: 0.42;
  transform: translateY(-4px) scale(0.92);
}

main {
  gap: 14px;
  padding-bottom: 8px;
}

.reveal {
  opacity: 1;
  transform: none;
}

.motion-enabled .reveal {
  opacity: 0;
  transform: translateY(18px) scale(0.99);
  transition: opacity 460ms ease, transform 460ms ease;
}

.motion-enabled .reveal.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.scoreboard {
  border-radius: var(--radius-xl);
  padding: clamp(12px, 2.3vw, 18px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.score-card {
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 122, 0, 0.18), transparent 40%),
    rgba(0, 0, 0, 0.44);
  padding: 12px;
  display: grid;
  gap: 6px;
}

.score-card p,
.score-card small {
  margin: 0;
}

.score-card p {
  color: #ececf4;
  font-weight: 600;
  font-size: 1rem;
}

.score-card small {
  color: var(--muted);
  font-size: 0.92rem;
}

.score-number {
  font-family: "Orbitron", sans-serif;
  letter-spacing: 0.06em;
  font-size: clamp(1.35rem, 3.4vw, 2rem);
  color: var(--accent-2);
}

.puzzle-card {
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.puzzle-card img {
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
  transition: transform 220ms ease;
}

.puzzle-card:hover,
.puzzle-card.active {
  border-color: rgba(255, 155, 46, 0.55);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.42);
  transform: translateY(-2px);
}

.puzzle-card:hover img,
.puzzle-card.active img {
  transform: scale(1.14);
}

.insta-label {
  letter-spacing: 0.08em;
}

@media (max-width: 900px) {
  .topbar {
    margin-top: 10px;
    padding: 8px;
    gap: 8px;
  }

  .showroom-pill {
    order: 2;
  }

  .top-actions {
    width: 100%;
    order: 3;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .top-actions::-webkit-scrollbar {
    display: none;
  }

  .action-btn,
  .lang-switch {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .scoreboard {
    grid-template-columns: 1fr;
  }

  .puzzle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 220px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 14px;
  }

  .hero-logo {
    width: min(320px, 92vw);
  }

  .puzzle-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 258px;
    gap: 10px;
  }

  .score-card {
    padding: 12px 10px;
  }

  .score-number {
    font-size: clamp(1.26rem, 7vw, 1.68rem);
  }

  .instagram-frame-wrap,
  .instagram-frame-wrap iframe {
    min-height: 420px;
  }
}

/* ===== Version 1.2 Smooth Corporate Layout ===== */
:root {
  --ok: #2ee06d;
}

main {
  gap: 12px;
}

.topbar {
  margin-top: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.logo-wrap img {
  width: min(500px, 74vw);
  max-width: 100%;
  transition: opacity 220ms ease, transform 220ms ease;
}

.topbar .top-actions {
  margin-left: auto;
  justify-content: flex-end;
}

.brand-stage {
  position: relative;
  overflow: hidden;
  min-height: clamp(260px, 40vw, 360px);
  padding: clamp(16px, 3vw, 24px);
}

.brand-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(4, 5, 8, 0.42), rgba(4, 5, 8, 0.78) 58%),
    url("../assets/media/scene-01.png") center 38% / cover no-repeat;
  transform: scale(1.02);
}

.brand-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 122, 0, 0.26), transparent 38%),
    radial-gradient(circle at 84% 84%, rgba(255, 122, 0, 0.12), transparent 44%);
}

.brand-stage-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(240px, 1fr) auto;
  align-items: center;
  gap: 16px;
}

.stage-logo {
  width: min(620px, 92%);
  max-width: 100%;
  display: block;
  filter: drop-shadow(0 16px 34px rgba(0, 0, 0, 0.58));
}

.stage-copy {
  display: grid;
  gap: 8px;
}

.stage-kicker {
  margin: 0;
  font-family: "Orbitron", sans-serif;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--accent-2);
}

.stage-copy h1 {
  margin: 0;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(1.16rem, 2.5vw, 1.76rem);
  letter-spacing: 0.04em;
}

.stage-desc {
  margin: 0;
  color: #ececf4;
  font-size: clamp(0.97rem, 1.8vw, 1.05rem);
  max-width: 46ch;
}

.stage-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.status-badge,
.location-badge {
  min-height: 30px;
  border-radius: 999px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(0, 0, 0, 0.5);
  color: #f2f2f6;
  font-size: 0.9rem;
  font-weight: 600;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(46, 224, 109, 0.7);
  animation: pulseOnline 2s infinite;
}

@keyframes pulseOnline {
  0% { box-shadow: 0 0 0 0 rgba(46, 224, 109, 0.7); }
  70% { box-shadow: 0 0 0 9px rgba(46, 224, 109, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 224, 109, 0); }
}

.stage-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.scoreboard {
  margin-top: 0;
}

@media (max-width: 1100px) {
  .brand-stage-content {
    grid-template-columns: 1fr;
    gap: 12px;
    justify-items: center;
    text-align: center;
  }

  .stage-copy {
    justify-items: center;
  }

  .stage-desc {
    max-width: 64ch;
  }

  .stage-actions {
    justify-content: center;
  }
}

.topbar.compact .logo-wrap img {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .topbar {
    padding: 8px;
    gap: 8px;
  }

  .logo-wrap img {
    width: min(94vw, 540px);
  }

  .topbar .top-actions {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .topbar .top-actions::-webkit-scrollbar {
    display: none;
  }

  .brand-stage {
    min-height: 300px;
  }
}

@media (max-width: 640px) {
  .brand-stage {
    min-height: 132px;
    padding: 12px;
  }

  .brand-stage::before {
    background-position: center 36%;
  }

  .stage-logo {
    width: min(90vw, 400px);
  }

  .stage-copy h1 {
    font-size: clamp(1.06rem, 5.8vw, 1.38rem);
  }

  .stage-meta {
    justify-content: center;
  }

  .stage-actions {
    width: 100%;
  }

  .stage-actions .action-btn {
    flex: 1 1 100%;
  }

  .puzzle-grid {
    grid-auto-rows: 232px;
  }
}

.status-dot.offline {
  background: #8b8f9a;
  box-shadow: none;
  animation: none;
}

.topbar.compact .logo-wrap img {
  opacity: 0.76;
  transform: translateY(-2px) scale(0.97);
}

/* ===== Hotfix: compact top area + clean instagram block ===== */
.topbar {
  margin-top: 8px;
  padding: 9px 12px;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: center;
  gap: 8px;
}

.logo-wrap img {
  width: clamp(260px, 32vw, 420px);
  height: auto;
  border-radius: 14px;
}

.topbar .top-actions {
  margin-left: 0;
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
}

.topbar .showroom-pill {
  margin: 0;
}

.brand-stage {
  min-height: clamp(132px, 18vw, 180px);
  padding: 10px 12px;
}

.brand-stage-content {
  grid-template-columns: minmax(320px, 1fr) auto;
}

.stage-logo {
  width: clamp(260px, 35vw, 480px);
  height: auto;
  border-radius: 14px;
}

.instagram-layout {
  display: block;
}

.insta-note {
  margin: 8px 0 0;
  color: #cfd1d8;
  font-size: 0.94rem;
  letter-spacing: 0.01em;
}

.instagram-frame-wrap {
  max-width: 760px;
  margin: 12px auto 0;
}

.entry-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.member-card {
  align-content: start;
}

.member-form {
  margin-top: 2px;
  display: grid;
  gap: 8px;
}

.member-form input {
  width: 100%;
  min-height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(5, 5, 9, 0.62);
  color: #f4f4f8;
  padding: 0 12px;
  outline: none;
}

.member-form input:focus {
  border-color: rgba(255, 148, 31, 0.72);
  box-shadow: 0 0 0 2px rgba(255, 122, 0, 0.2);
}

.member-status {
  min-height: 18px;
  font-size: 0.86rem;
  color: #a8adb8;
}

.member-status.ok {
  color: #7de59a;
}

.member-status.error {
  color: #ff9696;
}

@media (max-width: 900px) {
  .topbar {
    padding: 8px 10px;
  }

  .logo-wrap img {
    width: min(90vw, 390px);
    height: auto;
  }

  .brand-stage {
    min-height: 140px;
  }

  .brand-stage-content {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .stage-actions {
    justify-content: center;
  }
}
