/* ============================================================
   Anayatul Bari — Personal Portfolio
   Premium executive theme · Navy / White / Mist / Gold accent
   ============================================================ */

/* ---------- Reset & base ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--navy); }

/* ---------- Tokens ---------- */
:root {
  --navy: #0B1E3F;
  --navy-2: #0F2A55;
  --ink: #0F172A;
  --ink-2: #334155;
  --muted: #64748B;
  --paper: #FFFFFF;
  --mist: #F4F6FA;
  --line: #E5E9F2;
  --accent: #D4A24C;
  --accent-2: #B6873A;

  --shadow-sm: 0 1px 2px rgba(15,23,42,.06);
  --shadow-md: 0 12px 30px -12px rgba(15,23,42,.18), 0 4px 10px -4px rgba(15,23,42,.08);
  --shadow-lg: 0 30px 60px -20px rgba(15,23,42,.30);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --container: 1180px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 .5em;
}
p { margin: 0 0 1em; color: var(--ink-2); }
em { font-style: italic; color: var(--accent-2); }
strong { color: var(--ink); font-weight: 600; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 14px;
}
.eyebrow--light { color: var(--accent); }

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy); color: #DDE3F0; }
.section__header { max-width: 760px; margin-bottom: 56px; }
.section__title {
  font-size: clamp(1.75rem, 1.1rem + 2vw, 2.5rem);
  margin: 0 0 .35em;
}
.section__title--light { color: #fff; }
.section__lede { font-size: 1.05rem; color: var(--ink-2); }
.section__lede--light { color: #C7D0E5; }

/* ---------- Skip link ---------- */
.skip-link {
  position: fixed; /* fix to viewport so absolute-positioning quirks can't expose it */
  top: -100px; left: 12px;
  background: var(--accent); color: var(--navy);
  padding: 8px 14px; border-radius: 8px;
  font-weight: 600; z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: top .2s ease, opacity .2s ease;
}
.skip-link:focus,
.skip-link:focus-visible {
  top: 12px;
  opacity: 1;
  pointer-events: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px;
  font-weight: 600;
  font-size: .95rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn--sm { padding: 9px 16px; font-size: .85rem; }
.btn--lg { padding: 15px 28px; font-size: 1rem; }
.btn--accent {
  background: var(--accent); color: var(--navy);
  box-shadow: 0 8px 22px -10px rgba(212,162,76,.7);
}
.btn--accent:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn--ghost {
  background: transparent; color: var(--navy);
  border-color: var(--line);
}
.btn--ghost:hover { background: var(--paper); border-color: var(--ink); }
.btn--ghost-light { color: #fff; border-color: rgba(255,255,255,.35); }
.btn--ghost-light:hover { background: rgba(255,255,255,.08); border-color: #fff; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.nav.is-scrolled { border-color: var(--line); background: rgba(255,255,255,.92); }
.nav__inner {
  display: flex; align-items: center; gap: 18px;
  height: 70px;
}
.nav__brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.nav__mark {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--navy); color: #fff;
  font-family: 'Fraunces', serif;
  font-weight: 700; font-size: .9rem;
  letter-spacing: .04em;
}
.nav__name { color: var(--navy); }
.nav__links {
  margin-left: auto;
  display: flex; gap: 28px;
}
.nav__links a {
  font-size: .95rem; color: var(--ink-2);
  position: relative; padding: 6px 0;
}
.nav__links a:hover { color: var(--navy); }
.nav__links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__cta { margin-left: 8px; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent; border: 0;
  position: relative;
  margin-left: auto;
}
.nav__toggle span {
  position: absolute; left: 10px; right: 10px;
  height: 2px; background: var(--navy); border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
.nav__toggle span:nth-child(1) { top: 14px; }
.nav__toggle span:nth-child(2) { top: 21px; }
.nav__toggle span:nth-child(3) { top: 28px; }
.nav.is-open .nav__toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 14px;
  padding: 18px clamp(20px, 4vw, 40px) 26px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.nav__mobile a { color: var(--ink); font-weight: 500; padding: 8px 0; }
.nav__mobile .btn { align-self: flex-start; }

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .nav.is-open .nav__mobile { display: flex; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(72px, 10vw, 130px) 0 clamp(40px, 6vw, 70px);
  background:
    radial-gradient(1100px 400px at 80% -10%, rgba(212,162,76,.10), transparent 60%),
    radial-gradient(800px 380px at 0% 0%, rgba(11,30,63,.06), transparent 60%),
    var(--paper);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}
.hero__title {
  font-size: clamp(2.1rem, 1rem + 3.5vw, 3.6rem);
  letter-spacing: -0.02em;
  margin: 14px 0 22px;
}
.hero__lede {
  font-size: clamp(1rem, .95rem + .2vw, 1.15rem);
  max-width: 56ch;
  color: var(--ink-2);
  margin-bottom: 28px;
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero__pills { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__pills li {
  font-size: .8rem; font-weight: 600; letter-spacing: .04em;
  color: var(--ink-2);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
}

.hero__media {
  position: relative;
  margin: 0;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--mist);
}
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center center;
}
.hero__media-glow {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(11,30,63,.0) 55%, rgba(11,30,63,.35));
  pointer-events: none;
}

/* ---------- Hero marquee: moving carousel of domain chips ---------- */
.hero__marquee {
  position: relative;
  margin-top: clamp(40px, 6vw, 70px);
  padding: 22px 0;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--mist) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

/* Edge fade masks — items glide into and out of view rather than hard-clipping */
.hero__marquee::before,
.hero__marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: clamp(40px, 8vw, 110px);
  z-index: 2;
  pointer-events: none;
}
.hero__marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--mist) 10%, rgba(244, 246, 250, 0) 100%);
}
.hero__marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--mist) 10%, rgba(244, 246, 250, 0) 100%);
}

