/* ══════════════════════════════════════════════════
   BASE
══════════════════════════════════════════════════ */
:root {
  --bg:          #080808;
  --surface:     #111111;
  --surface-hi:  #1a1a1a;
  --border:      rgba(255,255,255,0.07);
  --border-hi:   rgba(255,255,255,0.13);
  --accent:      #ff4500;
  --accent-dim:  rgba(255,69,0,0.18);
  --text:        #efefef;
  --muted:       #777;
  --dim:         #3a3a3a;
  --green:       #4ade80;
  --shadow-win:  0 32px 80px rgba(0,0,0,0.7), 0 8px 20px rgba(0,0,0,0.5);
  --shadow-sm:   0 4px 24px rgba(0,0,0,0.5);
  --radius-win:  10px;
  --ease:        160ms ease;
  --tb-h:        48px;
}

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

html, body {
  height: 100%;
  overflow: hidden;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

button, a { font: inherit; color: inherit; text-decoration: none; border: none; background: none; cursor: pointer; }
ul { list-style: none; }

/* ══════════════════════════════════════════════════
   LOADING SCREEN  (Win11 lock-screen style)
══════════════════════════════════════════════════ */
.load-screen {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 8vh 2rem 10vh;
  background:
    radial-gradient(ellipse 80% 60% at 30% 0%,  rgba(255,69,0,0.14) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 100%, rgba(255,120,30,0.10) 0%, transparent 60%),
    #060608;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.load-screen.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Shutdown screen */
.shutdown-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.8s ease;
}
.shutdown-screen.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.shutdown-label {
  font-family: 'Syne', sans-serif;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em;
}

/* Top: clock display */
.load-top { text-align: center; }

.load-time {
  font-family: 'Syne', sans-serif;
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 300;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
}

.load-date {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  margin-top: 0.5rem;
  letter-spacing: 0.04em;
}

/* Mid: avatar + name */
.load-mid { display: flex; flex-direction: column; align-items: center; gap: 1rem; }

.load-avatar-ring {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--accent), rgba(255,150,50,0.4));
  position: relative;
}

.load-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.load-avatar-init {
  display: none;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(255,69,0,0.18);
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
}

.load-name {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
}

.load-brand {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: -0.5rem;
}

/* Bottom: spinner + prompt */
.load-bot { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; }

.load-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
}

/* Win11 spinner – 5 dots */
.win11-spinner {
  display: flex;
  gap: 7px;
  align-items: center;
}

.win11-spinner span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  animation: dotPulse 1.4s ease-in-out infinite;
}

.win11-spinner span:nth-child(1) { animation-delay: 0s; }
.win11-spinner span:nth-child(2) { animation-delay: 0.18s; }
.win11-spinner span:nth-child(3) { animation-delay: 0.36s; }
.win11-spinner span:nth-child(4) { animation-delay: 0.54s; }
.win11-spinner span:nth-child(5) { animation-delay: 0.72s; }

@keyframes dotPulse {
  0%, 100% { opacity: 0.2; transform: scale(0.75); }
  50%       { opacity: 1;   transform: scale(1.15); }
}

.load-click {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.08em;
  opacity: 0;
  animation: fadeIn 0.5s ease 2.5s forwards;
}

@keyframes fadeIn { to { opacity: 1; } }

/* ══════════════════════════════════════════════════
   WALLPAPER
══════════════════════════════════════════════════ */
.wallpaper {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.aura {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
}

.aura-1 {
  width: 55rem; height: 55rem;
  top: -20rem; left: -15rem;
  background: radial-gradient(circle, rgba(255,69,0,0.22) 0%, transparent 65%);
}

.aura-2 {
  width: 40rem; height: 40rem;
  bottom: -5rem; right: -5rem;
  background: radial-gradient(circle, rgba(255,130,30,0.14) 0%, transparent 65%);
}

.aura-3 {
  width: 30rem; height: 30rem;
  top: 40%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,69,0,0.06) 0%, transparent 65%);
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.3), transparent 80%);
}

/* ══════════════════════════════════════════════════
   DESKTOP
══════════════════════════════════════════════════ */
.desktop {
  position: relative;
  height: 100vh;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.desktop.is-visible { opacity: 1; }

/* Editorial wallpaper text */
.desktop-hero {
  position: absolute;
  right: 5rem;
  top: 50%;
  transform: translateY(-58%);
  text-align: right;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.hero-kicker {
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
  opacity: 0.8;
}

.hero-name {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(3rem, 5vw, 6rem);
  line-height: 0.88;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.08);
  margin-bottom: 0.8rem;
}

.hero-role {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.08);
  letter-spacing: 0.06em;
}

/* ══════════════════════════════════════════════════
   DESKTOP ICONS  (Win11 style)
══════════════════════════════════════════════════ */
.desk-icons {
  position: absolute;
  top: 1rem;
  left: 0.8rem;
  display: grid;
  grid-template-columns: repeat(2, 68px);
  gap: 0.2rem;
  z-index: 2;
  max-height: calc(100vh - var(--tb-h) - 2rem);
  overflow: hidden;
}

.desk-icon {
  width: 68px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.3rem;
  border-radius: 6px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease);
  user-select: none;
}

.desk-icon:hover,
.desk-icon.is-active {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.14);
}

.di-tile {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.4);
}

.di-tile svg { width: 20px; height: 20px; }

.desk-icon span:last-child {
  font-size: 0.68rem;
  text-align: center;
  color: #fff;
  line-height: 1.2;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
  max-width: 74px;
  word-break: break-word;
}

