/* ============================================================
   Ashmina Rai · Portfolio v2
   Navy + Mint dev portfolio aesthetic
   Palette via gazijarin/Gazi-V2
   ============================================================ */

:root {
  /* Palette */
  --navy:           #0a192f;
  --light-navy:     #112240;
  --lightest-navy:  #233554;
  --slate:          #8892b0;
  --light-slate:    #a8b2d1;
  --lightest-slate: #ccd6f6;
  --white:          #e6f1ff;
  --green:          #64ffda;
  --green-tint:     rgba(100, 255, 218, 0.08);
  --green-tint-2:   rgba(100, 255, 218, 0.15);

  --shadow-nav:     0 10px 30px -10px rgba(2, 12, 27, 0.7);
  --shadow-card:    0 10px 30px -15px rgba(2, 12, 27, 0.7);
  --shadow-card-hover: 0 20px 30px -15px rgba(2, 12, 27, 0.7);

  /* Type */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;

  --fz-xs:   12px;
  --fz-sm:   13px;
  --fz-md:   14px;
  --fz-lg:   16px;
  --fz-xl:   18px;
  --fz-xxl:  20px;
  --fz-heading: 32px;

  /* Sizing */
  --nav-h: 100px;
  --nav-h-scrolled: 70px;
  --pad-x: clamp(25px, 5vw, 100px);
  --pad-section: clamp(80px, 12vw, 150px);

  --ease: cubic-bezier(0.645, 0.045, 0.355, 1);
  --t-fast: 0.2s;
  --t-base: 0.25s;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--slate);
  font-family: var(--font-sans);
  font-size: var(--fz-xl);
  line-height: 1.3;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; transition: color var(--t-base) var(--ease); }
a:hover { color: var(--green); }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
ul, ol { list-style: none; }

::selection { background: var(--lightest-navy); color: var(--white); }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0;
  background: var(--navy);
  z-index: 1000;
  display: grid; place-items: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
.loader.is-done { opacity: 0; visibility: hidden; }

.loader__logo .loader__hex { stroke-dasharray: 360; stroke-dashoffset: 360; animation: draw 1.4s var(--ease) forwards 0.2s; }
.loader__logo text { opacity: 0; animation: fade 0.6s ease forwards 1.4s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; top: 0; left: 0;
  padding: 18px 24px; background: var(--green); color: var(--navy);
  font-family: var(--font-mono); font-size: var(--fz-sm); font-weight: 600;
  transform: translateY(-110%);
  transition: transform 0.2s var(--ease);
  z-index: 999;
}
.skip-link:focus { transform: translateY(0); color: var(--navy); }

/* ---------- Header / Nav ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  padding: 0 var(--pad-x);
  background: rgba(10, 25, 47, 0.85);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  z-index: 50;
  transition: height 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.header.is-scrolled { height: var(--nav-h-scrolled); box-shadow: var(--shadow-nav); }
.header.is-hidden { transform: translateY(-100%); }

.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
  font-family: var(--font-mono);
  color: var(--lightest-slate);
}

.nav__logo { display: flex; align-items: center; transition: transform 0.3s var(--ease); }
.nav__logo:hover { transform: rotate(-12deg); }
.nav__logo-svg polygon { transition: stroke 0.2s; }
.nav__logo:hover .nav__logo-svg polygon { stroke: var(--green); }

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

.nav__list {
  display: flex; gap: 8px;
  counter-reset: navItem;
}
.nav__list li a {
  display: inline-flex;
  padding: 10px 14px;
  font-size: var(--fz-sm);
  color: var(--lightest-slate);
  transition: color var(--t-fast) var(--ease);
}
.nav__list li a span {
  margin-right: 6px;
  color: var(--green);
  font-size: var(--fz-xs);
}
.nav__list li a:hover { color: var(--green); }

.resume-btn {
  display: inline-flex;
  padding: 10px 18px;
  font-family: var(--font-mono);
  font-size: var(--fz-sm);
  color: var(--green);
  border: 1px solid var(--green);
  border-radius: 4px;
  transition: background var(--t-fast) var(--ease);
}
.resume-btn:hover { background: var(--green-tint); color: var(--green); }

.nav__burger {
  display: none;
  width: 30px; height: 24px;
  position: relative;
  z-index: 60;
}
.nav__burger span {
  position: absolute; left: 0; right: 0;
  height: 2px; background: var(--green);
  transition: transform 0.3s var(--ease), opacity 0.2s, top 0.3s;
}
.nav__burger span:nth-child(1) { top: 2px; }
.nav__burger span:nth-child(2) { top: 11px; }
.nav__burger span:nth-child(3) { top: 20px; width: 70%; right: 0; left: auto; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { top: 11px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { top: 11px; transform: rotate(-45deg); width: 100%; }

/* ---------- Mobile menu ---------- */
.menu {
  position: fixed; inset: 0 0 0 25%;
  background: var(--light-navy);
  box-shadow: -10px 0 30px -15px rgba(2, 12, 27, 0.7);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.35s var(--ease), visibility 0.35s;
  z-index: 55;
  display: flex; align-items: center; justify-content: center;
}
.menu.is-open { transform: translateX(0); visibility: visible; }
.menu__inner {
  display: flex; flex-direction: column; align-items: center;
  gap: 30px; padding: 50px 30px;
  width: 100%;
}
.menu__inner ol {
  display: flex; flex-direction: column; align-items: center;
  gap: 22px; width: 100%;
}
.menu__inner ol li a {
  display: block; text-align: center;
  color: var(--lightest-slate);
  font-size: clamp(16px, 4vw, 22px);
  font-family: var(--font-mono);
}
.menu__inner ol li a span {
  display: block; color: var(--green); font-size: var(--fz-xs); margin-bottom: 4px;
}
.menu__inner ol li a:hover { color: var(--green); }

