/* ============================================
   MERT METE PORTFOLIO v2 — style.css
   Dark navy theme, teal accent, data-forward
   ============================================ */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #0B0F14;
  --bg-secondary: #111820;
  --bg-card: #151C25;
  --accent: #00D4AA;
  --accent-secondary: #FF6B35;
  --text-primary: #E6EDF3;
  --text-secondary: #8B949E;
  --text-muted: #5A6370;
  --border: #1E2730;
  --radius: 10px;
  --radius-pill: 999px;
  --max-width: 1120px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.5);
  --font-sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: radial-gradient(circle at top right, rgba(0, 212, 170, 0.08), transparent 55%), var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(0, 212, 170, 0.35);
  color: var(--bg-primary);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s ease, color 0.2s ease;
}

a:hover {
  opacity: 0.9;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  list-style: none;
}

/* ---------- Utility ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
}

.section--alt {
  background: var(--bg-secondary);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}

.section-subtitle {
  max-width: 620px;
  color: var(--text-secondary);
  font-size: 0.98rem;
}

.text-muted {
  color: var(--text-secondary);
}

.text-center {
  text-align: center;
}

.stack-sm {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stack-md {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stack-lg {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

p {
  margin-bottom: 0;
  color: var(--text-secondary);
  font-size: 0.98rem;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: #041116;
  box-shadow: 0 12px 35px rgba(0, 212, 170, 0.35);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 45px rgba(0, 212, 170, 0.5);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(0, 212, 170, 0.6);
  color: var(--accent);
}

.btn--ghost:hover {
  background: rgba(0, 212, 170, 0.08);
}

.btn--nav-cta {
  padding-inline: 16px;
  padding-block: 7px;
  font-size: 0.86rem;
}

.btn--full {
  width: 100%;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(18px);
  background: rgba(7, 11, 17, 0.72);
  border-bottom: 1px solid rgba(19, 28, 40, 0.85);
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav--scrolled {
  background: rgba(7, 11, 17, 0.94);
  border-color: rgba(19, 28, 40, 0.95);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.55);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
}

.nav__brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav__logo {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: var(--text-primary);
}

.nav__logo span {
  color: var(--accent);
}

.nav__tagline {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.nav__tagline strong {
  color: var(--text-primary);
  font-weight: 600;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav__link {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding-block: 4px;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 999px;
  transition: width 0.18s ease;
}

.nav__link:hover {
  color: var(--text-primary);
}

.nav__link--active {
  color: var(--accent);
}

.nav__link--active::after {
  width: 16px;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav__hamburger span {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--text-primary);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav__hamburger.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 136px 0 80px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: -18%;
  right: -18%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle at center, rgba(0, 212, 170, 0.28), transparent 60%);
  opacity: 0.5;
  pointer-events: none;
  z-index: -1;
}

.badge-availability {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px 5px 6px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 212, 170, 0.25);
  background: linear-gradient(to right, rgba(0, 212, 170, 0.12), rgba(21, 28, 37, 0.9));
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.badge-availability__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(0, 212, 170, 0.9);
}

.hero__name {
  font-size: clamp(3.25rem, 7vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  margin-bottom: 8px;
}

.hero__subtitle-main {
  font-size: 1.2rem;
  color: var(--text-primary);
}

.hero__subtitle-sub {
  font-size: 0.96rem;
  color: var(--accent);
  margin-top: 2px;
}

.hero__meta {
  margin-top: 12px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.hero__description {
  margin-top: 18px;
  max-width: 620px;
  font-size: 0.98rem;
  color: var(--text-secondary);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero__pill {
  margin-top: 24px;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  background: rgba(21, 28, 37, 0.95);
  border: 1px solid rgba(30, 39, 48, 0.85);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero__pill span {
  color: var(--accent);
  font-weight: 600;
}

.hero__side {
  align-self: stretch;
}

.hero__panel {
  background: radial-gradient(circle at top left, rgba(0, 212, 170, 0.1), transparent 60%), var(--bg-secondary);
  border-radius: 20px;
  border: 1px solid rgba(19, 28, 40, 0.9);
  box-shadow: var(--shadow-soft);
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero__panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero__panel-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.hero__panel-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 212, 170, 0.4);
  color: var(--accent);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.metric-card {
  position: relative;
  border-radius: 14px;
  background: linear-gradient(to bottom, rgba(17, 24, 32, 0.95), rgba(12, 17, 24, 1));
  border: 1px solid rgba(30, 39, 48, 0.9);
  padding: 12px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
  overflow: hidden;
}

.metric-card::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 0;
  background: linear-gradient(to right, rgba(0, 212, 170, 0.65), rgba(0, 212, 170, 0.18));
  opacity: 0;
  transition: opacity 0.18s ease, height 0.18s ease;
}

.metric-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
  border-color: rgba(0, 212, 170, 0.75);
}

.metric-card:hover::before {
  opacity: 1;
  height: 3px;
}

.metric-card__value {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
}

.metric-card__unit {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.metric-card__label {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.metric-card__client {
  font-size: 0.74rem;
  color: var(--accent);
}

/* ---------- Skills & Tags ---------- */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
  background: rgba(21, 28, 37, 0.8);
}