/* Icon color tiles */
.di-orange { background: linear-gradient(145deg, #ffbe4d, #ff7200); color: #fff; }
.di-gold   { background: linear-gradient(145deg, #ffd55c, #ffaf10); color: #fff; }
.di-amber  { background: linear-gradient(145deg, #ffb347, #ff7d00); color: #fff; }
.di-blue   { background: linear-gradient(145deg, #6ec6f5, #1e88e5); color: #fff; }
.di-green  { background: linear-gradient(145deg, #6ee86e, #1fa81f); color: #fff; }
.di-red    { background: linear-gradient(145deg, #ff8a65, #e64a19); color: #fff; }
.di-dark   { background: linear-gradient(145deg, #424252, #1c1c2a); color: #fff; }

/* ══════════════════════════════════════════════════
   WINDOW LAYER
══════════════════════════════════════════════════ */
.window-layer {
  position: absolute;
  inset: 0;
  bottom: var(--tb-h);
  pointer-events: none;
}

/* ══════════════════════════════════════════════════
   APP WINDOW  (Win11 chrome)
══════════════════════════════════════════════════ */
.app-window {
  position: absolute;
  top: 2rem;
  left: 6.5rem;
  width: min(42rem, calc(100vw - 10rem));
  min-height: 18rem;
  max-height: min(calc(100vh - var(--tb-h) - 4rem), 38rem);
  display: none;
  flex-direction: column;
  background: rgba(13,13,13,0.96);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-win);
  box-shadow: var(--shadow-win);
  overflow: hidden;
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  pointer-events: auto;
}

/* Thin orange top-accent line */
.app-window::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent 70%);
  border-radius: var(--radius-win) var(--radius-win) 0 0;
  z-index: 3;
}

.app-window.is-open {
  display: flex;
  animation: winOpen 220ms cubic-bezier(0.2,0,0.1,1);
}

.app-window.is-minimizing {
  animation: winMin 200ms cubic-bezier(0.4,0,1,1) forwards;
  pointer-events: none;
}

.app-window.is-maximized {
  position: fixed;
  inset: 0;
  bottom: var(--tb-h);
  width: 100% !important;
  max-height: none !important;
  border-radius: 0;
  left: 0 !important;
  top: 0 !important;
}

@keyframes winOpen {
  from { opacity: 0; transform: scale(0.975) translateY(10px); }
  to   { opacity: 1; transform: none; }
}

@keyframes winMin {
  from { opacity: 1; transform: scale(1) translateY(0); }
  to   { opacity: 0; transform: scale(0.87) translateY(28px); }
}

/* Title bar */
.win-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 34px;
  padding: 0 0 0 0.85rem;
  border-bottom: 1px solid var(--border);
  cursor: grab;
  flex-shrink: 0;
  user-select: none;
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.02);
}

.win-bar:active { cursor: grabbing; }

.win-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.win-app-icon {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.win-app-icon svg { width: 12px; height: 12px; }

.win-title {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Window controls — Win11 style (right side) */
.win-controls {
  display: flex;
  align-self: stretch;
  margin-left: auto;
}

.wc {
  width: 46px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  border-radius: 0;
  transition: background var(--ease), color var(--ease);
}

.wc svg { width: 10px; height: 10px; pointer-events: none; }

.wc-min:hover { background: rgba(255,255,255,0.1); }
.wc-max:hover { background: rgba(255,255,255,0.1); }
.wc-close:hover { background: #c42b1c; color: #fff; }
.wc-close:active { background: #a32317; }

/* Swap max/restore icons */
.ico-restore { display: none; }
.app-window.is-maximized .ico-max { display: none; }
.app-window.is-maximized .ico-restore { display: block; }

/* Body */
.win-body {
  padding: 1.35rem;
  overflow-y: auto;
  flex: 1;
  position: relative;
  z-index: 1;
}

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

/* Section label */
.section-head {
  font-family: 'Syne', sans-serif;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

/* ── About ── */
.about-body {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.5rem;
}

.about-photo-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding-top: 0.2rem;
}

.about-photo-wrap {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255,69,0,0.35);
  position: relative;
  flex-shrink: 0;
}

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-photo-init {
  display: none;
  width: 100%;
  height: 100%;
  background: rgba(255,69,0,0.12);
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
}

.photo-name {
  font-family: 'Syne', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 0.5rem;
  text-align: center;
}

.photo-role { font-size: 0.76rem; color: var(--muted); text-align: center; }
.photo-brand {
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.photo-socials {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.7rem;
  width: 100%;
}

.photo-social-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.75rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 7px;
  font-size: 0.76rem;
  color: var(--muted);
  transition: background var(--ease), border-color var(--ease), color var(--ease);
}

.photo-social-btn svg { width: 14px; height: 14px; flex-shrink: 0; }
.photo-social-btn:hover { background: rgba(255,255,255,0.08); border-color: var(--border-hi); color: var(--text); }

/* Stats strip */
.about-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 1.1rem;
  padding: 0.85rem 1rem;
  background: rgba(255,69,0,0.04);
  border: 1px solid rgba(255,69,0,0.12);
  border-radius: 10px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.22rem;
  flex: 1;
}

.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stat-plus {
  font-size: 1.1rem;
  vertical-align: super;
}

.stat-label {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

.stat-divider {
  width: 1px;
  height: 2.2rem;
  background: var(--border-hi);
  flex-shrink: 0;
}

/* Hero stat line */
.hero-stat {
  font-size: 0.66rem;
  color: rgba(255,255,255,0.06);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.4rem;
}

.about-tagline {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 0.9rem;
}

.about-desc {
  font-size: 0.86rem;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 0.7rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin: 1rem 0;
}

.about-cell {
  padding: 0.75rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.cell-label {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.about-cell strong { font-size: 0.8rem; font-weight: 500; color: var(--text); line-height: 1.4; }
.status-open { color: var(--green) !important; }

.tag-section { margin-top: 0.4rem; }

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag-list li {
  padding: 0.35rem 0.72rem;
  font-size: 0.78rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
}

/* ── Projects ── */
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
}

.proj-card {
  padding: 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 9px;
  transition: border-color var(--ease), transform var(--ease);
}

.proj-card:hover { border-color: rgba(255,69,0,0.3); transform: translateY(-2px); }

.proj-tag {
  display: inline-block;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.proj-name {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.45rem;
}

.proj-card p { font-size: 0.82rem; line-height: 1.65; color: var(--muted); }

.proj-featured {
  background: rgba(255,69,0,0.05);
  border-color: rgba(255,69,0,0.16);
}

.behance-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.85rem;
  padding: 0.85rem 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 9px;
}

.behance-bar p { font-size: 0.84rem; color: var(--muted); }

.orange-btn {
  display: inline-block;
  padding: 0.48rem 1rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 999px;
  flex-shrink: 0;
  transition: opacity var(--ease);
}

.orange-btn:hover { opacity: 0.85; }

/* ── Skills ── */
.skills-body {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
}

.skill-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 0.3rem;
}

.skill-list li { display: flex; flex-direction: column; gap: 0.38rem; }
.sk-name { font-size: 0.84rem; color: var(--text); }
.sk-name.sk-top { color: var(--accent); font-weight: 600; }

.sk-bar {
  height: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}

.sk-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #ff8c00);
  border-radius: 2px;
  transform-origin: left;
  animation: barIn 0.9s cubic-bezier(0.4,0,0.2,1) forwards;
}

@keyframes barIn {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 0.3rem;
}

.tool-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.tool-icon {
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border-radius: 7px;
  font-family: 'Syne', sans-serif;
  font-size: 0.62rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: -0.01em;
}

.tool-icon svg { width: 1.1rem; height: 1.1rem; }

/* Real Adobe app colours */
.tool-ai  { background: linear-gradient(145deg, #FF7C00, #CC4400); }
.tool-ps  { background: linear-gradient(145deg, #31A8FF, #0059A3); }
.tool-ae  { background: linear-gradient(145deg, #9999FF, #3C0092); }
.tool-au  { background: linear-gradient(145deg, #00E4BB, #007062); }
.tool-gpt { background: linear-gradient(145deg, #19C37D, #0A6B43); }
.tool-canva { background: linear-gradient(145deg, #7D2AE8, #00B4D8); }

.tool-item > span:last-child { font-size: 0.78rem; color: var(--muted); }

/* ── Resume ── */
.resume-body {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1.5rem;
}

.timeline { display: flex; flex-direction: column; gap: 0.7rem; margin-top: 0.3rem; }

.tl-item {
  display: flex;
  gap: 0.9rem;
  padding: 0.9rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 9px;
}

.tl-date {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
  min-width: 5.5rem;
  padding-top: 0.1rem;
}

.tl-content h4 {
  font-family: 'Syne', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.18rem;
}

.tl-place { font-size: 0.74rem; color: var(--accent); margin-bottom: 0.45rem; }
.tl-content p { font-size: 0.8rem; line-height: 1.65; color: var(--muted); }

.edu-card {
  padding: 0.9rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 9px;
  margin-top: 0.3rem;
}

.edu-card h4 {
  font-family: 'Syne', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  margin: 0.35rem 0 0.25rem;
}

.edu-card p { font-size: 0.8rem; color: var(--muted); }

/* Resume bullet list */
.tl-bullets {
  list-style: none;
  margin-top: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.tl-bullets li {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.55;
  padding-left: 1rem;
  position: relative;
}

.tl-bullets li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.65rem;
}

/* Impact numbers grid */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.impact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.75rem 0.5rem;
  background: rgba(255,69,0,0.04);
  border: 1px solid rgba(255,69,0,0.1);
  border-radius: 9px;
  text-align: center;
}

.impact-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.impact-plus { font-size: 0.9rem; vertical-align: super; }

.impact-label {
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Industries list */
.industry-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.industry-list span {
  padding: 0.25rem 0.65rem;
  font-size: 0.72rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
}

.avail-card {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-top: 0.65rem;
  padding: 0.9rem;
  background: rgba(74,222,128,0.05);
  border: 1px solid rgba(74,222,128,0.18);
  border-radius: 9px;
}

.avail-dot {
  width: 0.55rem;
  height: 0.55rem;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.25rem;
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

.avail-card strong { display: block; font-size: 0.86rem; color: var(--green); margin-bottom: 0.28rem; }
.avail-card p { font-size: 0.8rem; color: var(--muted); line-height: 1.55; }

/* ── Contact ── */
.contact-body { display: flex; flex-direction: column; gap: 1.1rem; }

.contact-intro {
  font-family: 'Syne', sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.contact-sub {
  font-size: 0.84rem;
  color: var(--muted);
  margin-top: 0.35rem;
  line-height: 1.6;
}

.contact-links { display: flex; flex-direction: column; gap: 0.5rem; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 9px;
  transition: border-color var(--ease), background var(--ease);
}

.contact-item:hover { border-color: rgba(255,69,0,0.28); background: rgba(255,69,0,0.04); }

.ci-label { font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); min-width: 4.5rem; }
.ci-value { flex: 1; font-size: 0.88rem; font-weight: 500; color: var(--text); }
.ci-arrow { color: var(--muted); font-size: 1rem; transition: transform var(--ease), color var(--ease); }
.contact-item:hover .ci-arrow { transform: translate(2px,-2px); color: var(--accent); }

/* ══════════════════════════════════════════════════
   START MENU  (Win11 glass panel)
══════════════════════════════════════════════════ */
.start-menu {
  position: fixed;
  left: 50%;
  bottom: calc(var(--tb-h) + 10px);
  transform: translateX(-50%) translateY(16px);
  width: min(520px, calc(100vw - 2rem));
  max-height: min(520px, calc(100vh - var(--tb-h) - 24px));
  overflow-y: auto;
  background: rgba(18,18,22,0.92);
  border: 1px solid var(--border-hi);
  border-radius: 14px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.04);
  backdrop-filter: blur(60px);
  -webkit-backdrop-filter: blur(60px);
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease;
}

.start-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.sm-search {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0.75rem 0.9rem 0;
  padding: 0.5rem 0.8rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--border-hi);
  border-radius: 8px;
}

.sm-search svg { width: 16px; height: 16px; stroke: var(--muted); flex-shrink: 0; }

.sm-search input {
  flex: 1;
  background: none;
  border: none;
  font: inherit;
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
  cursor: text;
}

.sm-search input::placeholder { color: var(--muted); }

.sm-section { padding: 0.65rem 0.9rem 0; }

.sm-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.45rem;
}

.sm-head-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
}

.sm-all-btn {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.76rem;
  color: var(--muted);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  transition: background var(--ease), color var(--ease);
}

.sm-all-btn svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.sm-all-btn:hover { background: rgba(255,255,255,0.07); color: var(--text); }

/* Pinned grid: 3 columns */
.sm-pin-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.2rem;
}

.sm-pin {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.3rem;
  border-radius: 7px;
  transition: background var(--ease);
  text-decoration: none;
  color: inherit;
}

.sm-pin:hover { background: rgba(255,255,255,0.07); }

.sm-pin-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.sm-pin-icon svg { width: 18px; height: 18px; }

.sm-pin > span:last-child { font-size: 0.7rem; color: var(--text); text-align: center; }

/* Recommended list */
.sm-rec-list {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.sm-rec-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.38rem 0.5rem;
  border-radius: 7px;
  transition: background var(--ease);
  cursor: default;
}

.sm-rec-item:hover { background: rgba(255,255,255,0.06); }

.sm-rec-icon {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.06);
  flex-shrink: 0;
}

.sm-rec-icon svg { width: 18px; height: 18px; }

.sm-rec-item > div { display: flex; flex-direction: column; gap: 0.15rem; }
.sm-rec-item strong { font-size: 0.82rem; font-weight: 500; color: var(--text); }
.sm-rec-item span   { font-size: 0.72rem; color: var(--muted); }

/* Footer */
.sm-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
  padding: 0.6rem 0.9rem;
  border-top: 1px solid var(--border);
}

.sm-user {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.4rem 0.65rem;
  border-radius: 8px;
  transition: background var(--ease);
}

.sm-user:hover { background: rgba(255,255,255,0.07); }

.sm-user-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.sm-user-init {
  display: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-dim);
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent);
  flex-shrink: 0;
}

.sm-user span { font-size: 0.84rem; font-weight: 500; color: var(--text); }

.sm-power {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--muted);
  transition: background var(--ease), color var(--ease);
}

.sm-power svg { width: 18px; height: 18px; }
.sm-power:hover { background: rgba(255,255,255,0.08); color: var(--text); }

/* ══════════════════════════════════════════════════
   TASKBAR  (Win11 centered)
══════════════════════════════════════════════════ */
.taskbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: var(--tb-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10,10,12,0.95);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  z-index: 40;
}

.tb-left { flex: 1; }

.tb-center {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 100%;
}

.tb-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 0.4rem;
  gap: 0;
}

/* Start button */
.tb-start-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  transition: background var(--ease), transform var(--ease);
}

.tb-start-btn:hover   { background: rgba(255,255,255,0.08); }
.tb-start-btn.is-active { background: rgba(255,255,255,0.1); }

.win-logo { width: 18px; height: 18px; }

.tb-sep {
  width: 1px;
  height: 22px;
  background: var(--border-hi);
  margin: 0 4px;
}

/* App icon buttons */
.tb-app {
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-radius: 8px;
  position: relative;
  transition: background var(--ease);
}

.tb-app:hover { background: rgba(255,255,255,0.08); }
.tb-app.is-active { background: rgba(255,255,255,0.06); }

.tb-app-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: grid;
  place-items: center;
}

.tb-app-icon svg { width: 14px; height: 14px; }

/* Active indicator dot */
.tb-dot {
  width: 0;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
  transition: width 180ms ease;
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
}

.tb-app.is-active .tb-dot { width: 14px; }
.tb-app:hover .tb-dot { width: 6px; }
.tb-app.is-active:hover .tb-dot { width: 14px; }

/* System tray */
.tb-tray {
  display: flex;
  align-items: center;
  gap: 0;
}

.tb-tray-btn {
  width: 34px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: var(--muted);
  transition: background var(--ease), color var(--ease);
}

.tb-tray-btn svg { width: 16px; height: 16px; }
.tb-tray-btn:hover { background: rgba(255,255,255,0.08); color: var(--text); }

/* Clock */
.tb-clock {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0 0.6rem;
  height: 36px;
  justify-content: center;
  gap: 1px;
  border-radius: 6px;
  transition: background var(--ease);
}

.tb-clock:hover { background: rgba(255,255,255,0.08); }

#clockTime { font-size: 0.78rem; font-weight: 600; color: var(--text); }
#clockDate { font-size: 0.7rem; color: var(--muted); }

.tb-notif {
  width: 34px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: var(--muted);
  transition: background var(--ease), color var(--ease);
}

.tb-notif svg { width: 16px; height: 16px; }
.tb-notif:hover { background: rgba(255,255,255,0.08); color: var(--text); }

/* ══════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════ */

/* ── Tablet (≤1024px): switch from fixed OS layout to scrollable page ── */
@media (max-width: 1024px) {
  html, body { overflow-x: hidden; overflow-y: auto; }

  .desktop {
    height: auto;
    min-height: 100vh;
    padding-bottom: calc(var(--tb-h) + 1rem);
    overflow-x: hidden;
  }

  .desktop-hero {
    position: static;
    transform: none;
    text-align: left;
    padding: 2rem 1.2rem 1rem;
    pointer-events: auto;
  }
  .hero-name  { color: rgba(255,255,255,0.12); font-size: clamp(2rem, 6vw, 4rem); }
  .hero-role,
  .hero-kicker { color: rgba(255,255,255,0.12); }

  /* Desktop icons: horizontal row */
  .desk-icons {
    position: static;
    max-height: none;
    overflow: visible;
    padding: 0 1rem 0.5rem;
    grid-template-columns: repeat(auto-fill, 72px);
    gap: 0.4rem;
  }

  /* Window layer becomes a flex column */
  .window-layer {
    position: static;
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: auto;
  }

  /* All windows: full width, no absolute positioning */
  .app-window {
    position: static !important;
    width: 100% !important;
    max-height: calc(100svh - var(--tb-h) - 2rem) !important;
    min-height: min(28rem, calc(100svh - var(--tb-h) - 2rem)) !important;
    left: auto !important;
    top: auto !important;
    border-radius: var(--radius-win);
    flex-direction: column;
  }

  /* Open windows — win-body scrolls internally */
  .app-window.is-open .win-body {
    flex: 1 1 0;
    overflow-y: auto !important;
    max-height: none !important;
    -webkit-overflow-scrolling: touch;
  }

  /* Maximised state: full screen */
  .app-window.is-maximized {
    position: static !important;
    width: 100% !important;
    max-height: calc(100svh - var(--tb-h)) !important;
    border-radius: var(--radius-win);
  }

  /* Hide drag/resize affordances */
  .win-bar { cursor: default; }

  /* Taskbar: tighter */
  .tb-center { gap: 1px; }

  /* Tray: collapse the wide clock to icon-only */
  .tb-clock { display: none; }

  /* Start menu: near full-width on tablet, stays centered */
  .start-menu {
    width: calc(100vw - 1rem);
  }
}

/* ── Medium tablet (≤900px) ── */
@media (max-width: 900px) {
  .resume-body  { grid-template-columns: 1fr; }
  .impact-grid  { grid-template-columns: repeat(2, 1fr); }

  /* Project viewer gallery: 2 cols */
  .pv-gallery { grid-template-columns: repeat(2, 1fr); }
  .pv-item.pv-wide { grid-column: span 2; }

  /* Project card grid: stay 2-col but shrink gap */
  .project-grid { gap: 0.5rem; }
}

/* ── Mobile (≤640px) ── */
@media (max-width: 640px) {
  :root { --tb-h: 52px; }

  /* Body font slightly smaller */
  html { font-size: 13px; }

  /* Loading screen */
  .load-screen { padding: 6vh 1.2rem 8vh; }

  /* Desktop: flex column — icon strip on top, windows below */
  .desktop { display: flex; flex-direction: column; }

  /* Hero text: centred in the empty desktop space */
  .desktop-hero {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: calc(100vw - 2rem);
    max-width: calc(100vw - 2rem);
    pointer-events: none;
    z-index: 0;
  }
  .hero-name  {
    font-size: clamp(1.4rem, 8vw, 3rem);
    color: rgba(255,255,255,0.13);
    line-height: 0.95;
  }
  .hero-kicker {
    color: var(--accent);
    opacity: 0.9;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
  }
  .hero-role {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.13);
    margin-top: 0.6rem;
  }

  /* Icons: horizontal scrollable strip across the full top */
  .desk-icons {
    position: static;
    width: 100%;
    grid-template-columns: unset;
    grid-auto-flow: column;
    grid-auto-columns: 56px;
    grid-template-rows: auto;
    overflow-x: auto;
    overflow-y: hidden;
    max-height: none;
    padding: 0.5rem 0.6rem;
    gap: 0.2rem;
    flex-shrink: 0;
    scrollbar-width: none;
  }
  .desk-icons::-webkit-scrollbar { display: none; }
  .desk-icon { width: 56px; }
  .di-tile   { width: 30px; height: 30px; border-radius: 7px; }
  .di-tile svg { width: 16px; height: 16px; }
  .desk-icon span:last-child { font-size: 0.6rem; }

  /* Window layer: full width, stacks windows below icons */
  .window-layer { padding: 0.5rem; gap: 0.5rem; flex: 1; }

  /* Each open window fills the remaining screen height */
  .app-window.is-open {
    height: calc(100svh - var(--tb-h) - 3.5rem);
    min-height: unset !important;
  }

  /* Win bar: tighter */
  .win-bar { height: 30px; }

  /* Tighter win-body padding on small screens */
  .win-body { padding: 0.85rem; }

  /* Project grid: single column on mobile */
  .project-grid  { grid-template-columns: 1fr; gap: 0.5rem; }
  .about-body, .skills-body, .resume-body { grid-template-columns: 1fr; }
  .about-grid, .tools-grid { grid-template-columns: 1fr; }

  /* Project viewer gallery: 2 cols */
  .pv-gallery { grid-template-columns: repeat(2, 1fr); gap: 0.35rem; }
  .pv-item img { height: 130px; }
  .pv-item.pv-wide { grid-column: span 2; }
  .pv-item.pv-wide img { height: 130px; }

  /* Project viewer header */
  .pv-meta { flex-direction: column; gap: 0.5rem; }
  .pv-big-num { font-size: 2.4rem; min-width: 2.6rem; }
  .pv-name { font-size: 1.3rem; }

  /* Behance bar: stack on mobile */
  .behance-bar { flex-direction: column; align-items: flex-start; gap: 0.6rem; }

  /* Taskbar */
  .tb-tray  { display: none; }
  .tb-clock { display: none; }
  .tb-notif { display: none; }
  .tb-center { gap: 0; }
  .tb-app   { width: 38px; }
  .tb-start-btn { width: 40px; height: 40px; }

  /* Start menu: compact on mobile */
  .start-menu {
    width: calc(100vw - 1.5rem);
    max-height: min(62vh, calc(100svh - var(--tb-h) - 0.5rem));
  }
  .sm-search { margin: 0.5rem 0.65rem 0; padding: 0.4rem 0.65rem; }
  .sm-section { padding: 0.45rem 0.65rem 0; }
  .sm-pin-grid { grid-template-columns: repeat(4, 1fr); gap: 0.1rem; }
  .sm-pin { padding: 0.35rem 0.2rem; gap: 0.2rem; }
  .sm-pin-icon { width: 26px; height: 26px; border-radius: 6px; }
  .sm-pin-icon svg { width: 14px; height: 14px; }
  .sm-pin > span:last-child { font-size: 0.62rem; }
  .sm-rec-item { padding: 0.3rem 0.65rem; }
  .sm-footer { padding: 0.4rem 0.65rem; }
  .sm-user-img, .sm-user-init { width: 26px; height: 26px; }
  .sm-user span { font-size: 0.76rem; }

  /* About stats: vertical */
  .about-stats  { flex-direction: column; gap: 0.6rem; }
  .stat-divider { width: 100%; height: 1px; }

  /* Impact grid: 2-col */
  .impact-grid { grid-template-columns: repeat(2, 1fr); }

  /* Hire wizard */
  .hw-service-grid { grid-template-columns: 1fr 1fr; }

  /* Tray popups: full-width at bottom */
  .tray-popup {
    left: 0.5rem;
    right: 0.5rem;
    min-width: unset;
    width: auto;
  }

  /* Context menu: wider on mobile */
  .ctx-menu { min-width: calc(100vw - 2rem); }

  /* Lightbox: full screen */
  .lb-img { max-height: calc(100svh - 5rem); }
}

/* ── Small mobile (≤420px) ── */
@media (max-width: 420px) {
  .hw-service-grid  { grid-template-columns: 1fr; }
  .hw-price-card    { flex-direction: column; align-items: flex-start; }
  .hw-price-note    { text-align: left; }

  /* Gallery: single column */
  .pv-gallery { grid-template-columns: 1fr; }
  .pv-item.pv-wide { grid-column: span 1; }
  .pv-item img,
  .pv-item.pv-wide img { height: 200px; }

  /* Project cards: single column */
  .project-grid { grid-template-columns: 1fr; }

  /* sm pins: 3-col */
  .sm-pin-grid { grid-template-columns: repeat(3, 1fr); }

  /* Taskbar apps: smaller */
  .tb-app { width: 34px; }
}

/* ══════════════════════════════════════════════════
   CUSTOM CURSOR
══════════════════════════════════════════════════ */
@media (pointer: fine) {
  body, a, button { cursor: none !important; }
}

.c-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  left: -60px;
  top: -60px;
  transform: translate(-50%, -50%);
  transition: width 120ms ease, height 120ms ease;
  will-change: left, top;
}

.c-ring {
  position: fixed;
  width: 28px;
  height: 28px;
  border: 1.5px solid rgba(255,69,0,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  left: -60px;
  top: -60px;
  transform: translate(-50%, -50%);
  transition: left 90ms ease, top 90ms ease, width 200ms ease, height 200ms ease, border-color 200ms ease;
  will-change: left, top;
}

.c-ring.is-clicking {
  width: 18px;
  height: 18px;
  border-color: rgba(255,69,0,0.9);
}

/* ══════════════════════════════════════════════════
   LOADING SCREEN ENHANCEMENTS
══════════════════════════════════════════════════ */
.load-screen { transition: none; }

.load-screen.is-done {
  pointer-events: none;
  opacity: 1;
  visibility: visible;
  animation: loadDismiss 0.55s cubic-bezier(0.4,0,0.2,1) forwards;
}

@keyframes loadDismiss {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to   { opacity: 0; transform: translateY(-28px) scale(0.985); }
}

.load-top { animation: loadEnter 0.7s cubic-bezier(0.2,0,0.1,1) 0.15s both; }
.load-mid { animation: loadEnter 0.7s cubic-bezier(0.2,0,0.1,1) 0.32s both; }
.load-bot { animation: loadEnter 0.7s cubic-bezier(0.2,0,0.1,1) 0.5s both; }

@keyframes loadEnter {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.load-progress-wrap {
  width: 180px;
  height: 2px;
  background: rgba(255,255,255,0.07);
  border-radius: 2px;
  overflow: hidden;
}

.load-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #ff8c00);
  border-radius: 2px;
  width: 0;
  animation: progFill 3s cubic-bezier(0.4,0,0.2,1) 0.5s forwards;
}

@keyframes progFill {
  0%   { width: 0%;  }
  25%  { width: 20%; }
  55%  { width: 54%; }
  80%  { width: 78%; }
  95%  { width: 91%; }
  100% { width: 100%;}
}

.load-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.6rem;
  background: rgba(255,69,0,0.1);
  border: 1px solid rgba(255,69,0,0.3);
  border-radius: 999px;
  color: rgba(255,255,255,0.8);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  opacity: 0;
  animation: fadeIn 0.5s ease 2.5s forwards;
  transition: background 200ms ease, border-color 200ms ease, box-shadow 200ms ease, color 200ms ease;
}

.load-cta:hover {
  background: rgba(255,69,0,0.2);
  border-color: rgba(255,69,0,0.6);
  box-shadow: 0 0 24px rgba(255,69,0,0.25);
  color: #fff;
}

/* ══════════════════════════════════════════════════
   DESKTOP SCALE-IN REVEAL
══════════════════════════════════════════════════ */
.desktop {
  transform: scale(0.993);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.2,0,0.1,1);
}

.desktop.is-visible { transform: scale(1); }

/* ══════════════════════════════════════════════════
   AURA PARALLAX TRANSITION
══════════════════════════════════════════════════ */
.aura-1, .aura-2, .aura-3 {
  transition: transform 1.4s cubic-bezier(0.2,0,0.1,1);
  will-change: transform;
}

/* ══════════════════════════════════════════════════
   WINDOW FOCUS GLOW
══════════════════════════════════════════════════ */
.app-window.is-focused {
  box-shadow:
    var(--shadow-win),
    0 0 0 1px rgba(255,69,0,0.14),
    0 0 55px rgba(255,69,0,0.07);
}

/* ══════════════════════════════════════════════════
   PROJECT CARDS — numbered badges + category colours
══════════════════════════════════════════════════ */
.proj-card {
  position: relative;
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}

.proj-num {
  position: absolute;
  top: 0.8rem;
  right: 0.9rem;
  font-family: 'Syne', sans-serif;
  font-size: 0.58rem;
  font-weight: 800;
  color: rgba(255,255,255,0.1);
  letter-spacing: 0.04em;
}

.proj-featured .proj-name { font-size: 1.05rem; }
.proj-featured p { font-size: 0.82rem; }

/* Category left-border colours */
.proj-social    { border-left: 2px solid rgba(255,69,0,0.4); }
.proj-brand     { border-left: 2px solid rgba(30,136,229,0.4); }
.proj-campaign  { border-left: 2px solid rgba(255,200,0,0.4); }
.proj-motion    { border-left: 2px solid rgba(156,39,176,0.4); }
.proj-editorial { border-left: 2px solid rgba(74,222,128,0.4); }
.proj-event     { border-left: 2px solid rgba(0,188,212,0.4); }

/* Category tag colours */
.proj-social .proj-tag    { color: var(--accent); }
.proj-brand .proj-tag     { color: #64b5f6; }
.proj-campaign .proj-tag  { color: #ffd04d; }
.proj-motion .proj-tag    { color: #ce93d8; }
.proj-editorial .proj-tag { color: #4ade80; }
.proj-event .proj-tag     { color: #4dd0e1; }

/* Category hover glows */
.proj-social:hover    { border-color: rgba(255,69,0,0.85);   box-shadow: 0 8px 28px rgba(255,69,0,0.1);    transform: translateY(-3px); }
.proj-brand:hover     { border-color: rgba(30,136,229,0.85); box-shadow: 0 8px 28px rgba(30,136,229,0.1);  transform: translateY(-3px); }
.proj-campaign:hover  { border-color: rgba(255,200,0,0.85);  box-shadow: 0 8px 28px rgba(255,200,0,0.1);   transform: translateY(-3px); }
.proj-motion:hover    { border-color: rgba(156,39,176,0.85); box-shadow: 0 8px 28px rgba(156,39,176,0.1);  transform: translateY(-3px); }
.proj-editorial:hover { border-color: rgba(74,222,128,0.85); box-shadow: 0 8px 28px rgba(74,222,128,0.1);  transform: translateY(-3px); }
.proj-event:hover     { border-color: rgba(0,188,212,0.85);  box-shadow: 0 8px 28px rgba(0,188,212,0.1);   transform: translateY(-3px); }

/* Cards as links */
/* Clickable card */
.proj-clickable { cursor: pointer; }

.proj-open {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.06em;
  transition: color var(--ease);
}

.proj-clickable:hover .proj-open { color: var(--text); }

/* ══════════════════════════════════════════════════
   PROJECT VIEWER WINDOW
══════════════════════════════════════════════════ */
#projectViewer {
  width: min(58rem, calc(100vw - 10rem));
  max-height: min(calc(100vh - var(--tb-h) - 4rem), 42rem);
}
@media (max-width: 1024px) {
  #projectViewer { width: 100%; max-height: none; }

  /* Project viewer: true fullscreen overlay on mobile (moved to body in JS) */
  #projectViewer.is-open {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: var(--tb-h) !important;
    width: 100vw !important;
    max-height: none !important;
    border-radius: 0 !important;
    z-index: 500 !important;
    display: flex !important;
    flex-direction: column;
  }
  #projectViewer.is-open .win-body {
    flex: 1 1 0;
    overflow-y: auto !important;
    max-height: none !important;
    -webkit-overflow-scrolling: touch;
    padding: 1rem;
  }
}

.pv-body {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

/* Header section */
.pv-header {
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border);
}

.pv-meta {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.pv-big-num {
  font-family: 'Syne', sans-serif;
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(255,255,255,0.06);
  min-width: 3.8rem;
  user-select: none;
}

.pv-info { display: flex; flex-direction: column; gap: 0.45rem; padding-top: 0.3rem; }

.pv-name {
  font-family: 'Syne', sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.pv-chips { display: flex; gap: 0.4rem; flex-wrap: wrap; }

.pv-chip {
  display: inline-block;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Category chip colours */
.pv-chip.proj-social    { background: rgba(255,69,0,0.12);   color: var(--accent); border: 1px solid rgba(255,69,0,0.25); }
.pv-chip.proj-brand     { background: rgba(30,136,229,0.12); color: #64b5f6;       border: 1px solid rgba(30,136,229,0.25); }
.pv-chip.proj-campaign  { background: rgba(255,200,0,0.12);  color: #ffd04d;       border: 1px solid rgba(255,200,0,0.25); }
.pv-chip.proj-motion    { background: rgba(156,39,176,0.12); color: #ce93d8;       border: 1px solid rgba(156,39,176,0.25); }
.pv-chip.proj-editorial { background: rgba(74,222,128,0.12); color: #4ade80;       border: 1px solid rgba(74,222,128,0.25); }
.pv-chip.proj-event     { background: rgba(0,188,212,0.12);  color: #4dd0e1;       border: 1px solid rgba(0,188,212,0.25); }
.pv-year { background: rgba(255,255,255,0.05); color: var(--muted); border: 1px solid var(--border-hi); }

.pv-desc {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 72ch;
  margin-bottom: 0.85rem;
}

.pv-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }

.pv-behance-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.85rem;
  padding: 0.55rem 1.1rem;
  background: var(--accent);
  color: #fff;
  font: 600 0.82rem / 1 'Inter', sans-serif;
  border-radius: 999px;
  text-decoration: none;
  transition: opacity 150ms, transform 150ms;
  width: fit-content;
}
.pv-behance-btn:hover { opacity: 0.88; transform: translateY(-1px); }

.pv-tag-pill {
  padding: 0.25rem 0.65rem;
  font-size: 0.72rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
}

/* Gallery grid */
.pv-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
}

.pv-item {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}

.pv-item { cursor: zoom-in; }
.pv-item-pdf { cursor: default; }
.pv-item:hover {
  border-color: rgba(255,255,255,0.16);
  transform: scale(1.012);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.pv-item img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  background: rgba(255,255,255,0.02);
  opacity: 0;
  transition: opacity 350ms ease;
}
.pv-item img.is-loaded { opacity: 1; }

/* Shimmer skeleton while image loads */
.pv-item.is-loading {
  position: relative;
  background: rgba(255,255,255,0.04);
  overflow: hidden;
}
.pv-item.is-loading::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,0.07) 50%,
    transparent 100%
  );
  animation: pvShimmer 1.3s infinite;
}
@keyframes pvShimmer {
  from { transform: translateX(-100%); }
  to   { transform: translateX(100%); }
}

/* Wide items span 2 columns — stay integrated in grid, not isolated */
.pv-item.pv-wide { grid-column: span 2; }
.pv-item.pv-wide img { height: 190px; object-fit: cover; }

.pv-item video {
  width: 100%;
  display: block;
  max-height: 300px;
  background: #000;
}

.pv-caption {
  padding: 0.5rem 0.75rem;
  font-size: 0.72rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

/* PDF item */
.pv-item-pdf {
  padding: 1.1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 72px;
}

.pv-pdf-icon {
  width: 36px;
  height: 36px;
  background: rgba(255,69,0,0.12);
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--accent);
  font-family: 'Syne', sans-serif;
  letter-spacing: 0.02em;
}

.pv-pdf-link {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: color var(--ease);
  flex: 1;
}

.pv-pdf-link:hover { color: var(--accent); }

.pv-pdf-sub { font-size: 0.72rem; color: var(--muted); margin-top: 0.15rem; }

/* Empty state */
.pv-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  min-height: 200px;
  border: 1px dashed var(--border-hi);
  border-radius: 10px;
  text-align: center;
  padding: 2.5rem 2rem;
}

.pv-empty svg { width: 40px; height: 40px; color: var(--border-hi); }

.pv-empty-title {
  font-family: 'Syne', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

.pv-empty p { font-size: 0.82rem; color: var(--muted); line-height: 1.75; }

.pv-empty code {
  font-family: 'Courier New', monospace;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-hi);
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  font-size: 0.78rem;
  color: var(--accent);
}

/* ══════════════════════════════════════════════════
   SKILLS — percentage counter display
══════════════════════════════════════════════════ */
.skill-list li { gap: 0; }

.sk-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.32rem;
}

.sk-pct {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  min-width: 2.2rem;
  text-align: right;
}

.sk-name.sk-top ~ .sk-pct { color: var(--accent); }

/* ══════════════════════════════════════════════════
   DESKTOP ICON BOUNCE
══════════════════════════════════════════════════ */
.desk-icon:hover .di-tile {
  animation: iconBounce 0.38s cubic-bezier(0.3,0,0.2,1.6);
}

@keyframes iconBounce {
  0%   { transform: scale(1)    translateY(0); }
  38%  { transform: scale(1.18) translateY(-5px); }
  72%  { transform: scale(0.97) translateY(1px); }
  100% { transform: scale(1)    translateY(0); }
}

/* ══════════════════════════════════════════════════
   TASKBAR APP TOOLTIPS
══════════════════════════════════════════════════ */
.tb-app[title]::before {
  content: attr(title);
  position: absolute;
  bottom: calc(100% + 7px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: rgba(20,20,26,0.96);
  border: 1px solid var(--border-hi);
  color: var(--text);
  font-size: 0.72rem;
  padding: 0.28rem 0.7rem;
  border-radius: 5px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease, transform 140ms ease;
  backdrop-filter: blur(20px);
  z-index: 100;
}

.tb-app[title]:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ══════════════════════════════════════════════════
   HIRE ME WINDOW
══════════════════════════════════════════════════ */
#hireWindow {
  width: min(42rem, calc(100vw - 10rem));
}

.hire-body {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.hire-heading {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.3rem;
}

.hire-sub {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.6;
}

.hire-services {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.hire-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 9px;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--ease), background var(--ease), transform var(--ease);
}

.hire-card:hover {
  border-color: rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  transform: translateX(3px);
}

.hire-card-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.hire-card-info { flex: 1; }

.hire-card-info strong {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.18rem;
}

.hire-card-info p {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}

.hire-card-arrow {
  font-size: 1rem;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform var(--ease), color var(--ease);
}

.hire-card:hover .hire-card-arrow { transform: translate(2px,-2px); color: var(--text); }

.hire-footer {
  display: flex;
  gap: 0.6rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.hire-wa-btn,
.hire-em-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1.15rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity var(--ease), background var(--ease);
}

.hire-wa-btn { background: #25d366; color: #fff; }
.hire-wa-btn:hover { opacity: 0.88; }

.hire-em-btn {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-hi);
  color: var(--text);
}

.hire-em-btn:hover { background: rgba(255,255,255,0.1); }
.hire-wa-btn svg, .hire-em-btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ══════════════════════════════════════════════════
   CALCULATOR WINDOW
══════════════════════════════════════════════════ */
#calcWindow {
  width: 22rem;
  min-height: auto;
}

.calc-body {
  display: flex;
  flex-direction: column;
  padding: 0;
}

.calc-display {
  padding: 1.2rem 1.2rem 0.8rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
  border-bottom: 1px solid var(--border);
}

.calc-expr {
  font-size: 0.78rem;
  color: var(--muted);
  min-height: 1.2em;
  word-break: break-all;
  text-align: right;
}

.calc-num {
  font-family: 'Syne', sans-serif;
  font-size: 2.4rem;
  font-weight: 300;
  color: #fff;
  line-height: 1;
  text-align: right;
  word-break: break-all;
  max-width: 100%;
}

.calc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
}

.calc-btn {
  padding: 1rem 0.5rem;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text);
  background: rgba(255,255,255,0.02);
  border: none;
  cursor: pointer;
  transition: background var(--ease);
  font-family: inherit;
}

.calc-btn:hover { background: rgba(255,255,255,0.09); }
.calc-btn:active { background: rgba(255,255,255,0.04); }

.calc-fn {
  color: var(--muted);
  background: rgba(255,255,255,0.04);
  font-size: 0.92rem;
}

.calc-fn:hover { background: rgba(255,255,255,0.1); color: var(--text); }

.calc-op {
  color: var(--accent);
  font-size: 1.2rem;
  background: rgba(255,69,0,0.06);
  font-weight: 500;
}

.calc-op:hover { background: rgba(255,69,0,0.14); }
.calc-op.is-active { background: rgba(255,69,0,0.22); }

.calc-eq {
  background: var(--accent);
  color: #fff;
  font-size: 1.2rem;
}

.calc-eq:hover { background: rgba(255,69,0,0.85); }
.calc-eq:active { background: #cc3700; }

.calc-zero { grid-column: span 2; text-align: left; padding-left: 1.3rem; }

/* ══════════════════════════════════════════════════
   NOTEPAD WINDOW
══════════════════════════════════════════════════ */
#noteWindow {
  width: min(44rem, calc(100vw - 10rem));
  height: min(36rem, calc(100vh - var(--tb-h) - 6rem));
}

.note-body {
  display: flex;
  flex-direction: column;
  padding: 0;
  height: 100%;
}

.note-toolbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  flex-shrink: 0;
}

.note-tool-btn {
  padding: 0.3rem 0.75rem;
  font-size: 0.76rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-hi);
  border-radius: 5px;
  color: var(--muted);
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
  font-family: inherit;
}

.note-tool-btn:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text);
  border-color: rgba(255,255,255,0.2);
}

.note-hint {
  margin-left: auto;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.2);
  pointer-events: none;
  white-space: nowrap;
}

.note-area {
  flex: 1;
  width: 100%;
  resize: none;
  background: transparent;
  border: none;
  outline: none;
  font: 400 0.88rem/1.75 'Inter', sans-serif;
  color: var(--text);
  padding: 1rem 1.1rem;
  caret-color: var(--accent);
}

.note-area::placeholder { color: rgba(255,255,255,0.18); }
.note-area::-webkit-scrollbar { width: 4px; }
.note-area::-webkit-scrollbar-track { background: transparent; }
.note-area::-webkit-scrollbar-thumb { background: var(--border-hi); border-radius: 2px; }

/* ══════════════════════════════════════════════════
   HIRE WIZARD  (hw-* prefix)
══════════════════════════════════════════════════ */
#hireWindow { width: min(44rem, calc(100vw - 10rem)); }

.hire-body {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* --- Progress bar --- */
.hw-progress {
  padding: 1rem 0 1.4rem;
  flex-shrink: 0;
}

.hw-progress-track {
  height: 2px;
  background: var(--border-hi);
  border-radius: 2px;
  position: relative;
  margin: 0 0 0.95rem;
}

.hw-progress-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  background: linear-gradient(90deg, var(--accent), #ff8c00);
  border-radius: 2px;
  transition: width 320ms cubic-bezier(0.4,0,0.2,1);
  width: 0%;
}

.hw-steps {
  display: flex;
  justify-content: space-between;
}

.hw-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  flex: 1;
}

.hw-step-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--border-hi);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--muted);
  transition: border-color var(--ease), background var(--ease), color var(--ease);
  font-family: 'Syne', sans-serif;
}