/* ---------- Side rails ---------- */
.rail {
  position: fixed; bottom: 0;
  width: 40px;
  z-index: 10;
  color: var(--light-slate);
}
.rail--left { left: 40px; }
.rail--right { right: 40px; }

.rail::after {
  content: '';
  display: block;
  width: 1px; height: 90px;
  margin: 20px auto 0;
  background: var(--light-slate);
}

.rail--left ul {
  display: flex; flex-direction: column; align-items: center;
  gap: 14px;
}
.rail--left ul li a {
  display: inline-flex; padding: 10px;
  color: var(--light-slate);
  transition: color 0.2s, transform 0.2s var(--ease);
}
.rail--left ul li a:hover { color: var(--green); transform: translateY(-3px); }

.rail--right { display: flex; flex-direction: column; align-items: center; }
.rail--right a {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: 0.1em;
  margin: 0 auto;
  padding: 10px;
  font-family: var(--font-mono);
  font-size: var(--fz-xs);
  color: var(--light-slate);
  transition: color 0.2s, transform 0.2s var(--ease);
}
.rail--right a:hover { color: var(--green); transform: translateY(-3px); }

@media (max-width: 1080px) {
  .rail--left { left: 20px; }
  .rail--right { right: 20px; }
}
@media (max-width: 760px) {
  .rail { display: none; }
}

/* ---------- Reveal on scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Main / sections ---------- */
main {
  max-width: 1600px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 150px;
  counter-reset: section;
}
@media (max-width: 1080px) { main { padding: 0 100px; } }
@media (max-width: 768px)  { main { padding: 0 50px; } }
@media (max-width: 480px)  { main { padding: 0 25px; } }

.section {
  margin: 0 auto;
  padding: var(--pad-section) 0;
  max-width: 1000px;
}

/* Section heading: 01. About Me ──────────────── */
.section-heading {
  display: flex; align-items: center;
  width: 100%;
  margin: 10px 0 40px;
  font-family: var(--font-sans);
  font-size: clamp(26px, 5vw, var(--fz-heading));
  font-weight: 600;
  color: var(--lightest-slate);
  white-space: nowrap;
}
.section-heading::after {
  content: '';
  display: block;
  position: relative; top: -5px;
  width: 300px;
  height: 1px;
  margin-left: 20px;
  background: var(--lightest-navy);
}
.section-num {
  margin-right: 10px;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: clamp(16px, 3vw, var(--fz-xxl));
  font-weight: 400;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  padding: var(--nav-h) 0 0;
  display: flex; flex-direction: column; justify-content: center;
  max-width: 1000px; margin: 0 auto;
}
.hero__hi {
  color: var(--green);
  font-family: var(--font-mono);
  font-size: clamp(14px, 5vw, var(--fz-lg));
  font-weight: 400;
  margin: 0 0 30px 4px;
}
.hero__name {
  font-family: var(--font-sans);
  font-size: clamp(40px, 8vw, 80px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--lightest-slate);
  margin: 0;
}
.hero__tag {
  font-family: var(--font-sans);
  font-size: clamp(32px, 7vw, 70px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--slate);
  margin: 8px 0 0;
}
.hero__intro {
  max-width: 540px;
  margin: 22px 0 0;
  color: var(--slate);
  font-size: var(--fz-xl);
  line-height: 1.55;
}
.hero__intro a {
  position: relative;
  color: var(--green);
}
.hero__intro a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 1px; background: var(--green);
  transition: right 0.3s var(--ease);
}
.hero__intro a:hover::after { right: 0; }
.hero__intro .hl { color: var(--green); }

