/* ==========================================================================
   Suchona Basu — Mathematics Educator
   Warm & approachable portfolio. Plain CSS, no build step.
   ========================================================================== */

:root {
  /* Colour — dark pink / magenta on a blush ground */
  --bg:         #FDF6FA;
  --bg-2:       #F9EAF2;
  --bg-3:       #F2D7E6;
  --paper:      #FFFBFD;
  --ink:        #2A1B24;
  --ink-soft:   #6B5462;
  --ink-faint:  #7F6675;
  --accent:     #A11458;   /* dark pink */
  --accent-dk:  #7C0F43;
  --accent-lt:  #F8D9E8;
  --plum:       #70274F;
  --gold:       #E9A3C6;   /* soft pink, for kickers on the dark sections */
  --line:       #EFD6E4;

  /* rgb triples so rgba() stays themeable */
  --paper-rgb:  253, 246, 250;
  --ink-rgb:    42, 27, 36;
  --accent-rgb: 161, 20, 88;

  /* Type */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --wrap: 1120px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(var(--ink-rgb), .05), 0 4px 12px rgba(var(--ink-rgb), .05);
  --shadow-md: 0 2px 4px rgba(var(--ink-rgb), .05), 0 12px 32px rgba(var(--ink-rgb), .08);
  --shadow-lg: 0 4px 8px rgba(var(--ink-rgb), .05), 0 24px 60px rgba(var(--ink-rgb), .12);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0; letter-spacing: -.015em; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: var(--bg);
  padding: .75rem 1.25rem; border-radius: 0 0 var(--radius) 0;
  font-size: .9rem; text-decoration: none;
}
.skip-link:focus { left: 0; }

.wrap {
  position: relative; z-index: 1;
  width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(var(--paper-rgb), .82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 20px rgba(var(--ink-rgb), .05);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 68px;
}

.brand {
  display: inline-flex; align-items: center; gap: .6rem;
  text-decoration: none; font-family: var(--serif);
  font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em;
}
.brand-mark {
  display: block; flex: 0 0 auto;
  width: 32px; height: 32px; border-radius: 9px;
  box-shadow: var(--shadow-sm);
}

.nav { display: flex; align-items: center; gap: .35rem; }
.nav a {
  text-decoration: none; font-size: .93rem; font-weight: 500;
  color: var(--ink-soft); padding: .5rem .8rem; border-radius: 999px;
  transition: color .2s ease, background-color .2s ease;
}
.nav a:hover { color: var(--ink); background: var(--bg-2); }
.nav a.is-active { color: var(--accent); }
.nav .nav-cta {
  color: #fff; background: var(--ink); margin-left: .4rem;
}
.nav .nav-cta:hover { background: var(--accent); color: #fff; }

.nav-toggle {
  display: none; width: 42px; height: 42px; padding: 0;
  border: 1px solid var(--line); border-radius: 11px;
  background: var(--paper); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.nav-toggle span {
  display: block; width: 17px; height: 2px; border-radius: 2px;
  background: var(--ink); transition: transform .28s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 7vw, 5rem); }
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right,  rgba(var(--accent-rgb), .07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(var(--accent-rgb), .07) 1px, transparent 1px);
  background-size: 46px 46px;
  animation: gridDrift 40s linear infinite;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 60% 30%, #000 0%, transparent 78%);
          mask-image: radial-gradient(ellipse 80% 60% at 60% 30%, #000 0%, transparent 78%);
}
.hero-inner {
  position: relative;
  display: grid; grid-template-columns: 1.25fr .85fr;
  gap: clamp(2rem, 6vw, 4.5rem); align-items: center;
}

.eyebrow {
  font-size: .8rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 1.1rem;
}
.hero h1 {
  font-size: clamp(2.2rem, 5.6vw, 3.75rem);
  margin-bottom: 1.4rem; max-width: 17ch;
}
.hero h1 em {
  font-style: italic; color: var(--accent);
  position: relative; white-space: nowrap;
}
.lede {
  font-size: clamp(1.02rem, 1.6vw, 1.15rem);
  color: var(--ink-soft); max-width: 54ch; margin-bottom: 2rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.6rem; border-radius: 999px;
  font-size: .95rem; font-weight: 600; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .18s ease, background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-dk); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--paper); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

/* Portrait */
.hero-portrait { position: relative; justify-self: center; width: min(340px, 80vw); }
.portrait-img {
  aspect-ratio: 1; width: 100%; height: auto;
  border-radius: 50%;
  border: 10px solid var(--paper);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  object-position: center 22%;   /* keeps her face centred in the circular crop */
  background: var(--bg-3);    /* warm placeholder while the image loads */
}
.portrait-badge {
  position: absolute; right: -6px; bottom: 14px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 18px; padding: .7rem 1rem;
  display: flex; align-items: center; gap: .6rem;
  box-shadow: var(--shadow-md);
}
.portrait-badge strong {
  font-family: var(--serif); font-size: 1.6rem; color: var(--accent); line-height: 1;
}
.portrait-badge span { font-size: .72rem; line-height: 1.25; color: var(--ink-soft); }

/* ==========================================================================
   Stats
   ========================================================================== */
.stats { padding: 0 0 clamp(2.5rem, 6vw, 4rem); }
.stats-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.stat { background: var(--paper); padding: 1.6rem 1.25rem; text-align: center; }
.stat-num {
  display: block; font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.7rem, 3.4vw, 2.35rem); color: var(--accent);
  line-height: 1.1; margin-bottom: .35rem;
}
.stat-amp { color: var(--ink-faint); margin: 0 .12em; font-size: .78em; }
.stat-label { font-size: .82rem; color: var(--ink-soft); line-height: 1.45; display: block; }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { position: relative; overflow: hidden; padding: clamp(3.5rem, 9vw, 6.5rem) 0; }
.section-alt { background: var(--bg-2); }

