/* ═══════════════════════════════════════════════════
   UX PORTFOLIO — style.css
   Fonts: Cormorant Garamond · Space Grotesk · Caveat
   ═══════════════════════════════════════════════════ */

/* ── CSS Custom Properties ── */
:root {
  --bg:         #edeae2;
  --bg-page:    #d6d2c8;
  --yellow:     #f0e040;
  --yellow-dark:#d4c400;
  --eucalyptus: #AACFC2;
  --pink:       #e85d9a;
  --dot-color:  rgba(0,0,0,0.09);
  --text:       #3a3a3a;
  --text-muted: #6b6b6b;
  --card-bg:    #ffffff;
  --menu-bg:    rgba(236,232,224,0.85);
  --menu-border:#ccc8c0;
  --ticker-bg:  #f0e040;
  --dock-bg:    rgba(255,255,255,0.30);
  --dock-border:rgba(255,255,255,0.55);
  --modal-bg:   rgba(0,0,0,0.55);
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.10);
  --shadow-md:  0 6px 24px rgba(0,0,0,0.14);
  --shadow-lg:  0 16px 48px rgba(0,0,0,0.18);
  --radius-card:14px;
  --label-size: 1.5rem;     /* ← change this to resize card stack labels */
}

[data-theme="dark"] {
  --bg:         #1e1c18;
  --bg-page:    #111009;
  --dot-color:  rgba(255,255,255,0.07);
  --text:       #f0ede6;
  --text-muted: #9a9690;
  --card-bg:    #2a2820;
  --menu-bg:    rgba(30,28,24,0.90);
  --menu-border:#3a3830;
  --dock-bg:    rgba(0,0,0,0.40);
  --dock-border:rgba(255,255,255,0.12);
}

/* ── Loader ── */
#siteLoader {
  position: fixed; inset: 0; z-index: 99999;
  background: #0e0e0e;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  overflow: hidden;
}
#siteLoader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

/* columns container */
.lcols {
  position: absolute; inset: 0;
  display: flex; flex-direction: row;
  gap: 12px; padding: 12px;
}
.lcol {
  flex: 1; overflow: hidden; height: 100%;
}
/* hide cols 3+4 on mobile */
@media (max-width: 600px) {
  .lcol:nth-child(3),
  .lcol:nth-child(4) { display: none; }
  .lcols { gap: 8px; padding: 8px; }
}
.lcol-track {
  display: flex; flex-direction: column;
  gap: 12px; height: max-content;
}
.lcol-u { animation: lScrollUp   28s linear infinite; }
.lcol-d { animation: lScrollDown 28s linear infinite; }

.lframe {
  flex-shrink: 0; width: 100%;
  border-radius: 10px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.lframe img {
  width: 100%; display: block;
  object-fit: cover; object-position: top;
  aspect-ratio: 4/3;
}

@keyframes lScrollUp {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}
@keyframes lScrollDown {
  from { transform: translateY(-50%); }
  to   { transform: translateY(0); }
}

/* tinted overlay */
.loverlay {
  position: absolute; inset: 0;
  background: rgba(14,14,14,0.72);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px;
}

#loaderName {
  font-family: 'Instrument Serif', serif; font-style: italic;
  font-size: clamp(2.8rem, 5vw, 4.2rem); font-weight: 400;
  color: #fff; letter-spacing: 0.01em;
  opacity: 0; animation: loaderFadeIn 0.9s ease 0.2s forwards;
}
#loaderLine {
  width: 0; height: 1px; background: rgba(255,255,255,0.2);
  animation: loaderGrow 1s ease 0.7s forwards;
}
#loaderSub {
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 11px; font-weight: 400; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.3);
  opacity: 0; animation: loaderFadeIn 0.9s ease 0.9s forwards;
}
@keyframes loaderFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes loaderGrow {
  from { width: 0; }
  to   { width: 80px; }
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 300;
  letter-spacing: 0.01em;
  background: var(--bg);
  color: var(--text);
  overflow: hidden;
  height: 100vh;
  width: 100vw;
}
a { text-decoration: none; color: inherit; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }


/* ── Arrange button — fixed bottom-right ── */
.arrange-btn {
  position: fixed;
  bottom: 80px;
  right: 16px;
  z-index: 1000;
}

/* ── View toggle — lives inside menu bar .menu-right ── */
.view-toggle {
  display: flex; gap: 2px; align-items: center;
  background: rgba(0,0,0,0.07); border-radius: 6px; padding: 2px;
}
[data-theme="dark"] .view-toggle { background: rgba(255,255,255,0.07); }
.view-btn {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif;
  font-size: 10px; font-weight: 400; letter-spacing: 0;
  padding: 1px 14px; border-radius: 4px; border: none; cursor: pointer;
  background: transparent; color: rgba(0,0,0,0.28);
  transition: background 0.15s, color 0.15s; line-height: 1.6;
}
[data-theme="dark"] .view-btn { color: rgba(255,255,255,0.28); }
.view-btn:hover { color: rgba(0,0,0,0.55); }
[data-theme="dark"] .view-btn:hover { color: rgba(255,255,255,0.55); }
.view-btn.active {
  background: rgba(255,255,255,0.85); color: rgba(0,0,0,0.85);
  box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}
[data-theme="dark"] .view-btn.active {
  background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.95);
}
.theme-btn {
  font-size: 0.9rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 50%;
  transition: transform 0.2s;
}
.theme-btn:hover { transform: scale(1.2); }

/* ── Views ── */
.view { display: none; }
.view.active { display: block; }
#view-recruiter.active {
  position: fixed; inset: 0;
  overflow-y: auto; overflow-x: hidden;
  background: #1a1a1a;
  z-index: 50;
}

/* ═══════════════════════════════════════════
   MACBOOK FRAME
═══════════════════════════════════════════ */
.macbook-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(98vw, 1600px);
}

.macbook-lid {
  width: 100%;
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: 0 0 0 1px #a8a8a8, 0 8px 40px rgba(0,0,0,0.35);
  position: relative;
}

.macbook-cam-row { display: none; }
.macbook-camera {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3a3a3a;
  box-shadow: inset 0 0 0 1.5px #222, 0 0 0 1px #555;
}

.macbook-screen {
  background: var(--bg);
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100vh;
  min-height: 520px;
  position: relative;
}

/* Base / chin — removed from layout */
.macbook-chin {
  display: none;
  width: 100%;
  height: 22px;
  background: linear-gradient(180deg, #c8c8c8 0%, #b8b8b8 100%);
  border-radius: 0 0 8px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.macbook-notch-bar {
  width: 60px;
  height: 4px;
  background: #a0a0a0;
  border-radius: 2px;
}

/* ═══════════════════════════════════════════
   MENU BAR
═══════════════════════════════════════════ */
.menu-bar {
  height: 36px;
  background: var(--menu-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--menu-border);
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 0;
  flex-shrink: 0;
  z-index: 100;
}

.win-controls {
  display: flex;
  gap: 6px;
  margin-right: 12px;
  align-items: center;
}
.wc {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: block;
  cursor: pointer;
  transition: filter 0.15s;
}
.wc:hover { filter: brightness(0.85); }
.wc-red    { background: #FF5F57; box-shadow: inset 0 0 0 0.5px rgba(0,0,0,0.15); }
.wc-yellow { background: #FEBC2E; box-shadow: inset 0 0 0 0.5px rgba(0,0,0,0.15); }
.wc-green  { background: #28C840; box-shadow: inset 0 0 0 0.5px rgba(0,0,0,0.15); }

.menu-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-right: 18px;
}

.menu-nav {
  display: flex;
  gap: 1px;
}
.menu-nav a {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  padding: 4px 9px;
  border-radius: 5px;
  color: var(--text);
  transition: background 0.15s;
  cursor: pointer;
}
.menu-nav a:hover { background: rgba(0,0,0,0.07); }

.menu-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.menu-city { font-weight: 500; color: var(--text); }
.menu-clock { font-weight: 500; color: var(--text); font-variant-numeric: tabular-nums; }

.avail-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(52,199,89,0.12);
  color: #1a8f35;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 50px;
}
.avail-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34C759;
  box-shadow: 0 0 0 2px rgba(52,199,89,0.3);
  animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
  0%,100% { box-shadow: 0 0 0 2px rgba(52,199,89,0.3); }
  50%      { box-shadow: 0 0 0 5px rgba(52,199,89,0.1); }
}
.menu-theme-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
  padding: 2px;
  border-radius: 4px;
  transition: transform 0.2s;
}
.menu-theme-btn:hover { transform: scale(1.2); }

/* ═══════════════════════════════════════════
   TICKER
═══════════════════════════════════════════ */
.ticker-bar {
  height: 24px;
  background: var(--ticker-bg);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: ticker-scroll 38s linear infinite;
  font-size: 0.594rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: none;
  color: #1a1a1a;
}
.ticker-track span { padding: 0 14px; }
.ticker-track .sep { padding: 0; opacity: 0.5; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker-bar:hover .ticker-track { animation-play-state: paused; }

/* Editorial "NOW" badge on ticker */
.ticker-edition {
  flex-shrink: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: #1a1a1a;
  color: #f0e040;
  padding: 3px 9px 3px 10px;
  align-self: stretch;
  display: flex;
  align-items: center;
  z-index: 1;
}

/* ═══════════════════════════════════════════
   DESKTOP (FigJam dot grid)
═══════════════════════════════════════════ */
.desktop {
  flex: 1;
  position: relative;
  overflow: hidden;
  background-color: var(--bg);
  background-image: radial-gradient(circle, var(--dot-color) 1px, transparent 1px);
  background-size: 22px 22px;
}

/* ═══════════════════════════════════════════
   LEFT FLOATING TOOLBAR
═══════════════════════════════════════════ */
.float-toolbar {
  position: absolute;
  left: 1%;
  top: 34%;
  transform: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 14px;
  padding: 10px 8px;
  box-shadow: var(--shadow-md);
  z-index: 50;
}
.tb-item {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.tb-item:hover {
  background: rgba(0,0,0,0.07);
  transform: scale(1.12);
}
.tb-item img {
  width: 100%; height: 100%;
  display: block; border-radius: 8px;
  object-fit: cover;
}
/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  position: absolute;
  top: 19%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 10;
  pointer-events: none;
}
.hero-label {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--text);
  white-space: nowrap;
}
.hero-mark {
  position: relative;
  display: inline;
  font-style: normal;
  background: none;
  padding: 0 2px;
  border-radius: 0;
}
.hero-hl {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  display: inline-block;
  pointer-events: auto;
  cursor: default;
  transition: letter-spacing 0.4s cubic-bezier(0.34,1.45,0.64,1), transform 0.4s cubic-bezier(0.34,1.45,0.64,1);
}
.hero-hl:hover {
  letter-spacing: 0.06em;
  transform: skewX(-3deg);
}
.hero-mark .mark-svg {
  position: absolute;
  top: -10px;
  left: -6px;
  width: calc(100% + 12px);
  height: calc(100% + 22px);
  z-index: -1;
  overflow: visible;
  mix-blend-mode: multiply;
}
.hero-tagline {
  font-family: 'Caveat', cursive;
  font-size: clamp(1rem, 2vw, 1.4rem);
  color: var(--text-muted);
  margin-top: 8px;
  font-weight: 500;
}

/* ═══════════════════════════════════════════
   AI SEARCH BAR
═══════════════════════════════════════════ */
.search-wrap {
  position: absolute;
  top: 37%;
  left: 50%;
  transform: translateX(-50%);
  width: min(500px, 56vw);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.search-pill {
  width: 100%;
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 50px;
  padding: 10px 10px 10px 18px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.13), 0 0 0 1px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s;
}
.search-pill:focus-within {
  box-shadow: 0 4px 28px rgba(0,0,0,0.18), 0 0 0 2px var(--yellow);
}
.s-icon { flex-shrink: 0; margin-right: 10px; }
#searchInput {
  flex: 1;
  border: none;
  outline: none;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.88rem;
  color: var(--text);
  background: transparent;
}
#searchInput::placeholder { color: #b0b0b0; }

