/* ============================================================
   TIYE BOTTONE — DESKTOP CSS  (matches original mockup)
   ============================================================ */

/* ---- Custom Properties ---- */
:root {
  --bg:              #F0EDE8;
  --text:            #2A2520;
  --text-muted:      #8A7E75;
  --border:          #DDD8D2;
  --win-bg:          #FAFAF8;
  --titlebar-bg:     #EDEAE4;
  --titlebar-border: #D4D0CA;
  --folder-blue:     #B4C8DC;
  --folder-yellow:   #E5D98E;
  --folder-green:    #AECFB0;
  --folder-pink:     #E4B4BC;
  --folder-lavender: #C2B8D8;
  --folder-peach:    #E8CBAA;
  --folder-gray:     #C8C4C0;
  --folder-teal:     #A6CBC8;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body.tb-desktop-page {
  background: #cbc7c2;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
}

/* ---- WALLPAPER ---- */
/* Full-screen background photo — sized to cover, centred, never tiled.
   (Image URL is set inline by desktop.php.) Sits BELOW the scrim so the
   overlay actually darkens it. */
.tb-wallpaper {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background-color: #cbc7c2;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* dark scrim so text + folders pop — sits ABOVE the wallpaper, below the UI */
.tb-scrim {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(16,18,22,0.40) 0%, rgba(16,18,22,0) 24%),
    radial-gradient(ellipse 82% 55% at 50% 122%, rgba(16,18,22,0.30) 0%, rgba(16,18,22,0) 60%),
    linear-gradient(rgba(16,18,22,0.30), rgba(16,18,22,0.30));
}

/* ---- MENUBAR ---- */
.tb-menubar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 26px;
  background: rgba(34, 36, 40, 0.42);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.14);
  display: flex;
  align-items: center;
  padding: 0 14px;
  z-index: 800;
  gap: 0;
}

.tb-menubar__brand {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  margin-right: 20px;
  text-decoration: none;
}

.tb-menubar__items {
  display: flex;
  gap: 16px;
}

.tb-menubar__items span {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.62);
  cursor: default;
}

.tb-menubar__clock {
  margin-left: auto;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.62);
}

/* ---- DESKTOP (the full-screen canvas) ---- */
.tb-desktop {
  position: fixed;
  inset: 0;
  padding-top: 26px;
  z-index: 2;
}

/* ---- HERO ---- */
.tb-hero {
  position: absolute;
  left: 50%;
  top: 19%;
  transform: translate(-50%, 0);
  z-index: 3;
  text-align: center;
  width: min(92vw, 880px);
}

.tb-hero__name {
  font-family: 'Bodoni Moda', Didot, Georgia, serif;
  font-size: clamp(54px, 8.4vw, 116px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: 0.005em;
  color: #fbfbfc;
  text-shadow: 0 2px 26px rgba(15,17,21,0.34), 0 1px 2px rgba(15,17,21,0.28);
}

/* ---- HERO NAME TOOLTIPS ---- */
.tb-name-part {
  position: relative;
  display: inline-block;
  cursor: help;
  padding: 0 0.04em;
  border-radius: 3px;
  transition: background 0.16s ease, color 0.16s ease;
}

.tb-name-part--italic { font-style: italic; }

.tb-name-part:hover,
.tb-name-part:focus {
  background: rgba(92,134,246,0.62);
  color: #ffffff;
  outline: none;
}

.tb-name-tip {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translate(-50%, 6px);
  width: 274px;
  background: #fafaf8;
  color: #2a2520;
  border: 1px solid #e2ddd6;
  border-radius: 9px;
  box-shadow: 0 10px 30px rgba(15,17,21,0.26), 0 2px 6px rgba(15,17,21,0.12);
  padding: 13px 15px 14px;
  font-family: 'Inter', system-ui, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 12.5px;
  line-height: 1.55;
  letter-spacing: 0.002em;
  text-align: left;
  text-shadow: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 50;
}

.tb-name-tip::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 11px;
  height: 11px;
  background: #fafaf8;
  border-left: 1px solid #e2ddd6;
  border-top: 1px solid #e2ddd6;
}

.tb-tip-label {
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 8.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #a08f63;
  margin-bottom: 6px;
}