.hero__cta {
  display: inline-flex; align-items: center;
  margin-top: 50px;
  padding: 18px 28px;
  font-family: var(--font-mono);
  font-size: var(--fz-md);
  color: var(--green);
  border: 1px solid var(--green);
  border-radius: 4px;
  width: fit-content;
  transition: background var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.hero__cta:hover { background: var(--green-tint); transform: translate(-2px, -2px); box-shadow: 4px 4px 0 0 var(--green); }

/* Stagger reveal */
.hero [data-reveal]:nth-child(1).is-visible { transition-delay: 0.1s; }
.hero [data-reveal]:nth-child(2).is-visible { transition-delay: 0.2s; }
.hero [data-reveal]:nth-child(3).is-visible { transition-delay: 0.3s; }
.hero [data-reveal]:nth-child(4).is-visible { transition-delay: 0.4s; }
.hero [data-reveal]:nth-child(5).is-visible { transition-delay: 0.5s; }

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 50px;
}
.about__text { color: var(--slate); font-size: var(--fz-xl); }
.about__text p { margin: 0 0 15px; line-height: 1.55; }
.about__text a {
  position: relative;
  color: var(--green);
}
.about__text a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 1px; background: var(--green);
  transition: right 0.3s var(--ease);
}
.about__text a:hover::after { right: 0; }

.about__stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 200px));
  gap: 0 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.about__stack li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: var(--fz-sm);
  color: var(--slate);
}
.about__stack li::before {
  content: '▹';
  position: absolute;
  left: 0; top: 0;
  color: var(--green);
  font-size: var(--fz-md);
  line-height: 1.2;
}

/* Photo frame with mint offset border */
.about__photo { display: flex; justify-content: center; }
.photo-frame {
  position: relative;
  width: 100%;
  max-width: 300px;
  display: block;
}
.photo-frame__img {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  background: var(--green);
  overflow: hidden;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
  z-index: 2;
}
.photo-frame__img::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--green);
  mix-blend-mode: screen;
  transition: opacity 0.25s var(--ease);
  z-index: 3;
}
.photo-frame__img::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--navy);
  mix-blend-mode: multiply;
  opacity: 0.45;
  transition: opacity 0.25s var(--ease);
  z-index: 4;
  pointer-events: none;
}
.photo-frame__img img {
  position: relative;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(1) contrast(1) brightness(0.95);
  transition: filter 0.3s var(--ease);
  z-index: 1;
}
.photo-frame__border {
  position: absolute;
  inset: 0;
  border: 2px solid var(--green);
  border-radius: 4px;
  transform: translate(18px, 18px);
  transition: transform 0.25s var(--ease);
  z-index: 1;
}
.photo-frame:hover .photo-frame__img { transform: translate(-6px, -6px); background: transparent; }
.photo-frame:hover .photo-frame__img::before { opacity: 0; }
.photo-frame:hover .photo-frame__img::after { opacity: 0; }
.photo-frame:hover .photo-frame__img img { filter: none; }
.photo-frame:hover .photo-frame__border { transform: translate(12px, 12px); }

@media (max-width: 768px) {
  .about__grid { grid-template-columns: 1fr; gap: 50px; }
  .about__stack { grid-template-columns: repeat(2, minmax(120px, 180px)); }
}

