:root {
  --bg: #ffffff;
  --surface: #f0f0f0;
  --ink: #1c1c1c;
  --muted: #8a8a8a;
  --faint: #b5b5b5;
  --line: #e4e4e4;
  --green: #2fbf71;
  --orange: #ff6a00;
  --blue: #3b82f6;

  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;

  --gap: var(--sp-1);
  --radius: 10px;
  --sidebar: 351px;
  --font: "Satoshi", "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow: hidden;
}

button,
a {
  font: inherit;
  color: inherit;
}

a {
  text-decoration: none;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
  padding: 0;
}

.layout {
  display: grid;
  grid-template-columns: var(--sidebar) 1fr;
  height: 100dvh;
  gap: var(--gap);
  padding: var(--gap);
  background: var(--bg);
}

.panel {
  background: var(--surface);
  border-radius: var(--radius);
}

.sidebar {
  display: grid;
  grid-template-rows: 58px minmax(220px, 1.1fr) minmax(180px, 1fr) 60px 103px;
  gap: var(--gap);
  min-height: 0;
  height: 100%;
}

.name-card {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 0 var(--sp-4);
  transition: background 0.2s ease;
}

.name-card:hover {
  background: #ebebeb;
}

.name-card__mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, #fff 0 18%, transparent 19%),
    linear-gradient(145deg, #222, #111);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  flex: 0 0 auto;
}

.name-card__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.name-card__name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.name-card__role {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

.about-card {
  position: relative;
  padding: var(--sp-4) var(--sp-4) var(--sp-7);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  min-height: 0;
}

.about-card__labels {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.tag {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 var(--sp-3);
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.about-card__bio {
  margin: 0;
  font-size: 20px;
  line-height: 1.28;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.about-card__bio-secondary {
  color: var(--faint);
}

.meta-label {
  position: absolute;
  left: var(--sp-4);
  bottom: var(--sp-3);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--faint);
}

.meta-label__caret {
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid var(--orange);
}

.contacts-card {
  position: relative;
  padding: var(--sp-4) var(--sp-4) var(--sp-7);
  min-height: 0;
}

.contacts-card__links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.contact-link {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  height: 28px;
  font-size: 14px;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.contact-link:hover {
  opacity: 0.55;
}

.contact-link__icon {
  font-size: 12px;
  color: var(--muted);
}

.concept-trigger {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0 var(--sp-4);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--orange);
  transition: background 0.2s ease, transform 0.2s ease;
}

.concept-trigger:hover {
  background: #ebebeb;
}

.concept-trigger__icon {
  font-size: 14px;
  line-height: 1;
}

.bottom-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--sp-3) var(--sp-4);
}

.bottom-card__text {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}

.barcode {
  height: 18px;
  width: 100%;
  background: repeating-linear-gradient(
    90deg,
    #1c1c1c 0 1px,
    transparent 1px 3px,
    #1c1c1c 3px 5px,
    transparent 5px 8px,
    #1c1c1c 8px 9px,
    transparent 9px 12px
  );
  opacity: 0.75;
  mask-image: linear-gradient(90deg, #000 0%, #000 70%, transparent 100%);
}

.main {
  display: grid;
  grid-template-rows: 58px 1fr;
  gap: var(--gap);
  min-width: 0;
  min-height: 0;
}

.header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--sp-5);
  padding: 0 var(--sp-4);
  font-family: var(--mono);
  font-size: 12px;
}

.header__status {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  white-space: nowrap;
}

.header__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(47, 191, 113, 0.55);
  animation: pulse 2.2s ease-out infinite;
}

.header__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-5);
  color: var(--muted);
  justify-content: center;
}

.header__stats strong {
  color: var(--ink);
  font-weight: 500;
}

.header__meta {
  display: flex;
  gap: var(--sp-4);
  color: var(--muted);
  white-space: nowrap;
}

.content {
  position: relative;
  overflow: auto;
  min-height: 0;
  scroll-behavior: smooth;
  padding: var(--sp-5) var(--sp-5) var(--sp-8);
}