.tb-name-part:hover .tb-name-tip,
.tb-name-part:focus .tb-name-tip {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.tb-hero__tagline {
  margin-top: 26px;
  font-family: 'Inter', system-ui, sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: clamp(14px, 1.6vw, 18px);
  letter-spacing: 0.015em;
  color: rgba(255,255,255,0.84);
  line-height: 1.7;
  text-shadow: 0 1px 14px rgba(15,17,21,0.34);
  pointer-events: none;
}

/* ---- "OPEN SOMETHING." PROMPT — small, dead centre of screen ---- */
.tb-hero-prompt {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: rgba(255,255,255,0.82);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: 0 1px 16px rgba(15,17,21,0.55);
  pointer-events: none;
}

/* ---- ICONS LAYER ---- */
.tb-icons-layer {
  position: absolute;
  inset: 0;
}

/* ---- DESKTOP ICON ---- */
.tb-desktop-icon {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  z-index: 10;
  padding: 8px;
  border-radius: 8px;
  border: none;
  background: none;
  transition: background 0.12s;
  outline: none;
  -webkit-user-select: none;
  user-select: none;
}

.tb-desktop-icon:hover  { background: rgba(42,37,32,0.07); }
.tb-desktop-icon:focus  { background: rgba(42,37,32,0.07); outline: 2px solid rgba(42,37,32,0.2); outline-offset: 2px; }
.tb-desktop-icon:active { background: rgba(42,37,32,0.13); }

.tb-desktop-icon svg {
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.14));
  transition: transform 0.15s, filter 0.15s;
}

.tb-desktop-icon:hover svg {
  transform: translateY(-2px);
  filter: drop-shadow(0 4px 9px rgba(0,0,0,0.18));
}

.tb-icon-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: #f2f1ef;
  text-align: center;
  max-width: 84px;
  line-height: 1.3;
  text-shadow: 0 1px 7px rgba(15,17,21,0.5);
  overflow-wrap: break-word; /* long underscored labels (e.g. Recommendation_Engine) wrap instead of overflowing the grid column */
}

/* ---- WINDOWS ---- */
.tb-window {
  position: absolute;
  width: 440px;
  min-width: 300px;
  max-width: 540px;
  background: var(--win-bg);
  border-radius: 11px;
  border: 1px solid var(--titlebar-border);
  box-shadow: 0 2px 0 rgba(0,0,0,0.04), 0 8px 20px rgba(0,0,0,0.13), 0 28px 52px rgba(0,0,0,0.07);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(0.97) translateY(5px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  overflow: hidden;
  /* default position — JS will center it */
  top: 50%;
  left: 50%;
  translate: -50% -50%;
}

.tb-window.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: scale(1) translateY(0);
}

.tb-window--wide   { width: 560px; max-width: 600px; }
.tb-window--gallery { width: 680px; max-width: 720px; }
.tb-window--mystery { width: 380px; }

/* ---- TITLEBAR ---- */
.tb-win-bar {
  background: var(--titlebar-bg);
  border-bottom: 1px solid var(--titlebar-border);
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: move;
  -webkit-user-select: none;
  user-select: none;
  flex-shrink: 0;
}

.tb-traffic {
  display: flex;
  gap: 6px;
  align-items: center;
}

.tb-tl {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 0.5px solid rgba(0,0,0,0.12);
  flex-shrink: 0;
  cursor: pointer;
  background: none;
  padding: 0;
}

.tb-tl--close { background: #FF5F57; }
.tb-tl--min   { background: #FFBD2E; }
.tb-tl--max   { background: #28C840; }

.tb-win-title {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--text-muted);
  flex: 1;
  text-align: center;
  padding-right: 46px;
}

/* ---- WINDOW BODY ---- */
.tb-win-body {
  padding: 22px 24px 26px;
  overflow-y: auto;
  max-height: 68vh;
  -webkit-user-select: text;
  user-select: text;
}

.tb-win-body::-webkit-scrollbar { width: 4px; }
.tb-win-body::-webkit-scrollbar-track { background: transparent; }
.tb-win-body::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.tb-win-body h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 14px;
  color: var(--text);
}

.tb-win-body h3 {
  font-family: 'DM Mono', monospace;
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin: 18px 0 8px;
}

.tb-win-body p {
  font-size: 13.5px;
  line-height: 1.68;
  color: var(--text);
  margin-bottom: 11px;
}

.tb-win-body ul {
  list-style: none;
  padding: 0;
  margin-bottom: 14px;
}

.tb-win-body ul li {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text);
  padding-left: 16px;
  position: relative;
  margin-bottom: 3px;
}

.tb-win-body ul li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

.tb-win-body a {
  color: var(--text);
  text-underline-offset: 2px;
}

.tb-win-body a:hover { color: var(--text-muted); }

