/* ==========================================================================
   Ritu Gupta, PhD — portfolio
   Palette sampled from design mockups. Do not "tidy" these hex values.
   ========================================================================== */

:root {
  --navy:        #0d1c2b;
  --navy-lift:   #14273a;
  --gold:        #b7860b;
  --gold-text:   #8f6a09;
  --gold-soft:   #d9a92e;
  --cream:       #faf7ef;
  --sand:        #f6f0e0;
  --sand-box:    #f5ecd9;
  --rule:        #e7d7b6;
  --ink:         #0a0a0a;
  --body:        #4a4a4a;
  --body-soft:   #6b6b6b;
  --deck:        #b9c2cc;
  --deck-soft:   #8b97a5;

  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --wrap: 1140px;
  --gutter: 2rem;
  --band: 7rem;
  --nav-h: 72px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------- reset */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--body);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.18;
  margin: 0;
  letter-spacing: -0.005em;
}

p { margin: 0 0 1.25rem; }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 200;
  background: var(--gold);
  color: #fff;
  padding: 0.7rem 1.2rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* --------------------------------------------------------- layout */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.band { padding: var(--band) 0; }
.band--cream { background: var(--cream); }
.band--sand  { background: var(--sand); }
.band--navy  { background: var(--navy); color: var(--deck); }

.band--navy h1, .band--navy h2, .band--navy h3 { color: var(--cream); }

/* --------------------------------------------------------- eyebrow */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.688rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin: 0 0 1.4rem;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
  flex: none;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
  flex: none;
}
.band--navy .eyebrow { color: var(--gold-soft); }

/* --------------------------------------------------------- headings */

.h-section {
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  margin-bottom: 3rem;
}
.h-section--flush { margin-bottom: 0; }

.deck {
  font-size: 1.0625rem;
  line-height: 1.75;
  max-width: 42rem;
  color: var(--deck);
}
.band--cream .deck, .band--sand .deck { color: var(--body); }

/* --------------------------------------------------------- nav */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--cream);
}
.brand svg { width: 30px; height: 30px; flex: none; }
.brand__name {
  font-family: var(--display);
  font-size: 1.0625rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.1rem;
}
.nav__links a {
  position: relative;
  display: block;
  padding: 0.35rem 0;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c3cad2;
  text-decoration: none;
  transition: color 0.18s var(--ease);
}
.nav__links a:hover { color: var(--cream); }
.nav__links a[aria-current="page"] { color: var(--gold-soft); }
.nav__links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--gold);
}

.nav__toggle {
  display: none;
  width: 42px; height: 42px;
  margin-right: -0.5rem;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--cream);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav__toggle span { margin: 0 auto; position: relative; }
.nav__toggle span::before,
.nav__toggle span::after { content: ""; position: absolute; left: 0; }
.nav__toggle span::before { top: -7px; }
.nav__toggle span::after  { top:  7px; }

.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after  { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.05rem 2.2rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
              border-color 0.2s var(--ease);
}
.btn--gold {
  background: var(--gold);
  color: #fff;
}
.btn--gold:hover { background: #9c7209; }

.btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(250, 247, 239, 0.4);
}
.btn--ghost:hover { border-color: var(--cream); background: rgba(250, 247, 239, 0.06); }

.btn--outline {
  background: transparent;
  color: var(--gold-text);
  border-color: var(--rule);
  padding: 0.55rem 1.1rem;
  font-size: 0.688rem;
  letter-spacing: 0.12em;
}
.btn--outline:hover { background: var(--sand-box); border-color: var(--gold); }

.btn svg { width: 13px; height: 13px; flex: none; }

/* --------------------------------------------------------- home hero */

.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--navy);
  padding: calc(var(--nav-h) + 4rem) 0 4rem;
}

.hero__name {
  font-size: clamp(3.25rem, 11vw, 7.5rem);
  line-height: 1;
  color: var(--cream);
  margin: 0.6rem 0 0;
  letter-spacing: -0.015em;
}

