/* ============================================================
   BUBU Studio · macOS-Desktop Showcase
   ============================================================ */

:root {
  --coral: #E85D6E;
  --saffron: #D19900;
  --terracotta: #C97B5A;
  --berry: #7A1638;
  --limestone: #F5EFE6;
  --text: #1A1715;
  --text-muted: #6B6660;
  --text-faint: #A9A39C;
  --border: #D4D1CA;
  --white: #FFFFFF;

  --menubar-h: 28px;
  --dock-h: 96px;

  --shadow-window: 0 12px 40px rgba(0,0,0,0.18), 0 2px 6px rgba(0,0,0,0.08);
  --radius-window: 12px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif;
  font-size: 14px;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100%;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}

/* ============ DESKTOP ============ */
body {
  background-image: url('assets/wallpaper.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

body::before {
  /* Subtle dark overlay to make icon labels readable */
  content: '';
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(0,0,0,0.0) 30%, rgba(0,0,0,0.0) 70%, rgba(0,0,0,0.10) 100%);
  pointer-events: none;
  z-index: 1;
}

.desktop {
  position: absolute;
  top: var(--menubar-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
}

/* ============ MENUBAR ============ */
.menubar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--menubar-h);
  background: rgba(245, 239, 230, 0.55);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  z-index: 1000;
}

.menubar__left, .menubar__right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.menubar__logo {
  display: inline-flex;
  align-items: center;
  color: var(--text);
}

.menubar__item {
  cursor: default;
  white-space: nowrap;
}

.menubar__brand {
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* ============ ICON GRID ============ */
.icon-grid {
  position: absolute;
  top: 40px;
  left: 0;
  right: 0;
  bottom: calc(var(--dock-h) + 40px);
  padding: 0 60px;
  pointer-events: none;
  --icon-w: 84px;
  --icon-h: 100px;
}

/* Home page: five icons stacked in one column. Icons ~20% larger than baseline. */
.icon-grid--home {
  --icon-w: 116px;
  --icon-h: 156px;
}

/* Prevent label wrap so "About Founders" stays on one line and rows line up. */
.icon-grid--home .icon__label {
  white-space: nowrap;
  font-size: 12px;
}

.icon {
  position: absolute;
  width: var(--icon-w);
  height: var(--icon-h);
  background: transparent;
  border: none;
  cursor: grab;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 8px 4px;
  border-radius: 8px;
  transition: background 0.15s, transform 0.18s cubic-bezier(.2,.7,.3,1.2), box-shadow 0.18s;
  pointer-events: auto;
  font: inherit;
  color: inherit;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  box-sizing: border-box;
}

/* Anchor icons never underline the label (browsers underline by default) */
a.icon,
a.icon:hover,
a.icon:focus,
a.icon:visited {
  text-decoration: none;
  color: inherit;
}
a.icon .icon__label { text-decoration: none; }

.icon:active {
  cursor: grabbing;
}

.icon.is-dragging {
  z-index: 50;
  transform: scale(1.06);
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
  transition: none;
  background: rgba(255,255,255,0.28);
  backdrop-filter: blur(8px);
}

.icon:hover {
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
}

.icon:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.icon__art {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  background: #fff;
}

/* Drip sticker icons. Transparent background, no shadow, art bleeds to edges.
   Portrait-oriented container so the full drip (including bottom pillars) is visible.
   Aspect ratio matches sticker (~0.74) so no vertical crop. */
.icon__art--drip {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
  width: 96px;
  height: 132px;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.14));
}

.icon__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Drip stickers must fit fully inside their box (contain) — override the generic cover above.
   Higher specificity via `.icon__art.icon__art--drip` ensures this wins the cascade. */
.icon__art.icon__art--drip img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center center;
  display: block;
}

.icon__art--folder {
  background: transparent;
  box-shadow: none;
}

/* Tool sticker (workshop tufting gun). Landscape orientation ~1.15:1.
   Uses the full icon-box height so the sticker reads at the same visual weight as drips. */
.icon__art.icon__art--tool {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
  width: 116px;
  height: 132px;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.14));
}

.icon__art.icon__art--tool img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center center;
  display: block;
}

.icon__art--logo {
  background: #fff;
  padding: 6px;
  box-sizing: border-box;
}

.icon__art--logo img {
  object-fit: contain !important;
}