.send-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--yellow);
  color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s, transform 0.15s;
}
.send-btn:hover { background: var(--yellow-dark); transform: scale(1.08); }

/* Suggestion chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}
.chip {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  padding: 5px 13px;
  border-radius: 50px;
  border: 1px solid rgba(0,0,0,0.14);
  background: rgba(255,255,255,0.80);
  color: var(--text);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.15s;
}
.chip:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  transform: translateY(-1px);
}

/* Answer panel */
.answer-panel {
  width: 100%;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: var(--shadow-md);
  padding: 16px 20px;
  display: none;
  animation: slide-down 0.25s ease;
  max-height: 200px;
  overflow-y: auto;
}
.answer-panel.visible { display: block; }
@keyframes slide-down {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Typing dots */
.typing { display: flex; gap: 5px; padding: 4px 0 8px; }
.typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b0b0b0;
  animation: bounce-dot 1.2s infinite;
}
.typing span:nth-child(2) { animation-delay: 0.2s; }
.typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes bounce-dot {
  0%,80%,100% { transform: translateY(0); opacity: 0.4; }
  40%         { transform: translateY(-6px); opacity: 1; }
}
.typing.hidden { display: none; }

.answer-text {
  font-size: 0.84rem;
  line-height: 1.65;
  color: var(--text);
}
.answer-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.answer-quick-chips .chip { font-size: 0.68rem; padding: 3px 10px; }

/* ═══════════════════════════════════════════
   ONE BIG CARD STACK
═══════════════════════════════════════════ */
.stack-wrap {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  z-index: 15;
}

.stack-anchor {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
}

/* ── BIG STACK (Work / UX) ── */
.big-stack {
  position: relative;
  width: 230px;
  height: 310px;
}
.big-stack .card {
  position: absolute;
  width: 230px;
  height: 305px;
  border-radius: 18px;
  background: #f6f3eb;
  box-shadow: 0 4px 20px rgba(0,0,0,0.13);
  overflow: hidden;
  transition: transform 0.45s cubic-bezier(0.34,1.45,0.64,1), box-shadow 0.3s;
  border: 1px solid rgba(58,44,20,0.14);
}
.big-stack .card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0.045;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}
.big-stack .card .card-img {
  width: 100%;
  overflow: hidden;
}
.big-stack .card .card-img img {
  width: 100%;
  display: block;
}
.big-stack .card .card-foot {
  padding: 10px 14px 13px;
  background: #ede9df;
  border-top: 3px solid var(--accent, #ccc);
  box-shadow: inset 0 1px 0 0 rgba(0,0,0,0.1);
  transition: background 0.3s;
}
.big-stack .card:hover .card-foot {
  background: color-mix(in srgb, var(--accent, #f0e040) 12%, #faf8f4);
}

/* ── MINI STACKS (Graphic / Architecture) ── */
.mini-stack {
  position: relative;
  width: 165px;
  height: 225px;
}
.mini-stack .card {
  position: absolute;
  width: 165px;
  height: 220px;
  border-radius: 16px;
  background: #f6f3eb;
  box-shadow: 0 4px 18px rgba(0,0,0,0.12);
  overflow: hidden;
  transition: transform 0.45s cubic-bezier(0.34,1.45,0.64,1), box-shadow 0.3s;
  border: 1px solid rgba(58,44,20,0.14);
}
.mini-stack .card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0.04;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}
.mini-stack .card .card-fill {
  width: 100%;
  height: 153px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 12px 14px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.90);
  letter-spacing: 0.02em;
}
.mini-stack .card .card-foot {
  padding: 8px 12px 10px;
  background: #ede9df;
  border-top: 2.5px solid var(--accent, #ccc);
  box-shadow: inset 0 1px 0 0 rgba(0,0,0,0.09);
  transition: background 0.3s;
}
.mini-stack .card:hover .card-foot {
  background: color-mix(in srgb, var(--accent, #f0e040) 12%, #faf8f4);
}

/* ── SHARED card footer elements ── */
.card-dots {
  display: flex;
  gap: 5px;
  margin-bottom: 5px;
}
.card-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: block;
}
.card-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 300;
  color: #1a1a1a;
  margin-bottom: 3px;
  letter-spacing: 0em;
  line-height: 1.1;
}
.card-sub {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.58rem;
  font-weight: 600;
  color: #999;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ── CARD FAN: back cards fan to the LEFT (stack lives on right side of screen) ──
   Front card = rightmost, cleanest — label aligns with front card's left edge      */
.cs-back3 { transform: rotate(-11deg) translate(-28px, 8px);  z-index: 1; }
.cs-back2 { transform: rotate(-6deg)  translate(-15px, 4px);  z-index: 2; }
.cs-back1 { transform: rotate(-2.5deg) translate(-6px, 1px);  z-index: 3; }
.cs-front  { transform: rotate(1.5deg);                        z-index: 4; }

/* Fan out on hover — cards spread further */
.stack-anchor:hover .cs-back3 { transform: rotate(-20deg) translate(-52px, 14px); }
.stack-anchor:hover .cs-back2 { transform: rotate(-11deg) translate(-28px,  7px); }
.stack-anchor:hover .cs-back1 { transform: rotate(-5deg)  translate(-13px,  2px); }
.stack-anchor:hover .cs-front  { transform: rotate(2deg) translateY(-10px); box-shadow: 0 16px 48px rgba(0,0,0,0.20); }

/* ── STACK META: big label + pills below the stack ── */
.stack-meta {
  padding-left: 2px;
  margin-top: 12px;
  transform: rotate(1deg);         /* leans same way as cs-front */
  transform-origin: left bottom;
  position: relative;
  z-index: 20;
  transition: transform 0.4s cubic-bezier(0.34,1.45,0.64,1);
}
.stack-anchor:hover .stack-meta {
  transform: rotate(2.5deg) translateY(-4px);  /* tilts more + lifts slightly on hover */
}
.stack-big-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--label-size);
  font-weight: 300;
  color: #3a3a3a;
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin-bottom: 10px;
  transition: color 0.3s;
  white-space: nowrap;
}
.stack-anchor:hover .stack-big-label { color: var(--pink); }
.mini-stack-wrap .stack-big-label { font-size: calc(var(--label-size) * 0.85); }
.stack-pills {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.stack-pills span {
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 3px 7px;
  background: rgba(0,0,0,0.07);
  border-radius: 50px;
  color: var(--text);
  transition: background 0.2s, color 0.2s;
  border: none;
}
.stack-anchor:hover .stack-pills span {
  background: var(--text);
  color: var(--bg);
}

/* ═══════════════════════════════════════════
   PROCESS WIDGET
═══════════════════════════════════════════ */
.process-widget {
  position: absolute;
  top: 34%;
  left: 83%;
  background: #fef9c3;
  border: 1.5px solid rgba(0,0,0,0.08);
  border-radius: 3px;
  padding: 14px 16px 16px;
  box-shadow: 4px 4px 10px rgba(0,0,0,0.12), -1px -1px 4px rgba(255,255,255,0.6);
  z-index: 15;
  transform: rotate(2deg);
  min-width: 120px;
  cursor: default;
}
.pw-title {
  font-family: 'Caveat', cursive;
  font-size: 1rem;
  font-weight: 700;
  color: #5a4a00;
  margin-bottom: 12px;
  text-align: left;
  letter-spacing: 0;
}
.pw-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  flex-direction: column;
}
.pw-node {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pw-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.pw-step {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.68rem;
  font-weight: 400;
  color: #5a4a00;
  letter-spacing: 0.01em;
}
.pw-step.pw-active {
  font-weight: 700;
}
.pw-line {
  display: block;
  width: 1.5px;
  height: 10px;
  background: rgba(90,74,0,0.25);
  margin-left: 4.25px;
}

/* ═══════════════════════════════════════════
   ABOUT CARD
═══════════════════════════════════════════ */
.about-card {
  position: absolute;
  top: 68%;
  left: 20%;
  width: 190px;
  background: var(--eucalyptus);
  border-radius: 20px;
  padding: 0;
  box-shadow: var(--shadow-md);
  z-index: 15;
  cursor: pointer;
  text-decoration: none;
  display: block;
  overflow: hidden;
  transition: transform 0.22s, box-shadow 0.22s;
}
.about-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.16);
}
.ac-photo {
  position: relative;
  width: 100%;
  height: 130px;
  background: #b8d8cf;
  overflow: hidden;
}
.ac-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.ac-photo-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Instrument Serif', serif;
  font-size: 3.5rem;
  font-style: italic;
  color: #1a4a3a;
  opacity: 0.35;
}
/* hide fallback when real image loads */
.ac-photo-img + .ac-photo-fallback { display: none; }
.ac-info {
  padding: 11px 14px 12px;
}
.ac-name {
  font-family: 'Space Grotesk', sans-serif;
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 400;
  color: #1a4a3a;
}

/* ═══════════════════════════════════════════
   TALK CARD
═══════════════════════════════════════════ */
.talk-card {
  position: absolute;
  top: 78%;
  left: 85%;
  width: 150px;
  background: var(--pink);
  border-radius: 20px;
  padding: 14px 16px;
  box-shadow: var(--shadow-md);
  z-index: 15;
  text-align: center;
  cursor: default;
  transition: transform 0.2s;
}
.talk-card:hover { transform: translateY(-3px); }
.tc-emoji { font-size: 1.6rem; margin-bottom: 4px; }
.tc-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.talk-card p {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 10px;
  line-height: 1.4;
}
.tc-btn {
  display: inline-block;
  background: rgba(255,255,255,0.25);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 50px;
  transition: background 0.15s;
}
.tc-btn:hover { background: rgba(255,255,255,0.40); }

/* ═══════════════════════════════════════════
   NEWSPAPER CLIPPING
═══════════════════════════════════════════ */
.newspaper-clip {
  position: absolute;
  top: 38%;
  left: 62%;
  width: 200px;
  background: #f7f4ee;
  padding: 14px 14px 12px;
  box-shadow: 2px 3px 12px rgba(0,0,0,0.18), 4px 5px 0px rgba(0,0,0,0.06);
  transform: rotate(1.5deg);
  z-index: 14;
  cursor: grab;
  user-select: none;
  transition: transform 0.2s, box-shadow 0.2s;
  /* torn bottom edge via clip-path */
  clip-path: polygon(
    0% 0%, 100% 0%, 100% 92%,
    97% 95%, 94% 92%, 91% 96%, 88% 93%, 85% 97%,
    82% 94%, 79% 97%, 76% 93%, 73% 96%, 70% 93%,
    67% 97%, 64% 94%, 61% 97%, 58% 93%, 55% 96%,
    52% 93%, 49% 96%, 46% 93%, 43% 97%, 40% 93%,
    37% 96%, 34% 93%, 31% 96%, 28% 92%, 25% 96%,
    22% 93%, 19% 96%, 16% 92%, 13% 95%, 10% 92%,
    7% 96%, 4% 93%, 0% 96%
  );
  padding-bottom: 22px;
}
.newspaper-clip:hover {
  transform: rotate(0.5deg) translateY(-4px);
  box-shadow: 4px 8px 22px rgba(0,0,0,0.22), 6px 8px 0px rgba(0,0,0,0.06);
}
.nc-masthead {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-align: center;
  color: #1a1a1a;
  margin-bottom: 5px;
}
.nc-rule-double {
  height: 4px;
  border-top: 2px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
  margin-bottom: 4px;
}
.nc-kicker {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-align: center;
  color: #555;
  margin-bottom: 5px;
  text-transform: uppercase;
}
.nc-rule-thin {
  height: 1px;
  background: #ccc;
  margin-bottom: 6px;
}
.nc-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  color: #1a1a1a;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.nc-body {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.58rem;
  font-weight: 300;
  line-height: 1.6;
  color: #333;
  margin-bottom: 8px;
  column-count: 2;
  column-gap: 8px;
}
.nc-byline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #888;
  text-transform: uppercase;
  border-top: 1px solid #ddd;
  padding-top: 5px;
}