.chip--active {
  border-color: rgba(0, 212, 170, 0.7);
  background: rgba(0, 212, 170, 0.09);
  color: var(--accent);
}

/* ---------- How I Work ---------- */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.principle-card {
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 20px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.principle-card:hover {
  border-color: rgba(0, 212, 170, 0.7);
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.6);
  background: radial-gradient(circle at top left, rgba(0, 212, 170, 0.09), transparent 60%), var(--bg-card);
}

.principle-card__title {
  font-size: 0.98rem;
  font-weight: 600;
}

.principle-card__body {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ---------- Quote ---------- */
.quote-block {
  max-width: 720px;
  margin: 46px auto 0;
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  padding: 18px 24px;
  background: rgba(15, 22, 32, 0.95);
  font-style: italic;
  color: var(--text-primary);
}

/* ---------- CTA ---------- */
.cta-card {
  border-radius: 18px;
  border: 1px solid var(--border);
  background: radial-gradient(circle at top left, rgba(0, 212, 170, 0.12), transparent 60%), var(--bg-secondary);
  padding: 24px 22px;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: center;
}

.cta-card__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-card__note {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ---------- Page Header (non-hero pages) ---------- */
.page-header {
  padding: 124px 0 40px;
}

.page-header__meta {
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

/* ---------- About Page ---------- */
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: flex-start;
}

.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin: 0 auto 24px auto;
}

.profile__image-wrap {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  padding: 4px;
  background: radial-gradient(circle at top left, rgba(0, 212, 170, 0.16), transparent 60%);
}

.profile__image-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-align: center;
  padding: 12px;
}

.profile__image-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-card {
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 18px 18px 16px;
}

.sidebar-card + .sidebar-card {
  margin-top: 14px;
}

.sidebar-card__title {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
}

.sidebar-list strong {
  color: var(--text-primary);
}

.sidebar-list span {
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.about-narrative {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 8px;
}

.about-narrative p {
  line-height: 1.75;
  color: var(--text-secondary);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
}

/* ---------- Case Studies Overview ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
}

.case-card {
  position: relative;
  border-radius: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  padding: 18px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.case-card::before {
  content: "";
  position: absolute;
  inset-inline: -10%;
  top: -30%;
  height: 120px;
  background: radial-gradient(circle at top right, rgba(0, 212, 170, 0.22), transparent 65%);
  opacity: 0.75;
}

.case-card--upkeystore::before {
  background: radial-gradient(circle at top right, rgba(255, 107, 53, 0.4), transparent 65%);
}

.case-card__header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 1;
}

.case-card__title {
  font-size: 1rem;
  font-weight: 600;
}

.case-card__subtitle {
  margin-top: 6px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.case-card__number {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: rgba(139, 148, 158, 0.25);
}

.case-card__tags {
  position: relative;
  z-index: 1;
}

.case-card__metrics {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-secondary);
}

.case-card__metrics span {
  color: var(--text-primary);
}

.case-card__footer {
  position: relative;
  z-index: 1;
  margin-top: 4px;
}

.case-card__button {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.case-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 212, 170, 0.8);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
  background: radial-gradient(circle at top right, rgba(0, 212, 170, 0.12), transparent 60%), var(--bg-card);
}

.case-card--upkeystore:hover {
  border-color: rgba(255, 107, 53, 0.85);
  background: radial-gradient(circle at top right, rgba(255, 107, 53, 0.16), transparent 60%), var(--bg-card);
}

/* ---------- Other Projects ---------- */
.other-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
}