.hero {
  position: relative;
  min-height: calc(100dvh - 90px);
  display: grid;
  grid-template-rows: 1fr auto;
  gap: var(--sp-3);
  padding-bottom: var(--sp-5);
}

.hero__stage {
  display: grid;
  place-items: center;
  min-height: 0;
  animation: rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.browser-frame {
  position: relative;
  width: min(100%, 1040px);
  aspect-ratio: 16 / 10.4;
  background: #fff;
  border-radius: 14px;
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.04),
    0 24px 60px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  border: 1px solid #e8e8e8;
  transform-origin: center bottom;
  animation: floaty 7s ease-in-out infinite;
}

.browser-frame__chrome {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  background: #f7f7f7;
  border-bottom: 1px solid #ececec;
}

.browser-frame__chrome > span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ddd;
}

.browser-frame__chrome > span:nth-child(1) {
  background: #ff5f57;
}
.browser-frame__chrome > span:nth-child(2) {
  background: #febc2e;
}
.browser-frame__chrome > span:nth-child(3) {
  background: #28c840;
}

.browser-frame__url {
  margin-left: 10px;
  flex: 1;
  height: 18px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #ececec;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10px;
  display: flex;
  align-items: center;
  padding: 0 8px;
}

.hero-slides {
  position: relative;
  height: calc(100% - 34px);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 3;
}

.hero-dots button {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.18);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-dots button.is-active {
  background: var(--ink);
  transform: scale(1.15);
}

.mock-ui {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  height: 100%;
  background:
    radial-gradient(1200px 400px at 80% -10%, rgba(59, 130, 246, 0.08), transparent 55%),
    linear-gradient(180deg, #fafafa, #f3f3f3);
}

.mock-ui__nav {
  background: #171717;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock-ui__nav--light {
  background: #f3f4f6;
  border-right: 1px solid #e5e7eb;
}

.mock-ui__nav--light .mock-ui__nav-item {
  background: rgba(0, 0, 0, 0.08);
}

.mock-ui__nav--light .mock-ui__nav-item.is-active {
  background: rgba(0, 0, 0, 0.28);
}

.mock-ui__logo {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #5b8cff, #2fbf71);
  margin-bottom: 8px;
}

.mock-ui__nav-item {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.mock-ui__nav-item.is-active {
  background: rgba(255, 255, 255, 0.35);
}

.mock-ui__body {
  position: relative;
  padding: 18px;
  overflow: hidden;
}

.mock-ui__toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  gap: 12px;
}

.mock-ui__search {
  width: 42%;
  height: 28px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e7e7e7;
}

.mock-ui__toolbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mock-ui__toolbar-actions > span {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e7e7e7;
}

.mock-ui__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4d4d4, #9ca3af);
}

.mock-ui__heading-block {
  display: grid;
  gap: 8px;
  width: 40%;
}

.mock-ui__board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  height: calc(100% - 48px);
}

.mock-ui__column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock-ui__column-title {
  height: 8px;
  width: 42%;
  border-radius: 999px;
  background: #d4d4d4;
}