.hw-step-label {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--ease);
}

.hw-step.is-active .hw-step-dot {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.hw-step.is-active .hw-step-label { color: var(--accent); }

.hw-step.is-done .hw-step-dot {
  border-color: rgba(255,69,0,0.5);
  background: rgba(255,69,0,0.14);
  color: var(--accent);
}

.hw-step.is-done .hw-step-label { color: rgba(255,69,0,0.7); }

/* --- Panel --- */
.hw-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding-bottom: 0.5rem;
}

.hw-hidden { display: none !important; }

.hw-heading {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.hw-sub {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.55;
  margin-top: -0.6rem;
}

/* --- Service grid (step 1) --- */
.hw-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
}

.hw-service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.9rem 1rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 9px;
  cursor: pointer;
  transition: border-color var(--ease), background var(--ease);
  text-align: left;
}

.hw-service-card:hover {
  border-color: rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
}

.hw-service-card.is-selected {
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
}

.hw-service-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.hw-service-card strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.hw-service-card span {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.4;
}

/* --- Fields --- */
.hw-field {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.hw-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.hw-optional {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  color: rgba(255,255,255,0.2);
}

.hw-input {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-hi);
  border-radius: 7px;
  padding: 0.65rem 0.85rem;
  font: inherit;
  font-size: 0.86rem;
  color: var(--text);
  outline: none;
  transition: border-color var(--ease);
  width: 100%;
}