.hero__marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
  width: max-content;
  animation: marquee 32s linear infinite;
  will-change: transform;
}

.hero__marquee:hover .hero__marquee-track,
.hero__marquee:focus-within .hero__marquee-track {
  animation-play-state: paused;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); } /* exactly one Set A worth — seamless loop */
}

/* ---------- Marquee chips ---------- */
.m-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  color: var(--navy);
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 2px 6px -2px rgba(15, 23, 42, 0.08);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.m-chip:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 8px 18px -8px rgba(15, 23, 42, 0.18);
}
.m-chip__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(212, 162, 76, 0.15);
}

/* Accent variant — one prominent navy chip per set for visual rhythm */
.m-chip--accent {
  background: var(--navy);
  color: #FFFFFF;
  border-color: var(--navy);
  box-shadow: 0 8px 18px -8px rgba(11, 30, 63, 0.45);
}
.m-chip--accent .m-chip__dot {
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(212, 162, 76, 0.25);
}
.m-chip--accent:hover {
  border-color: var(--accent);
}

/* Reduced-motion users get a gentler drift (3× slower) rather than no motion at all */
@media (prefers-reduced-motion: reduce) {
  .hero__marquee-track { animation-duration: 96s; }
}

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 480px; margin: 0 auto; }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about__grid {
  display: grid;
  grid-template-columns: .95fr 1.1fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}
.about__media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 5;
}
.about__media img { width: 100%; height: 100%; object-fit: cover; }

.about__factbar {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.about__factbar div { display: flex; flex-direction: column; }
.about__factbar strong {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.6rem, 1rem + 1.5vw, 2.2rem);
  color: var(--navy);
  line-height: 1;
}
.about__factbar span { color: var(--muted); font-size: .85rem; margin-top: 6px; }

@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 480px; margin: 0 auto; }
}

/* ============================================================
   CARDS (achievements, case studies, creds, quotes)
   ============================================================ */
.cards { display: grid; gap: 22px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) {
  .cards--3, .cards--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .cards--2, .cards--3, .cards--4 { grid-template-columns: 1fr; }
}