/* ═══════════════════════════════════════════
   STICKERS (SVG illustrated)
═══════════════════════════════════════════ */
.sticker {
  position: absolute;
  z-index: 12;
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
  cursor: grab;
  user-select: none;
}
.sticker:hover { filter: brightness(1.05); transform: scale(1.12) rotate(-2deg) !important; }
.sticker-png {
  width: 90px; /* default fallback */
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(2px 4px 8px rgba(0,0,0,0.15));
}
/* Hardcoded sticker sizes — set by user */
#stk-dog   .sticker-png { width: 142px; }
#stk-dach  .sticker-png { width: 122px; }
#stk-plant .sticker-png { width: 158px; }
#stk-books .sticker-png { width: 167px; }
#stk-sparkle .sticker-png { width: 90px; }

/* ── Woof speech bubble — appears above dog sticker on hover ── */
.woof-bubble {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #fff;
  border: 2.5px solid #1a1a1a;
  border-radius: 12px;
  padding: 6px 14px;
  font-family: 'Caveat', cursive;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a1a;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 20;
}
/* triangle pointer */
.woof-bubble::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: #1a1a1a;
}
.woof-bubble::before {
  content: '';
  position: absolute;
  top: calc(100% - 1px);
  left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: #fff;
  z-index: 1;
}
.stk-dach:hover .woof-bubble {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.stk-sparkle2 { }
.hw-text {
  font-family: 'Caveat', cursive;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  background: rgba(240,224,64,0.35);
  padding: 4px 10px;
  border-radius: 5px;
  display: block;
  white-space: nowrap;
  border: 1.5px dashed rgba(0,0,0,0.15);
}

/* ═══════════════════════════════════════════
   DOCK
═══════════════════════════════════════════ */
.dock-wrap {
  display: flex;
  justify-content: center;
  padding-bottom: 6px;
  background: var(--bg);
  flex-shrink: 0;
  background: transparent;
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  z-index: 50;
}
.dock {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  background: var(--dock-bg);
  backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid var(--dock-border);
  border-radius: 18px;
  padding: 6px 10px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.2), 0 8px 32px rgba(0,0,0,0.20);
}
.dock-group { display: flex; align-items: flex-end; gap: 4px; }
.dock-sep {
  width: 1px;
  height: 36px;
  background: rgba(0,0,0,0.12);
  margin: 0 4px;
  align-self: center;
}
.dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  cursor: pointer;
  position: relative;
  transition: transform 0.15s cubic-bezier(0.34,1.56,0.64,1);
}
.dock-item:hover {
  transform: translateY(-10px) scale(1.25);
}
.dock-item:hover .dock-label { opacity: 1; transform: translateY(0); }
.dock-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.22);
  flex-shrink: 0;
  padding: 0;
}
.dock-icon img,
.dock-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 11px;
  flex-shrink: 0;
}
.dk-portfolio {
  background: linear-gradient(145deg, #f7f0d8 0%, var(--yellow) 100%);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
}
.dock-label {
  font-size: 0.56rem;
  color: var(--text);
  opacity: 0;
  transition: opacity 0.15s, transform 0.15s;
  transform: translateY(4px);
  white-space: nowrap;
  background: rgba(0,0,0,0.75);
  color: #fff;
  padding: 1px 5px;
  border-radius: 4px;
  position: absolute;
  bottom: calc(100% + 6px);
  pointer-events: none;
}

/* ═══════════════════════════════════════════
   CASE STUDY MODAL
═══════════════════════════════════════════ */
.modal-bg {
  position: fixed;
  inset: 0;
  background: var(--modal-bg);
  backdrop-filter: blur(6px);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
}
.modal-bg.open { display: flex; }
.modal-box {
  background: var(--card-bg);
  border-radius: 20px;
  width: min(660px, 92vw);
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: modal-in 0.25s ease;
}
@keyframes modal-in {
  from { opacity: 0; transform: scale(0.92) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-close {
  position: sticky;
  top: 12px;
  float: right;
  margin: 12px 12px 0 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.08);
  color: var(--text);
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: background 0.15s;
}
.modal-close:hover { background: rgba(0,0,0,0.15); }
.modal-inner { padding: 24px 28px 28px; clear: both; }
.modal-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
}
.modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.modal-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.modal-tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  background: var(--yellow);
  border-radius: 50px;
}
.modal-body {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-muted);
}
.modal-body h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  margin: 16px 0 6px;
}
.modal-body p { margin-bottom: 10px; }
.modal-stat {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  background: var(--yellow);
  padding: 2px 10px;
  border-radius: 8px;
  margin: 8px 8px 8px 0;
}

/* ═══════════════════════════════════════════
   RECRUITER VIEW
═══════════════════════════════════════════ */
#view-recruiter {
  overflow-y: auto;
  background: #1a1a1a;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  position: relative;
}
/* Noise texture overlay */
#view-recruiter::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  mix-blend-mode: screen;
}

/* ── Mac Chrome Bar ── */
.rmac-bar {
  display: flex; align-items: center;
  background: #1c1c1e; border-bottom: 1px solid rgba(255,255,255,0.08);
  gap: 20px;
  padding: 0 16px; height: 28px;
  position: sticky; top: 0; z-index: 300;
}
.rmac-dots {
  display: flex; align-items: center; gap: 6px; flex-shrink: 0;
}
.rmac-dot {
  width: 12px; height: 12px; border-radius: 50%; display: block;
  opacity: 0.85;
}
.rmac-url {
  position: absolute; left: 50%; transform: translateX(-50%);
  background: rgba(255,255,255,0.07); border-radius: 5px;
  padding: 2px 0;
  width: 340px; text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif;
  font-size: 12px; color: rgba(255,255,255,0.45); letter-spacing: 0;
  white-space: nowrap; pointer-events: none;
}
.rmac-tabs-inner {
  display: flex; align-items: center; gap: 2px;
  background: rgba(255,255,255,0.07); border-radius: 6px; padding: 2px;
}
.rmac-tab {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif;
  font-size: 10px; font-weight: 400; letter-spacing: 0;
  padding: 1px 14px; border-radius: 4px; cursor: pointer;
  color: rgba(255,255,255,0.35);
  background: transparent; border: none;
  transition: background 0.15s, color 0.15s;
  user-select: none; line-height: 1.6;
}
.rmac-tab:hover { color: rgba(255,255,255,0.6); }
.rmac-tab-active {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.88);
}
.rmac-actions {
  display: flex; gap: 8px; flex-shrink: 0;
}
.rmac-icon {
  width: 12px; height: 12px; border-radius: 2px;
  background: rgba(255,255,255,0.08); display: block;
}
.rmac-right {
  margin-left: auto;
  display: flex; align-items: center; gap: 20px;
}
.rmac-loc {
  display: flex; align-items: center; gap: 6px;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif;
  font-size: 13px; font-weight: 400; color: rgba(255,255,255,0.85);
  letter-spacing: 0; flex-shrink: 0;
}

