:root {
  --header: #131921;
  --subnav: #232f3e;
  --page: #f7f7f7;
  --card: #ffffff;
  --text: #0f1111;
  --text-2: #374151;
  --muted: #565959;
  --border: #e5e7eb;
  --border-strong: #d5d9d9;
  --row-alt: #f3f4f6;
  --yellow: #ffd814;
  --yellow-hover: #f7ca00;
  --orange: #ffa41c;
  --orange-hover: #fa8900;
  --search-btn: #febd69;
  --link: #0066c0;
  --link-review: #2162a1;
  --teal: #007185;
  --green: #007600;
  --green-verified: #067d62;
  --red: #dc2626;
  --star: #ffa41c;
  --radius: 8px;
  --shadow: 0 1px 3px rgba(15, 17, 17, 0.06), 0 1px 2px rgba(15, 17, 17, 0.04);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
hr { border: 0; border-top: 1px solid var(--border); margin: 16px 0; }
[hidden] { display: none !important; }

.icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.svg-icon { width: 20px; height: 20px; }
.icon-xs .svg-icon { width: 14px; height: 14px; }
.icon-xxs .svg-icon { width: 10px; height: 10px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.link { color: var(--link); background: none; border: 0; padding: 0; }
.link:hover { color: #c7511f; text-decoration: underline; }
.link-teal { color: var(--teal); }

/* ---------- Header ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header);
  color: #fff;
}
.topbar-inner {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 60px;
  padding: 0 10px;
}
.nav-hover {
  border: 1px solid transparent;
  border-radius: 2px;
  padding: 6px 8px;
}
.nav-hover:hover, .nav-hover:focus-visible { border-color: #fff; outline: none; }

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.02;
  padding: 4px 8px;
  margin-right: 20px;
}
.logo-name {
  font-family: Rockwell, "Roboto Slab", Georgia, serif;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: -0.1px;
  white-space: nowrap;
}
.logo-tag {
  position: relative;
  color: #00a8e1;
  font-family: Arial, sans-serif;
  font-style: italic;
  font-size: 13px;
  line-height: 1;
  margin-top: 1px;
  padding-bottom: 6px;
}
.logo-smile {
  position: absolute;
  left: 2px;
  bottom: -2px;
  width: 48px;
  height: 9px;
}

.two-line { display: flex; flex-direction: column; line-height: 1.15; white-space: nowrap; }
.line-sm { font-size: 12.5px; color: #ccc; }
.line-lg { font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.topbar a.two-line .line-sm, .account .line-sm { color: #fff; }

.deliver { display: flex; align-items: flex-end; gap: 4px; margin-right: 20px; }
.deliver .svg-icon { width: 20px; height: 20px; margin-bottom: 2px; }
.deliver .line-sm { color: #ccc; }

.search {
  flex: 0 1 688px;
  min-width: 200px;
  display: flex;
  height: 38px;
  border-radius: 4px;
  overflow: hidden;
  margin: 0 10px 0 6px;
}
.search:focus-within { box-shadow: 0 0 0 3px #f90; }
.search-cat {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px 0 13px;
  background: #f3f3f3;
  color: #555;
  font-size: 13px;
  border-right: 1px solid #cdcdcd;
  cursor: pointer;
}
.search-cat:hover { background: #dadada; color: #0f1111; }
.search-cat select { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 0 12px;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  outline: none;
}
.search input::placeholder { color: #8d8d8d; }
.search-btn {
  width: 38px;
  border: 0;
  background: var(--search-btn);
  color: #333;
  display: grid;
  place-items: center;
}
.search-btn:hover { background: #f3a847; }
.search-btn .svg-icon { width: 18px; height: 18px; }

.lang { display: flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 700; padding-top: 12px; padding-bottom: 12px; cursor: default; }
.flag { width: 18px; height: 11px; }

.account { position: relative; cursor: pointer; }
.account .icon .svg-icon { color: #a7acb2; }
.account-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: -60px;
  width: 380px;
  background: #fff;
  color: var(--text);
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  padding: 16px 18px;
  display: none;
  cursor: default;
}
.account-menu::before { content: ""; position: absolute; top: -8px; right: 90px; border: 8px solid transparent; border-top: 0; border-bottom-color: #fff; }
.account-menu::after { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.account:hover .account-menu, .account:focus-within .account-menu { display: block; }
.account-menu .btn { width: 220px; margin: 0 auto; display: flex; }
.account-menu-note { text-align: center; font-size: 12px; color: var(--muted); margin: 8px 0 12px; }
.account-menu-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; border-top: 1px solid var(--border); padding-top: 12px; }
.account-menu h4 { font-size: 16px; margin-bottom: 6px; }
.account-menu-cols a { display: block; font-size: 13px; color: #444; padding: 2px 0; }
.account-menu-cols a:hover { color: #c7511f; text-decoration: underline; }

.cart { display: flex; align-items: flex-end; gap: 2px; padding-right: 10px; }
.cart-icon { position: relative; width: 40px; height: 31px; }
.cart-icon svg { width: 40px; height: 31px; }
/* Large count sitting in the basket's open top, store-style */
.cart-count {
  position: absolute;
  top: -4px;
  left: 13px;
  width: 20px;
  text-align: center;
  color: #f08804;
  font-weight: 700;
  font-size: 17px;
  line-height: 17px;
}
.cart-text { font-size: 14px; font-weight: 700; margin-bottom: 1px; }

.subnav { background: var(--subnav); color: #fff; }
.subnav-inner { display: flex; align-items: center; height: 56px; padding: 0 8px; overflow-x: auto; scrollbar-width: none; }
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav a {
  font-size: 18px;
  font-weight: 500;
  padding: 7px 9px;
  margin-right: 34px;
  border: 1px solid transparent;
  border-radius: 2px;
  white-space: nowrap;
}
.subnav a:hover { border-color: #fff; }

/* ---------- Layout ---------- */
.container { width: 100%; margin: 0 auto; padding: 32px 2rem 40px; }
@media (min-width: 640px) { .container { max-width: 640px; } }
@media (min-width: 768px) { .container { max-width: 768px; } }
@media (min-width: 1024px) { .container { max-width: 1024px; } }
@media (min-width: 1280px) { .container { max-width: 1280px; } }
@media (min-width: 1536px) { .container { max-width: 1536px; } }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 32px; align-items: start; }
.main-col { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.side-col { position: sticky; top: 96px; }
.container > .card { margin-top: 48px; }
.container > .card + .card { margin-top: 48px; }

.card {
  background: var(--card);
  border: 1px solid #eef0f2;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.pad-md { padding: 24px; }
.pad-lg { padding: 32px 33px; }

.h-xl { font-size: 24px; font-weight: 600; line-height: 1.3; letter-spacing: -0.2px; }
.h-lg { font-size: 20px; font-weight: 600; line-height: 1.4; }
.h-link { font-size: 17px; font-weight: 500; color: var(--link); margin-bottom: 14px; }
.sub { margin-top: 32px; }
.with-icon { display: flex; align-items: center; gap: 8px; }
.with-icon .svg-icon { width: 22px; height: 22px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.section-head .muted { font-size: 14px; margin-top: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  padding: 0 22px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 0.15s, box-shadow 0.15s;
}
.btn .svg-icon { width: 18px; height: 18px; }
.btn-yellow { background: var(--yellow); border-color: #fcd200; color: var(--text); }
.btn-yellow:hover { background: var(--yellow-hover); }
.btn-orange { background: var(--orange); border-color: #ff8f00; color: var(--text); }
.btn-orange:hover { background: var(--orange-hover); }
.btn-outline { background: #fff; border-color: var(--border-strong); color: var(--text); }
.btn-outline:hover { background: #f7fafa; }
.btn-block { width: 100%; }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(0, 113, 133, 0.35); }

/* ---------- Hero ---------- */
.hero { display: flex; gap: 36px; padding: 28px 24px 24px 28px; }
.carousel { position: relative; width: 244px; flex-shrink: 0; align-self: flex-start; }
.carousel-frame {
  position: relative;
  aspect-ratio: 1;
  border-radius: 4px;
  overflow: hidden;
  background: #2a2a2a;
}
.carousel-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.carousel-frame img.active { opacity: 1; }
.carousel-frame img.placeholder { object-fit: contain; background: #eef0f2; }
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #111;
  display: grid;
  place-items: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  z-index: 2;
}
.carousel-btn .svg-icon { width: 16px; height: 16px; }
.carousel-btn:hover { background: #f3f4f6; }
.carousel-btn.prev { left: -11px; }
.carousel-btn.next { right: -11px; }
.carousel.single .carousel-btn { display: none; }

.hero-body { flex: 1; min-width: 0; }
.hero-name { font-size: 30px; font-weight: 600; line-height: 1.2; letter-spacing: -0.3px; }
.hero-headline { color: var(--link); font-size: 20px; line-height: 1.4; margin-top: 10px; }
.hero-contact { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; color: var(--text-2); }
.hero-contact li { display: flex; align-items: center; gap: 10px; min-width: 0; }
.hero-contact .svg-icon { color: #4b5563; width: 19px; height: 19px; }
.hero-contact a { color: var(--link); overflow-wrap: anywhere; }
.hero-contact a:hover { text-decoration: underline; color: #c7511f; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.hero-actions .btn-yellow { min-width: 120px; }
#wishlistBtn.active .svg-icon { fill: #e11d48; color: #e11d48; }
.hero-stats { display: grid; grid-template-columns: repeat(4, max-content); justify-content: space-between; gap: 16px; margin-top: 20px; }
.stat-value { font-size: 24px; font-weight: 600; line-height: 1.2; }
.stat-label { font-size: 16px; color: #4b5563; margin-top: 2px; white-space: nowrap; }

/* ---------- Video ---------- */
.video-shell {
  position: relative;
  margin-top: 18px;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}
.video-shell video, .video-shell iframe { width: 100%; height: 100%; border: 0; background: #000; }
.video-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #6b7280;
  font-size: 14px;
}
.video-empty .svg-icon { width: 40px; height: 40px; stroke-width: 1.5; }
.video-link { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px; color: #fff; font-weight: 600; }

.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin-top: 20px; }
.work-card { display: flex; flex-direction: column; gap: 6px; text-align: left; background: none; border: 0; padding: 0; }
.work-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  background: #111;
  border: 1px solid var(--border);
}
.work-thumb img, .work-thumb video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.thumb-blank { width: 100%; height: 100%; display: grid; place-items: center; color: #6b7280; }
.play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(15, 17, 17, 0.72);
  color: #fff;
  display: grid;
  place-items: center;
  transition: transform 0.15s, background 0.15s;
}
.play-badge .svg-icon { width: 18px; height: 18px; fill: #fff; margin-left: 3px; }
.work-card:hover .play-badge { background: var(--orange); transform: translate(-50%, -50%) scale(1.08); }
.work-card:hover .work-title { color: #c7511f; text-decoration: underline; }
.work-title { font-weight: 600; font-size: 15px; color: var(--link); line-height: 1.35; }
.work-desc { font-size: 13.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Collapsible sections ---------- */
.collapse-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
}
.collapse-head .chevron { color: #4b5563; transition: transform 0.2s; }
.collapsed .chevron { transform: rotate(180deg); }
.collapse-body { margin-top: 18px; }
.collapsed .collapse-body { display: none; }
#aboutBody { display: grid; gap: 16px; color: var(--text-2); }

.feature-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.bullets { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 14px; color: #1f2937; }

.tech-table { margin: 0; }
.tech-row { display: grid; grid-template-columns: 1fr 2fr; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.tech-row:last-child { border-bottom: 0; }
.tech-row dt { font-weight: 500; color: #4b5563; }
.tech-row dd { margin: 0; color: #111827; }
.tech-row dd.ok { color: var(--green); }

/* ---------- Key/value tables ---------- */
.kv-table { margin-top: 24px; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.kv-row { display: grid; grid-template-columns: 1fr 2fr; }
.kv-row:nth-child(odd) { background: var(--row-alt); }
.kv-row + .kv-row { border-top: 1px solid #edeff2; }
.kv-key { display: flex; align-items: center; gap: 8px; padding: 10px 23px; font-weight: 500; border-right: 1px solid var(--border); }
.kv-val { padding: 10px 23px; }
.check-val { display: flex; align-items: center; gap: 12px; }
.check-val .svg-icon { width: 18px; height: 18px; color: var(--green); }
#experience .h-xl.sub { margin-top: 48px; }
.btn-cta { margin-top: 32px; height: 44px; font-size: 16px; }

.info { display: inline-flex; color: #9ca3af; cursor: help; }
.info .svg-icon { width: 18px; height: 18px; }
.info:hover, .info:focus { color: #4b5563; outline: none; }

/* ---------- Education / languages / comparison ---------- */
.edu-table, .lang-table { margin-top: 16px; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.edu-row { display: grid; grid-template-columns: 1fr 2fr; }
.edu-row + .edu-row, .lang-row + .lang-row { border-top: 1px solid var(--border); }
.edu-school { padding: 14px 16px; background: var(--row-alt); border-right: 1px solid var(--border); }
.edu-degree { padding: 14px 16px; background: var(--row-alt); }
.edu-row:nth-child(even) .edu-school, .edu-row:nth-child(even) .edu-degree { background: #fff; }
.edu-row:nth-child(even) .edu-school { background: var(--row-alt); }
.edu-name { font-weight: 500; }
.edu-years { font-size: 14px; color: var(--muted); }
.edu-title { font-weight: 400; }
.edu-title b { font-weight: 500; }
.edu-note { font-size: 14px; color: var(--muted); margin-top: 2px; }

.lang-row { display: grid; grid-template-columns: 1fr 1fr 2fr; align-items: center; }
.lang-row > div { padding: 12px 16px; }
.lang-row:nth-child(odd) { background: var(--row-alt); }
.lang-name { font-weight: 500; border-right: 1px solid var(--border); align-self: stretch; }
.lang-level { color: var(--text-2); }
.lang-bar .track { display: block; width: 128px; height: 8px; border-radius: 4px; background: #e5e7eb; overflow: hidden; }
.lang-bar .track span { display: block; height: 100%; border-radius: 4px; background: #fd9a2e; }

.compare-wrap { margin-top: 16px; border: 1px solid var(--border); border-radius: 6px; overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; font-size: 16px; }
.compare th, .compare td { text-align: left; padding: 9px 16px; border-right: 1px solid var(--border); }
.compare th:last-child, .compare td:last-child { border-right: 0; }
.compare th { font-weight: 500; background: var(--row-alt); border-bottom: 1px solid var(--border); }
.compare th:first-child { width: 45%; }
.compare th:nth-child(2) { width: 26%; }
.compare tbody tr:nth-child(even) { background: var(--row-alt); }
.compare .feat { display: flex; align-items: center; gap: 8px; border-right: 0; }
.compare td.feat + td { border-left: 1px solid var(--border); }
.compare .info .svg-icon { width: 15px; height: 15px; }
.compare .hl { color: var(--green); font-weight: 500; }
.compare .yes { color: var(--green); }
.compare .no { color: var(--red); }
.compare .yes .svg-icon, .compare .no .svg-icon { width: 18px; height: 18px; }

/* ---------- Buy box ---------- */
.buybox { padding: 16px 16px 20px; font-size: 14px; }
.buybox-role { font-size: 24px; font-weight: 600; line-height: 1.3; }
.buybox-start { margin-top: 12px; }
.buybox-loc { display: flex; align-items: center; gap: 6px; color: var(--teal); margin-top: 4px; }
.buybox-loc .svg-icon { width: 16px; height: 16px; }
.buybox-status { color: var(--green); font-size: 18px; margin-top: 18px; }
.buybox-label { display: block; margin-top: 18px; }
.select-wrap { margin: 8px 0 16px; }
.select-wrap select {
  width: 64px;
  height: 38px;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  padding: 0 8px;
  font: inherit;
  font-size: 16px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 17, 17, 0.08);
}
.buybox .btn { font-size: 14px; }
.buybox .btn + .btn { margin-top: 8px; }
.buybox hr { margin: 16px 0; }
.buybox-options-title { font-size: 17.5px; font-weight: 500; margin-bottom: 10px; }
.hire-option { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; cursor: pointer; }
.hire-option input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--teal); cursor: pointer; }
.hire-option-label { display: block; font-weight: 500; }
.hire-option-sub { display: block; color: var(--muted); }
.buybox-meta { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; margin: 0; }
.buybox-meta dt { color: var(--muted); }
.buybox-meta dd { margin: 0; text-align: right; }

/* ---------- Resume ---------- */
.resume-file { display: flex; align-items: center; gap: 10px; margin-top: 24px; color: var(--text-2); }
.resume-file .svg-icon { width: 18px; height: 18px; color: #4b5563; }
#resumeBody .btn { margin-top: 18px; height: 48px; padding: 0 22px; font-size: 16px; }

/* ---------- Reviews ---------- */
.disclaimer { font-size: 13px; font-style: italic; color: var(--muted); margin-top: 10px; }
#reviews hr { margin: 18px 0; }
.rating-summary { display: flex; align-items: center; gap: 10px; }
.rating-summary .link { font-size: 18px; }
.stars { display: inline-flex; gap: 1px; color: var(--star); }
.stars svg { width: 16px; height: 16px; fill: currentColor; }
.stars-lg svg { width: 20px; height: 20px; }
.review { padding: 18px 0 22px; border-bottom: 1px solid var(--border); }
.review:last-child { border-bottom: 0; padding-bottom: 0; }
.review-author { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.review-author b { font-weight: 500; }
.avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; background: #e5e7eb; }
.review-title { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.review-title b { font-weight: 600; }
.review-meta { font-size: 14px; color: var(--muted); margin-top: 8px; }
.verified { color: var(--green-verified); margin-left: 6px; }
.review-text { margin-top: 10px; }
.review-actions { display: flex; gap: 16px; margin-top: 14px; font-size: 14px; }
.review-actions .link { color: var(--link-review); }

/* ---------- Footer ---------- */
.back-to-top { display: block; background: #37475a; color: #fff; text-align: center; font-size: 13px; padding: 15px 0; }
.back-to-top:hover { background: #485769; }
.footer { background: var(--subnav); color: #ddd; text-align: center; padding: 28px 16px 32px; font-size: 13px; }
.footer-logo { font-family: Rockwell, "Roboto Slab", Georgia, serif; font-weight: 700; color: #fff; font-size: 16px; margin-bottom: 6px; }

/* ---------- Modal + toast ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.7); }
.modal-dialog { position: relative; width: min(960px, 100%); background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4); }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.modal-head h3 { font-size: 18px; font-weight: 600; }
.modal-close { background: none; border: 0; padding: 4px; color: #4b5563; }
.modal-player { position: relative; aspect-ratio: 16 / 9; background: #000; }
.modal-player video, .modal-player iframe { width: 100%; height: 100%; border: 0; }
.modal-desc { padding: 14px 16px 18px; color: var(--text-2); font-size: 15px; }
.modal-desc:empty { display: none; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  background: #0f1111;
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 200;
  max-width: calc(100% - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.search-hit { background: #fff3c4 !important; box-shadow: 0 0 0 3px #fff3c4; border-radius: 3px; transition: background 0.3s; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .deliver, .lang { display: none; }
}
@media (max-width: 1023px) {
  .layout { grid-template-columns: 1fr; }
  .side-col { position: static; }
  .topbar-inner > a.two-line { display: none; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 112px; }
  .topbar-inner { flex-wrap: wrap; height: auto; padding: 6px 8px 10px; row-gap: 6px; }
  .logo { margin-right: auto; }
  .search { order: 10; flex: 1 1 100%; margin: 0; }
  .account-menu { right: -50px; width: min(340px, calc(100vw - 24px)); }
  .subnav-inner { height: 46px; }
  .subnav a { font-size: 15px; margin-right: 10px; }
  .container { padding: 16px 16px 32px; }
  .container > .card, .container > .card + .card { margin-top: 24px; }
  .main-col { gap: 16px; }
  .hero { flex-direction: column; align-items: center; padding: 20px 16px; gap: 20px; }
  .carousel { width: min(300px, 100%); align-self: center; }
  .hero-body { width: 100%; }
  .hero-name { font-size: 26px; }
  .hero-headline { font-size: 18px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { flex: 1 1 calc(50% - 10px); padding: 0 10px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .pad-md, .pad-lg { padding: 20px 16px; }
  .feature-cols { grid-template-columns: 1fr; gap: 20px; }
  .tech-row, .kv-row, .edu-row { grid-template-columns: 1fr; gap: 2px; }
  .kv-key { border-right: 0; padding: 10px 14px 0; }
  .kv-val { padding: 2px 14px 10px; }
  .edu-school { border-right: 0; padding-bottom: 4px; }
  .edu-degree { padding-top: 4px; }
  .lang-row { grid-template-columns: 1fr 1fr; }
  .lang-bar { grid-column: 1 / -1; padding-top: 0 !important; }
  .compare { font-size: 14px; }
  .compare th, .compare td { padding: 8px 10px; }
}