/* ---------- Experience / Tabs ---------- */
.tabs {
  display: flex;
  min-height: 340px;
}
.tabs__list {
  position: relative;
  display: flex; flex-direction: column;
  z-index: 3;
  min-width: max-content;
  padding: 0;
  margin: 0;
  list-style: none;
}
.tabs__tab {
  display: flex; align-items: center;
  height: var(--tab-height, 42px);
  padding: 0 20px 2px;
  border-left: 2px solid var(--lightest-navy);
  background: transparent;
  color: var(--slate);
  font-family: var(--font-mono);
  font-size: var(--fz-sm);
  text-align: left;
  white-space: nowrap;
  transition: color var(--t-fast), background var(--t-fast);
}
.tabs__tab:hover, .tabs__tab:focus { background: var(--light-navy); color: var(--green); outline: none; }
.tabs__tab.is-active { color: var(--green); }
.tabs__indicator {
  position: absolute;
  top: 0; left: 0;
  width: 2px; height: 42px;
  background: var(--green);
  transition: transform 0.25s var(--ease);
  transform: translateY(0);
}

.tabs__panels {
  position: relative;
  width: 100%;
  margin-left: 20px;
  padding-top: 12px;
}
.tabs__panel {
  display: none;
  width: 100%;
}
.tabs__panel.is-active { display: block; animation: fadeUp 0.45s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.tabs__panel h3 {
  font-family: var(--font-sans);
  font-size: var(--fz-xxl);
  font-weight: 600;
  color: var(--lightest-slate);
  margin: 0 0 4px;
}
.tabs__company { color: var(--green); }
.tabs__company a { color: var(--green); }
.tabs__when {
  color: var(--light-slate);
  font-family: var(--font-mono);
  font-size: var(--fz-sm);
  margin: 5px 0 25px;
}
.tabs__panel ul {
  display: flex; flex-direction: column;
  gap: 10px;
  padding: 0; margin: 0;
  list-style: none;
}
.tabs__panel ul li {
  position: relative;
  padding-left: 30px;
  color: var(--slate);
  font-size: var(--fz-xl);
  line-height: 1.4;
}
.tabs__panel ul li::before {
  content: '▹';
  position: absolute; left: 0; top: 0;
  color: var(--green);
  line-height: 1.4;
}

@media (max-width: 600px) {
  .tabs { flex-direction: column; }
  .tabs__list { flex-direction: row; overflow-x: auto; width: calc(100% + 50px); margin-left: -25px; margin-bottom: 30px; }
  .tabs__tab { border-left: 0; border-bottom: 2px solid var(--lightest-navy); padding: 0 16px 2px; min-width: 120px; justify-content: center; }
  .tabs__indicator { top: auto; bottom: 0; height: 2px; width: 120px; transform: translateX(0); }
  .tabs__panels { margin-left: 0; }
}

/* ---------- Featured projects ---------- */
.featured {
  padding: 0; margin: 0; list-style: none;
}
.featured__item {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
  margin-bottom: 100px;
}
.featured__item:last-child { margin-bottom: 0; }

/* default: image on left */
.featured__image {
  grid-column: 1 / 8;
  grid-row: 1 / -1;
  position: relative;
  z-index: 1;
}
.featured__content {
  grid-column: 7 / -1;
  grid-row: 1 / -1;
  position: relative;
  z-index: 2;
  text-align: right;
}
/* reversed */
.featured__item.is-reversed .featured__image { grid-column: 6 / -1; }
.featured__item.is-reversed .featured__content { grid-column: 1 / 7; text-align: left; }

.featured__image-link {
  position: relative;
  display: block;
  border-radius: 4px;
  overflow: hidden;
}
.featured__image-link::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--green);
  mix-blend-mode: screen;
  transition: opacity 0.25s var(--ease);
  z-index: 3;
  pointer-events: none;
}
.featured__image-link::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--navy);
  opacity: 0.55;
  mix-blend-mode: multiply;
  transition: opacity 0.25s var(--ease);
  z-index: 4;
  pointer-events: none;
}
.featured__image-link:hover::before { opacity: 0; }
.featured__image-link:hover::after { opacity: 0; }

.featured__over {
  color: var(--green);
  font-family: var(--font-mono);
  font-size: var(--fz-sm);
  margin: 10px 0;
}
.featured__title {
  font-family: var(--font-sans);
  font-size: clamp(24px, 5vw, 28px);
  font-weight: 600;
  color: var(--lightest-slate);
  margin: 0 0 20px;
}
.featured__title a { color: var(--lightest-slate); transition: color 0.2s; }
.featured__title a:hover { color: var(--green); }