/* ── Recruiter Nav ── */
.rnav {
  position: sticky; top: 28px; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 52px;
  background: rgba(26,26,26,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.rnav-brand {
  font-family: 'Instrument Serif', serif; font-style: italic;
  font-size: 1.05rem; color: #fff; text-decoration: none;
}
.rnav-right { display: flex; align-items: center; gap: 28px; }
.rnav-link {
  font-size: 0.68rem; font-weight: 500; color: #888;
  text-decoration: none; letter-spacing: 0.04em; transition: color 0.18s;
}
.rnav-link:hover { color: #fff; }
.rnav-cta {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em; color: #fff;
  border: 1.5px solid rgba(255,255,255,0.3); padding: 7px 18px; border-radius: 4px;
  text-decoration: none; transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.rnav-cta:hover { background: #fff; color: #1a1a1a; border-color: #fff; }

/* Golden ratio grid */
.rhero-golden {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}
.rhero-left, .rhero-right { position: relative; z-index: 1; }

/* ── Recruiter Hero — φ = 1.618 scale ── */
/* φ spacing scale: 6 · 10 · 16 · 26 · 42 · 68 · 110 · 178px */
.rhero {
  min-height: 88vh;
  display: flex; flex-direction: row;
  align-items: center;
  text-align: left;
  padding: 68px 42px;          /* φ³ vertical · φ² horizontal */
  position: relative;
  overflow: hidden;
}
.rhero-left {
  position: absolute;
  top: 226.5px; left: 42px;
  display: flex; flex-direction: column;
  align-items: flex-start;
  max-width: calc(61.8% - 42px);
  z-index: 1;
}
/* Eyes: absolutely positioned at finalized coordinates */
.rhero-right {
  position: absolute;
  top: 333.8px; left: 893.6px;
  display: flex; flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 1;
}
/* Googly eyes */
.reyes-wrap {
  display: flex; gap: 16px; align-items: flex-end; /* gap: φ⁰ = 16px */
}
.rhero-right { pointer-events: all; }
.reye {
  background: rgba(255,255,255,0.88);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}
#rEyeLeft  { width: 148px; height: 148px; }
#rEyeRight { width: 118px; height: 118px; }
.reye-pupil {
  width: 42px; height: 42px;
  background: #0e0e12;
  border-radius: 50%;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.06s ease-out;
  pointer-events: none;
}
.reyes-label {
  font-family: 'Caveat', cursive;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.45);
  margin-top: 10px;
}
.rhero-right-hint {
  display: flex; flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin-right: 20px; /* offset left so arrow points toward phone center */
}
.rhint-text {
  font-family: 'Caveat', cursive;
  font-size: 1.5rem; font-weight: 400;
  color: rgba(255,255,255,0.42);
  letter-spacing: 0.01em; line-height: 1.3;
  white-space: nowrap;
}
.rhint-arrow {
  width: 52px; height: 48px;
  color: rgba(255,255,255,0.3);
  margin-left: 28px; /* align arrow tail under end of text */
  transform: rotate(8deg); /* slight tilt for hand-drawn feel */
}

/* ── iPhone Mockup — Dark ── */
.rphone {
  width: 262px;
  background: linear-gradient(160deg,
    #3a3a3c 0%, #1c1c1e 35%,
    #141416 65%, #0e0e10 100%);
  border-radius: 46px;
  padding: 7px;
  position: relative;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.1),
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 50px 100px rgba(0,0,0,0.88),
    0 22px 48px rgba(0,0,0,0.6),
    0 8px 18px rgba(0,0,0,0.4);
}
/* Top-edge bright specular highlight */
.rphone::before {
  content: '';
  position: absolute;
  top: 3px; left: 18px; right: 18px; height: 2px;
  background: linear-gradient(to right,
    transparent, rgba(255,255,255,0.95) 25%,
    white 50%,
    rgba(255,255,255,0.95) 75%, transparent);
  border-radius: 2px;
  pointer-events: none; z-index: 10;
}
/* Left-edge highlight */
.rphone::after {
  content: '';
  position: absolute;
  left: 3px; top: 18px; bottom: 18px; width: 2px;
  background: linear-gradient(to bottom,
    rgba(255,255,255,0.85) 0%,
    rgba(255,255,255,0.4) 55%,
    transparent 100%);
  border-radius: 2px;
  pointer-events: none; z-index: 10;
}
/* Side buttons — left (volume + mute) — slightly darker silver */
.rphone-btns-left {
  position: absolute;
  left: -4px; top: 108px;
  display: flex; flex-direction: column; gap: 10px;
  z-index: 20;
}
.rphone-btn {
  background: linear-gradient(to right, #3a3a3c, #2c2c2e);
  border-radius: 3px 0 0 3px;
}
.rphone-btn-mute  { width: 5px; height: 20px; }
.rphone-btn-vol   { width: 5px; height: 34px; }
/* Side button — right (power) */
.rphone-btn-pwr {
  position: absolute;
  right: -4px; top: 148px;
  width: 5px; height: 62px;
  background: linear-gradient(to left, #3a3a3c, #2c2c2e);
  border-radius: 0 3px 3px 0;
  z-index: 20;
}
/* Screen area: glass inset — recessed look */
.rphone-screen-area {
  border-radius: 40px; /* inner radius = outer - padding (46-7=39, rounded up) */
  overflow: hidden;
  background: #000;
  position: relative;
  /* Inner shadow makes screen look recessed into chassis */
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.07),
    inset 0 2px 12px rgba(0,0,0,0.9),
    inset 0 -1px 4px rgba(0,0,0,0.6);
}
.rphone-bar {
  background: #0a0a0a;
  padding: 10px 18px 0;
  display: flex; align-items: center; justify-content: space-between;
  position: relative;
}
.rphone-time {
  font-family: -apple-system, sans-serif;
  font-size: 11px; font-weight: 600; color: #fff; letter-spacing: 0.02em;
}
.rphone-island {
  position: absolute; left: 50%; transform: translateX(-50%);
  width: 88px; height: 26px;
  background: #000; border-radius: 20px; top: 8px;
}
.rphone-status {
  display: flex; align-items: center; gap: 4px;
  color: rgba(255,255,255,0.75);
}
.rphone-screen {
  background: #111113;
  display: flex; flex-direction: column;
  height: 480px; overflow: hidden;
}
.rphone-home {
  background: #0a0a0a;
  height: 36px; display: flex; align-items: center; justify-content: center;
}
.rphone-home::after {
  content: ''; width: 100px; height: 4px;
  background: rgba(255,255,255,0.25); border-radius: 2px;
}

/* ── Phone Chat UI ── */
.rpchat-header {
  display: flex; align-items: center; gap: 10px;
  padding: 36px 14px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  flex-shrink: 0;
}
.rpchat-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, #3a3a3a, #1a1a1a);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem; font-weight: 600; color: #fff; flex-shrink: 0;
}
.rpchat-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem; font-weight: 600; color: #fff;
}
.rpchat-status {
  font-size: 0.58rem; color: #555; display: flex; align-items: center; gap: 4px;
  margin-top: 2px;
}
.rpchat-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: #34c759; display: inline-block;
}
.rpchat-messages {
  flex: 1; overflow-y: auto; padding: 14px 12px 8px;
  display: flex; flex-direction: column; gap: 10px;
  scrollbar-width: none;
}
.rpchat-messages::-webkit-scrollbar { display: none; }
.rpchat-msg--bot { align-self: flex-start; max-width: 90%; }
.rpchat-msg--user { align-self: flex-end; max-width: 85%; }
.rpchat-bubble {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem; line-height: 1.55;
  padding: 9px 12px; border-radius: 16px;
}
.rpchat-msg--bot .rpchat-bubble {
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.85);
  border-radius: 4px 16px 16px 16px;
}
.rpchat-msg--user .rpchat-bubble {
  background: #fff; color: #1a1a1a;
  border-radius: 16px 4px 16px 16px;
}
.rpchat-typing .rpchat-bubble {
  display: flex; gap: 4px; align-items: center; padding: 12px;
}
.rpchat-typing .rpchat-bubble span {
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(255,255,255,0.35);
  animation: rpchatBounce 1.2s infinite;
}
.rpchat-typing .rpchat-bubble span:nth-child(2) { animation-delay: 0.18s; }
.rpchat-typing .rpchat-bubble span:nth-child(3) { animation-delay: 0.36s; }
@keyframes rpchatBounce {
  0%,60%,100% { transform: translateY(0); }
  30% { transform: translateY(-5px); }
}
.rpchat-chips {
  display: flex; flex-wrap: wrap; gap: 5px;
  padding: 0 10px 8px; flex-shrink: 0;
}
.rpchat-chip {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.6rem; font-weight: 500;
  padding: 5px 10px; border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.7);
  cursor: pointer; white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.rpchat-chip:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}
.rpchat-input-row {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 10px 10px;
  border-top: 1px solid rgba(255,255,255,0.07);
  flex-shrink: 0;
}
.rpchat-input {
  flex: 1; background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px; padding: 7px 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.65rem; color: #fff; outline: none;
}
.rpchat-input::placeholder { color: rgba(255,255,255,0.3); }
.rpchat-input:focus { border-color: rgba(255,255,255,0.25); }
.rpchat-send {
  width: 30px; height: 30px; border-radius: 50%;
  background: #fff; color: #1a1a1a; border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0;
  transition: opacity 0.15s, transform 0.15s;
}
.rpchat-send:hover { opacity: 0.85; transform: scale(1.08); }

/* Pulse the first chip on load to signal interactivity */
.rpchat-chip:first-child {
  animation: rChipPulse 2.8s ease-in-out 1.2s 3;
}
@keyframes rChipPulse {
  0%,100% { border-color: rgba(255,255,255,0.15); background: rgba(255,255,255,0.05); }
  50%      { border-color: rgba(255,255,255,0.5);  background: rgba(255,255,255,0.14); color: #fff; }
}
/* Soft glow on input focus */
.rpchat-input:focus {
  border-color: rgba(255,255,255,0.35);
  box-shadow: 0 0 0 2px rgba(255,255,255,0.06);
}
.rhero-eyebrow {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem; font-weight: 600; letter-spacing: 0.18em; /* φ⁰ = 16px */
  text-transform: uppercase; color: #888; margin-bottom: 24px;
}
.rhero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.4rem, 6vw, 5.375rem); /* max = φ³·⁵ ≈ 86px — midpoint between φ³ and φ⁴ */
  font-weight: 500; line-height: 1.06; letter-spacing: -0.04em;
  color: #fff; margin-bottom: 16px;        /* φ⁰ = 16px */
}
.rhero-cursor {
  display: inline-block;
  color: #fff;
  font-weight: 300;
  animation: rCursorBlink 0.7s step-end infinite;
}
.rhero-cursor.done {
  animation: none;
  opacity: 0;
}
@keyframes rCursorBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
.rhero-phonetic {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.625rem;         /* 10px = φ⁻¹ × 16 */
  font-weight: 400; letter-spacing: 0.1em;
  color: #555; margin-top: -10px; margin-bottom: 26px; /* φ¹ = 26px */
}
.rhero-role {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px;             /* φ¹ = 26px */
  font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: #888;
  margin-bottom: 26px;         /* φ¹ = 26px */
}
.rhero-desc {
  font-family: 'Space Grotesk', sans-serif;
  max-width: 382px;            /* φ⁻¹ × 618 = 382 — minor golden rectangle */
  font-size: 16px;             /* φ⁰ */
  font-weight: 300;
  line-height: 1.618;          /* exact φ */
  color: rgba(255,255,255,0.65);
  margin-bottom: 42px;         /* φ² = 42px */
}
.rhero-actions {
  display: flex; align-items: center; gap: 16px; /* φ⁰ = 16px */
}
.rbtn-primary {
  font-family: 'Poppins',sans-serif; font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.06em;
  padding: 10px 26px;          /* φ⁻¹ vertical · φ¹ horizontal */
  border-radius: 10px;         /* φ⁻¹ × φ¹ = 10 */
  background: #fff; color: #1a1a1a; text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}
.rbtn-primary:hover { opacity: 0.85; transform: translateY(-2px); }
.rbtn-outline {
  font-family: 'Poppins',sans-serif; font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.06em;
  padding: 10px 26px;          /* φ⁻¹ · φ¹ */
  border-radius: 10px;
  border: 1.5px solid rgba(255,255,255,0.25); color: #fff;
  text-decoration: none; transition: border-color 0.2s, transform 0.2s;
}
.rbtn-outline:hover { border-color: rgba(255,255,255,0.6); transform: translateY(-2px); }
.rhero-loc {
  position: absolute; bottom: 40px;
  font-size: 0.58rem; font-weight: 400; letter-spacing: 0.08em; color: #888;
}

/* ── Chat popup (anchored to dock iMessage icon) ── */
.rchat-popup {
  position: fixed;
  bottom: 80px;
  right: 76px;
  width: 300px;
  display: flex; flex-direction: column; gap: 0;
  background: #1e1e22;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.6), 0 1px 0 rgba(255,255,255,0.06) inset;
  opacity: 0;
  transform: translateX(8px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.22s cubic-bezier(0.16,1,0.3,1), transform 0.22s cubic-bezier(0.16,1,0.3,1);
  transform-origin: bottom right;
  z-index: 300;
}
.rchat-popup--open {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: all;
}

/* Popup header */
.rchat-popup-header {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 14px 11px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.03);
}
.rchat-popup-close {
  margin-left: auto; flex-shrink: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: background 0.15s, color 0.15s;
}
.rchat-popup-close:hover { background: rgba(255,255,255,0.15); color: #fff; }

/* Who header */
.rchat-who {
  display: flex; align-items: center; gap: 10px;
}
.rchat-who-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, #016CB9, #01477A);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px; font-weight: 700; color: #fff;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(1,108,185,0.45);
}
.rchat-who-meta { display: flex; flex-direction: column; gap: 1px; }
.rchat-who-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,0.88); letter-spacing: -0.01em;
}
.rchat-who-status {
  display: flex; align-items: center; gap: 5px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px; color: rgba(255,255,255,0.36);
}
.rchat-who-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #52ac55;
  animation: whoDotPulse 2s ease-in-out infinite;
}
@keyframes whoDotPulse {
  0%  { box-shadow: 0 0 0 0   rgba(82,172,85,0.7); }
  60% { box-shadow: 0 0 0 6px rgba(82,172,85,0);   }
  100%{ box-shadow: 0 0 0 0   rgba(82,172,85,0);   }
}

/* Messages scroll area */
.rchat-msgs {
  display: flex; flex-direction: column; gap: 7px;
  max-height: 220px;
  overflow-y: auto;
  padding: 14px 14px 8px;
  scrollbar-width: none;
}
.rchat-msgs::-webkit-scrollbar { display: none; }

/* Rows */
.rchat-row {
  display: flex;
  opacity: 0;
  transform: translateY(6px);
  animation: bubbleIn 0.35s cubic-bezier(0.34,1.2,0.64,1) forwards;
}
.rchat-row--bot  { justify-content: flex-start; }
.rchat-row--user { justify-content: flex-end; }

/* Bubbles */
.rchat-bub {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px; line-height: 1.55;
  padding: 10px 14px;
  max-width: 82%;
  word-break: break-word;
}
.rchat-bub--bot {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.82);
  border-radius: 18px 18px 18px 4px;
}
.rchat-bub--user {
  background: #016CB9;
  color: #fff;
  border-radius: 18px 18px 4px 18px;
  box-shadow: 0 4px 18px rgba(1,108,185,0.38);
}

/* Typing dots */
.rchat-typing-dots {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px 18px 18px 4px;
  padding: 12px 16px;
}
.rchat-typing-dots span {
  display: block; width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.4);
  animation: tdBounce 1.2s ease-in-out infinite;
}
.rchat-typing-dots span:nth-child(2) { animation-delay: 0.18s; }
.rchat-typing-dots span:nth-child(3) { animation-delay: 0.36s; }
@keyframes tdBounce {
  0%,60%,100% { transform: translateY(0); opacity: 0.4; }
  30%         { transform: translateY(-4px); opacity: 1; }
}