.hw-input::placeholder { color: rgba(255,255,255,0.22); }
.hw-input:focus { border-color: rgba(255,69,0,0.45); }

.hw-textarea { resize: vertical; min-height: 4.5rem; }

/* --- Option pills --- */
.hw-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.hw-pill {
  padding: 0.38rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 500;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-hi);
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease), color var(--ease);
  font-family: inherit;
}

.hw-pill:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  color: var(--text);
}

.hw-pill.is-selected {
  background: rgba(255,69,0,0.12);
  border-color: rgba(255,69,0,0.4);
  color: var(--accent);
}

/* --- Conditional fields --- */
.hw-cond { display: none; }
.hw-cond.hw-cond-visible { display: flex; }

/* --- Summary (step 4) --- */
.hw-summary-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-hi);
  border-radius: 9px;
  overflow: hidden;
}

.hw-summary-row {
  display: flex;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
}

.hw-summary-row:last-child { border-bottom: none; }

.hw-summary-key {
  min-width: 7rem;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-top: 0.05rem;
  flex-shrink: 0;
}

.hw-summary-val {
  color: var(--text);
  line-height: 1.5;
}

/* --- Price card --- */
.hw-price-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  background: rgba(255,69,0,0.05);
  border: 1px solid rgba(255,69,0,0.18);
  border-radius: 9px;
}