.featured__desc {
  position: relative;
  padding: 25px;
  background: var(--light-navy);
  border-radius: 4px;
  box-shadow: var(--shadow-card);
  color: var(--light-slate);
  font-size: var(--fz-lg);
  transition: box-shadow 0.25s var(--ease);
}
.featured__item:hover .featured__desc { box-shadow: var(--shadow-card-hover); }

.featured__tech {
  display: flex; flex-wrap: wrap;
  gap: 8px 20px;
  margin: 25px 0 10px;
  padding: 0; list-style: none;
  font-family: var(--font-mono);
  font-size: var(--fz-sm);
  color: var(--light-slate);
}
.featured__item:not(.is-reversed) .featured__tech { justify-content: flex-end; }
.featured__item.is-reversed .featured__tech { justify-content: flex-start; }

.featured__links { display: flex; gap: 10px; }
.featured__item:not(.is-reversed) .featured__links { justify-content: flex-end; }
.featured__item.is-reversed .featured__links { justify-content: flex-start; }
.featured__links a {
  display: inline-flex;
  padding: 8px 6px;
  color: var(--lightest-slate);
  transition: color 0.2s, transform 0.2s;
}
.featured__links a:hover { color: var(--green); transform: translateY(-3px); }

@media (max-width: 768px) {
  .featured__item { grid-template-columns: 1fr; }
  .featured__image, .featured__item.is-reversed .featured__image,
  .featured__content, .featured__item.is-reversed .featured__content {
    grid-column: 1 / -1;
    grid-row: auto;
    text-align: left;
  }
  .featured__image { opacity: 0.35; pointer-events: none; }
  .featured__image-link::after { background: var(--navy); opacity: 0.5; }
  .featured__content {
    padding: 40px 25px 30px;
  }
  .featured__desc { background: transparent; padding: 0; box-shadow: none; }
  .featured__item:not(.is-reversed) .featured__tech,
  .featured__item:not(.is-reversed) .featured__links { justify-content: flex-start; }
  .featured__item { margin-bottom: 70px; padding: 0; }
}