.other-card {
  position: relative;
  border-radius: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  overflow: hidden;
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.other-card::before {
  content: "";
  position: absolute;
  inset-inline: -10%;
  top: -30%;
  height: 120px;
  background: radial-gradient(circle at top right, rgba(0, 212, 170, 0.18), transparent 65%);
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.other-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 170, 0.8);
  border-top-color: var(--accent);
  box-shadow: 0 8px 32px rgba(0, 212, 170, 0.12);
  background: radial-gradient(circle at top right, rgba(0, 212, 170, 0.12), transparent 60%), var(--bg-card);
}

.other-card:hover::before {
  opacity: 1;
}

.other-card__header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 1;
}

.other-card__number {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: rgba(139, 148, 158, 0.25);
  flex-shrink: 0;
}

.other-card__title {
  position: relative;
  z-index: 1;
  font-size: 1rem;
  font-weight: 600;
}

.other-card__body {
  position: relative;
  z-index: 1;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.other-card .pill-list {
  position: relative;
  z-index: 1;
}

.other-card .pill {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.78rem;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.other-card:hover .pill {
  border-color: rgba(0, 212, 170, 0.5);
  color: var(--accent);
}

/* ---------- Case Study Pages ---------- */
.case-hero {
  padding: 124px 0 36px;
}

.case-hero__top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.case-hero__title {
  font-size: clamp(1.8rem, 3.2vw, 2.3rem);
}

.case-hero__number {
  font-family: var(--font-mono);
  font-size: 2.4rem;
  font-weight: 700;
  color: rgba(139, 148, 158, 0.35);
}

.case-hero__summary {
  margin-top: 10px;
  color: var(--text-secondary);
}

.case-hero__tags {
  margin-top: 12px;
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.case-metric {
  border-radius: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 14px 14px 12px;
}

.case-metric__value {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
}

.case-metric__label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.case-section {
  margin-top: 40px;
}

.case-section__title {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-family: var(--font-mono);
  color: var(--text-muted);
  margin-bottom: 10px;
}

.case-section__heading {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.case-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
}

.case-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.case-list li {
  position: relative;
  padding-left: 16px;
}

.case-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 16px;
}

.scenario-card {
  border-radius: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 16px 15px 14px;
}

.scenario-card--highlight {
  border-color: var(--accent-secondary);
  box-shadow: 0 16px 40px rgba(255, 107, 53, 0.35);
  position: relative;
}

.scenario-card--highlight::after {
  content: "Recommended";
  position: absolute;
  top: -10px;
  right: 16px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--accent-secondary);
  color: #160b06;
}

.scenario-card__stat {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.scenario-card__meta {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Horizontal Bar Chart */
.bar-chart {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bar-chart__row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bar-chart__label {
  width: 120px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-align: right;
}

.bar-chart__track {
  flex: 1;
  height: 26px;
  border-radius: 999px;
  background: #0b1018;
  overflow: hidden;
}

.bar-chart__fill {
  height: 100%;
  border-radius: 999px;
  background: var(--accent);
  display: flex;
  align-items: center;
  padding-left: 10px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #03100f;
  width: 0;
  transition: width 1s ease-out;
}

.bar-chart__fill--orange {
  background: var(--accent-secondary);
  color: #180c06;
}

/* Expandable */
.expandable {
  margin-top: 24px;
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.expandable__toggle {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-card);
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.expandable__arrow {
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.expandable.open .expandable__arrow {
  transform: rotate(180deg);
}

.expandable__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.expandable.open .expandable__content {
  max-height: 4000px;
}

.expandable__inner {
  padding: 18px 18px 18px;
  background: #0c121b;
  border-top: 1px solid var(--border);
}

.expandable__inner h3 {
  font-size: 1.02rem;
  margin-top: 18px;
  margin-bottom: 8px;
}

.expandable__inner h3:first-child {
  margin-top: 0;
}

.expandable__inner p {
  margin-bottom: 10px;
}

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 40px;
  align-items: flex-start;
}

.contact-card {
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  padding: 22px 20px 20px;
}

.contact-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.contact-item svg {
  flex-shrink: 0;
  color: var(--accent);
}

.form-card {
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  padding: 20px 18px 18px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #0c1219;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(0, 212, 170, 0.5);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.cf-turnstile {
  margin: 12px 0 16px;
}

/* ---------- Thank You ---------- */
.thankyou {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
}

.thankyou h1 {
  margin-bottom: 10px;
}

.thankyou p {
  margin-bottom: 20px;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 18px 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer__center {
  text-align: center;
  flex: 1;
}

.footer__right {
  text-align: right;
}

.footer__legal {
  font-size: 0.8rem;
}

.footer__legal a {
  color: var(--text-muted);
  transition: color 0.18s ease;
}

.footer__legal a:hover {
  color: var(--accent);
}

/* ---------- Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal--delay-sm {
  transition-delay: 0.08s;
}

.reveal--delay-md {
  transition-delay: 0.16s;
}

.reveal--delay-lg {
  transition-delay: 0.24s;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.4fr);
  }

  .hero__side {
    order: -1;
  }

  .cta-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .two-col {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .nav__links {
    position: fixed;
    inset-inline: 0;
    top: 72px;
    background: rgba(7, 11, 17, 0.98);
    flex-direction: column;
    padding: 18px 24px 28px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-130%);
    transition: transform 0.25s ease;
  }

  .nav__links.open {
    transform: translateY(0);
  }

  .nav__hamburger {
    display: flex;
  }

  .hero {
    padding-top: 118px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .section {
    padding: 70px 0;
  }
}

@media (max-width: 540px) {
  .metrics-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer__inner {
    flex-direction: column;
  }

  .footer__center,
  .footer__right {
    text-align: left;
  }
}

/* ---------- Language Toggle ---------- */
.nav__lang {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  margin-left: 4px;
}

.nav__lang a {
  color: var(--text-muted);
  padding: 4px 8px;
  border-radius: 4px;
  transition: color 0.18s ease, background 0.18s ease;
}

.nav__lang a:hover {
  color: var(--text-primary);
}

.nav__lang a.active {
  color: var(--accent);
  font-weight: 600;
}

.nav__lang span {
  color: var(--text-muted);
  opacity: 0.4;
}

/* ---------- Cookie Consent Banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(21, 28, 37, 0.97);
  backdrop-filter: blur(18px);
  border-top: 1px solid var(--border);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.5);
  transform: translateY(0);
  transition: transform 0.35s ease;
}

.cookie-banner.hidden {
  transform: translateY(110%);
  pointer-events: none;
}

.cookie-banner__text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  max-width: 620px;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-banner__btn {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.cookie-banner__btn--accept {
  background: var(--accent);
  color: #041116;
  box-shadow: 0 8px 24px rgba(0, 212, 170, 0.3);
}

.cookie-banner__btn--accept:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(0, 212, 170, 0.45);
}

.cookie-banner__btn--decline {
  background: transparent;
  border-color: rgba(0, 212, 170, 0.5);
  color: var(--accent);
}

.cookie-banner__btn--decline:hover {
  background: rgba(0, 212, 170, 0.08);
}

@media (max-width: 540px) {
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    padding: 16px 20px;
  }

  .cookie-banner__actions {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- Custom Cursor (Desktop Only) ---------- */
@media (hover: hover) and (pointer: fine) {
  body, a, button, input, textarea, select, label { cursor: none; }
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: #00D4AA;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  will-change: transform;
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  border: 1.5px solid rgba(0, 212, 170, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  will-change: transform;
  transition: width 0.25s ease, height 0.25s ease, opacity 0.25s ease;
}

/* ---------- Chart Cards ---------- */
.chart-card {
  background: #111827;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 20px;
  margin-top: 24px;
  overflow: hidden;
  min-width: 0;
}

.chart-card canvas {
  max-height: 400px;
}

.chart-wrap {
  width: 100%;
  margin: 0 auto;
}

.chart-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .chart-row {
    grid-template-columns: 1fr;
  }
}


/* ---------- Da Vinci Quote ---------- */
.quote-block cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ---------- Skills Grid (About page) ---------- */
.skills-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 768px) {
  .skills-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .skills-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Bottom Text Bar ---------- */
.bottom-text-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
  text-align: center;
}

.bottom-text-bar p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