.kicker {
  font-size: .78rem; font-weight: 600; letter-spacing: .13em;
  text-transform: uppercase; color: var(--accent); margin-bottom: .8rem;
}
.section-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); max-width: 22ch; }
.section-head.center { text-align: center; margin-inline: auto; margin-bottom: 3rem; }
.section-head.center h2 { margin-inline: auto; }
.section-sub { color: var(--ink-soft); margin-top: 1rem; max-width: 46ch; }

/* About */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 4.5rem); align-items: start; }
.about-body p { color: var(--ink-soft); }
.about-body strong { color: var(--ink); font-weight: 600; }
.pull-quote {
  margin: 2rem 0 0; padding: 1.3rem 0 1.3rem 1.6rem;
  border-left: 3px solid var(--accent);
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.08rem, 2vw, 1.3rem); line-height: 1.5; color: var(--ink);
}

/* Cards */
.cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.9rem 1.6rem;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--bg-3); }
.card-icon {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 13px;
  background: var(--accent-lt); color: var(--accent);
  font-family: var(--serif); font-size: 1.4rem; line-height: 1;
  margin-bottom: 1.1rem;
}
.card h3 { font-size: 1.16rem; margin-bottom: .6rem; }
.card p { font-size: .93rem; color: var(--ink-soft); margin: 0; }

/* Reach */
.reach-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 4.5rem); align-items: center; }
.country-list { display: grid; gap: .6rem; }
.country-list li {
  display: flex; align-items: center; gap: .9rem;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: .9rem 1.2rem;
  font-weight: 500; font-size: .97rem;
  transition: transform .2s ease, border-color .2s ease;
}
.country-list li:hover { transform: translateX(5px); border-color: var(--bg-3); }
.flag { font-size: 1.3rem; line-height: 1; }

/* Timeline */
.timeline { position: relative; margin-top: 3rem; padding-left: 2rem; }
.timeline::before {
  content: ""; position: absolute; left: 6px; top: .5rem; bottom: .5rem;
  width: 2px; background: linear-gradient(to bottom, var(--accent), var(--bg-3));
  border-radius: 2px;
}
.tl-item { position: relative; padding-bottom: 2.5rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
  position: absolute; left: -2rem; top: .45rem;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent); border: 3px solid var(--bg-2);
  box-shadow: 0 0 0 2px var(--accent-lt);
}
.tl-body h3 { font-size: 1.2rem; margin-bottom: .3rem; }
.tl-meta {
  font-size: .82rem; font-weight: 500; letter-spacing: .02em;
  color: var(--accent); margin-bottom: .7rem;
}
.tl-body p:last-child { color: var(--ink-soft); font-size: .96rem; margin: 0; max-width: 62ch; }

/* Education */
.edu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.25rem; }
.edu-card {
  background: var(--paper); border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius); padding: 1.8rem 1.7rem;
}
.edu-degree { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; margin-bottom: .25rem; }
.edu-school { font-size: .92rem; font-weight: 500; color: var(--plum); margin-bottom: .2rem; }
.edu-dates {
  font-size: .8rem; font-weight: 500; letter-spacing: .03em;
  color: var(--ink-faint); margin-bottom: .9rem;
}