.icon__art--monogram {
  background: linear-gradient(135deg, rgb(232, 93, 110) 0%, rgb(209, 0, 116) 50%, rgb(255, 159, 0) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.5px;
  font-style: italic;
}

.icon__art--workshop {
  background: transparent;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon__art--workshop svg {
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

.icon__art--workshop-w {
  background: linear-gradient(135deg, rgb(3, 214, 255) 0%, rgb(209, 202, 0) 50%, rgb(255, 159, 0) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 38px;
  font-weight: 400;
  letter-spacing: -1px;
  font-style: italic;
}

.icon__art--photos {
  background: transparent;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon__art--photos svg {
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.18));
  border-radius: 13px;
}

.info-thumb--photos {
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.info-thumb--photos svg {
  width: 100%;
  height: 100%;
  border-radius: 13px;
}

.icon--external {
  text-decoration: none;
  color: inherit;
}

.icon--quiet {
  opacity: 0.62;
  transition: opacity 0.2s ease;
}
.icon--quiet:hover,
.icon--quiet:focus-visible {
  opacity: 1;
}
.icon--quiet .icon__art {
  transform: scale(0.78);
}
.icon--quiet .icon__label {
  font-size: 11px;
  color: rgba(40, 37, 29, 0.62);
}

.icon__art--folder svg,
.icon__art--doc svg {
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

.icon__art--doc {
  background: transparent;
  box-shadow: none;
}

.icon__label {
  font-size: 11.5px;
  font-weight: 600;
  color: #2A1530;
  text-shadow: 0 1px 0 rgba(255,255,255,0.65), 0 0 8px rgba(255,255,255,0.5);
  text-align: center;
  max-width: 92px;
  line-height: 1.2;
  padding: 2px 6px;
  border-radius: 4px;
  word-wrap: break-word;
  letter-spacing: 0.01em;
}

.icon:hover .icon__label {
  background: rgba(0, 100, 200, 0.65);
  text-shadow: none;
}

/* ============ WINDOWS ============ */
.window {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-window);
  box-shadow: var(--shadow-window);
  overflow: hidden;
  display: none;
  flex-direction: column;
  min-width: 340px;
  width: 580px;
  max-width: calc(100vw - 40px);
  max-height: calc(100vh - var(--dock-h) - var(--menubar-h) - 40px);
  z-index: 10;
  pointer-events: auto;
}

.window--open {
  display: flex;
  animation: window-in 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.window--minimized {
  display: none;
}

.window--max {
  top: var(--menubar-h) !important;
  left: 0 !important;
  width: 100vw !important;
  height: calc(100vh - var(--menubar-h) - var(--dock-h) - 16px) !important;
  max-width: 100vw;
  max-height: none;
  border-radius: 0;
}

@keyframes window-in {
  from { opacity: 0; transform: scale(0.92) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.window__chrome {
  height: 36px;
  background: linear-gradient(180deg, #F6F4F0, #ECEAE4);
  border-bottom: 1px solid #D8D5CF;
  display: flex;
  align-items: center;
  padding: 0 14px;
  cursor: grab;
  position: relative;
  flex-shrink: 0;
}

.window__chrome:active { cursor: grabbing; }

.window__title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  font-weight: 600;
  color: #2A2724;
  pointer-events: none;
  max-width: 60%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.traffic-lights {
  display: flex;
  gap: 8px;
  align-items: center;
}

.tl {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  transition: filter 0.1s;
}

.tl:hover { filter: brightness(0.9); }

.tl--close { background: #FF5F57; box-shadow: inset 0 0 0 0.5px rgba(0,0,0,0.18); }
.tl--min   { background: #FEBC2E; box-shadow: inset 0 0 0 0.5px rgba(0,0,0,0.18); }
.tl--max   { background: #28C840; box-shadow: inset 0 0 0 0.5px rgba(0,0,0,0.18); }

.window__body {
  padding: 24px 28px 28px;
  overflow-y: auto;
  flex: 1;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
}

.window__body::-webkit-scrollbar { width: 8px; }
.window__body::-webkit-scrollbar-thumb { background: #D4D1CA; border-radius: 4px; }

/* ============ WINDOW CONTENT ============ */
.info-header {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.info-thumb {
  width: 68px;
  height: 68px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--coral);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 24px;
  font-family: 'Instrument Serif', Georgia, serif;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.info-thumb--coral { background: linear-gradient(135deg, #E85D6E, #A12C7B); }
.info-thumb--gold { background: linear-gradient(135deg, #D19900, #964219); }
.info-thumb--purple { background: linear-gradient(135deg, #7A39BB, #5A1F8F); }

.info-thumb--logo {
  background: #fff;
  padding: 6px;
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

/* Tool sticker in window headers. Transparent, contained, no crop. */
.info-thumb--tool {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
  width: 84px;
  height: 68px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.14));
}

.info-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info-thumb--logo img {
  object-fit: contain;
}

.info-thumb--tool img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center center;
}

.info-title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  margin: 0 0 4px;
  color: var(--text);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.info-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  font-weight: 500;
}

.info-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 16px;
}

.info-text--muted { color: var(--text-muted); }

.info-section {
  margin-top: 22px;
}

.info-section h3 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0 0 10px;
}

.info-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  line-height: 1.5;
}

.info-list li {
  padding-left: 16px;
  position: relative;
}

.info-list li::before {
  content: '·';
  position: absolute;
  left: 4px;
  color: var(--coral);
  font-weight: 700;
}

.info-actions {
  display: flex;
  gap: 8px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.info-btn {
  background: var(--text);
  color: #fff;
  border: none;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.1s, background 0.15s;
}

.info-btn:hover {
  background: var(--coral);
}

.info-btn:active {
  transform: translateY(1px);
}

.info-btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.info-btn--ghost:hover {
  background: var(--limestone);
  color: var(--text);
}

/* ============ FOUNDERS GRID ============ */
.founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 8px;
}

.founder {
  padding: 18px;
  background: var(--limestone);
  border-radius: 12px;
}

.founder__avatar {
  width: 108px;
  height: 108px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.14));
}

.founder__avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.founder__name {
  font-family: 'Instrument Serif', serif;
  font-size: 22px;
  font-weight: 400;
  margin: 0 0 2px;
}

.founder__role {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============ GALLERY ============ */
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
}

.gallery figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(180deg, #faf7f1, #f0ebe2);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0,0,0,0.05);
}

/* Image wrapper holds a fixed aspect-ratio frame so the whole image is visible */
.gallery__img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #f5efe4;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery__img-wrap img,
.gallery figure > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.5s ease;
}

.gallery figure:hover .gallery__img-wrap img,
.gallery figure:hover > img {
  transform: scale(1.03);
}

.gallery figcaption {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gallery .cap-title {
  font-family: 'Instrument Serif', serif;
  font-size: 19px;
  color: var(--text);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.gallery .cap-text {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
  font-weight: 400;
}

/* Floor / Wall overview galleries. Wider images, single-line caption */
.gallery--floor figure > img {
  aspect-ratio: 4 / 5;
  width: 100%;
  height: auto;
  max-height: 360px;
}

.gallery--floor figcaption {
  font-family: 'Instrument Serif', serif;
  font-size: 17px;
  color: var(--text);
  padding: 10px 14px 14px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* Founders hero photo. Used at the top of About and Founders windows */
.founders-hero {
  margin: 0 0 22px;
  border-radius: 14px;
  overflow: hidden;
  background: #efe9dc;
  border: 1px solid rgba(0,0,0,0.06);
}

.founders-hero img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.founders-hero figcaption {
  font-size: 12px;
  color: var(--text-muted);
  padding: 10px 16px 14px;
  font-style: italic;
}

/* ============ PIECE WINDOW ============ */
.window__body--piece {
  padding: 0;
  display: flex;
  flex-direction: column;
}

.piece-hero {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  background: #f5efe4;
}

.piece-hero--contain {
  height: auto;
  object-fit: contain;
  background: #f5efe4;
}

.piece-meta {
  padding: 22px 28px 28px;
}

.piece-specs {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 8px 16px;
  margin: 16px 0 0;
  font-size: 13.5px;
}

.piece-specs dt {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-top: 2px;
}

.piece-specs dd {
  margin: 0;
  color: var(--text);
}

/* ============ CONTACT ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 8px 0 4px;
}

.contact-card {
  padding: 16px 18px;
  background: var(--limestone);
  border-radius: 10px;
}

.contact-card h3 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0 0 6px;
}

.contact-card p {
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

.contact-card a {
  color: var(--coral);
  text-decoration: none;
  font-weight: 500;
}

.contact-card a:hover {
  text-decoration: underline;
}

/* ============ PRESS QUOTE ============ */
.press-quote {
  margin: 0;
  padding: 16px 20px;
  border-left: 3px solid var(--coral);
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 17px;
  line-height: 1.5;
  color: var(--text);
  font-style: italic;
  background: var(--limestone);
  border-radius: 0 10px 10px 0;
}

/* ============ DOCK ============ */
.dock {
  position: fixed;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  height: 72px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(245, 239, 230, 0.55);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 22px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.22);
  z-index: 900;
  max-width: calc(100vw - 24px);
}

.dock__item {
  width: 56px;
  height: 56px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  border-radius: 12px;
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.dock__item--logo {
  background: #fff;
  padding: 6px;
  box-sizing: border-box;
  overflow: hidden;
}

.dock__item--logo img {
  object-fit: contain !important;
  border-radius: 8px;
}

.dock__item img,
.dock__item svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

/* Drip stickers: transparent, contain, no background */
.dock__item--drip {
  background: transparent;
  overflow: visible;
  border-radius: 0;
}

.dock__item--drip img {
  object-fit: contain !important;
  border-radius: 0 !important;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.22));
  transform: scale(1.15);
}

/* Tool sticker in dock — landscape orientation. Wider slot so nothing is cropped. */
.dock__item--tool {
  width: 64px;
  height: 56px;
  background: transparent;
  overflow: visible;
  border-radius: 0;
}

.dock__item--tool img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  border-radius: 0 !important;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.22));
  transform: scale(1.1);
}

.dock__item:hover {
  transform: translateY(-10px) scale(1.18);
}

.dock__item:hover::after {
  content: attr(title);
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(20,18,16,0.92);
  color: #fff;
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
}

.dock__emoji {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #E85D6E, #7A1638);
  color: #fff;
  font-weight: 700;
  font-family: 'Instrument Serif', serif;
  font-size: 22px;
}

.dock__divider {
  width: 1px;
  height: 36px;
  background: rgba(0,0,0,0.18);
  margin: 0 4px;
}

/* ============ HINT BANNER ============ */
.hint {
  position: fixed;
  top: calc(var(--menubar-h) + 12px);
  right: 16px;
  background: rgba(20,18,16,0.78);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 950;
  backdrop-filter: blur(10px);
  animation: hint-in 0.5s 0.6s both;
  max-width: 380px;
}

@keyframes hint-in {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hint button {
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  padding: 0 4px;
  line-height: 1;
}

.hint.hidden { display: none; }

/* ============ MOBILE / RESPONSIVE ============ */
@media (max-width: 768px) {
  :root {
    --dock-h: 64px;
  }

  body {
    overflow-y: auto;
    overflow-x: hidden;
    height: auto;
    min-height: 100vh;
    background-attachment: scroll;
  }

  html { overflow-y: auto; }

  .menubar {
    font-size: 11px;
    padding: 0 10px;
  }

  .menubar__item:not(.menubar__brand) { display: none; }
  .menubar__right .menubar__item:last-child { display: inline; }

  .icon-grid {
    --icon-w: 110px;
    --icon-h: 180px;
    position: static;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px;
    padding: 32px 20px 80px;
    gap: 20px 6px;
    overflow: visible;
  }

  .icon__art--drip {
    width: 100px;
    height: 136px;
  }

  .icon__art.icon__art--tool {
    width: 116px;
    height: 132px;
  }

  .icon {
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: auto !important;
    height: auto !important;
    cursor: pointer;
    touch-action: auto;
  }

  .window {
    position: fixed !important;
    top: var(--menubar-h) !important;
    left: 0 !important;
    width: 100vw !important;
    height: calc(100vh - var(--menubar-h) - var(--dock-h)) !important;
    max-width: 100vw;
    max-height: none;
    border-radius: 0;
  }

  .window__body { padding: 18px 18px 24px; }
  .piece-meta { padding: 18px; }

  .founders-grid,
  .gallery,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .piece-hero { height: auto; }

  .dock {
    bottom: 6px;
    height: 56px;
    padding: 5px 8px;
    gap: 4px;
    overflow-x: auto;
    overflow-y: hidden;
    max-width: calc(100vw - 12px);
    scrollbar-width: none;
  }

  .dock::-webkit-scrollbar { display: none; }

  .dock__item {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }

  .dock__item:hover { transform: none; }
  .dock__item:hover::after { display: none; }

  .hint {
    right: 8px;
    left: 8px;
    max-width: none;
    top: calc(var(--menubar-h) + 6px);
    font-size: 11.5px;
  }

  .info-title { font-size: 22px; }
  .piece-specs { grid-template-columns: 90px 1fr; font-size: 12.5px; }
}
