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

:root {
  --bg:        #0C0C0B;
  --bg-2:      #111110;
  --bg-3:      #181817;
  --bg-4:      #1F1F1E;
  --border:    rgba(255,255,255,0.07);
  --border-2:  rgba(255,255,255,0.12);
  --text-1:    #F5F4EE;
  --text-2:    #B8B8B1;
  --text-3:    #7A7A73;
  --accent:    #5DCAA5;
  --accent-dim: rgba(93,202,165,0.1);
  --red:       #E8524A;
  --nav-bg:    rgba(12,12,11,0.85);
  --surface-soft: rgba(255,255,255,0.04);
  --pill-bg:   rgba(12,12,11,0.7);
  --noise-opacity: 0.025;
  --cursor-blend: difference;
}

[data-theme="light"] {
  --bg:        #F5F3EC;
  --bg-2:      #EFEDE5;
  --bg-3:      #E5E2D8;
  --bg-4:      #DCD9CE;
  --border:    rgba(10,10,8,0.09);
  --border-2:  rgba(10,10,8,0.18);
  --text-1:    #111110;
  --text-2:    #4A4A46;
  --text-3:    #7A7A73;
  --accent:    #1F8F6A;
  --accent-dim: rgba(31,143,106,0.12);
  --red:       #C4372F;
  --nav-bg:    rgba(245,243,236,0.85);
  --surface-soft: rgba(10,10,8,0.035);
  --pill-bg:   rgba(245,243,236,0.8);
  --noise-opacity: 0.04;
  --cursor-blend: normal;
}

html { scroll-behavior: auto; }

::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}

::view-transition-old(root) { z-index: 1; }

::view-transition-new(root) {
  z-index: 2;
  animation: themeWipeUp .62s cubic-bezier(.76, 0, .24, 1) both;
}