.mock-ui__card {
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 10px;
  min-height: 64px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-ui__card--tall {
  min-height: 110px;
}

.mock-ui__card--accent {
  background: linear-gradient(180deg, #eff6ff, #fff);
  border-color: #dbeafe;
}

.mock-ui__chip {
  width: 54px;
  height: 14px;
  border-radius: 999px;
  background: #e5e7eb;
}

.mock-ui__chip--red {
  background: #fecaca;
}
.mock-ui__chip--blue {
  background: #bfdbfe;
}
.mock-ui__chip--green {
  background: #bbf7d0;
}

.mock-ui__line {
  height: 8px;
  border-radius: 999px;
  background: #e5e7eb;
  width: 88%;
}

.mock-ui__line--short {
  width: 52%;
}

.mock-ui__avatars {
  margin-top: auto;
  height: 18px;
  width: 54px;
  border-radius: 999px;
  background: linear-gradient(90deg, #cbd5e1 0 30%, #94a3b8 30% 60%, #64748b 60%);
}

.mock-ui__modal {
  position: absolute;
  right: 8%;
  top: 18%;
  width: min(360px, 46%);
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e8e8e8;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.18);
  padding: 18px;
  animation: modalIn 0.9s 0.25s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.mock-ui__modal-title {
  height: 14px;
  width: 68%;
  border-radius: 6px;
  background: #1c1c1c;
  margin-bottom: 12px;
}

.mock-ui__modal-meta {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.mock-ui__modal-meta span {
  height: 18px;
  width: 54px;
  border-radius: 999px;
  background: #f3f4f6;
}

.mock-ui__modal-row {
  height: 36px;
  border-radius: 8px;
  background: #f5f5f5;
  margin-bottom: 10px;
}

.mock-ui__modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
}

.mock-ui__modal-actions span {
  height: 30px;
  border-radius: 8px;
}

.mock-ui__modal-actions span:first-child {
  width: 72px;
  background: #ececec;
}

.mock-ui__modal-actions span:last-child {
  width: 110px;
  background: var(--blue);
}

.mock-ui__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}

.mock-ui__metric {
  height: 78px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #ebebeb;
}

.mock-ui__chart {
  height: calc(100% - 120px);
  min-height: 160px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, transparent 0 70%, rgba(59, 130, 246, 0.12) 70%),
    repeating-linear-gradient(
      90deg,
      transparent 0 28px,
      rgba(0, 0, 0, 0.03) 28px 29px
    ),
    #fff;
  border: 1px solid #ebebeb;
  position: relative;
  overflow: hidden;
}

.mock-ui__chart::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 18%;
  height: 42%;
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.35), transparent);
  clip-path: polygon(0 70%, 18% 48%, 34% 58%, 52% 28%, 70% 40%, 86% 18%, 100% 30%, 100% 100%, 0 100%);
}

.mock-ui--mobile-stage {
  display: grid;
  place-items: center;
  grid-template-columns: 1fr;
  background:
    radial-gradient(circle at 30% 20%, rgba(56, 189, 248, 0.18), transparent 40%),
    linear-gradient(160deg, #0f172a, #1e293b 55%, #334155);
}

.phone-frame {
  width: min(28%, 220px);
  aspect-ratio: 9 / 19;
  border-radius: 28px;
  border: 8px solid #111;
  background: #0b1220;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
}

.phone-frame__notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 42%;
  height: 10px;
  border-radius: 999px;
  background: #111;
  z-index: 2;
}