/* Suggestion chips */
.rchat-chips {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 0 14px 10px;
}
.rpchat-chip {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px; font-weight: 500;
  color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 20px;
  padding: 5px 12px;
  cursor: pointer; white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.rpchat-chip:hover {
  background: rgba(1,108,185,0.22);
  border-color: rgba(1,108,185,0.45);
  color: #fff;
}

/* Input row */
.rchat-input-wrap {
  display: flex; flex-direction: column; gap: 0;
  padding: 0 10px 12px;
}
.rchat-input-row {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 14px;
  padding: 7px 7px 7px 14px;
  transition: border-color 0.18s, background 0.18s;
}
.rchat-input-row:focus-within {
  border-color: rgba(1,108,185,0.5);
  background: rgba(255,255,255,0.08);
}
.rchat-input {
  flex: 1; background: none; border: none; outline: none;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12.5px; color: rgba(255,255,255,0.85);
}
.rchat-input::placeholder { color: rgba(255,255,255,0.27); }
.rchat-send {
  width: 30px; height: 30px; border-radius: 10px;
  background: #016CB9; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #fff; flex-shrink: 0;
  transition: background 0.15s, transform 0.15s;
}
.rchat-send:hover { background: #01477A; transform: scale(1.08); }

/* Handwritten hint */
.rchat-hint {
  display: flex; align-items: center; gap: 5px;
  padding-left: 2px;
}
.rchat-hint svg {
  width: 28px; height: 22px;
  color: rgba(255,255,255,0.2); flex-shrink: 0;
}
.rchat-hint span {
  font-family: 'Caveat', cursive;
  font-size: 17px; color: rgba(255,255,255,0.25);
  white-space: nowrap;
}

/* Entrance animation */
.rchat-d0 { animation-delay: 0.2s; }
@keyframes bubbleIn {
  to { opacity: 1; transform: translateY(0); }
}
/* JS-added bubbles animate in instantly */
.rchat-row.rchat-live {
  animation-delay: 0s;
  animation-duration: 0.28s;
}

/* ── Location Strip ── */
/* ↓ Edit these to adjust the strip */
#view-recruiter {
  --strip-padding-y:   4px;
  --strip-font-size:   11px;
  --strip-font-weight: 500;
}
.rloc-strip {
  display: none;
  background: #fff;
  color: #111;
  align-items: center; justify-content: flex-start;
  gap: 6px;
  padding: var(--strip-padding-y) 52px;
  font-family: 'Poppins', sans-serif;
  font-size: var(--strip-font-size);
  font-weight: var(--strip-font-weight);
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.rloc-bull { color: rgba(0,0,0,0.35); font-size: 0.5rem; }
.rloc-time { font-variant-numeric: tabular-nums; }

/* ── Recruiter Marquee — macOS Finder tag style ── */
.rmarquee {
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.rmarquee-track {
  display: flex; align-items: center; gap: 16px;
  white-space: nowrap; animation: rMarquee 48s linear infinite;
}
.rmarquee-track:hover { animation-play-state: paused; }

/* macOS pill chip */
.rmi {
  display: inline-flex; align-items: center; gap: 7px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 6px 16px;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Space Grotesk', sans-serif;
  font-size: 12px; font-weight: 400; letter-spacing: -0.01em;
  color: rgba(255,255,255,0.62);
  cursor: default;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.rmi:hover {
  background: rgba(255,255,255,0.11);
  border-color: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.88);
}

/* color dot — like macOS Finder tags */
.rmi-dot {
  width: 8px; height: 8px; border-radius: 50%;
  display: inline-block; flex-shrink: 0;
}

/* separator — just a thin spacer line */
.rms {
  flex-shrink: 0; width: 1px; height: 16px;
  background: rgba(255,255,255,0.08); margin: 0 4px;
}

/* ── Sticky Notes ── */
.rnotes-section { padding: 80px 52px; }
.rnotes-heading {
  font-size: 0.58rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: #888; margin-bottom: 48px;
}
.rnotes-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: start;
}
.rnote {
  border-radius: 4px; padding: 28px 26px 32px; position: relative;
  transform-origin: 50% 0%; box-shadow: 4px 6px 20px rgba(0,0,0,0.5);
  text-decoration: none; display: block; color: #111;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.rnote::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 5px; border-radius: 4px 4px 0 0; background: rgba(0,0,0,0.08);
}
.rnote-1 { background: #fefce8; --rn: -2.5deg; animation: rNoteWiggle1 4.2s ease-in-out infinite; }
.rnote-2 { background: #f0fdf4; --rn: 1.8deg;  animation: rNoteWiggle2 4.4s ease-in-out infinite; animation-delay: -1.4s; }
.rnote-3 { background: #fdf4ff; --rn: -1.2deg; animation: rNoteWiggle3 4.0s ease-in-out infinite; animation-delay: -2.8s; color: #111; }
.rnote:hover {
  transform: rotate(0deg) scale(1.04) !important;
  box-shadow: 8px 12px 32px rgba(0,0,0,0.6);
  animation-play-state: paused; z-index: 10;
}
@keyframes rNoteWiggle1 { 0%,100%{transform:rotate(-2.5deg)} 25%{transform:rotate(-1.4deg)} 75%{transform:rotate(-3.6deg)} }
@keyframes rNoteWiggle2 { 0%,100%{transform:rotate(1.8deg)}  25%{transform:rotate(2.9deg)}  75%{transform:rotate(0.7deg)}  }
@keyframes rNoteWiggle3 { 0%,100%{transform:rotate(-1.2deg)} 25%{transform:rotate(-0.1deg)} 75%{transform:rotate(-2.3deg)} }
.rnote-label {
  font-size: 0.5rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(0,0,0,0.35); margin-bottom: 12px;
}
.rnote-title { font-size: 1rem; font-weight: 600; line-height: 1.3; color: #111; margin-bottom: 10px; }
.rnote-body { font-size: 0.76rem; font-weight: 400; line-height: 1.65; color: rgba(0,0,0,0.6); }
.rnote-roles { list-style: none; margin-top: 10px; }
.rnote-roles li {
  font-size: 0.7rem; font-weight: 400; color: rgba(0,0,0,0.6);
  padding: 4px 0; border-bottom: 1px solid rgba(0,0,0,0.08); line-height: 1.4;
}
.rnote-roles li:last-child { border-bottom: none; }
.rnote-roles li strong { color: rgba(0,0,0,0.8); font-weight: 600; }
.rnote-quote { font-size: 0.86rem; font-style: italic; line-height: 1.6; color: rgba(0,0,0,0.72); margin-bottom: 10px; }
.rnote-attr { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.06em; color: rgba(0,0,0,0.4); }
.rnote-arrow { position: absolute; bottom: 20px; right: 20px; font-size: 1rem; color: rgba(0,0,0,0.25); transition: color 0.2s, transform 0.2s; }
.rnote:hover .rnote-arrow { color: rgba(0,0,0,0.5); transform: translate(2px,-2px); }

/* ── Chinmay-style Project Tiles ── */
.rct-section {
  padding: 72px 52px 80px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.rct-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 48px;
}
.rct-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 600; letter-spacing: -0.04em; line-height: 1;
  color: #fff;
}
.rct-title em {
  font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400;
  color: rgba(255,255,255,0.6);
}
.rct-count {
  font-size: 0.58rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: #555; padding-bottom: 6px;
}
.rct-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 52px 32px;
}

/* tile */
.rct {
  display: flex; flex-direction: column; text-decoration: none; color: #fff;
  transition: transform 0.45s cubic-bezier(0.16,1,0.3,1);
}
.rct:not(.rct-wip):hover { transform: translateY(-5px); }

/* image container */
.rct-img {
  width: 100%; aspect-ratio: 4/3; border-radius: 20px; overflow: hidden;
  position: relative; background: var(--rtb, #222);
}
.rct-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  object-fit: cover; object-position: top;
  border-radius: 10px 10px 0 0;
  box-shadow: 0 -20px 48px rgba(0,0,0,0.55);
  display: block;
  transition: transform 0.5s cubic-bezier(0.25,1,0.5,1);
}
.rct:hover .rct-img img { transform: scale(1.04); }

/* gradient fill (no screenshot) */
.rct-fill {
  width: 100%; height: 100%;
  background: var(--rct-fill, rgba(255,255,255,0.04));
}

/* hover overlay + view button */
.rct-overlay {
  position: absolute; inset: 0; border-radius: 20px;
  background: rgba(0,0,0,0);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s; z-index: 5;
}
.rct:hover .rct-overlay { background: rgba(0,0,0,0.35); }
.rct-view {
  width: 76px; height: 76px; border-radius: 50%;
  background: var(--rta, #fff); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em;
  opacity: 0; transform: scale(0.6);
  transition: opacity 0.28s, transform 0.32s cubic-bezier(0.34,1.45,0.64,1);
  pointer-events: none;
}
.rct:hover .rct-view { opacity: 1; transform: scale(1); }

/* wip overlay */
.rct-soon {
  position: absolute; inset: 0; border-radius: 20px;
  background: rgba(26,26,26,0.55);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(2px); z-index: 4;
}
.rct-soon span {
  font-size: 0.56rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: #666;
  background: rgba(26,26,26,0.92); padding: 6px 14px;
  border-radius: 50px; border: 1px solid rgba(255,255,255,0.1);
}

/* label below */
.rct-label { padding: 20px 4px 0; }
.rct-meta {
  font-size: 0.52rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: #555; margin-bottom: 7px;
  display: flex; align-items: center; gap: 8px;
}
.rct-dot { width: 3px; height: 3px; border-radius: 50%; background: #555; }
.rct-name {
  font-size: clamp(1.4rem, 2.4vw, 2.1rem);
  font-weight: 600; letter-spacing: -0.03em; line-height: 1.1;
  transition: color 0.2s;
}
.rct:not(.rct-wip):hover .rct-name { color: var(--rta, rgba(255,255,255,0.5)); }
.rct-wip .rct-name { color: #444; }

/* delay classes reused */
.rsr-d4 { transition-delay: 0.18s; }

/* ── Work Section (legacy, kept for safety) ── */
.rwork-section { padding: 60px 52px 80px; border-top: 1px solid rgba(255,255,255,0.08); }
.rwork-title {
  font-size: clamp(1.8rem,3.5vw,2.8rem); font-weight: 600;
  letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 8px;
}
.rwork-title em { font-family: 'Instrument Serif',serif; font-style: italic; font-weight: 400; }
.rwork-hint { font-size: 0.64rem; font-weight: 400; color: #888; margin-bottom: 44px; }
.rwork-grid {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 38px 26px;
}
.rwtile { text-decoration: none; color: #fff; display: flex; flex-direction: column; transition: transform 0.45s cubic-bezier(0.16,1,0.3,1); }
.rwtile:not(.rwtile-wip):hover { transform: translateY(-4px); }
.rwtile-img {
  width: 100%; aspect-ratio: 4/3; border-radius: 16px; overflow: hidden;
  position: relative; background: var(--rtile-bg, #2a2a2a);
  border: 1px solid rgba(255,255,255,0.08);
}
.rwtile-img img {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 84%; height: 90%; object-fit: cover; object-position: top;
  border-radius: 8px 8px 0 0; box-shadow: 0 -16px 40px rgba(0,0,0,0.55); display: block;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.rwtile:hover .rwtile-img img { transform: translateX(-50%) translateY(-6px); }
.rwtile-overlay {
  position: absolute; inset: 0; border-radius: 16px;
  background: rgba(0,0,0,0); display: flex; align-items: center; justify-content: center;
  transition: background 0.3s; z-index: 5;
}
.rwtile:hover .rwtile-overlay { background: rgba(0,0,0,0.3); }
.rwtile-view {
  width: 68px; height: 68px; border-radius: 50%; background: #fff; color: #1a1a1a;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.04em;
  opacity: 0; transform: scale(0.6);
  transition: opacity 0.25s, transform 0.3s cubic-bezier(0.34,1.45,0.64,1); pointer-events: none;
}
.rwtile:hover .rwtile-view { opacity: 1; transform: scale(1); }
.rwtile-label { padding: 15px 2px 0; }
.rwtile-meta {
  font-size: 0.5rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: #888; margin-bottom: 5px;
  display: flex; align-items: center; gap: 6px;
}
.rwtile-dot { width: 3px; height: 3px; border-radius: 50%; background: #888; }
.rwtile-name {
  font-size: clamp(1.1rem,1.9vw,1.65rem); font-weight: 600;
  letter-spacing: -0.03em; line-height: 1.1; transition: color 0.2s;
}
.rwtile:hover .rwtile-name { color: rgba(255,255,255,0.55); }
.rwtile-wip .rwtile-name { color: #888; }
.rwtile-soon {
  position: absolute; inset: 0; border-radius: 16px; background: rgba(26,26,26,0.55);
  display: flex; align-items: center; justify-content: center; backdrop-filter: blur(2px); z-index: 4;
}
.rwtile-soon span {
  font-size: 0.54rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: #888; background: rgba(26,26,26,0.9);
  padding: 6px 14px; border-radius: 50px; border: 1px solid rgba(255,255,255,0.1);
}

/* ── Graphic Design Section ── */
.rgfx-section {
  padding: 72px 0 80px;
  border-top: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}
.rgfx-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 0 52px; margin-bottom: 40px;
}
.rgfx-eyebrow {
  font-size: 0.52rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: #555; margin-bottom: 10px;
}
.rgfx-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: #fff;
}
.rgfx-title em {
  font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400;
  color: rgba(255,255,255,0.6);
}
.rgfx-hint {
  font-family: 'Caveat', cursive;
  font-size: 1.25rem; font-weight: 400; letter-spacing: 0.02em;
  color: rgba(255,255,255,0.42); padding-bottom: 4px;
}
.rgfx-track {
  overflow-x: auto; overflow-y: visible;
  scrollbar-width: none; cursor: grab;
  padding: 0 52px 4px;
}
.rgfx-track::-webkit-scrollbar { display: none; }
.rgfx-track.dragging { cursor: grabbing; }
.rgfx-strip {
  display: flex; gap: 16px;
  width: max-content;
}
.rgfx-card {
  flex-shrink: 0; width: 240px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
}
.rgfx-card--wide  { width: 340px; }
.rgfx-card--tall  { width: 200px; }
.rgfx-card:hover  { transform: translateY(-4px); }
.rgfx-thumb {
  position: relative; width: 100%; height: 300px;
  border-radius: 14px; overflow: hidden;
}
.rgfx-card--tall .rgfx-thumb  { height: 360px; }
.rgfx-card--wide .rgfx-thumb  { height: 260px; }
.rgfx-img {
  width: 100%; height: 100%; object-fit: cover; object-position: top;
  transition: transform 0.5s cubic-bezier(0.25,1,0.5,1);
}
.rgfx-card:hover .rgfx-img { transform: scale(1.04); }
.rgfx-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0);
  display: flex; align-items: flex-start; justify-content: flex-end;
  padding: 14px; pointer-events: none;
  transition: background 0.25s;
}
.rgfx-card:hover .rgfx-overlay { background: rgba(0,0,0,0.28); }
.rgfx-arrow {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0); border: 1px solid rgba(255,255,255,0);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; color: #fff;
  opacity: 0; transform: scale(0.7);
  transition: opacity 0.2s, transform 0.2s, background 0.2s, border-color 0.2s;
}
.rgfx-card:hover .rgfx-arrow {
  opacity: 1; transform: scale(1);
  background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.25);
}
.rgfx-foot { padding: 0 2px; }
.rgfx-cat {
  display: block; font-size: 0.5rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: #555; margin-bottom: 5px;
}
.rgfx-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.88rem; font-weight: 600; letter-spacing: -0.02em;
  color: rgba(255,255,255,0.75); line-height: 1.2;
  transition: color 0.18s;
}
.rgfx-card:hover .rgfx-name { color: #fff; }

/* ── Indian Street Montage ── */
.rstreet-section {
  position: relative; overflow: hidden;
  height: 260px;
  background: #1a1a1a;
  border-top: 1px solid rgba(255,255,255,0.06);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}
.rstreet-scroll { position: absolute; inset: 0; display: flex; align-items: flex-end; }
.rstreet-track { display: flex; flex-shrink: 0; animation: rstreetScroll 90s linear infinite; }
.rstreet-svg { flex-shrink: 0; width: 1800px; height: 240px; display: block; color: #b8743a; }
.rstreet-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(to bottom, rgba(26,26,26,0.6) 0%, rgba(26,26,26,0.08) 50%, rgba(26,26,26,0.6) 100%);
  pointer-events: none;
}
.rstreet-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem; font-weight: 400; font-style: normal;
  color: rgba(210,185,150,0.55); letter-spacing: 0.05em;
}
.rstreet-label em { font-style: italic; color: rgba(210,185,150,0.82); }
@keyframes rstreetScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Right Vertical Dock ── */
.rdock {
  position: fixed;
  right: 16px; top: 50%; transform: translateY(-50%);
  z-index: 200;
  display: flex; flex-direction: column; align-items: center;
  gap: 6px;
  background: rgba(30,30,32,0.75);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 20px;
  padding: 12px 8px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5), 0 1px 0 rgba(255,255,255,0.06) inset;
}
.rdock-item {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: 12px; cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1);
}
.rdock-item:hover { transform: scale(1.22); }
.rdock-item:hover .rdock-label { opacity: 1; transform: translateX(-6px); }
.rdock-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.45));
  overflow: hidden; border-radius: 10px;
}
.rdock-icon img {
  width: 100%; height: 100%;
  object-fit: cover; display: block; border-radius: 10px;
}
/* backgrounds now baked into SVG squircles — remove old fills */
.rdock-linkedin, .rdock-gmail, .rdock-folder, .rdock-trash, .rdock-imsg { background: none; }
.rdock-label {
  position: absolute; right: calc(100% + 10px);
  background: rgba(20,20,22,0.92);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff; font-family: 'Space Grotesk', sans-serif;
  font-size: 11px; font-weight: 500;
  padding: 4px 10px; border-radius: 6px;
  white-space: nowrap; pointer-events: none;
  opacity: 0; transform: translateX(0);
  transition: opacity 0.15s, transform 0.15s;
}
.rdock-sep {
  width: 28px; height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 2px 0;
}
/* iMessage dock icon */
.rdock-imsg rect:first-child, .rdock-imsg rect { transition: none; }
/* Handwritten hint on dock chat icon */
.rdock-chat-hint {
  position: absolute;
  right: 62px; top: 50%; transform: translateY(-50%);
  display: flex; align-items: center; gap: 6px;
  pointer-events: none;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.rdock-chat-hint.rdock-hint--visible { opacity: 1; }
.rdock-chat-hint svg {
  width: 28px; height: 18px;
  color: rgba(255,255,255,0.38);
  flex-shrink: 0;
}
.rdock-chat-hint span {
  font-family: 'Caveat', cursive;
  font-size: 20px; font-weight: 400;
  color: rgba(255,255,255,0.5);
}

/* ── Footer ── */
.rfooter {
  border-top: 1px solid rgba(255,255,255,0.08);
}
.rfooter-body {
  padding: 68px 52px 52px;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 48px;
}
.rfooter-cta-block {
  display: flex; flex-direction: column; gap: 12px;
}
.rfooter-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 600; letter-spacing: -0.03em; line-height: 1;
  color: #fff;
}
.rfooter-wave { font-style: normal; }
.rfooter-sub {
  font-size: 0.85rem; font-weight: 400;
  color: rgba(255,255,255,0.35); line-height: 1.5;
}
.rfooter-contacts {
  display: flex; gap: 52px; align-items: flex-start;
}
.rfooter-email, .rfooter-ln {
  display: flex; flex-direction: column; gap: 6px;
  text-decoration: none; transition: opacity 0.2s;
}
.rfooter-email:hover, .rfooter-ln:hover { opacity: 0.65; }
.rfooter-email-label {
  font-size: 0.5rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: #555;
}
.rfooter-email-addr {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  font-weight: 500; letter-spacing: -0.02em; color: #fff;
}
.rfooter-email-note {
  font-family: 'Caveat', cursive;
  font-size: 1.1rem; color: rgba(255,255,255,0.28);
}
.rfooter-bar {
  padding: 18px 52px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: space-between;
}
.rfooter-bar-links { display: flex; align-items: center; gap: 12px; }
.rfooter-sep { color: #444; font-size: 0.6rem; }
.rfooter-copy { font-size: 0.55rem; font-weight: 400; color: #444; }
.rfooter-link {
  font-size: 0.6rem; font-weight: 400; letter-spacing: 0.03em;
  color: #555; text-decoration: none; transition: color 0.18s;
}
.rfooter-link:hover { color: #fff; }

/* ── Recruiter scroll reveal ── */
.rsr { opacity: 1; transform: none; }

/* ── Recruiter keyframes ── */
@keyframes rMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Light mode toggle button ── */
.rmac-theme-btn {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  width: 24px; height: 18px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  flex-shrink: 0;
}
.rmac-theme-btn:hover {
  background: rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.88);
}

/* ══════════════════════════════════════════
   CV LIGHT MODE  (#view-recruiter.r-light)
══════════════════════════════════════════ */
#view-recruiter.r-light {
  background: #f0eeea;
  color: #1a1a1a;
}
/* Mac bar */
#view-recruiter.r-light .rmac-bar {
  background: #f0eeea;
  border-bottom-color: rgba(0,0,0,0.07);
}
#view-recruiter.r-light .rmac-url {
  background: rgba(0,0,0,0.06);
  color: rgba(0,0,0,0.45);
}
#view-recruiter.r-light .rmac-tabs-inner {
  background: rgba(0,0,0,0.07);
}
#view-recruiter.r-light .rmac-tab { color: rgba(0,0,0,0.35); }
#view-recruiter.r-light .rmac-tab:hover { color: rgba(0,0,0,0.6); }
#view-recruiter.r-light .rmac-tab-active {
  background: rgba(0,0,0,0.1);
  color: rgba(0,0,0,0.88);
}
#view-recruiter.r-light .rmac-loc { color: rgba(0,0,0,0.7); }
#view-recruiter.r-light .rmac-theme-btn {
  background: rgba(0,0,0,0.06);
  border-color: rgba(0,0,0,0.12);
  color: rgba(0,0,0,0.5);
}
#view-recruiter.r-light .rmac-theme-btn:hover { color: rgba(0,0,0,0.85); }