@keyframes themeWipeUp {
  from { clip-path: inset(100% 0 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

body {
  background: var(--bg);
  color: var(--text-1);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s ease, color 0.3s ease;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border-2);
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  padding: 0;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.theme-toggle:hover { color: var(--text-1); background: var(--bg-3); }
.theme-toggle svg { width: 15px; height: 15px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* ── NOISE OVERLAY ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: var(--noise-opacity);
  pointer-events: none;
  z-index: 9999;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 16px; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.nav-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 22px;
  height: 56px;
  padding: 0 14px 0 22px;
  border-radius: 100px;
  border: 1px solid var(--border-2);
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: gap 2s cubic-bezier(0.4, 0, 0.2, 1), padding 2s cubic-bezier(0.4, 0, 0.2, 1), background .45s ease, backdrop-filter .45s ease, -webkit-backdrop-filter .45s ease;
}

.nav-extra {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 360px;
  opacity: 1;
  overflow-x: clip;
  overflow-y: visible;
  white-space: nowrap;
  transform: translateX(0);
  transition: max-width 2s cubic-bezier(0.4, 0, 0.2, 1), opacity 1.4s ease, transform 2s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.nav-collapsed .nav-pill {
  gap: 0;
  padding: 0 20px;
  background: color-mix(in srgb, var(--nav-bg) 72%, transparent);
  backdrop-filter: blur(22px) saturate(1.25);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
}

nav.nav-collapsed .nav-extra {
  max-width: 0;
  opacity: 0;
  transform: translateX(-4px);
}

nav.nav-collapsed .nav-pill:hover,
nav.nav-collapsed .nav-pill:focus-within {
  gap: 22px;
  padding: 0 14px 0 22px;
}

nav.nav-collapsed .nav-pill:hover .nav-extra,
nav.nav-collapsed .nav-pill:focus-within .nav-extra {
  max-width: 360px;
  opacity: 1;
  transform: translateX(0);
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 17px;
  color: var(--text-1);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  flex-shrink: 0;
}

.nav-links li { flex-shrink: 0; }
.nav-extra > * { flex-shrink: 0; }

.nav-links a {
  font-size: 13px;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-1); }

.nav-cta {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-1);
  background: transparent;
  border: 1px solid var(--border-2);
  border-radius: 6px;
  padding: 7px 16px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.nav-cta:hover {
  background: var(--bg-3);
  border-color: rgba(255,255,255,0.2);
}

/* ── CONTENT LOCK (1920px via dynamic padding) ── */

/* ── HERO ── */
#hero {
  min-height: min(860px, 100svh);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto auto auto;
  column-gap: 32px;
  padding: 96px max(40px, calc((100% - 1920px) / 2)) 48px;
  position: relative;
  overflow: hidden;
}

.hero-trail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.68;
}

.available-badge,
.hero-headline,
.hero-sub {
  position: relative;
  z-index: 2;
}

.hero-orb {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(93,202,165,0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-orb-2 {
  position: absolute;
  bottom: 40px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(93,202,165,0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-grid-guides {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: 1fr;
  column-gap: 32px;
  padding: 0 max(40px, calc((100% - 1920px) / 2));
  pointer-events: none;
  z-index: 1;
}

.hero-grid-line {
  grid-row: 1;
  width: 1px;
  height: auto;
  align-self: stretch;
  background: var(--border);
}

.hero-grid-line-headline {
  grid-column: 1;
  justify-self: start;
}

.hero-grid-line-body {
  grid-column: 2;
  justify-self: start;
}

.hero-grid-line-strip-end {
  grid-column: 2 / 4;
  justify-self: start;
  width: min(900px, 100%);
  background: transparent;
  border-right: 1px solid var(--border);
}

.available-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 5px 14px 5px 10px;
  grid-column: 1;
  grid-row: 1;
  margin-bottom: 0;
  width: fit-content;
  opacity: 0;
  animation: fadeUp 0.6s 0.1s ease forwards;
}

.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s infinite;
}

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

.badge-text {
  font-size: 11px;
  color: var(--text-2);
  letter-spacing: 0.03em;
}

.hero-headline {
  font-family: 'Syne', sans-serif;
  grid-column: 1 / 4;
  grid-row: 2;
  max-width: 1500px;
  font-size: clamp(64px, 7.4vw, 142px);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.055em;
  color: var(--text-1);
  margin: 46px 0 0;
  opacity: 0;
  animation: fadeUp 0.7s 0.2s ease forwards;
}

.hero-headline em {
  font-style: normal;
  color: var(--accent);
}

.hero-headline .muted {
  color: var(--text-3);
}

.hero-sub {
  grid-column: 2 / 3;
  grid-row: 3;
  align-self: start;
  font-size: 16px;
  color: var(--text-2);
  font-weight: 300;
  max-width: 460px;
  line-height: 1.65;
  margin: 40px 0 0;
  opacity: 0;
  animation: fadeUp 0.7s 0.35s ease forwards;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.about-stat-num {
  font-family: 'Syne', sans-serif;
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -0.03em;
  line-height: 1;
}

.about-stat-label {
  font-family: 'Syne', sans-serif;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-top: 4px;
  margin-bottom: 16px;
}

.about-stat-desc {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.55;
  font-weight: 300;
}

@media (max-width: 640px) {
  .about-stats { grid-template-columns: 1fr; }
}

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

/* ── MARQUEE ── */
.marquee-section {
  grid-column: 2 / 4;
  grid-row: 4;
  align-self: center;
  position: relative;
  z-index: 2;
  width: min(900px, 100%);
  margin: 28px 0 0;
  padding: 10px 0;
  overflow: hidden;
  background: transparent;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 9%, #000 91%, transparent 100%);
}

.hero-marquee-rule {
  grid-column: 2 / 4;
  grid-row: 4;
  position: relative;
  z-index: 1;
  width: min(900px, 100%);
  margin-left: 0;
  height: 1px;
  background: var(--border);
  pointer-events: none;
}

.hero-marquee-rule-top {
  align-self: start;
  margin-top: 28px;
}

.hero-marquee-rule-bottom { align-self: end; }

.marquee-track {
  display: flex;
  gap: 8px;
  width: max-content;
  animation: marquee 32s linear infinite;
  will-change: transform;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 16px;
  border: 1px solid var(--border-2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-2);
  white-space: nowrap;
}

.marquee-dot {
  display: none;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── SECTION COMMONS ── */
section {
  padding: 72px max(40px, calc((100% - 1920px) / 2));
}

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 48px;
}

.eyebrow-line {
  width: 32px;
  height: 1px;
  background: var(--text-3);
}

/* ── PROJECTS ── */
#work {
  background: var(--bg);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

#work .hero-grid-line {
  z-index: 0;
}

#work .work-header,
#work .cards-grid {
  position: relative;
  z-index: 1;
}

.work-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}

.work-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-1);
  line-height: 1.05;
}