.hw-price-from {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,69,0,0.65);
  margin-bottom: 0.15rem;
}

.hw-price-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.hw-price-note {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: right;
  line-height: 1.45;
  max-width: 14rem;
}

/* ── Qty stepper ── */
.hw-qty-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.hw-qty-ctrl {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-hi);
  border-radius: 8px;
  overflow: hidden;
}

.hw-qty-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--text);
  transition: background var(--ease);
  flex-shrink: 0;
}
.hw-qty-btn:hover  { background: rgba(255,255,255,0.09); }
.hw-qty-btn:active { background: rgba(255,255,255,0.14); }

.hw-qty-display {
  min-width: 3rem;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  padding: 0 0.5rem;
  border-left:  1px solid var(--border);
  border-right: 1px solid var(--border);
  line-height: 38px;
}

/* ── Monthly toggle ── */
.hw-monthly-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  user-select: none;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--border-hi);
  border-radius: 20px;
  transition: border-color var(--ease), background var(--ease);
}
.hw-monthly-toggle:hover { background: rgba(255,255,255,0.04); }
.hw-monthly-toggle:has(input:checked) {
  border-color: rgba(255,69,0,0.5);
  background: rgba(255,69,0,0.08);
}

.hw-monthly-toggle input[type="checkbox"] {
  width: 15px; height: 15px;
  accent-color: var(--accent);
  cursor: pointer;
}