/* Schooling strip beneath the degree cards */
.schooling {
  margin-top: 1.5rem; padding: 1.15rem 1.5rem;
  background: var(--bg-2); border: 1px dashed var(--line);
  border-radius: var(--radius);
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1.75rem;
}
.schooling-label {
  font-size: .72rem; font-weight: 600; letter-spacing: .13em;
  text-transform: uppercase; color: var(--ink-faint); margin: 0;
}
.schooling-list { display: flex; flex-wrap: wrap; gap: .35rem 1.75rem; }
.schooling-list li { font-size: .88rem; color: var(--ink-soft); }
.schooling-list strong { color: var(--ink); font-weight: 600; }
.edu-note { font-size: .92rem; color: var(--ink-soft); margin: 0; }

/* Contact */
.contact { background: var(--ink); color: var(--bg); }
.contact .kicker { color: var(--gold); }
.contact-inner { text-align: center; max-width: 1040px; margin-inline: auto; }
.contact h2 { font-size: clamp(1.7rem, 3.8vw, 2.5rem); margin-inline: auto; max-width: 20ch; }
.contact-sub { color: rgba(var(--paper-rgb), .68); margin-top: 1.1rem; max-width: 48ch; margin-inline: auto; }

.contact-links {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: .9rem; margin-top: 2.5rem; text-align: left;
}
.contact-item {
  display: flex; align-items: center; gap: .9rem;
  background: rgba(var(--paper-rgb), .06);
  border: 1px solid rgba(var(--paper-rgb), .13);
  border-radius: var(--radius); padding: 1.1rem 1.25rem;
  text-decoration: none; color: inherit;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
a.contact-item:hover {
  background: rgba(var(--paper-rgb), .11);
  border-color: rgba(var(--paper-rgb), .28);
  transform: translateY(-2px);
}
.contact-icon {
  display: grid; place-items: center; flex: 0 0 auto;
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--accent); color: #fff;
}
.contact-icon svg { width: 19px; height: 19px; display: block; }
.contact-item strong { display: block; font-size: .82rem; font-weight: 600; letter-spacing: .02em; }
.contact-item em {
  display: block; font-style: normal; font-size: .85rem;
  color: rgba(var(--paper-rgb), .62);
  /* only break inside a word as a last resort — keeps the email on one line */
  word-break: normal; overflow-wrap: break-word;
}
/* Placeholder contact details — visually flags what still needs filling in */
.contact-item.is-placeholder em {
  text-decoration: underline dashed rgba(var(--accent-rgb), .8);
  text-underline-offset: 4px; color: var(--gold);
}

/* Footer */
.site-footer { background: var(--ink); border-top: 1px solid rgba(var(--paper-rgb), .1); padding: 1.8rem 0; }
.footer-inner {
  display: flex; flex-wrap: wrap; gap: .55rem 1.75rem;
  align-items: center; justify-content: space-between;
  color: rgba(var(--paper-rgb), .55); font-size: .83rem;
}
.footer-meta .sep { margin: 0 .5rem; color: rgba(var(--paper-rgb), .28); }
.site-footer p { margin: 0; }

/* Rakhi dedication tag */
.footer-tag {
  margin: 0; font-size: .78rem; color: rgba(var(--paper-rgb), .42);
}
.footer-tag strong { color: rgba(var(--paper-rgb), .72); font-weight: 600; }
.rakhi {
  /* sits inline, standing in for the word "Rakhi" */
  display: inline-block; width: 34px; height: auto;
  vertical-align: -.3em; margin: 0 .1em;
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
}
.footer-tag:hover .rakhi { transform: rotate(-10deg) scale(1.12); }



/* ==========================================================================
   Reviews
   ========================================================================== */
.center-sub { margin-inline: auto; }

/* Masonry-ish flow so quotes of different lengths pack without ragged gaps */
.reviews { columns: 3; column-gap: 1.25rem; }

.review {
  break-inside: avoid;
  margin: 0 0 1.25rem;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.8rem 1.6rem 1.2rem;
  transition: transform .25s ease, box-shadow .25s ease;
}
.review:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.review blockquote {
  position: relative; margin: 0 0 1.1rem;
  font-size: .96rem; line-height: 1.65; color: var(--ink-soft);
}
.review blockquote::before {
  content: "\201C";
  display: block; font-family: var(--serif); font-size: 3rem; line-height: .8;
  color: var(--accent); opacity: .28; margin-bottom: .2rem;
}
.review figcaption {
  display: flex; flex-direction: column; gap: .1rem;
  padding-top: .9rem; border-top: 1px solid var(--line);
}
.review figcaption strong { font-size: .9rem; font-weight: 600; color: var(--ink); }
.review figcaption span   { font-size: .8rem; color: var(--ink-faint); }