.phone-frame__screen {
  height: 100%;
  padding: 28px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: linear-gradient(180deg, #38bdf8 0 18%, #0f172a 18% 28%, #f8fafc 28%);
}

.phone-frame__bar {
  height: 10px;
  width: 48%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  margin-bottom: 28%;
}

.phone-frame__card {
  height: 64px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.phone-frame__card--accent {
  background: linear-gradient(180deg, #dbeafe, #fff);
}

.cases-fab {
  position: sticky;
  bottom: 18px;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: #171717;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  z-index: 5;
  transition: transform 0.2s ease, background 0.2s ease;
}

.cases-fab:hover {
  transform: translateY(-2px);
  background: #000;
}

.cases-fab__chevron {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(45deg) translateY(-2px);
}

.case {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: var(--sp-2) var(--sp-4);
  padding: var(--sp-7) var(--sp-2) var(--sp-6);
  border-top: 1px solid transparent;
  animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.case__index {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  padding-top: var(--sp-2);
}

.case__title {
  margin: 0 0 var(--sp-4);
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.case__desc {
  max-width: 720px;
  display: grid;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}

.case__desc p {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: #2a2a2a;
}

.case__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-5);
  margin-bottom: var(--sp-5);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

.case__cover {
  border-radius: 16px;
  overflow: hidden;
  background: #e9e9e9;
  aspect-ratio: 16 / 9.2;
  margin-bottom: var(--sp-4);
  position: relative;
  display: block;
}

.case__cover--link {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.case__cover--link:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
}

.case__title a {
  color: inherit;
  transition: opacity 0.2s ease;
}

.case__title a:hover {
  opacity: 0.55;
}

.gallery-tile-link {
  display: block;
  min-width: 0;
}

.case__cover-visual {
  width: 100%;
  height: 100%;
}

.case__cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.gallery-tile--image {
  padding: 0;
  overflow: hidden;
  background: #ececec;
}

.gallery-tile--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.cover-orbit {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.5), transparent 40%),
    linear-gradient(135deg, #d7dee8 0%, #b7c3d4 45%, #8ea0b8 100%);
  display: grid;
  place-items: center;
}

.cover-orbit::before {
  content: "";
  width: min(48%, 420px);
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  border: 10px solid #cbd5e1;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.25);
  background:
    linear-gradient(180deg, #f8fafc 0 18%, transparent 18%),
    linear-gradient(90deg, #0f172a 0 18%, #f8fafc 18%),
    #f8fafc;
}

.cover-fieldline {
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.35), transparent 35%),
    linear-gradient(160deg, #1f2937, #0f172a 55%, #334155);
  display: grid;
  place-items: end center;
  padding-bottom: 8%;
}

.cover-fieldline::before {
  content: "";
  width: min(28%, 220px);
  aspect-ratio: 9 / 19;
  border-radius: 28px;
  border: 8px solid #111;
  background:
    linear-gradient(180deg, #38bdf8 0 18%, #0f172a 18% 28%, #f8fafc 28%);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.45);
}

.cover-yolla {
  background:
    radial-gradient(circle at 75% 20%, rgba(56, 189, 248, 0.35), transparent 40%),
    radial-gradient(circle at 15% 80%, rgba(34, 197, 94, 0.2), transparent 35%),
    linear-gradient(145deg, #0b1220 0%, #13233d 48%, #1d4e89 100%);
  display: grid;
  place-items: end center;
  padding-bottom: 7%;
}

.cover-yolla::before {
  content: "";
  width: min(26%, 210px);
  aspect-ratio: 9 / 19;
  border-radius: 30px;
  border: 8px solid #0a0a0a;
  box-shadow: 0 28px 55px rgba(0, 0, 0, 0.45);
  background:
    linear-gradient(180deg, #38bdf8 0 14%, #0f172a 14% 22%, #f8fafc 22% 55%, #e2e8f0 55%);
}

.case__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}

.gallery-tile {
  aspect-ratio: 16 / 11;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.gallery-tile--board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px;
  background: linear-gradient(180deg, #f8fafc, #eef2f7);
}

.gallery-tile--board div {
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e5e7eb;
}

.gallery-tile--modal {
  display: grid;
  place-items: center;
  background: #e5e7eb;
}

.gallery-tile--modal div:first-child {
  width: 62%;
  height: 68%;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.16);
}

.gallery-tile--modal div:last-child {
  display: none;
}

.gallery-tile--calendar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 14px;
  background: #fff;
}

.gallery-tile--calendar span {
  border-radius: 8px;
  background: #f3f4f6;
}

.gallery-tile--calendar span:nth-child(2),
.gallery-tile--calendar span:nth-child(5) {
  background: #dbeafe;
}

.gallery-tile--ops {
  display: grid;
  grid-template-rows: 28% 1fr;
  gap: 8px;
  padding: 12px;
  background: linear-gradient(180deg, #f8fafc, #e2e8f0);
}

.gallery-tile--ops div {
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e5e7eb;
}

.gallery-tile--mobile {
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #0f172a, #334155);
}

.gallery-tile--mobile div {
  width: 34%;
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  border: 5px solid #111;
  background: linear-gradient(180deg, #38bdf8 0 22%, #f8fafc 22%);
}

.gallery-tile--map {
  background:
    radial-gradient(circle at 30% 40%, rgba(59, 130, 246, 0.25), transparent 28%),
    radial-gradient(circle at 70% 60%, rgba(16, 185, 129, 0.2), transparent 30%),
    linear-gradient(135deg, #dbeafe, #e2e8f0);
  display: grid;
  place-items: center;
}

.gallery-tile--map div {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 8px rgba(255, 106, 0, 0.18);
}

.projects-head {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
  margin: var(--sp-2) 0 var(--sp-3);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--faint);
}

.projects {
  display: grid;
  gap: var(--sp-2);
}

.project-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: var(--sp-3);
  align-items: center;
  min-height: 56px;
  padding: var(--sp-3) var(--sp-4);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: background 0.2s ease, transform 0.2s ease;
}

.project-row:hover {
  background: #fff;
  transform: translateY(-1px);
}

.project-row__title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.project-row__result {
  font-size: 13px;
  color: var(--muted);
}

.project-row__cta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}

.design-system-note {
  margin-top: var(--sp-4);
  padding: var(--sp-4);
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  font-size: 14px;
}

.design-system-note strong {
  display: block;
  margin-bottom: var(--sp-1);
  font-size: 13px;
}

.concepts__open {
  display: inline-flex;
  margin: var(--sp-1) 0 var(--sp-5);
  font-family: var(--mono);
  font-size: 13px;
  color: var(--orange);
}

.concepts__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
}

.concepts__tile {
  aspect-ratio: 1;
  border-radius: 14px;
  background: #ddd;
}

.concepts__tile--a {
  background: linear-gradient(145deg, #e2e8f0, #94a3b8);
}
.concepts__tile--b {
  background: linear-gradient(145deg, #dbeafe, #60a5fa);
}
.concepts__tile--c {
  background: linear-gradient(145deg, #ecfccb, #84cc16);
}
.concepts__tile--d {
  background: linear-gradient(145deg, #fee2e2, #f87171);
}

.cookie {
  position: fixed;
  right: var(--sp-4);
  bottom: var(--sp-4);
  z-index: 40;
  width: min(360px, calc(100vw - var(--sp-6)));
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-4);
  border-radius: 14px;
  background: #171717;
  color: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.cookie[hidden] {
  display: none;
}

.cookie p {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: #d4d4d4;
}

.cookie a {
  color: #fff;
  text-decoration: underline;
}

.cookie button {
  align-self: flex-start;
  height: 36px;
  padding: 0 var(--sp-4);
  border-radius: 8px;
  background: #fff;
  color: #111;
  font-size: 13px;
  font-weight: 700;
}

.concepts-dialog {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(720px, calc(100vw - 32px));
}

.concepts-dialog::backdrop {
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
}

.concepts-dialog__panel {
  background: #fff;
  border-radius: 18px;
  padding: var(--sp-5);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.concepts-dialog__panel header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--sp-2);
}

.concepts-dialog__panel h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.concepts-dialog__panel p {
  margin: 0 0 var(--sp-4);
  color: var(--muted);
}

.concepts-dialog__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
}

.concepts-dialog__grid div {
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  background: linear-gradient(145deg, #f3f4f6, #d1d5db);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(47, 191, 113, 0.5);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(47, 191, 113, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(47, 191, 113, 0);
  }
}

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

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

@media (max-width: 1200px) {
  .header {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "status meta"
      "stats stats";
    row-gap: var(--sp-2);
    padding: var(--sp-3) var(--sp-4);
    height: auto;
    min-height: 58px;
  }

  .header__status {
    grid-area: status;
  }

  .header__stats {
    grid-area: stats;
    justify-content: flex-start;
  }

  .header__meta {
    grid-area: meta;
  }
}

@media (max-width: 1100px) {
  body {
    overflow: auto;
  }

  .layout {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 100dvh;
  }

  .sidebar {
    height: auto;
    grid-template-rows: auto;
  }

  .main {
    min-height: 70dvh;
  }

  .content {
    max-height: none;
  }

  .hero {
    min-height: auto;
  }

  .concepts__grid,
  .case__gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-row {
    grid-template-columns: 1fr;
    gap: var(--sp-2);
  }
}

@media (max-width: 640px) {
  .about-card__bio {
    font-size: 18px;
  }

  .case {
    grid-template-columns: 1fr;
    padding-top: var(--sp-6);
  }

  .header {
    font-size: 11px;
  }

  .header__meta {
    flex-direction: column;
    align-items: flex-end;
    gap: var(--sp-1);
  }

  .browser-frame {
    aspect-ratio: 4 / 3;
  }

  .mock-ui__board {
    grid-template-columns: 1fr 1fr;
  }

  .mock-ui__column:last-child {
    display: none;
  }

  .case__gallery {
    grid-template-columns: 1fr;
  }
}

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