/* ============================================================================
   HOGA playground — kabuk
   Menübar, masaüstü, dock ve pencere kromu. Uygulama içi stiller apps.css'te.
   ========================================================================= */

@font-face {
  font-family: "Hoga Display";
  src: url("../assets/brand/font/HogaDisplay-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ------------------------------------------------------------------ tokens */

:root {
  --blue: #1157ff;
  --deep: #0a2fd6;
  --navy: #0a1124;
  --steel: #a2a6b3;
  --cyan: #00c6d7;
  --violet: #7a3cff;

  --display: "Hoga Display", "Trebuchet MS", sans-serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Mono", Menlo, monospace;

  --barh: 46px;
  --dockh: 78px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --accent: var(--blue);
}

html[data-face="dark"] {
  --bg: #05070f;
  --bg2: #0b1220;
  --bg3: #111a2c;
  --ink: #eef1f8;
  --dim: #97a2bc;
  --faint: #66718c;
  --line: rgba(255, 255, 255, 0.12);
  --line2: rgba(255, 255, 255, 0.22);
  --card: rgba(255, 255, 255, 0.04);
  --grid: rgba(255, 255, 255, 0.04);
  --glow: rgba(17, 87, 255, 0.3);
  --chrome: rgba(16, 24, 42, 0.86);
  --shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.07);
  --shadowup: 0 34px 80px -20px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.14);
}

html[data-face="light"] {
  --bg: #e9edf6;
  --bg2: #ffffff;
  --bg3: #f4f7fc;
  --ink: #0a1124;
  --dim: #56607a;
  --faint: #8a93a8;
  --line: rgba(10, 17, 36, 0.14);
  --line2: rgba(10, 17, 36, 0.26);
  --card: rgba(10, 17, 36, 0.03);
  --grid: rgba(10, 17, 36, 0.05);
  --glow: rgba(17, 87, 255, 0.16);
  --chrome: rgba(255, 255, 255, 0.86);
  --shadow: 0 20px 46px -16px rgba(10, 17, 36, 0.28), 0 0 0 1px rgba(10, 17, 36, 0.1);
  --shadowup: 0 30px 66px -18px rgba(10, 17, 36, 0.36), 0 0 0 1px rgba(10, 17, 36, 0.18);
}

/* -------------------------------------------------------------------- base */

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

/* Uygulamalarda display:grid taşıyan kutular hidden ile gizleniyor; author
   display kuralı UA'nın [hidden] kuralını ezmesin. */
[hidden] { display: none !important; }

html, body { height: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 14.5px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}

h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
button { font: inherit; }

.mono { font-family: var(--mono); font-size: 0.92em; }

.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.noscript {
  position: fixed; inset: auto 0 0 0; z-index: 200;
  padding: 14px 18px; background: var(--blue); color: #fff; font-size: 14px;
}
.noscript a { color: #fff; text-decoration: underline; }

.wordmark {
  background: currentColor;
  aspect-ratio: 372 / 165;
  -webkit-mask: url("../assets/brand/hoga-wordmark.svg") no-repeat center / contain;
  mask: url("../assets/brand/hoga-wordmark.svg") no-repeat center / contain;
}

html[data-face="dark"] .lockup--light,
html[data-face="light"] .lockup--dark { display: none; }

/* ---------------------------------------------------------------- menübar */

.menubar {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--barh);
  display: flex; align-items: center; gap: 14px;
  padding: 0 14px;
  background: var(--chrome);
  backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid var(--line);
}

.menubar__brand { display: flex; align-items: center; gap: 9px; }
.menubar__mark { width: 18px; height: auto; }
.menubar__word { width: 52px; color: var(--ink); }
.menubar__tag {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--faint);
  padding-left: 10px; margin-left: 2px; border-left: 1px solid var(--line);
}

.menubar__mid { display: flex; gap: 6px; margin-left: auto; }

/* ------------------------------------------------------------ marka nav */

.menubar__nav {
  display: flex; align-items: center; gap: 2px;
  margin-left: 20px;
}