/* Nav */
#view-recruiter.r-light .rnav {
  background: rgba(240,238,234,0.96);
  border-bottom-color: rgba(0,0,0,0.06);
}
#view-recruiter.r-light .rnav-brand { color: #1a1a1a; }
#view-recruiter.r-light .rnav-link { color: #555; }
#view-recruiter.r-light .rnav-link:hover { color: #1a1a1a; }
#view-recruiter.r-light .rnav-cta {
  color: #1a1a1a;
  border-color: rgba(0,0,0,0.25);
}
#view-recruiter.r-light .rnav-cta:hover {
  background: #1a1a1a;
  color: #f0eeea;
  border-color: #1a1a1a;
}

/* Hero */
#view-recruiter.r-light .rhero-golden { filter: invert(1) opacity(0.85) contrast(1.4); }
#view-recruiter.r-light .reye {
  background: rgba(255,255,255,0.88);
  box-shadow: 0 2px 20px rgba(0,0,0,0.12), 0 0 0 2px rgba(0,0,0,0.18);
}
#view-recruiter.r-light .reye-pupil { background: #1a1a1a; }
#view-recruiter.r-light .reyes-label { color: rgba(0,0,0,0.22); }
#view-recruiter.r-light .rhint-text { color: rgba(0,0,0,0.38); }
#view-recruiter.r-light .rhint-arrow { color: rgba(0,0,0,0.25); }
#view-recruiter.r-light .rhero-eyebrow { color: #555; }
#view-recruiter.r-light .rhero-title { color: #1a1a1a; }
#view-recruiter.r-light .rhero-cursor { color: #1a1a1a; }
#view-recruiter.r-light .rhero-phonetic { color: #777; }
#view-recruiter.r-light .rhero-role { color: #555; }
#view-recruiter.r-light .rhero-desc { color: rgba(0,0,0,0.7); }
#view-recruiter.r-light .rhero-loc { color: #666; }
#view-recruiter.r-light .rbtn-primary {
  background: #1a1a1a; color: #f0eeea;
}
#view-recruiter.r-light .rbtn-outline {
  border-color: rgba(0,0,0,0.22); color: #1a1a1a;
}
#view-recruiter.r-light .rbtn-outline:hover { border-color: rgba(0,0,0,0.55); }