.hero__roles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 1.1rem;
  margin: 0;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--deck);
}
.hero__roles li { display: flex; align-items: center; gap: 1.1rem; }
.hero__roles li:not(:last-child)::after {
  content: "·";
  color: var(--gold);
}

.hero__tagline {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.05rem, 2vw, 1.375rem);
  line-height: 1.65;
  color: #cfd6dd;
  max-width: 34rem;
  margin: 2.25rem auto 2.75rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* diamond rule under the name */
.diamond {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin: 1.6rem 0 1.5rem;
}
.diamond::before, .diamond::after {
  content: "";
  width: 68px;
  height: 1px;
  background: rgba(250, 247, 239, 0.28);
}
.diamond i {
  width: 6px; height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
}

/* --------------------------------------------------------- page hero */

.phero {
  background: var(--navy);
  padding: calc(var(--nav-h) + 5.5rem) 0 5.5rem;
}
.phero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--cream);
  margin-bottom: 1.4rem;
}
.phero .deck { max-width: 38rem; }

/* --------------------------------------------------------- generic grids */

.grid { display: grid; gap: 2.5rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 4.5rem;
  align-items: start;
}
.split--narrow { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }

/* --------------------------------------------------------- fact list (home about) */

.facts { display: grid; gap: 2rem; }
.fact { border-left: 2px solid var(--gold); padding-left: 1.4rem; }
.fact dt {
  font-size: 0.688rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 0.45rem;
}
.fact dd { margin: 0; color: var(--ink); font-size: 0.9375rem; line-height: 1.65; }

/* --------------------------------------------------------- expertise blocks */

.xp { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3.5rem 4rem; }
.xp__label {
  font-size: 0.688rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 0.75rem;
}
.xp h3 { font-size: 1.375rem; margin-bottom: 0.9rem; }
.xp h3::after {
  content: "";
  display: block;
  width: 30px; height: 1px;
  background: var(--gold);
  margin-top: 0.85rem;
}
.xp p { font-size: 0.9375rem; }
.xp > div:nth-child(even) { margin-top: 3.5rem; }

/* --------------------------------------------------------- cards */

.card {
  background: var(--cream);
  border: 1px solid var(--rule);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
}
.card h3 { font-size: 1.25rem; line-height: 1.3; }
.card p { font-size: 0.9375rem; }
.card__rule {
  width: 30px; height: 1px;
  background: var(--gold);
  margin-bottom: 1.5rem;
}

/* tag pills */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1.75rem;
}
.tag {
  background: var(--sand);
  border: 1px solid var(--rule);
  color: var(--body);
  font-size: 0.75rem;
  line-height: 1.4;
  padding: 0.3rem 0.7rem;
}

/* --------------------------------------------------------- stat bar */

.stats {
  background: var(--gold);
  padding: 2.75rem 0;
}
.stats ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stats b {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.4vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
  color: #fff;
  margin-bottom: 0.5rem;
}
.stats span {
  font-size: 0.688rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
}

/* --------------------------------------------------------- timeline */

.timeline { border-top: 1px solid var(--rule); }
.tl {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 2rem;
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--rule);
}
.tl__when {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold-text);
  padding-top: 0.35rem;
}
.tl h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.tl__where {
  font-size: 0.875rem;
  color: var(--body-soft);
  margin-bottom: 0.75rem;
}
.tl__note {
  font-family: var(--display);
  font-style: italic;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--gold-text);
}
.tl__list { display: grid; gap: 0.6rem; margin-top: 0.9rem; }
.tl__list li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.9375rem;
  line-height: 1.65;
}
.tl__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.72em;
  width: 4px; height: 4px;
  background: var(--gold);
  transform: rotate(45deg);
}