.card, .case, .cred, .quote {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover, .case:hover, .cred:hover, .quote:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #D4DAE6;
}
.card h3, .case h3, .cred h3 {
  font-size: 1.15rem;
  margin: 8px 0 10px;
}
.card__icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: rgba(212,162,76,.12);
  color: var(--accent-2);
  border-radius: 10px;
  font-size: 1.2rem; margin-bottom: 12px;
  font-weight: 700;
}

.case__tag {
  display: inline-block;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-2); font-weight: 700;
  margin-bottom: 14px;
}
.case__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.case__chips li {
  font-size: .75rem; color: var(--ink-2);
  background: var(--mist);
  padding: 4px 10px; border-radius: 999px;
}

.quote p { font-family: 'Fraunces', serif; font-style: italic; color: var(--ink); font-size: 1.05rem; }
.quote footer { display: flex; flex-direction: column; margin-top: 14px; }
.quote footer strong { color: var(--navy); }
.quote footer span { font-size: .85rem; color: var(--muted); }

/* ============================================================
   EXPERTISE COLUMNS
   ============================================================ */
.expertise__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 1000px) {
  .expertise__grid { grid-template-columns: 1fr; }
}
.expertise {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
}
.expertise h3 {
  font-size: 1.1rem;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.expertise--feature {
  background: var(--navy);
  border-color: var(--navy);
}
.expertise--feature h3 { color: #fff; border-bottom-color: rgba(255,255,255,.15); }
.expertise--feature .taglist li {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.14);
  color: #DDE3F0;
}

/* ---------- Core Skills (warm cream / gold accent) ---------- */
.expertise--core {
  background: linear-gradient(180deg, #FCF8EE 0%, #FFFFFF 100%);
  border-color: rgba(212, 162, 76, 0.22);
  border-top: 3px solid var(--accent);
  padding-top: 27px; /* compensate for thicker top border */
}
.expertise--core h3 {
  color: var(--navy);
  border-bottom-color: rgba(212, 162, 76, 0.25);
}
.expertise--core .taglist li {
  background: rgba(212, 162, 76, 0.08);
  border-color: rgba(212, 162, 76, 0.22);
  color: #6B4F1F;
}

/* ---------- Technical / IT (cool blue tint / navy accent) ---------- */
.expertise--tech {
  background: linear-gradient(180deg, #EEF3FB 0%, #FFFFFF 100%);
  border-color: rgba(11, 30, 63, 0.14);
  border-top: 3px solid var(--navy);
  padding-top: 27px;
}
.expertise--tech h3 {
  color: var(--navy);
  border-bottom-color: rgba(11, 30, 63, 0.14);
}
.expertise--tech .taglist li {
  background: rgba(11, 30, 63, 0.05);
  border-color: rgba(11, 30, 63, 0.14);
  color: var(--navy);
}

.taglist { display: flex; flex-wrap: wrap; gap: 8px; }
.taglist li {
  font-size: .82rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--mist);
  border: 1px solid var(--line);
  padding: 7px 12px;
  border-radius: 999px;
}
.taglist--compact li { font-size: .75rem; padding: 5px 10px; }

/* ============================================================
   TIMELINE
   ============================================================ */
.leadership-banner {
  position: relative;
  margin: 0 0 60px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 7;
  box-shadow: var(--shadow-md);
}
.leadership-banner img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 35%;
}
.leadership-banner__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(11,30,63,.78) 0%, rgba(11,30,63,.45) 60%, rgba(11,30,63,.15) 100%);
  display: flex; align-items: flex-end;
  padding: clamp(20px, 4vw, 50px);
}
.leadership-banner__quote {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.05rem, .9rem + 1vw, 1.6rem);
  color: #fff;
  font-style: italic;
  max-width: 36ch;
  margin: 0;
  line-height: 1.3;
  text-shadow: 0 2px 10px rgba(0,0,0,.4);
}