/* Marquee */
#view-recruiter.r-light .rmarquee {
  border-top-color: rgba(0,0,0,0.08);
  border-bottom-color: rgba(0,0,0,0.08);
}
#view-recruiter.r-light .rmi {
  background: rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.1);
  color: rgba(0,0,0,0.55);
}
#view-recruiter.r-light .rmi:hover {
  background: rgba(0,0,0,0.09);
  border-color: rgba(0,0,0,0.18);
  color: rgba(0,0,0,0.88);
}
#view-recruiter.r-light .rms { background: rgba(0,0,0,0.1); }

/* Project tiles section */
#view-recruiter.r-light .rct-section { border-top-color: rgba(0,0,0,0.08); }
#view-recruiter.r-light .rct-title { color: #1a1a1a; }
#view-recruiter.r-light .rct-title em { color: rgba(0,0,0,0.45); }
#view-recruiter.r-light .rct-count { color: #777; }
#view-recruiter.r-light .rct { color: #1a1a1a; }
#view-recruiter.r-light .rct-img { background: #ddd; }
#view-recruiter.r-light .rct-meta { color: #777; }
#view-recruiter.r-light .rct-dot { background: #777; }
#view-recruiter.r-light .rct-name { color: #1a1a1a; }
#view-recruiter.r-light .rct:not(.rct-wip):hover .rct-name { color: var(--rta, rgba(0,0,0,0.45)); }
#view-recruiter.r-light .rct-view { background: var(--rta, #1a1a1a); color: #fff; }
#view-recruiter.r-light .rct-wip .rct-name { color: #bbb; }
#view-recruiter.r-light .rct-soon span {
  background: rgba(240,238,234,0.92);
  border-color: rgba(0,0,0,0.1);
  color: #aaa;
}

/* GFX section */
#view-recruiter.r-light .rgfx-section { border-top-color: rgba(0,0,0,0.08); }
#view-recruiter.r-light .rgfx-eyebrow { color: #666; }
#view-recruiter.r-light .rgfx-title { color: #1a1a1a; }
#view-recruiter.r-light .rgfx-title em { color: rgba(0,0,0,0.45); }
#view-recruiter.r-light .rgfx-hint { color: #888; }
#view-recruiter.r-light .rgfx-cat { color: #aaa; }
#view-recruiter.r-light .rgfx-name { color: rgba(0,0,0,0.65); }
#view-recruiter.r-light .rgfx-card:hover .rgfx-name { color: #1a1a1a; }

/* Work section */
#view-recruiter.r-light .rwork-section { border-top-color: rgba(0,0,0,0.08); }
#view-recruiter.r-light .rwtile { color: #1a1a1a; }
#view-recruiter.r-light .rwtile-img {
  background: #ddd;
  border-color: rgba(0,0,0,0.08);
}
#view-recruiter.r-light .rwtile-meta, #view-recruiter.r-light .rwtile-dot { color: #aaa; }
#view-recruiter.r-light .rwtile-name { color: #1a1a1a; }
#view-recruiter.r-light .rwtile:hover .rwtile-name { color: rgba(0,0,0,0.45); }
#view-recruiter.r-light .rwtile-view { background: #1a1a1a; color: #f0eeea; }
#view-recruiter.r-light .rwtile-soon { background: rgba(240,238,234,0.55); }
#view-recruiter.r-light .rwtile-soon span {
  background: rgba(240,238,234,0.92);
  border-color: rgba(0,0,0,0.1);
  color: #aaa;
}

/* Street section */
#view-recruiter.r-light .rstreet-section {
  background: #f0eeea;
  border-top-color: rgba(0,0,0,0.06);
}
#view-recruiter.r-light .rstreet-overlay {
  background: linear-gradient(to bottom,rgba(240,238,234,0.55) 0%,rgba(240,238,234,0.05) 50%,rgba(240,238,234,0.55) 100%);
}
#view-recruiter.r-light .rstreet-label {
  color: rgba(160,110,60,0.65);
}
#view-recruiter.r-light .rstreet-label em {
  color: rgba(140,90,40,0.9);
}

/* Right dock */
#view-recruiter.r-light .rdock {
  background: rgba(220,218,214,0.85);
  border-color: rgba(0,0,0,0.1);
  box-shadow: 0 8px 40px rgba(0,0,0,0.12), 0 1px 0 rgba(255,255,255,0.5) inset;
}
#view-recruiter.r-light .rdock-label {
  background: rgba(240,238,234,0.96);
  border-color: rgba(0,0,0,0.12);
  color: #1a1a1a;
}
#view-recruiter.r-light .rdock-sep { background: rgba(0,0,0,0.12); }
#view-recruiter.r-light .rdock-chat-hint span { color: rgba(0,0,0,0.42); }
#view-recruiter.r-light .rdock-chat-hint svg { color: rgba(0,0,0,0.3); }

/* Chat popup */
#view-recruiter.r-light .rchat-popup {
  background: #f5f4f1;
  border-color: rgba(0,0,0,0.1);
  box-shadow: 0 24px 60px rgba(0,0,0,0.15), 0 1px 0 rgba(255,255,255,0.8) inset;
}
#view-recruiter.r-light .rchat-popup-header { border-bottom-color: rgba(0,0,0,0.07); background: rgba(0,0,0,0.03); }
#view-recruiter.r-light .rchat-popup-close { background: rgba(0,0,0,0.07); color: rgba(0,0,0,0.45); }
#view-recruiter.r-light .rchat-who-name { color: rgba(0,0,0,0.85); }
#view-recruiter.r-light .rchat-who-status { color: rgba(0,0,0,0.38); }
#view-recruiter.r-light .rchat-bub--bot {
  background: rgba(0,0,0,0.06);
  border-color: rgba(0,0,0,0.08);
  color: rgba(0,0,0,0.75);
}
#view-recruiter.r-light .rchat-typing-dots {
  background: rgba(0,0,0,0.06);
  border-color: rgba(0,0,0,0.08);
}
#view-recruiter.r-light .rchat-typing-dots span { background: rgba(0,0,0,0.35); }
#view-recruiter.r-light .rpchat-chip {
  background: rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.1);
  color: rgba(0,0,0,0.5);
}
#view-recruiter.r-light .rpchat-chip:hover {
  background: rgba(1,108,185,0.1);
  border-color: rgba(1,108,185,0.3);
  color: #016CB9;
}
#view-recruiter.r-light .rchat-input-row {
  background: rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.1);
}
#view-recruiter.r-light .rchat-input { color: rgba(0,0,0,0.85); }
#view-recruiter.r-light .rchat-input::placeholder { color: rgba(0,0,0,0.28); }
#view-recruiter.r-light .rchat-hint svg { color: rgba(0,0,0,0.2); }
#view-recruiter.r-light .rchat-hint span { color: rgba(0,0,0,0.25); }

/* Footer */
#view-recruiter.r-light .rfooter { border-top-color: rgba(0,0,0,0.08); }
#view-recruiter.r-light .rfooter-bar { border-top-color: rgba(0,0,0,0.06); }
#view-recruiter.r-light .rfooter-heading { color: #1a1a1a; }
#view-recruiter.r-light .rfooter-sub { color: rgba(0,0,0,0.42); }
#view-recruiter.r-light .rfooter-email-label { color: #aaa; }
#view-recruiter.r-light .rfooter-email-addr { color: #1a1a1a; }
#view-recruiter.r-light .rfooter-email-note { color: rgba(0,0,0,0.3); }
#view-recruiter.r-light .rfooter-copy { color: #aaa; }
#view-recruiter.r-light .rfooter-sep { color: #ccc; }
#view-recruiter.r-light .rfooter-link { color: #777; }
#view-recruiter.r-light .rfooter-link:hover { color: #1a1a1a; }

/* Noise texture: lighter blend in light mode */
#view-recruiter.r-light::before { mix-blend-mode: multiply; opacity: 0.04; }

/* ── Recruiter responsive ── */
@media (max-width: 900px) {
  /* Mac chrome bar — strip back to dots + toggle only */
  .rmac-loc { display: none; }
  .rmac-url { display: none; }
  .rmac-right { gap: 8px; margin-left: auto; }
  .rmac-bar { gap: 0; padding: 0 12px; }

  /* Hero — reset absolute positioning to flow layout */
  .rhero {
    flex-direction: column; align-items: flex-start;
    padding: 36px 24px 48px; min-height: auto;
  }
  .rhero-left {
    position: static;
    top: auto; left: auto;
    max-width: 100%;
    padding-top: 16px;
  }
  .rhero-right { display: none !important; }
  .rchat-hero { display: none; }
  .rhero-title { font-size: clamp(2.2rem, 8vw, 3.8rem); }
  .rhero-role { font-size: 18px; letter-spacing: 0.12em; }
  .rhero-desc { font-size: 15px; margin-bottom: 32px; max-width: 100%; }
  .rhero-actions { flex-wrap: wrap; gap: 12px; }
  .rhero-golden { display: none; }

  /* Sections padding */
  .rnotes-section, .rct-section, .rwork-section,
  .rgfx-header { padding-left: 24px; padding-right: 24px; }

  /* Project tiles: single column */
  .rct-grid { grid-template-columns: 1fr; gap: 36px; }

  /* Notes: single column */
  .rnotes-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Work tiles: single column */
  .rwork-grid { grid-template-columns: 1fr; gap: 24px; }

  /* GFX strip: touch scroll */
  .rgfx-track { padding: 0 24px 8px; }

  /* Street montage: shorter */
  .rstreet-section { height: 160px; }

  /* Right dock: hide */
  .rdock { display: none; }

  /* Footer body: stack vertically */
  .rfooter-body {
    flex-direction: column; gap: 32px;
    padding: 44px 24px 32px;
  }
  .rfooter-contacts { flex-direction: column; gap: 28px; }
  .rfooter-heading { font-size: clamp(2rem, 10vw, 3rem); }
  .rfooter-bar { padding: 16px 24px; flex-direction: column; gap: 8px; text-align: center; }
  .rfooter-email-addr { font-size: clamp(0.95rem, 4vw, 1.2rem); }

  /* Marquee section */
  .rloc-track span { font-size: 0.6rem; }

  /* Nav */
  .rnav { padding: 10px 24px; }
}