/* --------------------------------------------------------- filters */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.filter {
  font-family: var(--sans);
  font-size: 0.8125rem;
  line-height: 1.4;
  padding: 0.55rem 1.15rem;
  background: transparent;
  color: var(--body);
  border: 1px solid var(--rule);
  cursor: pointer;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease),
              border-color 0.18s var(--ease);
}
.filter:hover { border-color: var(--gold); }
.filter[aria-pressed="true"] {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}
.is-hidden { display: none !important; }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.filter-count {
  font-size: 0.8125rem;
  color: var(--body-soft);
  margin: 1.75rem 0 0;
}

/* --------------------------------------------------------- publications */

.pubs { border-top: 1px solid var(--rule); margin-top: 1.5rem; }
.pub {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr) auto;
  gap: 1.5rem 2rem;
  align-items: start;
  padding: 2rem 0;
  border-bottom: 1px solid var(--rule);
}
.pub__meta { display: flex; flex-direction: column; align-items: flex-start; gap: 0.55rem; }
.pub__year {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold-text);
}
.pub__type {
  background: var(--sand);
  border: 1px solid var(--rule);
  font-size: 0.6875rem;
  line-height: 1.4;
  padding: 0.25rem 0.6rem;
  color: var(--body);
}
.pub__authors { font-size: 0.8125rem; color: var(--body-soft); margin-bottom: 0.35rem; }
.pub h3 {
  font-size: 1.125rem;
  line-height: 1.4;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.pub__where {
  font-family: var(--display);
  font-style: italic;
  font-size: 0.9375rem;
  color: var(--body-soft);
  margin: 0;
}

/* --------------------------------------------------------- portfolio cards */

.proj {
  background: var(--cream);
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
}
.proj__head { padding: 1.75rem 2rem 1.5rem; }
.proj__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.proj__cat, .proj__when {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.proj__cat  { color: var(--gold-text); }
.proj__when { color: var(--body-soft); letter-spacing: 0.1em; }
.proj h3 { font-size: 1.25rem; line-height: 1.32; margin-bottom: 0.4rem; }
.proj__sub {
  font-family: var(--display);
  font-style: italic;
  font-size: 0.875rem;
  color: var(--body-soft);
  margin: 0;
}
.proj__body {
  border-top: 1px solid var(--rule);
  padding: 1.75rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.proj__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin: 1.5rem 0 0.85rem;
}

/* --------------------------------------------------------- services */

.svc { position: relative; }
.svc__head { display: flex; align-items: baseline; gap: 1.1rem; margin-bottom: 1.1rem; }
.svc__num {
  font-family: var(--display);
  font-size: 1.625rem;
  font-weight: 400;
  line-height: 1;
  color: var(--rule);
  flex: none;
}
.svc h3 { font-size: 1.1875rem; line-height: 1.35; }
.svc__deliver {
  border-top: 1px solid var(--rule);
  margin-top: 1.6rem;
  padding-top: 1.4rem;
}

/* process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); }
.step { padding: 0 2rem; border-left: 1px solid var(--rule); }
.step:first-child { padding-left: 0; border-left: 0; }
.step__num {
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1;
  color: var(--rule);
  display: block;
  margin-bottom: 1.1rem;
}
.step h3 { font-size: 1.0625rem; margin-bottom: 0.6rem; }
.step p { font-size: 0.875rem; line-height: 1.7; }

/* --------------------------------------------------------- contact */

.contact-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.contact-item svg { width: 17px; height: 17px; margin-top: 0.55rem; flex: none; color: var(--gold); }
.contact-item dt {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 0.15rem;
}
.contact-item dd { margin: 0; color: var(--ink); font-size: 1rem; }
.contact-item a { text-decoration: none; border-bottom: 1px solid var(--rule); }
.contact-item a:hover { border-color: var(--gold); }

.callout {
  background: var(--sand-box);
  border-left: 2px solid var(--gold);
  padding: 1.35rem 1.5rem;
  margin-top: 2.5rem;
}
.callout strong { display: block; color: var(--ink); font-weight: 700; font-size: 0.9375rem; }
.callout span { font-size: 0.8125rem; color: var(--body-soft); }

.profiles { border-top: 1px solid var(--rule); margin-top: 2rem; }
.profiles a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--display);
  font-size: 1.0625rem;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}