.hw-monthly-toggle span {
  font-size: 0.82rem;
  color: var(--muted);
  transition: color var(--ease);
}
.hw-monthly-toggle:has(input:checked) span { color: var(--accent); }

/* ── Estimated price block ── */
.hw-est-price {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  margin-top: 0.9rem;
  padding: 0.75rem 1rem;
  background: rgba(255,69,0,0.07);
  border: 1px solid rgba(255,69,0,0.2);
  border-radius: 8px;
}

.hw-est-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,69,0,0.7);
}

.hw-est-val {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

/* --- Send row --- */
.hw-send-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hw-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1.4rem;
  background: #25d366;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity var(--ease);
  font-family: inherit;
}

.hw-wa-btn:hover { opacity: 0.88; }

.hw-restart-btn {
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: color var(--ease);
}

.hw-restart-btn:hover { color: var(--text); }

/* --- Nav bar --- */
.hw-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  margin-top: auto;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.hw-btn-back {
  padding: 0.55rem 1.1rem;
  font-size: 0.82rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-hi);
  border-radius: 7px;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}

.hw-btn-back:hover { background: rgba(255,255,255,0.1); color: var(--text); border-color: rgba(255,255,255,0.2); }

.hw-btn-next {
  padding: 0.55rem 1.4rem;
  font-size: 0.84rem;
  font-weight: 600;
  background: var(--accent);
  border: none;
  border-radius: 7px;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  margin-left: auto;
  transition: opacity var(--ease);
}