.navbtn {
  padding: 6px 10px;
  border: 1px solid transparent; background: transparent;
  color: var(--dim);
  font: 400 12.5px/1 var(--display); letter-spacing: 0.03em;
  cursor: pointer; border-radius: 3px; text-decoration: none;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.navbtn:hover { color: var(--ink); background: var(--card); border-color: var(--line); }

.navmenu-wrap { position: relative; }
.navmenu {
  position: absolute; left: 0; top: calc(100% + 8px);
  min-width: 158px; padding: 6px;
  background: var(--chrome);
  backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid var(--line); border-radius: 8px;
  box-shadow: var(--shadowup);
  display: grid; gap: 2px;
}
.navmenu__item {
  text-align: left; padding: 8px 10px;
  background: transparent; border: 0; border-radius: 5px;
  color: var(--ink);
  font: 400 13px/1 var(--display); letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.15s;
}
.navmenu__item:hover { background: var(--card); }

.mbtn {
  padding: 6px 12px;
  border: 1px solid transparent; background: transparent;
  color: var(--dim);
  font: 400 12.5px/1 var(--display); letter-spacing: 0.03em;
  cursor: pointer; border-radius: 3px;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.mbtn:hover { color: var(--ink); background: var(--card); border-color: var(--line); }
.mbtn--icon { padding: 6px; display: grid; place-items: center; }

.facesheet {
  width: 14px; height: 14px;
  background: linear-gradient(135deg, var(--blue) 0 50%, var(--deep) 50% 100%);
  clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%);
  transition: transform 0.5s var(--ease);
}
html[data-face="light"] .facesheet { transform: rotate(180deg); }

.menubar__clock {
  font-size: 12px; color: var(--dim);
  min-width: 46px; text-align: right;
}

/* --------------------------------------------------------------- masaüstü */

.desk {
  position: fixed;
  inset: var(--barh) 0 var(--dockh) 0;
  overflow: hidden;
}

.desk__bg {
  position: absolute; inset: 0;
  overflow: hidden;
  background:
    repeating-linear-gradient(90deg, transparent 0 92px, var(--grid) 92px 93px),
    repeating-linear-gradient(0deg, transparent 0 92px, var(--grid) 92px 93px);
}
.desk__bg::after {
  content: "";
  position: absolute; left: 50%; top: 42%;
  width: min(900px, 105vw); aspect-ratio: 1; translate: -50% -50%;
  background: radial-gradient(circle, var(--glow) 0%, transparent 62%);
  filter: blur(10px);
}

/* Sade maskot sahnesi; ürün pencereleri bunun üzerinde açılır. */
.desk__mascot {
  position: absolute; inset: 0;
  z-index: 1;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 44%, rgba(0, 198, 215, 0.12), transparent 36%),
    radial-gradient(circle at 50% 50%, rgba(17, 87, 255, 0.12), transparent 60%),
    #080f19;
  display: grid;
  place-items: center;
  --mascot-size: min(720px, 58vh, 62vw);
}
.mascot__halo {
  position: absolute;
  width: min(70vw, 680px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 198, 215, .18), transparent 62%);
  filter: blur(18px);
  pointer-events: none;
}
.mascot__actor { position: relative; z-index: 1; width: var(--mascot-size); height: var(--mascot-size); aspect-ratio: 1; }
.mascot__skeleton, .mascot__fallback { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; transition: opacity .22s ease; display: block; }
.mascot__skeleton { opacity: 1; filter: none; mix-blend-mode: normal; }
.mascot__fallback { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .mascot__skeleton { opacity: 1; }
  .mascot__fallback { opacity: 0 !important; }
}