.profiles a:hover { color: var(--gold-text); }
.profiles svg { width: 14px; height: 14px; color: var(--gold); flex: none; }

/* --------------------------------------------------------- portrait */

.portrait {
  border: 1px solid var(--rule);
  padding: 0.5rem;
  background: var(--cream);
}
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* --------------------------------------------------------- cta + footer */

.cta { text-align: center; }
.cta h2 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  color: var(--cream);
  margin-bottom: 1.5rem;
}
.cta .deck { margin: 0 auto 2.75rem; text-align: center; }

.footer {
  background: var(--navy);
  padding: 4rem 0 2.5rem;
  color: var(--deck-soft);
}
.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.footer__name {
  font-family: var(--display);
  font-size: 1.375rem;
  color: var(--cream);
  margin-bottom: 0.5rem;
}
.footer__roles {
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--deck-soft);
}
.footer__cols { display: grid; gap: 1rem; text-align: right; }
.footer__nav, .footer__social { display: flex; flex-wrap: wrap; gap: 1.35rem; justify-content: flex-end; }
.footer__nav a {
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c3cad2;
  text-decoration: none;
}
.footer__nav a:hover { color: var(--cream); }
.footer__social a {
  font-size: 0.8125rem;
  color: var(--gold-soft);
  text-decoration: none;
}
.footer__social a:hover { color: var(--cream); }

.footer__base {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8125rem;
}
.footer__base em {
  font-family: var(--display);
  font-style: italic;
  color: var(--deck-soft);
}

/* --------------------------------------------------------- utility */

.lead { font-size: 1.0625rem; line-height: 1.85; }
.amp { font-family: var(--display); font-style: italic; font-weight: 400; }

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------- responsive */

@media (max-width: 1080px) {
  .split, .split--narrow { gap: 3rem; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.75rem; }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (max-width: 980px) {
  :root { --band: 5rem; }

  .nav__toggle { display: block; }
  .nav__links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.5rem 0 1.25rem;
    transform: translateY(-140%);
    transition: transform 0.3s var(--ease);
  }
  .nav__links.is-open { transform: none; }
  .nav__links a {
    padding: 0.95rem var(--gutter);
    font-size: 0.8125rem;
  }
  .nav__links a[aria-current="page"]::after { display: none; }

  .grid--3, .grid--2, .xp { grid-template-columns: 1fr; }
  .xp { gap: 2.75rem; }
  .xp > div:nth-child(even) { margin-top: 0; }
  .split, .split--narrow { grid-template-columns: 1fr; gap: 2.75rem; }

  .portrait { max-width: 320px; }
}

@media (max-width: 736px) {
  :root { --gutter: 1.5rem; --band: 4rem; }

  .stats ul { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .steps { grid-template-columns: 1fr; row-gap: 2.25rem; }
  .step { padding-left: 0; border-left: 0; }

  .tl { grid-template-columns: 1fr; gap: 0.75rem; }
  .tl__when { padding-top: 0; }

  .pub { grid-template-columns: 1fr; gap: 1rem; }
  .pub__meta { flex-direction: row; align-items: center; gap: 0.85rem; }

  .filter-bar { flex-direction: column; align-items: flex-start; }

  .footer__top { flex-direction: column; }
  .footer__cols { text-align: left; }
  .footer__nav, .footer__social { justify-content: flex-start; }

  .hero__actions .btn { width: 100%; }
  .diamond::before, .diamond::after { width: 42px; }
}

@media (max-width: 480px) {
  .card, .proj__head, .proj__body { padding-left: 1.4rem; padding-right: 1.4rem; }
  .card { padding-top: 1.75rem; padding-bottom: 1.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .nav, .footer, .filters, .skip-link { display: none; }
  body { background: #fff; color: #000; }
}