/* =====================  CSS Project Mockups  ===================== */
.mock {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--light-navy);
  border-radius: 4px;
  overflow: hidden;
  display: flex; flex-direction: column;
  border: 1px solid var(--lightest-navy);
}
.mock__bar {
  height: 28px;
  background: #0f1f3d;
  display: flex; align-items: center; gap: 6px;
  padding: 0 12px;
  border-bottom: 1px solid var(--lightest-navy);
}
.mock__bar > span:nth-child(1),
.mock__bar > span:nth-child(2),
.mock__bar > span:nth-child(3) {
  width: 10px; height: 10px; border-radius: 50%;
}
.mock__bar > span:nth-child(1) { background: #ff5f56; }
.mock__bar > span:nth-child(2) { background: #ffbd2e; }
.mock__bar > span:nth-child(3) { background: #27c93f; }
.mock__url {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--slate);
  padding: 2px 10px;
  background: var(--navy);
  border-radius: 3px;
}
.mock__body { display: flex; flex: 1; min-height: 0; }

/* Dashboard mock */
.mock--dashboard .mock__side {
  width: 18%;
  background: var(--navy);
  padding: 14px 10px;
  display: flex; flex-direction: column; gap: 8px;
  border-right: 1px solid var(--lightest-navy);
}
.mock__logo {
  width: 28px; height: 28px;
  background: var(--green);
  border-radius: 6px;
  color: var(--navy);
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 700;
  display: grid; place-items: center;
  margin-bottom: 6px;
}
.mock__navitem {
  height: 8px;
  background: var(--lightest-navy);
  border-radius: 2px;
  width: 100%;
}
.mock__navitem.is-active { background: var(--green-tint-2); border-left: 2px solid var(--green); }
.mock__main {
  flex: 1;
  padding: 14px;
  display: flex; flex-direction: column; gap: 12px;
  min-width: 0;
}
.mock__stats { display: flex; gap: 10px; }
.mock__card {
  flex: 1;
  padding: 10px 12px;
  background: var(--navy);
  border: 1px solid var(--lightest-navy);
  border-radius: 4px;
  display: flex; flex-direction: column; gap: 4px;
}
.mock__card span { color: var(--green); font-family: var(--font-mono); font-size: 13px; font-weight: 600; }
.mock__card em { color: var(--slate); font-style: normal; font-size: 10px; font-family: var(--font-mono); }
.mock__table {
  background: var(--navy);
  border-radius: 4px;
  border: 1px solid var(--lightest-navy);
  padding: 8px;
  display: flex; flex-direction: column; gap: 6px;
  flex: 1;
}
.mock__row { display: flex; gap: 8px; align-items: center; }
.mock__row i {
  height: 6px;
  background: var(--lightest-navy);
  border-radius: 2px;
  flex: 1;
}
.mock__row i:nth-child(1) { flex: 2; }
.mock__row i:nth-child(4) { background: var(--green-tint-2); flex: 0.5; }

/* Realtor mock */
.mock__body--realtor { padding: 14px; flex-direction: column; gap: 12px; }
.mock__search { display: flex; gap: 8px; align-items: center; }
.mock__search-input {
  flex: 1;
  height: 26px;
  background: var(--navy);
  border: 1px solid var(--lightest-navy);
  border-radius: 4px;
}
.mock__chip {
  width: 50px; height: 26px;
  background: var(--lightest-navy);
  border-radius: 4px;
}
.mock__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  flex: 1;
}
.mock__listing {
  background: var(--navy);
  border: 1px solid var(--lightest-navy);
  border-radius: 4px;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.mock__photo { flex: 1; }
.mock__photo.a { background: linear-gradient(135deg, #1c3a5e, #2c5a8e); }
.mock__photo.b { background: linear-gradient(135deg, #2a4a3a, #4a7a5a); }
.mock__photo.c { background: linear-gradient(135deg, #4a3a2a, #6a5a3a); }
.mock__photo.d { background: linear-gradient(135deg, #3a2a4a, #5a3a6a); }
.mock__listing span {
  padding: 5px 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--green);
}

/* Music mock */
.mock__body--music {
  padding: 18px;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
}
.mock__album {
  width: 100px; height: 100px;
  background: linear-gradient(135deg, #1c5e57, #64ffda 90%);
  border-radius: 6px;
  box-shadow: 0 8px 20px -8px rgba(100, 255, 218, 0.4);
}
.mock__meta { display: flex; flex-direction: column; gap: 6px; align-items: center; }
.mock__track { width: 110px; height: 8px; background: var(--lightest-slate); border-radius: 3px; }
.mock__artist { width: 70px; height: 6px; background: var(--slate); border-radius: 3px; opacity: 0.6; }
.mock__wave {
  display: flex; align-items: center; justify-content: center;
  gap: 2px;
  height: 24px;
  width: 70%;
}
.mock__wave i {
  width: 2px;
  background: var(--green);
  border-radius: 1px;
  height: 40%;
  animation: waveBar 1.6s var(--ease) infinite alternate;
}
.mock__wave i:nth-child(1)  { animation-delay: 0.0s; height: 30%; }
.mock__wave i:nth-child(2)  { animation-delay: 0.05s; height: 60%; }
.mock__wave i:nth-child(3)  { animation-delay: 0.10s; height: 40%; }
.mock__wave i:nth-child(4)  { animation-delay: 0.15s; height: 80%; }
.mock__wave i:nth-child(5)  { animation-delay: 0.20s; height: 50%; }
.mock__wave i:nth-child(6)  { animation-delay: 0.25s; height: 70%; }
.mock__wave i:nth-child(7)  { animation-delay: 0.30s; height: 45%; }
.mock__wave i:nth-child(8)  { animation-delay: 0.35s; height: 90%; }
.mock__wave i:nth-child(9)  { animation-delay: 0.40s; height: 55%; }
.mock__wave i:nth-child(10) { animation-delay: 0.45s; height: 75%; }
.mock__wave i:nth-child(11) { animation-delay: 0.50s; height: 35%; }
.mock__wave i:nth-child(12) { animation-delay: 0.55s; height: 65%; }
.mock__wave i:nth-child(13) { animation-delay: 0.60s; height: 80%; }
.mock__wave i:nth-child(14) { animation-delay: 0.65s; height: 45%; }
.mock__wave i:nth-child(15) { animation-delay: 0.70s; height: 70%; }
.mock__wave i:nth-child(16) { animation-delay: 0.75s; height: 55%; }
.mock__wave i:nth-child(17) { animation-delay: 0.80s; height: 85%; }
.mock__wave i:nth-child(18) { animation-delay: 0.85s; height: 40%; }
.mock__wave i:nth-child(19) { animation-delay: 0.90s; height: 60%; }
.mock__wave i:nth-child(20) { animation-delay: 0.95s; height: 30%; }
@keyframes waveBar { to { transform: scaleY(1.4); opacity: 0.75; } }

.mock__controls { display: flex; gap: 14px; align-items: center; }
.mock__ctrl {
  width: 16px; height: 16px;
  background: var(--lightest-slate);
  border-radius: 50%;
}
.mock__ctrl--play {
  width: 28px; height: 28px;
  background: var(--green);
}

/* ---------- Archive: Other noteworthy ---------- */
.archive__heading {
  font-family: var(--font-sans);
  font-size: clamp(24px, 5vw, var(--fz-heading));
  font-weight: 600;
  color: var(--lightest-slate);
  text-align: center;
  margin-top: 80px;
  margin-bottom: 5px;
}
.archive__link {
  display: inline-flex;
  margin: 0 auto 50px;
  width: 100%;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: var(--fz-sm);
  color: var(--green);
  transition: color 0.2s;
}
.archive__link:hover { color: var(--green); letter-spacing: 0.04em; }

.archive {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.card {
  position: relative;
  padding: 32px 28px;
  background: var(--light-navy);
  border-radius: 4px;
  display: flex; flex-direction: column;
  height: 100%;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  box-shadow: var(--shadow-card);
}
.card:hover { transform: translateY(-7px); box-shadow: var(--shadow-card-hover); }

.card__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 32px; }
.card__top > svg { color: var(--green); }
.card__links { display: flex; gap: 8px; align-items: center; }
.card__links a { color: var(--light-slate); display: inline-flex; padding: 5px; transition: color 0.2s; }
.card__links a:hover { color: var(--green); }

.card__title {
  font-family: var(--font-sans);
  font-size: var(--fz-xxl);
  font-weight: 600;
  color: var(--lightest-slate);
  margin: 0 0 10px;
}
.card__title a { color: var(--lightest-slate); transition: color 0.2s; }
.card__title a:hover { color: var(--green); }

.card__desc { color: var(--light-slate); font-size: var(--fz-md); line-height: 1.45; flex: 1; }

.card__tech {
  display: flex; flex-wrap: wrap; gap: 8px 15px;
  margin-top: 20px;
  padding: 0; list-style: none;
  font-family: var(--font-mono);
  font-size: var(--fz-xs);
  color: var(--light-slate);
}

/* ---------- Contact ---------- */
.contact {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.contact__num {
  font-family: var(--font-mono);
  font-size: var(--fz-lg);
  color: var(--green);
  margin: 0 0 20px;
}
.contact__title {
  font-family: var(--font-sans);
  font-size: clamp(40px, 8vw, 60px);
  font-weight: 700;
  color: var(--lightest-slate);
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
.contact__desc {
  color: var(--slate);
  font-size: var(--fz-xl);
  line-height: 1.55;
  margin: 0 auto 50px;
}
.contact__btn {
  display: inline-flex; align-items: center;
  padding: 20px 32px;
  font-family: var(--font-mono);
  font-size: var(--fz-md);
  color: var(--green);
  border: 1px solid var(--green);
  border-radius: 4px;
  transition: background var(--t-base) var(--ease), transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.contact__btn:hover { background: var(--green-tint); transform: translate(-3px, -3px); box-shadow: 4px 4px 0 0 var(--green); }

/* ---------- Footer ---------- */
.footer {
  padding: 24px 20px 15px;
  display: flex; flex-direction: column; align-items: center;
  gap: 10px;
}
.footer__social { display: none; }
@media (max-width: 760px) {
  .footer__social { display: flex; gap: 18px; margin-bottom: 8px; }
  .footer__social a { color: var(--light-slate); display: inline-flex; padding: 8px; }
  .footer__social a:hover { color: var(--green); }
}
.footer__credit {
  font-family: var(--font-mono);
  font-size: var(--fz-xs);
  color: var(--light-slate);
  text-align: center;
  line-height: 1.5;
}
.footer__sub { display: block; opacity: 0.7; margin-top: 2px; }

/* ---------- Responsive nav ---------- */
@media (max-width: 760px) {
  .nav__right { display: none; }
  .nav__burger { display: flex; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .loader__hex { stroke-dashoffset: 0; }
  .loader__logo text { opacity: 1; }
}