@media (max-width: 600px) {
  /* Mac chrome bar: minimal */
  .rmac { padding: 0 14px; height: 26px; }
  .rmac-pill { width: 260px; font-size: 9px; }
  .rmac-toggle { font-size: 9px; padding: 1px 10px; }
  .wc { width: 9px; height: 9px; }
  .rmac-win { gap: 5px; }

  /* Hero */
  .rhero { padding: 44px 20px 36px; }
  .rhero-title { font-size: clamp(2rem, 9vw, 3.2rem); }
  .rhero-phonetic { font-size: 0.65rem; }
  .rhero-role { font-size: 14px; letter-spacing: 0.12em; }
  .rhero-desc { font-size: 14px; max-width: 100%; }
  .rbtn-primary, .rbtn-outline { font-size: 0.65rem; padding: 11px 20px; }

  /* Section headers */
  .rct-title { font-size: clamp(1.6rem, 7vw, 2.4rem); }

  /* Project tile names */
  .rct-name { font-size: clamp(1.1rem, 4vw, 1.6rem); }

  /* Graphic design section */
  .rgfx-title { font-size: clamp(1.3rem, 6vw, 2rem); }
  .rgfx-card { width: 200px !important; height: 160px !important; }

  /* Work tiles */
  .rwtile { border-radius: 14px; }
  .rwtile-img { height: 160px; }

  /* Notes */
  .rnote-card { padding: 20px; }

  /* Street montage */
  .rstreet-section { height: 140px; }
  .rstreet-svg { height: 140px; }

  /* Footer */
  .rfooter { padding: 28px 20px; }
  .rfooter-cta { font-size: 0.85rem; }
}

/* ═══════════════════════════════════════════
   SCROLLBAR HIDE
═══════════════════════════════════════════ */
.answer-panel::-webkit-scrollbar,
.modal-box::-webkit-scrollbar { width: 4px; }
.answer-panel::-webkit-scrollbar-track,
.modal-box::-webkit-scrollbar-track { background: transparent; }
.answer-panel::-webkit-scrollbar-thumb,
.modal-box::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); border-radius: 2px; }

/* ═══════════════════════════════════════════
   DARK MODE OVERRIDES
═══════════════════════════════════════════ */
[data-theme="dark"] .search-pill { background: #2a2820; }
[data-theme="dark"] #searchInput { color: var(--text); }
[data-theme="dark"] .chip { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.12); color: var(--text); }
[data-theme="dark"] .answer-panel { background: rgba(30,28,24,0.95); }
[data-theme="dark"] .float-toolbar { background: rgba(30,28,24,0.8); border-color: rgba(255,255,255,0.08); }
[data-theme="dark"] .process-widget { background: #3a3600; border-color: rgba(255,255,255,0.08); }
[data-theme="dark"] .pw-title, [data-theme="dark"] .pw-step { color: #fef9c3; }
[data-theme="dark"] .modal-box { background: #2a2820; }
[data-theme="dark"] .rec-card { background: #2a2820; }
[data-theme="dark"] .avail-badge { color: #4ade80; }
[data-theme="dark"] .ticker-track { color: #1a1a1a; }
[data-theme="dark"] .big-stack .card,
[data-theme="dark"] .mini-stack .card { background: #2a2820; border-color: rgba(255,255,255,0.07); }
[data-theme="dark"] .big-stack .card .card-foot,
[data-theme="dark"] .mini-stack .card .card-foot { background: #232118; }
[data-theme="dark"] .card-name { color: #f0ede6; }
[data-theme="dark"] .stack-pills span { background: rgba(255,255,255,0.10); }

/* ── Dogs peeking over dock ──
   z-index below dock so dock naturally covers their lower body.
   Object-fit crops to show only the top (heads) portion.       */
.stk-dogs-row {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 48;           /* BELOW dock (z:50) so dock covers their bodies */
  pointer-events: none;
}
.stk-dogs-row img {
  display: block;
  width: 300px;
  height: 68px;          /* show only top ~68px = just the heads */
  object-fit: cover;
  object-position: top center;
}

/* ═══════════════════════════════════════════
   ARRANGE MODE
═══════════════════════════════════════════ */
/* .arrange-btn positioning is at top of file (fixed bottom-right) */
.arrange-btn {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 5px 13px;
  border: 1.5px solid rgba(0,0,0,0.22);
  border-radius: 50px;
  cursor: pointer;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}
.arrange-btn.active {
  background: #016CB9;
  color: white;
  border-color: #016CB9;
}
body.arranging .desktop > * {
  outline: 2px dashed rgba(1,108,185,0.45) !important;
  outline-offset: 6px;
  cursor: grab !important;
}
body.arranging .desktop > *:hover {
  outline-color: #016CB9 !important;
  outline-style: solid !important;
}
body.arranging .desktop > *.dragging-item {
  cursor: grabbing !important;
  outline-style: solid !important;
  outline-color: #016CB9 !important;
  box-shadow: 0 10px 36px rgba(1,108,185,0.22) !important;
  z-index: 9999 !important;
}
.arrange-label-tag {
  position: absolute;
  top: -22px;
  left: 0;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: #016CB9;
  color: white;
  padding: 2px 7px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  display: none;
}
body.arranging .desktop > *:hover .arrange-label-tag,
body.arranging .desktop > *.dragging-item .arrange-label-tag {
  display: block;
}
.arrange-panel {
  position: fixed;
  bottom: 72px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 16px;
  padding: 14px 18px;
  z-index: 3000;
  display: none;
  box-shadow: 0 8px 36px rgba(0,0,0,0.18);
  min-width: 340px;
  max-width: min(560px, 90vw);
}
.arrange-panel.visible { display: block; }
.arrange-panel-title {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #016CB9;
  margin-bottom: 9px;
}
.arrange-positions {
  font-family: monospace;
  font-size: 0.68rem;
  color: #1a1a1a;
  background: #f4f4f4;
  border-radius: 8px;
  padding: 10px 12px;
  max-height: 140px;
  overflow-y: auto;
  margin-bottom: 10px;
  white-space: pre;
  line-height: 1.7;
}
.arrange-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}
.arrange-copy-btn, .arrange-done-btn {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.arrange-copy-btn { background: #eee; color: #1a1a1a; }
.arrange-copy-btn:hover { background: #ddd; }
.arrange-done-btn { background: #016CB9; color: white; }
.arrange-done-btn:hover { background: #01477A; }

/* ═══════════════════════════════════════════
   RESPONSIVE — TABLET & MOBILE
═══════════════════════════════════════════ */

/* ── Tablet (≤1100px) ── */
@media (max-width: 1100px) {
  .hero-title { font-size: clamp(1.8rem, 5vw, 2.8rem); }
  .big-stack { width: 200px; height: 260px; }
  .big-stack .card { width: 200px; height: 260px; }
  .big-stack .card .card-img { height: 180px; }
  .stack-big-label { font-size: 1.8rem; }
  .search-wrap { width: min(420px, 70vw); }
}

/* ── Mobile (≤768px) — Studio theme ── */
@media (max-width: 768px) {
  /* Screen scrolls vertically */
  .macbook-screen {
    overflow-y: auto; overflow-x: hidden;
    height: auto; min-height: 100svh;
  }

  /* Menu bar: simplify */
  .menu-bar { padding: 0 10px; gap: 0; }
  .menu-nav { display: none; }
  .menu-brand { font-size: 0.75rem; }
  .menu-right .menu-city { display: none; }
  .menu-pill { width: 240px; font-size: 9px; }

  /* Ticker */
  .ticker-track span { font-size: 0.62rem; }

  /* Desktop canvas: flow layout */
  .desktop {
    position: static; height: auto; min-height: unset;
    display: flex; flex-direction: column;
    align-items: center;
    padding: 24px 18px 160px; gap: 24px;
    overflow: visible;
  }

  /* Reset absolute positions */
  .hero, .search-wrap, .stack-wrap,
  .mini-stack-wrap, .about-card, .talk-card {
    position: static !important;
    transform: none !important;
  }

  /* Hide desktop-only decorative */
  .float-toolbar, .sticker,
  .stk-dogs-row, .newspaper-clip { display: none !important; }

  /* Hero */
  .hero { text-align: center; pointer-events: auto; width: 100%; }
  .hero-title {
    font-size: clamp(1.8rem, 8.5vw, 3rem);
    white-space: normal; line-height: 1.15;
  }
  .hero-tagline { font-size: 1rem; margin-top: 6px; }

  /* Search */
  .search-wrap { width: 100%; max-width: 100%; }

  /* Card stacks: horizontal scroll strips */
  .stack-wrap, .mini-stack-wrap {
    width: 100%; overflow-x: auto; overflow-y: visible;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .stack-wrap::-webkit-scrollbar,
  .mini-stack-wrap::-webkit-scrollbar { display: none; }
  .stack-anchor {
    display: flex; flex-direction: row;
    align-items: flex-end; gap: 10px;
    width: max-content; padding-bottom: 8px;
  }

  /* Shrink cards */
  .big-stack { width: 170px; height: 220px; flex-shrink: 0; }
  .big-stack .card { width: 170px; height: 220px; }
  .big-stack .card .card-img { height: 145px; }
  .mini-stack { width: 135px; height: 178px; flex-shrink: 0; }
  .mini-stack .card { width: 135px; height: 178px; }
  .mini-stack .card .card-fill { height: 100px; font-size: 0.8rem; }
  .stack-meta { position: static; margin-top: 6px; }
  .stack-big-label { font-size: 1.3rem; }
  .mini-stack-wrap .stack-big-label { font-size: 1.1rem; }

  /* Full-width cards */
  .about-card, .talk-card { width: 100%; box-sizing: border-box; }

  /* Dock: fixed at bottom, smaller */
  .dock-wrap { position: fixed; bottom: 0; padding-bottom: env(safe-area-inset-bottom, 8px); }
  .dock { gap: 5px; padding: 5px 10px; border-radius: 14px; }
  .dock-icon { width: 36px; height: 36px; }
  .dock-sep { height: 26px; }
  .dock-label { display: none; }
}

/* ── Small mobile (≤480px) ── */
@media (max-width: 480px) {
  /* Studio */
  .hero-title { font-size: 8vw; }
  .desktop { padding: 18px 14px 110px; gap: 20px; }
  .menu-nav { display: none; }
  .menu-right .menu-city { display: none; }
  .dock-icon { width: 30px; height: 30px; }
  .menu-pill { width: 200px; }

  /* Recruiter */
  .rhero { padding: 36px 16px 28px; }
  .rhero-title { font-size: clamp(1.8rem, 9.5vw, 2.8rem); }
  .rct-section { padding-left: 16px; padding-right: 16px; }
  .rnotes-section { padding-left: 16px; padding-right: 16px; }
  .rwork-section  { padding-left: 16px; padding-right: 16px; }
  .rfooter        { padding-left: 16px; padding-right: 16px; }
  .rmac-pill { width: 200px; font-size: 8px; }
}

/* ── Touch & safe-area fixes (all mobile) ── */
@media (max-width: 900px) {
  /* Smooth scrolling on iOS */
  #view-recruiter.active, .macbook-screen {
    -webkit-overflow-scrolling: touch;
  }
  /* Safe area for notched phones */
  .rmac { padding-top: env(safe-area-inset-top, 0); }
  .dock-wrap { padding-bottom: env(safe-area-inset-bottom, 8px); }
  /* Prevent text overflow */
  .rhero-title, .rct-name, .rnote-title { word-break: break-word; }
  /* GFX strip: touch drag */
  .rgfx-track { cursor: default; }
  /* Ensure tap targets are large enough */
  .rbar-link, .rfooter-link, .rdock-item { min-height: 44px; min-width: 44px; }
}