/* HOGA showroom layer: editorial entry point above the procedural stage. */
.showroom-intro { position: absolute; z-index: 4; left: clamp(24px, 7vw, 112px); top: clamp(88px, 13vh, 132px); max-width: 370px; pointer-events: none; }
.showroom-intro button, .showroom-intro a, .showroom-preview button, .showroom-preview input, .showroom-preview textarea { font-family: inherit; }
.showroom-intro .eyebrow, .showroom-projects .eyebrow { margin: 0 0 10px; color: #5d8cff; font: 600 11px/1.2 var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.showroom-intro h1 { margin: 0; color: var(--ink, #eef3ff); font-size: clamp(34px, 4.2vw, 64px); line-height: .98; letter-spacing: -.055em; max-width: 360px; }
.showroom-intro__copy { margin: 20px 0 0; color: color-mix(in srgb, var(--ink, #eef3ff) 65%, transparent); font-size: 16px; line-height: 1.55; max-width: 310px; }
.showroom-actions { display: flex; gap: 10px; margin-top: 24px; pointer-events: auto; }
.showroom-action { border: 1px solid rgba(126, 151, 204, .28); border-radius: 9px; background: rgba(10, 18, 34, .72); color: #b7c8ea; padding: 10px 14px; font: 600 12px var(--mono); cursor: pointer; }
.showroom-action--primary { border-color: #2468ff; background: #1157ff; color: #fff; }
.showroom-action:focus-visible, .project-card:focus-visible, .showroom-preview:focus-visible, .showroom-preview :focus-visible { outline: 2px solid #5e91ff; outline-offset: 3px; }
.showroom-status { margin: 16px 0 0; max-width: 320px; color: var(--dim); font: 12px/1.5 var(--mono); }
.showroom-projects { position: absolute; z-index: 4; right: clamp(24px, 6vw, 96px); top: clamp(48px, 9vh, 90px); width: min(310px, 27vw); }
.showroom-projects__head h2 { margin: 0; color: var(--ink, #eef3ff); font-size: 22px; letter-spacing: -.03em; }
.showroom-projects__grid { display: grid; gap: 10px; margin-top: 18px; }
.project-card { display: grid; grid-template-columns: 34px 1fr 18px; align-items: center; gap: 12px; width: 100%; padding: 14px; text-align: left; border: 1px solid rgba(126, 151, 204, .2); border-radius: 14px; background: rgba(12, 22, 42, .76); color: #e9efff; cursor: pointer; box-shadow: 0 14px 40px rgba(0, 0, 0, .16); }
.project-card:hover, .project-card[aria-expanded="true"] { border-color: #3e78ff; transform: translateY(-2px); }
.project-card__icon { object-fit: contain; display: grid; place-items: center; width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: #1157ff; color: #fff; font-weight: 800; }
.project-card__icon--violet { background: #6541d8; }
.project-card strong, .project-card small { display: block; }
.project-card strong { font-size: 14px; }
.project-card small { margin-top: 4px; color: #aabbe0; font-size: 11px; line-height: 1.35; }
.project-card__arrow { color: #82a8ff; font-size: 18px; }
.showroom-preview { position: absolute; z-index: 8; right: clamp(20px, 7vw, 112px); bottom: 0; width: min(310px, 27vw); max-height: calc(100% - 190px); overflow: auto; padding: 24px; border: 1px solid rgba(104, 143, 239, .38); border-radius: 18px; background: rgba(8, 16, 32, .97); box-shadow: 0 24px 70px rgba(0, 0, 0, .4); }
.showroom-preview h2 { margin: 0 0 8px; color: #f2f6ff; font-size: 25px; }
.showroom-preview p:not(.eyebrow) { color: #b8c8e5; font-size: 13px; line-height: 1.45; }
.showroom-preview__close { position: absolute; right: 14px; top: 10px; border: 0; background: none; color: #b8c8e5; font-size: 25px; cursor: pointer; }
.showroom-preview__link { display: inline-block; margin-top: 16px; color: #82a8ff; font: 600 12px var(--mono); }
.preview-label, .preview-hint { display: block; color: #aabbe0; font-size: 11px; }
.preview-note { box-sizing: border-box; width: 100%; min-height: 110px; margin-top: 7px; padding: 12px; border: 1px solid #2c416b; border-radius: 10px; background: #0d1930; color: #eef3ff; resize: vertical; font: 14px/1.45 inherit; }
.preview-task { display: flex; gap: 8px; }
.preview-task input { min-width: 0; flex: 1; padding: 10px; border: 1px solid #2c416b; border-radius: 8px; background: #0d1930; color: #eef3ff; }
.preview-task button { border: 0; border-radius: 8px; background: #1157ff; color: #fff; padding: 0 12px; font-weight: 700; cursor: pointer; }
.preview-tasks { margin: 14px 0 0; padding: 0; list-style: none; }
.preview-tasks li { padding: 8px 0; color: #d8e2fa; font-size: 13px; }
.preview-tasks label { display: flex; align-items: flex-start; gap: 8px; cursor: pointer; }
.preview-tasks input { flex: 0 0 auto; margin-top: 2px; accent-color: #3478ff; }
.preview-tasks input:checked + span { text-decoration: line-through; color: #899bc0; }
.preview-empty { color: #9fb1d2 !important; font-style: italic; }

html[data-face="light"] .desk__mascot {
  background:
    radial-gradient(circle at 50% 44%, rgba(0, 198, 215, 0.09), transparent 36%),
    radial-gradient(circle at 50% 50%, rgba(17, 87, 255, 0.08), transparent 60%),
    var(--bg);
}
html[data-face="light"] .showroom-action { border-color: var(--line2); background: rgba(255, 255, 255, .78); color: var(--ink); }
html[data-face="light"] .showroom-action--primary { border-color: var(--blue); background: var(--blue); color: #fff; }
html[data-face="light"] .project-card { border-color: var(--line); background: rgba(255, 255, 255, .88); color: var(--ink); box-shadow: 0 14px 40px rgba(10, 17, 36, .12); }
html[data-face="light"] .project-card:hover, html[data-face="light"] .project-card[aria-expanded="true"] { border-color: var(--blue); }
html[data-face="light"] .project-card small, html[data-face="light"] .preview-empty { color: var(--dim) !important; }
html[data-face="light"] .showroom-preview { border-color: var(--line2); background: rgba(255, 255, 255, .97); box-shadow: 0 24px 70px rgba(10, 17, 36, .2); }
html[data-face="light"] .showroom-preview h2 { color: var(--ink); }
html[data-face="light"] .showroom-preview p:not(.eyebrow), html[data-face="light"] .showroom-preview__close { color: var(--dim); }
html[data-face="light"] .preview-label, html[data-face="light"] .preview-hint { color: var(--dim); }
html[data-face="light"] .preview-note, html[data-face="light"] .preview-task input { border-color: var(--line2); background: var(--bg3); color: var(--ink); }

@media (min-width: 801px) and (max-width: 1100px) {
  .desk { overflow-y: auto; overflow-x: hidden; padding: 32px clamp(24px, 7vw, 72px) 40px; }
  .showroom-intro { position: relative; top: auto; left: auto; max-width: 520px; margin: 0; pointer-events: auto; }
  .showroom-intro h1 { font-size: clamp(40px, 5vw, 52px); max-width: 460px; }
  .showroom-intro__copy { max-width: 420px; }
  .showroom-status { max-width: 420px; }
  .desk__mascot { position: relative; inset: auto; width: 100%; height: min(390px, 42vh); margin: 12px auto 0; --mascot-size: min(390px, 42vh, 44vw); }
  .mascot__actor { width: var(--mascot-size); height: var(--mascot-size); }
  .showroom-projects { position: relative; top: auto; right: auto; width: min(420px, 100%); margin: 14px 0 0 auto; }
  .showroom-preview { position: relative; right: auto; bottom: auto; width: min(420px, 100%); max-height: none; margin: 16px 0 30px auto; }
}

@media (max-width: 800px) {
  .desk { overflow-y: auto; overflow-x: hidden; }
  .showroom-intro { position: relative; top: auto; left: auto; max-width: none; margin: 26px 20px 0; pointer-events: auto; }
  .showroom-intro h1 { font-size: 34px; max-width: 300px; }
  .showroom-intro__copy { font-size: 13px; margin-top: 12px; max-width: 300px; }
  .showroom-actions { margin-top: 14px; }
  .showroom-action { padding: 8px 10px; }
  .showroom-status { margin-top: 12px; max-width: 300px; }
  .desk__mascot { inset: 190px 0 auto; height: min(42vh, 340px); --mascot-size: min(720px, 42vh, 78vw); }
  .mascot__actor { width: var(--mascot-size); height: var(--mascot-size); }
  .showroom-projects { position: relative; top: auto; right: auto; width: auto; margin: min(42vh, 340px) 20px 0; }
  .showroom-projects__head { display: block; }
  .showroom-projects__grid { grid-template-columns: 1fr; margin-top: 12px; }
  .project-card { grid-template-columns: 34px 1fr 18px; padding: 12px; gap: 10px; }
  .project-card small { display: block; }
  .showroom-preview { position: relative; right: auto; bottom: auto; width: auto; max-height: none; margin: 16px 20px 32px; padding: 18px; }
  .showroom-preview h2 { font-size: 21px; }
}
.mascot__toggle {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 20px;
  padding: 8px 11px;
  border: 1px solid var(--line2);
  border-radius: 5px;
  background: var(--chrome);
  color: var(--dim);
  font: 11px var(--mono);
  cursor: pointer;
}
.mascot__toggle:hover { color: var(--ink); border-color: var(--blue); }
.desk__mascot[data-state="fallback"] .mascot__halo { opacity: .65; }
.desk__mascot[data-state="reduced"] .mascot__toggle { color: var(--ink); }
.desk__mascot + .desk__hint { z-index: 3; }
.desk__mascot:focus-within { outline: 0; }
.desk__mascot [hidden] { display: none !important; }
.desk__mascot::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.025), transparent 24%, transparent 76%, rgba(0,0,0,.12));
}
.office-canvas-host {
  isolation: isolate;
}
.office-canvas {
  width: 100%; height: 100%; display: block;
  image-rendering: pixelated;
  touch-action: manipulation;
  outline: none;
}
.office-canvas:focus-visible { box-shadow: inset 0 0 0 2px rgba(127, 232, 212, 0.72); }
.office__camera-controls { position: absolute; z-index: 8; left: 16px; bottom: max(16px, env(safe-area-inset-bottom)); display: flex; gap: 6px; padding: 6px; border: 1px solid rgba(255,206,132,.24); border-radius: 8px; background: rgba(8,16,26,.92); backdrop-filter: blur(10px); }
.office__camera-controls button { width: 44px; height: 44px; border: 1px solid rgba(127,232,212,.2); border-radius: 5px; background: rgba(127,232,212,.06); color: #eaf6ff; font: 700 16px var(--mono); cursor: pointer; }
.office__camera-controls button:hover, .office__camera-controls button:focus-visible { background: rgba(127,232,212,.16); border-color: rgba(127,232,212,.55); }
.office__camera-controls button[data-camera="reset"] { width: 58px; font-size: 10px; }
.office__error {
  position: absolute; inset: 50% auto auto 50%; translate: -50% -50%;
  width: min(420px, 86vw); padding: 16px; text-align: center;
  color: #d6e3ec; background: rgba(17, 24, 38, 0.92);
  border: 1px solid rgba(127, 232, 212, 0.32); border-radius: 8px;
}

.office__directory {
  position: absolute; z-index: 5; top: 14px; right: 14px;
  width: min(232px, calc(100% - 28px));
  color: #eaf6ff; background: rgba(8, 16, 26, 0.91);
  border: 1px solid rgba(255, 206, 132, 0.24); border-radius: 8px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34); backdrop-filter: blur(14px) saturate(120%);
}
.office__directory-toggle {
  width: 100%; padding: 9px 11px; display: flex; justify-content: space-between;
  border: 0; border-bottom: 1px solid rgba(255,255,255,0.1); background: transparent;
  color: #eaf6ff; font: 700 11px var(--mono); letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer; text-align: left;
}
.office__directory-content { display: grid; gap: 3px; max-height: 208px; overflow: auto; padding: 7px; }
.office__directory.is-collapsed .office__directory-content { display: none; }
.office__directory-title { margin: 0 3px 3px; color: #91a8b8; font: 10px var(--mono); text-transform: uppercase; }
.office__directory-section { margin: 4px 3px 2px; color: #7fe8d4; font: 9px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.office__directory-section--team { margin-top: 9px; color: #91a8b8; }
.office__directory-item {
  min-height: 30px; padding: 6px 8px; border: 1px solid transparent; border-radius: 4px;
  background: transparent; color: #d6e3ec; text-align: left;
  font: 11px var(--mono); cursor: pointer;
}
.office__directory-item.is-product { color: #f4fbff; border-color: rgba(127, 232, 212, 0.14); background: rgba(127, 232, 212, 0.045); }
.office__directory-item.is-product::after { content: ' ↗'; float: right; color: #7fe8d4; }
.office__directory-item:hover, .office__directory-item:focus-visible {
  color: #fff; background: rgba(127, 232, 212, 0.08); border-color: rgba(127, 232, 212, 0.35);
}

.office__modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px; background: rgba(0, 0, 0, 0.68); }
.office__modal[hidden] { display: none; }
.office__modal-card { position: relative; width: min(850px, 100%); max-height: 100%; overflow: auto; padding: 24px; background: #111826; border: 1px solid rgba(127, 232, 212, 0.46); box-shadow: 0 24px 60px rgba(0,0,0,0.45); }
.office__modal-close { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.18); background: transparent; color: #eaf6ff; cursor: pointer; font-size: 22px; line-height: 1; border-radius: 4px; }
.office__modal-close:hover, .office__modal-close:focus-visible { background: rgba(127, 232, 212, 0.1); border-color: rgba(127, 232, 212, 0.55); }
.office__modal-content { display: grid; gap: 12px; padding-right: 32px; }
.office__modal-image { width: min(420px, 100%); max-height: 340px; object-fit: contain; image-rendering: pixelated; background: #080d15; }
.office__modal-eyebrow { margin: 0; color: #7fe8d4; font: 11px var(--mono); text-transform: uppercase; }
.office__modal-content h2 { margin: 0; color: #eaf6ff; font: 400 28px var(--display); }
.office__modal-summary { margin: 0; max-width: 640px; color: #d6e3ec; line-height: 1.55; }
.office__modal-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.office__modal-facts li { padding: 7px 10px; color: #eaf6ff; border: 1px solid #314b63; background: #1d2a3a; border-radius: 4px; font: 11px var(--mono); }

.desk__hint {
  position: absolute; left: 50%; top: 50%;
  translate: -50% -50%;
  width: min(430px, 84vw); text-align: center;
  color: var(--dim); font-size: 14px; line-height: 1.6;
  transition: opacity 0.6s ease;
  pointer-events: none;
  z-index: 3;
}
.desk__hint b {
  font-family: var(--display); font-weight: 400; font-size: 1.15em;
  color: var(--ink);
}
.desk__hint.is-off { opacity: 0; pointer-events: none; }

.desk__layer {
  position: absolute; inset: 0; z-index: 2;
  /* Empty desktop space must remain transparent to the HOGA office below. */
  pointer-events: none;
}
.desk__layer > .win,
.desk__layer > .win * { pointer-events: auto; }

/* ---------------------------------------------------------------- pencere */

.win {
  position: absolute; top: 0; left: 0;
  width: var(--w, 520px); height: var(--h, 420px);
  transform: translate(var(--x, 40px), var(--y, 30px));
  display: flex; flex-direction: column;
  background: var(--bg2);
  border-radius: 9px;
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: winIn 0.28s var(--ease) both;
}
.win.is-front { box-shadow: var(--shadowup); }
/* Pencere programatik odaklanır; tarayıcı odak halkası kroma zarar vermesin.
   Öndeki pencere zaten gölge ve başlık aksanıyla belirgin. */
.win:focus, .win:focus-visible { outline: none; }
.win.is-min, .win.is-hidden { display: none; }
.win.is-max { transform: none; width: 100%; height: 100%; border-radius: 0; }
.win.is-dragging, .win.is-sizing { transition: none; user-select: none; }

@keyframes winIn {
  from { opacity: 0; transform: translate(var(--x, 40px), calc(var(--y, 30px) + 12px)) scale(0.985); }
  to   { opacity: 1; }
}

.win__bar {
  flex: 0 0 auto;
  display: flex; align-items: center; gap: 12px;
  height: 38px; padding: 0 11px;
  background: linear-gradient(180deg, var(--bg3), var(--bg2));
  border-bottom: 1px solid var(--line);
  cursor: grab;
  touch-action: none;
}
.win.is-dragging .win__bar { cursor: grabbing; }
/* Odaktaki pencerenin başlığında ürün aksanı görünür. */
.win.is-front .win__bar { box-shadow: inset 0 2px 0 var(--accent); }

.win__ctl { display: flex; gap: 7px; }
.dot {
  width: 11px; height: 11px; padding: 0;
  border: 0; border-radius: 50%;
  background: var(--line2); cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.dot:hover { transform: scale(1.16); }
.dot--close:hover { background: #ff5f56; }
.dot--min:hover { background: #ffbd2e; }
.dot--max:hover { background: var(--blue); }

.win__id { display: flex; align-items: center; min-width: 0; }
.win__lockup { height: 15px; width: auto; opacity: 0.92; }
.win__name {
  font-family: var(--display); font-size: 14px; color: var(--dim);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.win__badge {
  margin-left: auto;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--faint);
  padding: 3px 7px; border: 1px solid var(--line); border-radius: 3px;
  white-space: nowrap;
}

.win__body {
  flex: 1 1 auto; min-height: 0;
  overflow: auto;
  background: var(--bg2);
}

.win__grip {
  position: absolute; right: 0; bottom: 0;
  width: 20px; height: 20px; padding: 0;
  border: 0; background: transparent;
  cursor: nwse-resize; touch-action: none;
}
.win__grip::after {
  content: ""; position: absolute; right: 4px; bottom: 4px;
  width: 8px; height: 8px;
  border-right: 2px solid var(--line2); border-bottom: 2px solid var(--line2);
}

.apperr { padding: 20px; color: var(--dim); }

/* -------------------------------------------------------------------- dock */

.dock {
  position: fixed; inset: auto 0 0 0; z-index: 100;
  height: var(--dockh);
  display: grid; place-items: center;
  padding: 0 12px 10px;
}
.dock__list {
  display: flex; align-items: flex-end; gap: 4px;
  padding: 7px 9px;
  background: var(--chrome);
  backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.dock__list::-webkit-scrollbar { display: none; }

.dockitem {
  position: relative;
  display: grid; justify-items: center; gap: 5px;
  width: 62px; padding: 7px 4px 9px;
  border: 0; background: transparent; color: var(--dim);
  cursor: pointer; border-radius: 9px;
  transition: background 0.2s, color 0.2s, transform 0.24s var(--ease);
}
.dockitem:hover { background: var(--card); color: var(--ink); transform: translateY(-3px); }

.dockitem__icon {
  width: 26px; height: 30px;
  background: var(--accent);
  -webkit-mask: url("../assets/brand/hoga-mark.svg") no-repeat center / contain;
  mask: url("../assets/brand/hoga-mark.svg") no-repeat center / contain;
  opacity: 0.62;
  transition: opacity 0.2s;
}
.dockitem:hover .dockitem__icon,
.dockitem.is-live .dockitem__icon { opacity: 1; }

.dockitem__label {
  font-family: var(--display); font-size: 11px; letter-spacing: 0.02em;
  white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis;
}

.dockitem.is-live::after {
  content: ""; position: absolute; left: 50%; bottom: 2px;
  width: 4px; height: 4px; translate: -50% 0;
  background: var(--accent); border-radius: 50%;
}

/* ----------------------------------------------------- hero / karşılama */

.hero {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center;
  background:
    radial-gradient(1100px 620px at 50% -8%, var(--glow) 0%, transparent 62%),
    linear-gradient(180deg, #080d1a 0%, #05070f 100%);
  transition: opacity 0.4s ease;
}
.hero.is-leaving { opacity: 0; }

.hero__inner {
  display: grid; justify-items: center; text-align: center;
  padding: 0 24px; max-width: 640px;
}
.hero__word { width: 150px; color: var(--ink); }
.hero__tag {
  margin-top: 30px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--faint);
}
.hero__title {
  margin-top: 16px;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(34px, 6vw, 58px); line-height: 1.07;
  letter-spacing: 0.01em; color: var(--ink);
}
.hero__accent { color: var(--blue); }
html[data-face="light"] .hero__accent { color: var(--deep); }
.hero__desc {
  margin-top: 20px;
  color: var(--dim); font-size: 15px; line-height: 1.6;
  max-width: 470px;
}
.hero__cta {
  margin-top: 32px;
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.hero__cta .mbtn { font-size: 13px; padding: 10px 18px; }
.mbtn--solid { background: var(--blue); border-color: var(--blue); color: #fff; }
.mbtn--solid:hover { background: var(--blue); filter: brightness(1.12); }
.mbtn--outline { border-color: var(--line2); color: var(--ink); }
.mbtn--outline:hover { border-color: var(--blue); color: var(--ink); }
.mbtn--ghost { color: var(--dim); }
.mbtn--ghost:hover { color: var(--ink); }

.hero__skip {
  margin-top: 30px;
  background: transparent; border: 0; cursor: pointer;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--faint);
  transition: color 0.2s;
}
.hero__skip:hover { color: var(--dim); }

/* --------------------------------------------------------------- responsive */

@media (max-width: 820px) {
  :root { --dockh: 74px; }

  .menubar__mid { display: none; }
  .menubar__nav { display: none; }
  .menubar__tag { display: none; }

  .mascot__toggle { right: 10px; bottom: 10px; }
  .desk__mascot { --mascot-size: min(720px, 52vh, 78vw); }
  .mascot__actor { width: var(--mascot-size); height: var(--mascot-size); }

  /* Telefonda pencere = tam ekran sayfa. Sürükleme kapalı. */
  .win {
    inset: 0; transform: none !important;
    width: 100% !important; height: 100% !important;
    border-radius: 0;
    animation: sheetIn 0.26s var(--ease) both;
  }
  .win:not(.is-front) { display: none; }
  .win__grip { display: none; }
  .win__bar { cursor: default; height: 44px; }
  .win__badge { display: none; }

  @keyframes sheetIn {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
  }

  /* Dock yatay kayar; etiketler kırpılmasın diye daralmıyor. */
  .dockitem { width: 66px; }
  .desk__hint { font-size: 13px; }
}

@media (max-width: 420px) {
  .desk__mascot { --mascot-size: min(720px, 46vh, 82vw); }
  .mascot__actor { width: var(--mascot-size); height: var(--mascot-size); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* Showroom geometry wins over legacy mascot sizing at the breakpoint edges. */
@media (min-width: 801px) and (max-width: 1100px) {
  .desk { box-sizing: border-box; }
  .desk__mascot { box-sizing: border-box; width: 100%; max-width: 100%; height: min(460px, 52vh); --mascot-size: min(420px, 52vh, 78vw); }
  .mascot__actor { width: var(--mascot-size); height: var(--mascot-size); }
}

@media (max-width: 800px) {
  .desk { box-sizing: border-box; }
  .desk__mascot { box-sizing: border-box; width: 100%; max-width: 100%; height: min(42vh, 340px); --mascot-size: min(720px, 42vh, 78vw); }
  .mascot__actor { width: var(--mascot-size); height: var(--mascot-size); }
}

@media (max-width: 420px) {
  .desk__mascot { --mascot-size: min(720px, 42vh, 78vw); }
  .mascot__actor { width: var(--mascot-size); height: var(--mascot-size); }
}