.cards-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.work-header {
  /* inherits alignment from section padding */
}

.cards-grid .halo-card {
  flex: 0 0 calc((100% - 32px) / 3);
}

@media (max-width: 960px) {
  .cards-grid .halo-card {
    flex-basis: calc((100% - 16px) / 2);
  }
}

@media (max-width: 640px) {
  .cards-grid .halo-card {
    flex-basis: 100%;
  }
}

/* HALO CARD */
.halo-card {
  position: relative;
  background: var(--bg-2);
  border-radius: 18px;
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  padding: 10px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.halo-card:hover {
  transform: translateY(-3px);
}

/* The fill halo */
.halo-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.055), transparent 50%);
  pointer-events: none;
  z-index: 1;
}

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

/* The border halo */
.halo-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  border: 1px solid transparent;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(93,202,165,0.25), transparent 60%) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 2;
}

.halo-card:hover::after { opacity: 1; }

.card-thumb {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.card-thumb.t1 { background: linear-gradient(135deg, #111624 0%, #161c2e 100%); }
.card-thumb.t2 { background: linear-gradient(135deg, #230707 0%, #150f12 100%); }
.card-thumb.t3 { background: linear-gradient(135deg, #1a1412 0%, #201a16 100%); }
.card-thumb.t4 { background: linear-gradient(135deg, #181318 0%, #1e1520 100%); }

.thumb-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumb-icon svg { width: 28px; height: 28px; }
.thumb-icon img { width: 28px; height: 28px; object-fit: contain; }

.cms-card-thumb-image {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.card-thumb.has-cms-thumbnail .thumb-icon { display: none; }

.t1 .thumb-icon { background: rgba(83,74,183,0.15); }
.t2 .thumb-icon { background: rgba(230,0,0,0.16); }
.t3 .thumb-icon { background: rgba(216,90,48,0.15); }
.t4 .thumb-icon { background: rgba(170,74,183,0.15); }

.card-tag-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
  background: var(--pill-bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 3px 8px;
}

.card-body {
  padding: 18px 14px 10px;
  position: relative;
  z-index: 3;
  flex: 1;
}

.card-category {
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--text-3);
  margin-bottom: 6px;
}

.card-title {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-1);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  line-height: 1.2;
}

.card-desc {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
  font-weight: 300;
}

.card-footer {
  padding: 12px 14px 8px;
  margin-top: auto;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 3;
}

.card-tags {
  display: flex;
  gap: 6px;
}

.tag {
  font-size: 10px;
  color: var(--text-3);
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 8px;
}

.card-arrow {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.halo-card:hover .card-arrow {
  color: var(--accent);
  border-color: rgba(93,202,165,0.3);
  background: rgba(93,202,165,0.06);
  transform: translate(2px, -2px);
}

/* WIDE CARD — removed; all cards equal now */

/* ── ABOUT ── */
#about {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-1);
  line-height: 1.3;
  margin-bottom: 20px;
}

.about-title em {
  font-style: normal;
  color: var(--accent);
}

.about-body {
  font-size: 15px;
  color: var(--text-2);
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-1);
  text-decoration: none;
  border-bottom: 1px solid var(--border-2);
  padding-bottom: 2px;
  margin-top: 12px;
  transition: border-color 0.2s, color 0.2s;
}
.about-cta:hover { color: var(--accent); border-color: var(--accent); }

.skills-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.skill-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.skill-item:first-child {
  border-top: 1px solid var(--border);
}

.skill-name {
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-1);
  letter-spacing: -0.01em;
}

.skill-tools {
  display: flex;
  gap: 6px;
}

.skill-tool {
  font-size: 10px;
  color: var(--text-3);
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 3px 8px;
}

.experience-block {
  margin-bottom: 88px;
}

.about-main-heading {
  margin-bottom: 32px;
}

.exp-heading {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.exp-rows {
  list-style: none;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.exp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 96px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.exp-row:hover {
  border-bottom-color: var(--border-2);
}

.exp-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.exp-logo {
  width: 23px;
  height: 23px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.exp-logo-vodafone {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 50%;
  overflow: hidden;
}

.exp-logo-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.exp-logo-freelance {
  background: linear-gradient(135deg, #cfff54, #88c900);
  color: #111110;
}

.exp-logo-agency {
  background: linear-gradient(135deg, #5b78ff, #2e46be);
  color: #f7f8ff;
}

.exp-company-name {
  font-size: clamp(16px, 1.18vw, 19px);
  color: var(--text-1);
  font-weight: 400;
  letter-spacing: -0.015em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.exp-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  margin-left: auto;
  flex-wrap: wrap;
}

.exp-role-name {
  font-size: clamp(14px, 0.95vw, 16px);
  color: var(--text-2);
  font-weight: 300;
  white-space: nowrap;
}

.exp-years {
  font-family: 'Syne', sans-serif;
  font-size: clamp(15px, 1vw, 17px);
  color: var(--text-1);
  font-variant-numeric: tabular-nums;
  min-width: 132px;
  text-align: right;
  letter-spacing: -0.02em;
  font-weight: 500;
}

@media (max-width: 640px) {
  .experience-block {
    margin-bottom: 64px;
  }

  .exp-row {
    align-items: flex-start;
    flex-direction: column;
    min-height: unset;
    padding: 18px 0;
  }

  .exp-left,
  .exp-right {
    width: 100%;
  }

  .exp-company-name,
  .exp-role-name,
  .exp-years {
    white-space: normal;
  }

  .exp-right {
    justify-content: space-between;
    gap: 12px;
    margin-left: 0;
  }

  .exp-years {
    min-width: auto;
    text-align: left;
  }
}

/* ── CONTACT ── */
#contact {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 48px max(40px, calc((100% - 1920px) / 2));
}

.contact-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.contact-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--text-2);
}

.contact-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid var(--border-2);
  flex-shrink: 0;
}

.contact-center {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-1);
  background: transparent;
  border: 1px solid var(--border-2);
  border-radius: 100px;
  padding: 8px 20px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.contact-pill:hover {
  background: var(--bg-3);
  border-color: var(--text-2);
}

.contact-right {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--text-2);
  text-align: right;
}

@media (max-width: 820px) {
  .contact-bar {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }
  .contact-left { justify-content: center; }
  .contact-right { text-align: center; }
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 24px max(40px, calc((100% - 1920px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-2);
}

.footer-left {
  font-size: 12px;
  color: var(--text-3);
}

.footer-right {
  display: flex;
  gap: 24px;
}

.footer-right a {
  font-size: 12px;
  color: var(--text-3);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-right a:hover { color: var(--text-1); }

/* ── SCROLL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── CUSTOM CURSOR ── */
.cursor {
  width: 8px;
  height: 8px;
  background: var(--text-1);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s, opacity 0.2s;
  mix-blend-mode: var(--cursor-blend);
}

.cursor.hover-state {
  width: 36px;
  height: 36px;
  opacity: 0.6;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-pill { gap: 14px; padding: 0 14px 0 18px; height: 48px; transition: gap 1.6s cubic-bezier(0.4,0,0.2,1), padding 1.6s cubic-bezier(0.4,0,0.2,1); }
  .nav-extra { max-width: 320px; opacity: 1; transform: none; overflow: hidden; gap: 14px; transition: max-width 1.6s cubic-bezier(0.4,0,0.2,1), opacity 1.1s ease; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 12px; }
  .nav-cta { padding: 6px 12px; font-size: 11px; }
  .nav-pill:hover, .nav-pill:focus-within { gap: 14px; padding: 0 14px 0 18px; }

  /* Compact mobile state after scrolling */
  nav.nav-collapsed .nav-pill { gap: 0; padding: 0 18px; }
  nav.nav-collapsed .nav-extra { max-width: 0; opacity: 0; }
  nav.nav-collapsed .nav-pill:hover,
  nav.nav-collapsed .nav-pill:focus-within { gap: 14px; padding: 0 14px 0 18px; }
  nav.nav-collapsed .nav-pill:hover .nav-extra,
  nav.nav-collapsed .nav-pill:focus-within .nav-extra { max-width: 320px; opacity: 1; }

  #hero { min-height: auto; display: flex; flex-direction: column; padding: 96px 24px 64px; }
  .hero-grid-guides { display: none; }
  .hero-marquee-rule { display: none; }
  .available-badge { margin-bottom: 28px; }
  .hero-headline { max-width: none; margin: 0; font-size: 44px; line-height: 0.95; }
  .hero-sub { align-self: auto; margin-top: 32px; }
  .marquee-section { width: 100%; margin: 40px 0 0; }
  .hero-stats { display: none; }
  section { padding: 72px 24px; }
  #contact { padding: 48px 24px; }
  .cards-grid { grid-template-columns: 1fr; }
  .card-wide { grid-column: span 1; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  footer { padding: 20px 24px; flex-direction: column; gap: 12px; text-align: center; }
}

/* Disable hover/cursor FX on touch devices */
@media (hover: none) {
  .cursor { display: none; }
  body { cursor: auto; }
  .hero-trail { display: none; }
  .halo-card::before, .halo-card::after { display: none; }
}

/* ── UPLIFT CONCEPT ── */
.concept-page {
  --concept-section-title: 18px;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text-1);
}

.concept-page::before { display: none; }

.concept-page nav {
  top: 0;
  pointer-events: none;
}

.concept-page .nav-pill {
  display: grid;
  grid-template-columns: minmax(300px, 26fr) minmax(560px, 48fr) minmax(300px, 26fr);
  width: 100%;
  height: 64px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  box-shadow: none;
  gap: 0;
  pointer-events: auto;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.concept-page .nav-logo {
  grid-column: 2;
  grid-row: 1;
  justify-self: start;
  margin-left: 18px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.025em;
}

.concept-page .nav-extra {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  justify-content: flex-end;
  max-width: none;
  padding: 0 18px;
  gap: 18px;
  overflow: visible;
}

.concept-page .nav-links { gap: 18px; }
.concept-page .nav-links a { font-size: 13px; }
.concept-page .nav-separator { color: var(--text-3); font-size: 12px; }
.concept-page .theme-toggle { width: 34px; height: 34px; }

.mobile-menu-toggle { display: none; }

html,
.concept-page {
  scrollbar-width: none;
}

html::-webkit-scrollbar,
.concept-page::-webkit-scrollbar { display: none; }

.concept-shell {
  display: grid;
  grid-template-columns: minmax(300px, 26fr) minmax(560px, 48fr) minmax(300px, 26fr);
  min-height: 100vh;
  align-items: stretch;
}

.concept-shell > * { min-width: 0; }

.concept-page #hero,
.concept-page #work,
.concept-profile {
  border-top: 0;
  background: var(--bg);
}

.concept-page #hero {
  position: sticky;
  top: 0;
  min-height: 100svh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 96px 28px 22px;
  border-right: 1px solid var(--border);
  overflow: hidden;
}

.concept-page #hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(circle, var(--border-2) 1px, transparent 1.2px);
  background-size: 18px 18px;
  opacity: .58;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.72) 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.72) 70%, transparent 100%);
  pointer-events: none;
}

.hero-dot-glints {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-dot-glints span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 9px 2px color-mix(in srgb, var(--accent) 55%, transparent);
  opacity: 0;
  animation: dotGlint var(--speed) var(--delay) ease-in-out infinite;
}

@keyframes dotGlint {
  0%, 72%, 100% { opacity: 0; transform: scale(.45); }
  78% { opacity: .25; }
  84% { opacity: .95; transform: scale(1); }
  91% { opacity: 0; transform: scale(.55); }
}

.concept-page .hero-trail {
  z-index: 1;
  opacity: .76;
}

.concept-intro-top,
.concept-intro-bottom {
  position: relative;
  z-index: 2;
}

.concept-page .available-badge {
  display: inline-flex;
  grid-column: auto;
  grid-row: auto;
  margin: 0 0 42px;
  animation: fadeUp .6s .05s ease forwards;
}

.concept-title {
  max-width: 440px;
  font-family: 'Syne', sans-serif;
  font-size: clamp(54px, 5vw, 92px);
  font-weight: 600;
  line-height: .92;
  letter-spacing: -.065em;
}

.concept-name {
  display: block;
  white-space: nowrap;
  font-size: .78em;
  margin-top: .1em;
}

.concept-role {
  max-width: 320px;
  margin-top: 28px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.55;
}

.concept-intro-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.concept-location {
  color: var(--text-3);
  font-size: 11px;
  line-height: 1.5;
}

.location-flag {
  display: inline-block;
  position: relative;
  width: 16px;
  height: 11px;
  margin-left: 3px;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 1px;
  background: linear-gradient(to bottom, #ce1126 0 33.33%, #fff 33.33% 66.66%, #000 66.66% 100%);
  transform: translateY(2px);
}

.location-flag::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 4px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #c9a227;
}

.concept-socials {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.concept-socials a,
.concept-profile-bottom a {
  color: var(--text-1);
  font-size: 12px;
  text-decoration: none;
}

.concept-socials a:hover,
.concept-profile-bottom a:hover { color: var(--accent); }

.concept-socials a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.concept-socials svg,
.location-line svg {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
}

.concept-location {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.location-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.concept-page #work {
  min-height: 100svh;
  padding: 112px 0 56px;
  border-right: 1px solid var(--border);
  overflow: visible;
}

.concept-work-intro {
  padding: 8px 18px 14px;
}

.concept-kicker {
  margin-bottom: 18px;
  color: var(--text-3);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.concept-statement {
  max-width: none;
  font-family: 'Syne', sans-serif;
  font-size: clamp(17px, 2.2vw, 34px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.045em;
  text-wrap: nowrap;
  white-space: nowrap;
}

.concept-ribbon {
  width: 100%;
  margin-top: 30px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%);
}

.concept-ribbon .marquee-track { animation-duration: 28s; }
.concept-ribbon .marquee-item { flex-shrink: 0; }

.concept-work-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding: 10px 18px 12px;
}

.concept-work-heading h2,
.concept-profile-heading h2 {
  font-family: 'Syne', sans-serif;
  font-size: var(--concept-section-title);
  font-weight: 600;
  letter-spacing: -.025em;
}

.concept-work-heading a,
.concept-profile-heading span {
  color: var(--text-3);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.concept-work-heading a {
  text-decoration: none;
  transition: color .25s ease;
}

.concept-work-heading a:hover { color: var(--accent); }

.concept-card-stack {
  display: grid;
  position: relative;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.concept-card {
  width: 100%;
  min-height: 0;
  padding: 12px 14px 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.concept-card:nth-child(even) { border-left: 1px solid var(--border); }
.concept-card:nth-child(n+3) { border-top: 1px solid var(--border); }
.concept-card:hover { transform: none; }
.concept-card::before,
.concept-card::after { border-radius: 0; }

.concept-card .card-thumb {
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: 0;
}

.concept-card .card-body { padding: 16px 10px 10px; }
.concept-card .card-title { font-size: clamp(17px, 1.35vw, 22px); }
.concept-card .card-desc { max-width: 620px; }
.concept-card .card-footer { padding-inline: 10px; }
.concept-card .card-tags { flex-wrap: wrap; }

.concept-profile {
  position: sticky;
  top: 0;
  min-height: 100svh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  padding: 112px 18px 22px;
  overflow-y: auto;
  scrollbar-width: none;
}

.concept-profile::-webkit-scrollbar { display: none; }

.concept-profile-top { position: relative; z-index: 1; }

.concept-profile-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}

.expertise-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.expertise-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 6px 11px;
  border: 1px solid var(--border-2);
  border-radius: 999px;
  color: var(--text-2);
  background: var(--surface-soft);
  font-size: 11px;
  white-space: nowrap;
}

.profile-module {
  padding: 0 0 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.profile-timeline {
  list-style: none;
}

.profile-timeline li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
}

.profile-timeline li:first-child { padding-top: 0; }
.profile-timeline li:last-child { padding-bottom: 0; border-bottom: 0; }
.profile-timeline div { min-width: 0; }
.profile-timeline strong,
.profile-timeline span { display: block; }
.profile-timeline strong { font-size: 12px; font-weight: 500; }
.profile-timeline span,
.profile-timeline time { color: var(--text-3); font-size: 10px; line-height: 1.45; }
.profile-timeline time { white-space: nowrap; }

.profile-exp-logo {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--text-2);
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  overflow: hidden;
  flex-shrink: 0;
}

.profile-timeline .profile-exp-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

.profile-exp-logo img {
  display: block;
  width: 28px;
  height: 28px;
}

.profile-exp-logo-vodafone {
  border-color: transparent;
  background: transparent;
}

.profile-exp-logo-freelance {
  background: var(--surface-soft);
  color: var(--text-1);
}

.profile-exp-logo-agency {
  background: var(--surface-soft);
  color: var(--text-1);
}

.profile-about-content > p {
  color: var(--text-2);
  font-size: 12px;
  line-height: 1.55;
}

.profile-about-content {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.profile-stats > div {
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-soft);
}

.profile-stats strong,
.profile-stats span { display: block; }
.profile-stats strong {
  margin-bottom: 5px;
  font-family: 'Syne', sans-serif;
  font-size: 42px;
  line-height: 1;
}
.profile-stats span { color: var(--text-3); font-size: 11px; line-height: 1.4; }

.profile-stats .about-stat-num {
  display: flex;
  align-items: flex-end;
  height: 1em;
  overflow: visible;
}

.profile-stats .counter-number {
  display: inline-flex;
  height: 1em;
  overflow: hidden;
  color: inherit;
  font-size: inherit;
  line-height: 1;
}

.profile-stats .counter-slot {
  display: inline-block;
  height: 1em;
  overflow: hidden;
  color: inherit;
  font-size: inherit;
  line-height: 1;
}

.profile-stats .counter-reel {
  display: flex;
  flex-direction: column;
  color: inherit;
  font-size: inherit;
  line-height: 1;
  will-change: transform;
}

.profile-stats .counter-digit {
  display: block;
  flex: 0 0 1em;
  height: 1em;
  color: inherit;
  font-size: inherit;
  line-height: 1;
}

.profile-stats .counter-suffix {
  display: inline-block;
  color: inherit;
  font-size: inherit;
  line-height: 1;
}

.concept-profile-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
}

.concept-profile-bottom p {
  max-width: 220px;
  color: var(--text-2);
  font-size: 12px;
  line-height: 1.5;
}

.concept-profile-bottom a { white-space: nowrap; }

/* Green rain pulses follow the three primary vertical separators. */
.concept-page #hero::after,
.concept-page #work::after,
.concept-card-stack::after {
  content: '';
  position: absolute;
  top: -110px;
  width: 2px;
  height: 110px;
  z-index: 8;
  background: linear-gradient(to bottom, transparent, var(--accent) 72%, transparent);
  filter: drop-shadow(0 0 4px var(--accent));
  opacity: .72;
  pointer-events: none;
  animation: gridRain 4.6s linear infinite;
}

.concept-page #hero::after,
.concept-page #work::after { right: -1px; }

.concept-page #work::after { animation-delay: -1.7s; }

.concept-card-stack::after {
  left: 50%;
  margin-left: -1px;
  animation-delay: -3.1s;
}

@keyframes gridRain {
  from { transform: translateY(0); }
  to { transform: translateY(calc(100vh + 230px)); }
}

@keyframes mobileLineRain {
  from { transform: translateX(0); }
  to { transform: translateX(calc(100vw + 240px)); }
}

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

@keyframes columnBlend {
  from { opacity: 0; filter: blur(12px); }
  to { opacity: 1; filter: blur(0); }
}

@media (prefers-reduced-motion: no-preference) {
  .concept-page .nav-pill { animation: conceptEnter .45s .03s cubic-bezier(.22,.75,.25,1) both; }
  .concept-page #hero { animation: columnBlend .9s .03s cubic-bezier(.22,.75,.25,1) both; }
  .concept-page #work { animation: columnBlend .9s .2s cubic-bezier(.22,.75,.25,1) both; }
  .concept-profile { animation: columnBlend .9s .38s cubic-bezier(.22,.75,.25,1) both; }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) { animation: none; }
  .concept-page #hero::after,
  .concept-page #work::after,
  .concept-card-stack::after { animation: none; display: none; }
  .hero-dot-glints span { animation: none; display: none; }
}

@media (max-width: 1180px) {
  .concept-page .nav-pill {
    display: flex;
    padding: 0 28px;
  }
  .concept-page .nav-logo { margin-left: 0; }
  .concept-page .nav-extra { padding: 0; }
  .concept-shell { grid-template-columns: minmax(300px, 38fr) minmax(520px, 62fr); }
  .concept-profile {
    grid-column: 1 / -1;
    position: relative;
    min-height: auto;
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 32px;
    padding: 64px 28px;
    border-top: 1px solid var(--border);
    overflow: visible;
  }
  .profile-module { margin: 0; padding: 0; border-bottom: 0; border-right: 0; }
  .concept-profile-bottom { grid-column: 1 / -1; margin-top: 8px; padding-top: 28px; border-top: 1px solid var(--border); }
}

@media (max-width: 820px) {
  .concept-shell { display: block; }
  .concept-page #work { position: relative; }
  .concept-card-stack::after { display: none; }
  .concept-page #hero::after,
  .concept-work-heading::after {
    content: '';
    display: block;
    position: absolute;
    top: auto;
    right: auto;
    bottom: -1px;
    left: -120px;
    width: 120px;
    height: 2px;
    z-index: 8;
    background: linear-gradient(to right, transparent, var(--accent) 72%, transparent);
    filter: drop-shadow(0 0 4px var(--accent));
    opacity: .78;
    pointer-events: none;
    animation: mobileLineRain 4.8s linear infinite;
  }
  .concept-work-heading {
    position: relative;
    overflow: hidden;
  }
  .concept-work-heading::after { animation-delay: -2.2s; }
  .concept-page #hero {
    position: relative;
    min-height: 82svh;
    height: auto;
    padding: 112px 24px 28px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .concept-title { font-size: clamp(58px, 16vw, 96px); }
  .concept-page #work { padding: 72px 0 48px; border-right: 0; }
  .concept-work-intro { padding: 0 20px 18px; }
  .concept-statement { font-size: clamp(17px, 4.3vw, 34px); }
  .concept-ribbon { margin-top: 34px; }
  .concept-card-stack { grid-template-columns: 1fr; }
  .concept-card { min-height: auto; }
  .concept-card + .concept-card { border-left: 0; border-top: 1px solid var(--border); }
  .concept-card .card-thumb { height: auto; aspect-ratio: 4 / 3; }
  .concept-profile { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .concept-page nav { padding: 0; }
  .concept-page .nav-pill {
    display: grid;
    grid-template-columns: 1fr auto auto;
    grid-template-rows: 58px auto;
    min-height: 58px;
    height: auto;
    padding: 0 16px;
    transition: background .3s ease;
  }
  .concept-page .nav-logo {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    margin: 0;
    font-size: 14px;
  }
  .concept-page .nav-extra { display: contents; }
  .concept-page .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    max-height: 0;
    padding: 0;
    gap: 14px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    border-top: 1px solid transparent;
    transition: max-height .38s cubic-bezier(.22,.75,.25,1), padding .38s cubic-bezier(.22,.75,.25,1), opacity .24s ease, transform .38s cubic-bezier(.22,.75,.25,1), border-color .24s ease, visibility 0s .38s;
  }
  .concept-page .nav-links a { font-size: 12px; }
  .concept-page .theme-toggle {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    justify-self: end;
    width: 32px;
    height: 32px;
  }
  .mobile-menu-toggle {
    grid-column: 3;
    grid-row: 1;
    align-self: center;
    justify-self: end;
    display: grid;
    place-items: center;
    position: relative;
    width: 32px;
    height: 32px;
    margin-left: 8px;
    padding: 0;
    border: 1px solid var(--border-2);
    border-radius: 6px;
    background: transparent;
    color: var(--text-1);
    cursor: pointer;
  }
  .mobile-menu-toggle::before,
  .mobile-menu-toggle::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 1.5px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .32s cubic-bezier(.22,.75,.25,1);
  }
  .mobile-menu-toggle::after { transform: rotate(90deg); }
  .mobile-menu-toggle span { display: none; }
  .concept-page nav.mobile-menu-open .nav-links {
    max-height: 58px;
    padding: 14px 0 16px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    border-top-color: var(--border);
    transition-delay: 0s;
  }
  .concept-page nav.mobile-menu-open .mobile-menu-toggle::before { transform: rotate(45deg); }
  .concept-page nav.mobile-menu-open .mobile-menu-toggle::after { transform: rotate(-45deg); }
  .concept-page #hero { padding-top: 98px; }
  .concept-intro-bottom { align-items: flex-end; }
  .concept-profile { display: flex; padding: 56px 20px 28px; }
  .profile-module,
  .profile-module:nth-child(2) { width: 100%; padding: 0 0 22px; margin-bottom: 22px; border-right: 0; border-top: 0; border-bottom: 1px solid var(--border); }
  .concept-profile-bottom { display: flex; }
  .card-tags .tag:nth-child(3) { display: none; }
}

@media (max-width: 820px) and (prefers-reduced-motion: reduce) {
  .concept-page #hero::after,
  .concept-work-heading::after { display: none; }
}

@media (max-width: 620px) and (prefers-reduced-motion: reduce) {
  .concept-page .nav-links,
  .mobile-menu-toggle::before,
  .mobile-menu-toggle::after { transition: none; }
}