/* Screenshot preview — cropped to the top, fading out, opens full size */
.shot {
  position: relative; display: block; width: 100%;
  margin-top: 1.1rem; padding: 0; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  background: var(--bg-2); cursor: zoom-in;
  max-height: 190px;
}
.shot img {
  display: block; width: 100%; height: auto;
  object-fit: cover; object-position: top;
}
.shot::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 62%;
  background: linear-gradient(to bottom, transparent, var(--paper) 88%);
  pointer-events: none;
}
.shot-label {
  position: absolute; z-index: 1; left: 50%; bottom: .7rem;
  transform: translateX(-50%);
  background: var(--accent); color: #fff;
  font-size: .72rem; font-weight: 600; letter-spacing: .03em;
  padding: .35rem .8rem; border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transition: background-color .2s ease;
}
.shot:hover .shot-label, .shot:focus-visible .shot-label { background: var(--accent-dk); }

/* ---------- Lightbox ---------- */
.lightbox {
  border: 0; padding: 0; background: transparent;
  max-width: min(560px, 92vw); max-height: 92vh;
  overflow: visible;
}
.lightbox::backdrop { background: rgba(var(--ink-rgb), .82); backdrop-filter: blur(3px); }
.lightbox img {
  display: block; width: 100%; height: auto;
  max-height: 92vh; object-fit: contain;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.lightbox-close {
  position: absolute; top: -14px; right: -14px; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%;
  border: 0; background: var(--paper); color: var(--ink);
  font-size: 1.35rem; line-height: 1; cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: background-color .2s ease, transform .2s ease;
}
.lightbox-close:hover { background: var(--accent); color: #fff; transform: scale(1.06); }

@media (max-width: 940px) { .reviews { columns: 2; } }
@media (max-width: 620px) { .reviews { columns: 1; } }

/* ==========================================================================
   Maths symbolism — drifting glyphs and a travelling sine wave
   ========================================================================== */
.glyphs {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden; pointer-events: none;
  contain: strict;
}
.glyphs i {
  position: absolute; left: var(--x); top: var(--y);
  font-family: var(--serif); font-style: normal; line-height: 1;
  font-size: calc(var(--s, 1) * 2rem);
  color: var(--accent); opacity: .06;
  white-space: nowrap;
  animation: floatGlyph var(--t, 20s) ease-in-out infinite;
  animation-delay: var(--d, 0s);
  will-change: transform;
}
.contact .glyphs i { color: var(--gold); opacity: .11; }

@keyframes floatGlyph {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  33%      { transform: translate3d(7px, -18px, 0) rotate(8deg); }
  66%      { transform: translate3d(-7px, -9px, 0) rotate(-6deg); }
}
@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 46px 46px, 46px 46px; }
}

.wave {
  position: absolute; z-index: 0; pointer-events: none;
  left: 0; right: 0; top: 50%;
  width: 100%; height: 210px; transform: translateY(-50%);
}
.wave path {
  fill: none; stroke: var(--accent); stroke-width: 2.5;
  opacity: .055; animation: waveShift 14s linear infinite;
}
/* one full period is 300 user units, so this loops seamlessly */
@keyframes waveShift {
  from { transform: translateX(0); }
  to   { transform: translateX(-300px); }
}

/* ==========================================================================
   Reveal animation
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero h1, .lede { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-portrait { order: -1; width: min(240px, 62vw); }
  .about-grid, .reach-inner { grid-template-columns: 1fr; }
  .section-head h2 { max-width: none; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-toggle { display: flex; }
  .nav {
    position: absolute; top: calc(100% + 1px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: .2rem;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: .8rem var(--gutter) 1.2rem;
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .8rem 1rem; border-radius: 10px; font-size: 1rem; }
  .nav .nav-cta { margin-left: 0; margin-top: .35rem; text-align: center; }
  .portrait-badge { right: -4px; bottom: 4px; padding: .55rem .8rem; }
  .portrait-badge strong { font-size: 1.3rem; }
  .footer-inner { justify-content: center; text-align: center; }
  .footer-meta, .footer-tag { width: 100%; text-align: center; }
}

@media (max-width: 460px) {
  .stats-inner { grid-template-columns: 1fr; }
  .timeline { padding-left: 1.6rem; }
  .tl-dot { left: -1.6rem; }
}

/* ==========================================================================
   Motion & print
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .glyphs i, .wave path, .hero-grid { animation: none !important; }
}

@media print {
  .site-header, .hero-actions, .nav-toggle, .hero-grid,
  .glyphs, .wave, .shot, .lightbox { display: none !important; }
  .reviews { columns: 2; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .section { padding: 1rem 0; }
  .contact, .site-footer { background: #fff; color: #000; }
  .footer-tag { color: #666; }
  .footer-tag strong { color: #222; }
  .reveal { opacity: 1; transform: none; }
  a { text-decoration: none; }
}