.hw-btn-next:hover { opacity: 0.88; }

/* Shake on invalid next click */
@keyframes hwShake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-6px); }
  40%       { transform: translateX(6px); }
  60%       { transform: translateX(-4px); }
  80%       { transform: translateX(4px); }
}

.hw-btn-next.is-shaking { animation: hwShake 320ms ease; }

/* --- Responsive --- */
@media (max-width: 640px) {
  .hw-service-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
  .hw-service-grid { grid-template-columns: 1fr; }
  .hw-price-card { flex-direction: column; align-items: flex-start; }
  .hw-price-note { text-align: left; }
}

/* ══════════════════════════════════════════════════
   DESKTOP CONTEXT MENU
══════════════════════════════════════════════════ */
.ctx-menu {
  position: fixed;
  z-index: 9900;
  background: rgba(22, 22, 26, 0.94);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.03);
  padding: 4px;
  min-width: 210px;
  opacity: 0;
  transform: scale(0.94) translateY(-4px);
  pointer-events: none;
  transition: opacity 130ms ease, transform 130ms ease;
  transform-origin: top left;
}
.ctx-menu.is-open {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}
.ctx-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.48rem 0.75rem;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  font: 400 0.82rem / 1.2 'Inter', sans-serif;
  cursor: pointer;
  text-align: left;
  transition: background 80ms;
}
.ctx-item:hover  { background: rgba(255, 255, 255, 0.08); }
.ctx-item:active { background: rgba(255, 255, 255, 0.12); }
.ctx-item svg    { width: 14px; height: 14px; flex-shrink: 0; color: rgba(255,255,255,0.45); }
.ctx-item-accent { color: var(--accent); font-weight: 500; }
.ctx-item-accent svg { color: rgba(255,69,0,0.7); }
.ctx-item-accent:hover { background: rgba(255, 69, 0, 0.08); }
.ctx-item-muted  { color: var(--muted); font-size: 0.78rem; }
.ctx-sep {
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
  margin: 3px 8px;
}