.timeline {
  position: relative;
  padding-left: 28px;
  border-left: 2px solid var(--line);
  display: grid; gap: 28px;
}
.timeline__item { position: relative; }
.timeline__dot {
  position: absolute;
  left: -36px; top: 8px;
  width: 14px; height: 14px;
  background: var(--accent);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--accent);
}
.timeline__meta {
  display: flex; flex-wrap: wrap; gap: 6px 18px;
  align-items: baseline;
  margin-bottom: 6px;
}
.timeline__meta strong { font-family: 'Fraunces', serif; font-size: 1.15rem; color: var(--navy); }
.timeline__meta span { color: var(--muted); font-size: .9rem; }

/* ============================================================
   PROJECTS HERO IMAGE
   ============================================================ */
.projects__hero {
  margin: 0 0 36px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 9;
}
.projects__hero img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   JOB EXPERIENCE HIGHLIGHTS (LinkedIn-style cards)
   ============================================================ */
.highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
@media (max-width: 860px) { .highlights { grid-template-columns: 1fr; } }

.highlight {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex; flex-direction: column;
}
.highlight::before {
  content: '';
  position: absolute;
  left: 0; top: 28px; bottom: 28px;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), transparent);
  border-radius: 0 3px 3px 0;
}
.highlight:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #D4DAE6;
}
.highlight__head {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.highlight__role {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  margin: 0 0 4px;
  color: var(--navy);
  line-height: 1.25;
}
.highlight__org {
  margin: 0;
  font-size: .9rem;
  color: var(--accent-2);
  font-weight: 600;
  letter-spacing: .02em;
}
.highlight__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.highlight__list li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-2);
  font-size: .95rem;
  line-height: 1.55;
}
.highlight__list li::before {
  content: '';
  position: absolute;
  left: 4px; top: 10px;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* ============================================================
   RESUME CTA
   ============================================================ */
.resume-cta {
  background:
    radial-gradient(700px 280px at 80% 50%, rgba(212,162,76,.18), transparent 60%),
    var(--navy);
  color: #fff;
}
.resume-cta__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 30px;
  align-items: center;
}
.resume-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-self: end; }
@media (max-width: 800px) {
  .resume-cta__inner { grid-template-columns: 1fr; }
  .resume-cta__actions { justify-self: start; }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}
.contact__list {
  display: grid; gap: 14px;
  margin: 26px 0 30px;
}
.contact__list li {
  display: flex; align-items: center; gap: 14px;
  font-size: 1.02rem;
  color: #DDE3F0;
}
.contact__list span {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  font-size: .9rem;
  color: var(--accent);
  background: rgba(255,255,255,.04);
  font-weight: 700;
}
.contact__list a { color: #fff; border-bottom: 1px dashed transparent; transition: border-color .2s ease; }
.contact__list a:hover { border-color: var(--accent); }
.contact__cta { display: flex; gap: 12px; flex-wrap: wrap; }

.contact__media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(255,255,255,.08);
}
.contact__media img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 860px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact__media { max-width: 460px; margin: 0 auto; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #060F22;
  color: #97A4BD;
  padding: 32px 0;
}
.footer__inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px;
  justify-content: space-between;
}
.footer__brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; }
.footer__brand .nav__mark { background: rgba(255,255,255,.08); }
.footer__meta { margin: 0; font-size: .85rem; }
.footer__cc {
  color: #C7D0E5;
  border-bottom: 1px dashed rgba(212, 162, 76, 0.5);
  transition: color .2s ease, border-color .2s ease;
}
.footer__cc:hover { color: var(--accent); border-bottom-color: var(--accent); }
.footer__links { display: flex; gap: 22px; }
.footer__links a { font-size: .85rem; color: #97A4BD; }
.footer__links a:hover { color: var(--accent); }

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Print (resume-friendly)
   ============================================================ */
@media print {
  .nav, .hero__cta, .resume-cta, .contact__cta, .footer__links { display: none !important; }
  body { color: #000; background: #fff; }
  .section { padding: 24px 0; }
}