.tb-win-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 16px 0;
}

/* ---- CTA BUTTON ---- */
.tb-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 9px 20px;
  background: var(--text);
  color: #fff !important;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s;
}

.tb-btn:hover { opacity: 0.8; color: #fff !important; }

/* ---- CASE CARDS ---- */
.tb-case-card {
  background: #F3F0EB;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 14px 16px;
  margin-bottom: 10px;
}

.tb-case-tag {
  font-family: 'DM Mono', monospace;
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 7px;
}

.tb-case-card p { font-size: 13px; margin-bottom: 0; }

/* ---- FILE LIST (Notes) ---- */
.tb-file-list { margin-bottom: 18px; }

.tb-file-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
  font-family: 'DM Mono', monospace;
  font-size: 10.5px;
  color: var(--text-muted);
}

.tb-file-row:first-child { border-top: 1px solid var(--border); }

.tb-file-row-icon {
  width: 14px;
  height: 16px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 2px 4px 2px 2px;
  flex-shrink: 0;
}

.tb-file-row a {
  color: var(--text-muted);
  text-decoration: none;
}

.tb-file-row a:hover { color: var(--text); text-decoration: underline; }

/* ---- CURRENT THINKING (native post-content list) ---- */
.tb-thought-body ul {
  list-style: none;
  padding: 0;
  margin-bottom: 14px;
}

.tb-thought-body ul li {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text);
  padding: 9px 0 9px 16px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.tb-thought-body ul li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

.tb-thought-body ul li:first-child { border-top: 1px solid var(--border); }
.tb-thought-body ul li:last-child { border-bottom: none; }
.tb-thought-body p { margin-bottom: 11px; }
.tb-thought-body p:last-child { margin-bottom: 0; }

/* ---- SELECTED WORK ---- */
.tb-work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 11px;
}

.tb-work-thumb {
  display: block;
  text-align: left;
  padding: 0;
  font: inherit;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--win-bg);
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
  width: 100%;
}

.tb-work-thumb:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.tb-work-ph {
  height: 120px;
  background: var(--titlebar-bg);
  display: flex;
  align-items: flex-end;
  padding: 8px 10px;
  position: relative;
  overflow: hidden;
}

.tb-work-ph img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tb-work-tag {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  background: rgba(255,255,255,0.85);
  padding: 2px 7px;
  border-radius: 3px;
  color: var(--text);
  position: relative;
  z-index: 1;
}

.tb-work-cap {
  padding: 8px 10px 10px;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--text-muted);
}

/* ---- GALLERY (photos) ---- */
/* Generous padding + a masonry column layout (photos keep their own aspect
   ratio instead of being cropped into a tight uniform grid) — matches the
   mockup's more breathable "Photos" page. */
.tb-win-photos .tb-win-body { padding: 22px 22px 30px; max-height: 70vh; }

.tb-gallery-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.tb-gallery-head h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  font-size: 26px;
  letter-spacing: 0.01em;
  color: var(--text);
}

.tb-gallery-sub {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.tb-photo-wall {
  column-count: 2;
  column-gap: 14px;
}

.tb-photo-item {
  display: block;
  width: 100%;
  margin: 0 0 14px;
  break-inside: avoid;
  overflow: hidden;
  cursor: pointer;
  background: var(--titlebar-bg);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 0;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.tb-photo-item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.tb-photo-item:hover img { transform: scale(1.04); }

/* ---- RECOMMENDATION ENGINE ---- */
/* eyebrow — the question, e.g. "Where should I go?" (plain text, not a button) */
.tb-rec-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
  min-height: 1em;
}

.tb-rec-card { min-height: 148px; }

/* meta — e.g. "Japan · History + okonomiyaki" */
.tb-rec-meta {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
  min-height: 1em;
}

.tb-rec-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 27px;
  line-height: 1.12;
  color: var(--text);
  margin-bottom: 12px;
}

.tb-rec-why {
  font-size: 13.5px;
  line-height: 1.66;
  color: var(--text);
}

.tb-rec-why-label {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 4px;
}

.tb-rec-loading {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: var(--text-muted);
  padding: 12px 0;
}

.tb-roll-again { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; }
.tb-roll-ico { display: inline-block; transition: transform 0.5s ease; }
.tb-roll-again:active .tb-roll-ico { transform: rotate(-360deg); }

/* ---- CONTACT ---- */
.tb-contact-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 14px;
}

.tb-contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  font-size: 13px;
}