@keyframes desktopRefresh {
  0%, 100% { opacity: 1; filter: brightness(1); }
  40%       { opacity: 0.7; filter: brightness(1.3) saturate(1.5); }
}
.desktop.is-refreshing { animation: desktopRefresh 380ms ease; }

/* ══════════════════════════════════════════════════
   LIGHTBOX
══════════════════════════════════════════════════ */
.lb-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.93);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem;
  animation: lbFadeIn 160ms ease;
}
.lb-overlay.is-open { display: flex; }
@keyframes lbFadeIn { from { opacity: 0; } to { opacity: 1; } }

.lb-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: calc(100vw - 9rem);
  max-height: calc(100vh - 3rem);
  overflow: hidden;
}
.lb-img {
  max-width: 100%;
  max-height: calc(100vh - 6rem);
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.8);
  display: block;
  user-select: none;
}
.lb-video {
  max-width: 100%;
  max-height: calc(100vh - 6rem);
  border-radius: 6px;
  display: block;
}
.lb-hidden { display: none !important; }
.lb-caption {
  margin-top: 0.65rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  max-width: 36rem;
}
.lb-close {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
  transition: background 120ms;
  z-index: 2;
}
.lb-close:hover { background: rgba(255, 255, 255, 0.24); }
.lb-nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 2rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 120ms;
  line-height: 1;
}
.lb-nav:hover  { background: rgba(255, 255, 255, 0.2); }
.lb-nav:disabled { opacity: 0.18; pointer-events: none; }

/* ══════════════════════════════════════════════════
   TRAY POPUPS
══════════════════════════════════════════════════ */
.tray-popup {
  position: fixed;
  bottom: calc(var(--tb-h) + 10px);
  right: 1rem;
  z-index: 9500;
  background: rgba(20, 20, 24, 0.95);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
  padding: 1rem;
  min-width: 220px;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 150ms ease, transform 150ms ease;
  aria-hidden: true;
}
.tray-popup.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.tray-popup-cal  { min-width: 240px; }
.tray-popup-notif { min-width: 280px; max-width: 300px; }

.tp-header { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.6rem; }
.tp-icon-big {
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.07);
  flex-shrink: 0;
}
.tp-on { background: rgba(255, 69, 0, 0.15); color: var(--accent); }
.tp-name  { font-size: 0.84rem; font-weight: 600; color: var(--text); }
.tp-sub   { font-size: 0.74rem; color: var(--muted); margin-top: 0.1rem; }
.tp-note  { font-size: 0.73rem; color: var(--muted); margin-top: 0.35rem; }
.tp-accent { color: var(--accent); }
.tp-sep   { height: 1px; background: rgba(255,255,255,0.07); margin: 0.6rem 0; }

/* Volume */
.tp-vol-row { display: flex; align-items: center; gap: 0.6rem; }
.tp-vol-row svg { color: var(--muted); flex-shrink: 0; }
.tp-slider {
  flex: 1;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.15);
  outline: none;
  cursor: pointer;
}
.tp-slider::-webkit-slider-thumb {
  appearance: none;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 0 6px rgba(255,69,0,0.5);
}
.tp-vol-pct { font-size: 0.72rem; color: var(--muted); min-width: 2.4rem; text-align: right; }

/* Calendar */
.tp-cal-nav {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 0.6rem;
}
.tp-cal-month { font-size: 0.82rem; font-weight: 600; color: var(--text); }
.tp-cal-arr {
  width: 24px; height: 24px; border-radius: 6px;
  display: grid; place-items: center;
  font-size: 1.1rem; color: var(--muted);
  transition: background 100ms;
}
.tp-cal-arr:hover { background: rgba(255,255,255,0.08); color: var(--text); }
.tp-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.tp-cal-day {
  text-align: center;
  font-size: 0.68rem;
  padding: 0.28rem 0;
  border-radius: 5px;
  color: var(--muted);
  cursor: default;
}
.tp-cal-day.is-header { color: rgba(255,255,255,0.35); font-weight: 600; font-size: 0.62rem; }
.tp-cal-day.is-today  { background: var(--accent); color: #fff; font-weight: 700; }
.tp-cal-day.is-other  { color: rgba(255,255,255,0.2); }
.tp-cal-day:not(.is-header):not(.is-other):hover { background: rgba(255,255,255,0.07); }

/* Notifications */
.tp-notif-item { margin-bottom: 0.55rem; }
.tp-notif-title { font-size: 0.8rem; font-weight: 600; color: var(--text); }
.tp-notif-body  { font-size: 0.73rem; color: var(--muted); margin-top: 0.15rem; line-height: 1.45; }
.tp-notif-time  { font-size: 0.68rem; color: rgba(255,255,255,0.25); margin-top: 0.2rem; }
.tp-clear-btn {
  font-size: 0.74rem; color: var(--muted);
  padding: 0.3rem 0.6rem; border-radius: 6px;
  transition: background 100ms, color 100ms;
}
.tp-clear-btn:hover { background: rgba(255,255,255,0.07); color: var(--text); }
