/* ═══════════════════════════════════════════════
   ANISHA MAZUMDER — SHARED DESIGN SYSTEM
   from brand ideas to brand systems.
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,200;9..40,300;9..40,400;9..40,500&display=swap');

:root {
  /* neutrals */
  --white:  #fafafa;
  --paper:  #f2e6d2;
  --canvas: #f8f2e5;   /* lightened paper — quiz background, lets ribbons pop */
  --ink:    #1a1a1a;

  /* hero */
  --valencia:  #fa7f19;
  --sunflower: #ffc822;
  --bubblegum: #ffc6d3;

  /* accent */
  --sage:       #8e9b51;
  --periwinkle: #b5d4eb;
  --cherry:     #661414;

  /* derived */
  --ink-70: rgba(26,26,26,0.70);
  --ink-55: rgba(26,26,26,0.55);
  --ink-40: rgba(26,26,26,0.40);
  --ink-14: rgba(26,26,26,0.14);
  --ink-08: rgba(26,26,26,0.08);

  --sans: 'DM Sans', system-ui, -apple-system, sans-serif;

  /* rhythm */
  --page-x: clamp(22px, 5vw, 64px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--ink);
  font-weight: 300;
  line-height: 1.6;
  font-size: 16px;
}

::selection { background: var(--sunflower); color: var(--ink); }

a { color: inherit; text-decoration: none; }

/* ── shared type ── */
.lower { text-transform: lowercase; }

h1, h2, h3 { font-weight: 300; line-height: 1.2; letter-spacing: -0.01em; }

.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-55);
}

/* ═══ NAV ═══ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 26px var(--page-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
  mix-blend-mode: normal;
}
.nav-name {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  font-weight: 300;
  color: var(--ink-70);
  position: relative;
  padding: 4px 0;
  transition: color 0.35s var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.current { color: var(--ink); }
.nav-links a.current::after { transform: scaleX(1); }

/* ═══ FOOTER ═══ */
.site-footer {
  padding: 48px var(--page-x);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  flex-wrap: wrap;
  border-top: 1px solid var(--ink-08);
}
.footer-tag {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.35;
  max-width: 22ch;
  letter-spacing: -0.01em;
}
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.footer-links { display: flex; gap: 22px; }
.footer-links a {
  font-size: 13px;
  font-weight: 300;
  color: var(--ink-55);
  transition: color 0.3s var(--ease);
}
.footer-links a:hover { color: var(--ink); }
.footer-copy {
  font-size: 12px;
  color: var(--ink-40);
  font-weight: 300;
}
.foot-copy { font-size: 12.5px; font-weight: 300; color: var(--ink-55); }

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  text-transform: lowercase;
  transition: background 0.45s var(--ease), color 0.45s var(--ease),
              border-color 0.45s var(--ease), transform 0.45s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--white); }
.btn-solid { background: var(--ink); color: var(--white); }
.btn-solid:hover { background: transparent; color: var(--ink); }

/* ═══ REDUCED MOTION ═══ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 640px) {
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 13px; }
  .site-footer { flex-direction: column; align-items: flex-start; }
  .footer-right { align-items: flex-start; }
}