.tb-contact-link:first-child { border-top: 1px solid var(--border); }
.tb-contact-link:hover { color: var(--text-muted); }

/* ---- LIGHTBOX ---- */
.tb-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(16,14,12,0.90);
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.tb-lightbox.is-open {
  opacity: 1;
  pointer-events: all;
}

.tb-lightbox__img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
  display: block;
}

.tb-lightbox__caption {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.65);
  text-align: center;
  max-width: 560px;
}

.tb-lightbox__close {
  position: fixed;
  top: 18px;
  right: 22px;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.tb-lightbox__close:hover { background: rgba(255,255,255,0.2); }

/* ---- SELECTED WORK — enlarge lightbox (image + readable title/body, not a centered caption) ---- */
.tb-work-lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px;
  background: rgba(20,20,23,0.74);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s;
}

.tb-work-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.tb-work-lightbox-inner {
  width: min(560px, 100%);
  max-height: 88vh;
  overflow: hidden;
  background: var(--win-bg);
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
  transform: scale(0.96);
  transition: transform 0.22s ease;
  display: flex;
  flex-direction: column;
}

.tb-work-lightbox.is-open .tb-work-lightbox-inner { transform: scale(1); }

.tb-work-lightbox-stage {
  position: relative;
  aspect-ratio: 16 / 10;
  background-color: var(--titlebar-bg);
  flex-shrink: 0;
  overflow: hidden;
}

.tb-work-lightbox-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.tb-work-lightbox-img[src]:not([src=""]) { display: block; }

.tb-work-lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: rgba(250,250,248,0.92);
  color: var(--text);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
  z-index: 1;
}

.tb-work-lightbox-close:hover { background: #fff; }

.tb-work-lightbox-meta { padding: 18px 22px 22px; overflow-y: auto; }

.tb-lb-sub {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
  min-height: 1em;
}

.tb-lb-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 21px;
  line-height: 1.18;
  color: var(--text);
  margin-bottom: 11px;
}

.tb-lb-cap { font-size: 13.5px; line-height: 1.66; color: var(--text); }

/* ---- DRAGGABLE hint ---- */
.tb-win-bar { cursor: move; }

/* ---- RESPONSIVE ----
   Mirrors the reference mockup's mobile layout: the photo, hero text and
   folder grid become consecutive sections in normal document flow (each
   below the last) instead of the desktop's stacked/absolute layers. */
@media (max-width: 640px) {
  html, body { overflow: auto; height: auto; }

  .tb-desktop {
    position: relative;
    min-height: 100vh;
    padding-top: 26px; /* clears the fixed menubar */
    display: block;
  }

  .tb-menubar__items { display: none; }

  /* photo — a normal in-flow block instead of a fixed full-screen layer */
  .tb-wallpaper {
    position: relative;
    inset: auto;
    width: 100%;
    height: 56vh;
    margin: 0;
    background-position: center 38%;
  }

  /* the dark scrim existed to keep hero text readable over the photo;
     on mobile the text lives in its own section below, so it's not needed */
  .tb-scrim { display: none; }

  .tb-hero {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    text-align: left;
    padding: 28px 22px 24px;
    width: auto;
  }
  .tb-hero__name { font-size: 50px; }
  .tb-hero__tagline { font-size: 15px; }
  .tb-name-tip { left: 0; transform: translate(0, 6px); width: 248px; }
  .tb-name-tip::before { left: 28px; }
  .tb-name-part:hover .tb-name-tip,
  .tb-name-part:focus .tb-name-tip { transform: translate(0, 0); }

  .tb-hero-prompt {
    position: static;
    transform: none;
    margin: 18px 22px 0;
    color: var(--text-muted);
    text-shadow: none;
    text-align: left;
  }

  .tb-icons-layer { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 10px 14px 28px; }
  .tb-desktop-icon { position: relative !important; left: auto !important; top: auto !important; }

  .tb-window {
    position: fixed !important;
    left: 0 !important;
    top: 26px !important;
    /* the desktop rule centers windows with translate: -50% -50%, sized
       against the window's OWN box — left uncanceled here it would shove
       a full-width/full-height mobile window half its width off-screen
       left and half its height off-screen up. */
    translate: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: calc(100vh - 26px) !important;
    border-radius: 0;
    z-index: 1000;
  }
  .tb-win-body { max-height: calc(100vh - 26px - 43px); }

  .tb-work-grid { grid-template-columns: 1fr; }
  /* .tb-photo-wall is already a 2-column masonry (column-count: 2) by default */
}
