/*
 * Landing hero: a dark gallery room. The placard (you) is the subject, small
 * ASCII flowers grow out from behind the buttons, and the floor is still water.
 */
:root {
  --bg: #000;
  --ui-fg: rgba(255, 236, 220, 0.82);
  --ui-fg-strong: #fff;
  --ui-bg: rgba(0, 0, 0, 0.55);
  --ui-border: rgba(255, 255, 255, 0.16);
  --ui-focus: #ff9a4d;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino", Georgia, serif;
  --text: rgba(255, 244, 248, 0.94);
  --text-dim: rgba(255, 230, 240, 0.72);
  --pink: #ff4fa3;          /* the lily */
  --aqua: #5fe9ff;          /* the water */
  --water-y: 78%;           /* where the floor of the room is */
}

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

html, body {
  margin: 0;
  background: var(--bg); /* true black, matches the video's background exactly */
  color: var(--ui-fg);
}

.ascii-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}

/* ------------------------------------------------------------------ exhibit */
.exhibit {
  position: absolute;
  inset: 0;
  pointer-events: none;
  user-select: none;
}

/* A soft vignette: the room falls off into darkness at its edges. */
.exhibit__shade {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 75% 80% at 50% 45%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.55) 100%);
}

/* The floor: a hairline of light at the waterline and a slow shimmer under it.
   (No longer in index.html: the line read as a stray rule once the flower it
   reflected was gone. The rules stay for the other pages.) */
.exhibit__water {
  position: absolute;
  left: 0;
  right: 0;
  top: auto;
  height: clamp(120px, 18%, 220px);
  bottom: 0;
  background:
    linear-gradient(to bottom, rgba(95, 233, 255, 0.28), rgba(95, 233, 255, 0) 2px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.8));
}
.exhibit__water::before,
.exhibit__water::after {
  content: "";
  position: absolute;
  left: -20%;
  right: -20%;
  top: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    178deg,
    rgba(95, 233, 255, 0) 0 22px,
    rgba(95, 233, 255, 0.045) 23px 25px,
    rgba(255, 79, 163, 0.035) 26px 27px,
    rgba(95, 233, 255, 0) 28px 56px
  );
  mix-blend-mode: screen;
  animation: shimmer 14s linear infinite;
}
.exhibit__water::after {
  background-image: repeating-linear-gradient(
    -178.5deg,
    rgba(95, 233, 255, 0) 0 31px,
    rgba(95, 233, 255, 0.04) 32px 34px,
    rgba(95, 233, 255, 0) 35px 70px
  );
  animation-duration: 23s;
  animation-direction: reverse;
}
@keyframes shimmer {
  from { transform: translateX(0); }
  to   { transform: translateX(10%); }
}

/* ------------------------------------------------------------------ placard */
/* Exhibit number, hung vertically at the far left like a caption in a gallery. */

.landing {
  position: relative;
  z-index: 1;
  margin: 0 max(48px, 6vw) 0 max(64px, 7vw);
  padding: clamp(28px, 5vh, 64px) 0 clamp(56px, 9vh, 110px);   /* the bottom gap is the water */
  width: 100%;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);   /* me on the left, where I've been on the right */
  grid-template-rows: 1fr auto;                                 /* the text, then the buttons along the bottom */
  column-gap: clamp(32px, 5vw, 96px);
  align-items: center;
  /* Visible at once: plain HTML, nothing waits for the video; the fade takes 0.4 s. */
  animation: placard-in 400ms ease-out both;
}
@keyframes placard-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

/* Memoji avatar: a neon-ringed disc above the greeting (assets/img/memoji.webp, transparent). */
.placard__avatar {
  display: block;
  width: clamp(96px, 9vw, 136px);
  height: auto;
  aspect-ratio: 1;
  margin: 0 0 22px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 12%;
  background: radial-gradient(circle at 50% 35%, rgba(95, 233, 255, 0.22), rgba(10, 12, 16, 0.95) 72%);
  border: 2px solid rgba(95, 233, 255, 0.8);
  box-shadow:
    0 0 1px rgba(95, 233, 255, 0.9),
    0 0 14px rgba(95, 233, 255, 0.35),
    0 0 40px rgba(255, 79, 163, 0.22),
    inset 0 0 16px rgba(95, 233, 255, 0.14);
  animation: neon-breathe 4.2s ease-in-out infinite;
}
.placard__eyebrow {
  margin: 0 0 16px;
  font: 600 clamp(14px, 1.15vw, 17px)/1 var(--mono);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--aqua);
}

.placard__title {
  margin: 0;
  font: 300 clamp(52px, 6.6vw, 104px)/0.98 var(--serif);
  font-style: italic;
  letter-spacing: -0.01em;
  color: #fff;
  text-shadow: 0 0 40px rgba(255, 79, 163, 0.35);
}

.placard__role {
  margin: 18px 0 0;
  font: 400 clamp(17px, 1.5vw, 21px)/1.3 var(--serif);
  letter-spacing: 0.04em;
  color: var(--text);
}
.placard__dot { color: var(--pink); margin: 0 0.35em; }
.placard__role a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 79, 163, 0.45);
  transition: color 160ms ease, border-color 160ms ease;
}
.placard__role a:hover { color: #fff; border-bottom-color: var(--pink); }
.placard__icon {
  display: inline-block;
  height: 1.2em;
  width: auto;
  vertical-align: -0.2em;
  margin-right: 0.5em;
}

.placard__bio {
  margin: 22px 0 0;
  max-width: 46ch;
  padding-left: 18px;
  border-left: 1px solid rgba(255, 79, 163, 0.55);
  font: 400 clamp(15px, 1.15vw, 17px)/1.65 var(--serif);
  color: var(--text-dim);
}
/* The summary: "currently:" and "previously:" lists under the bio. */
.placard__intro { min-width: 0; }
.placard__orgs { min-width: 0; max-width: 56ch; display: grid; gap: 14px; }
/* Each list in its own panel: a titled, neon-edged card. "Currently" in aqua, "Previously" in pink. */
.org-panel {
  --edge: 95, 233, 255;
  position: relative;
  padding: 16px 18px 14px;
  border: 1px solid rgba(var(--edge), 0.28);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(var(--edge), 0.06), rgba(var(--edge), 0.015) 60%, rgba(0, 0, 0, 0)), rgba(6, 8, 12, 0.7);
  box-shadow: 0 0 1px rgba(var(--edge), 0.5), 0 0 24px rgba(var(--edge), 0.08), inset 0 0 18px rgba(var(--edge), 0.04);
}
.org-panel--then { --edge: 255, 79, 163; }
.org-panel .placard__summary-title { margin: 0 0 10px; padding-bottom: 10px; border-bottom: 1px solid rgba(var(--edge), 0.22); color: rgb(var(--edge)); }
.placard__summary-title {
  margin: 22px 0 10px;
  font: 600 clamp(12px, 0.95vw, 14px)/1 var(--mono);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--aqua);
}
.placard__list {
  margin: 0; padding: 0; list-style: none;
  font: 400 clamp(16px, 1.2vw, 18px)/1.5 var(--serif);
  color: var(--text-dim);
}
.placard__list li { display: flex; align-items: flex-start; gap: 10px; margin: 8px 0; }
.placard__list li:last-child { margin-bottom: 0; }
/* the organisation's mark: on a small light tile, so dark logos read on the black room */
.org-icon {
  flex: none; width: 24px; height: 24px; margin-top: 0.1em;
  padding: 3px; border-radius: 6px; background: #f4f1ea;
  object-fit: contain; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 0 10px rgba(95, 233, 255, 0.18);
}
.org-icon--wide { padding: 4px 2px; }
.placard__list strong { font-weight: 600; color: var(--text); }
.placard__list a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid rgba(95, 233, 255, 0.4);
  transition: color 160ms ease, border-color 160ms ease;
}
.placard__list a:hover { color: #fff; border-bottom-color: var(--aqua); }

.placard__nav {
  display: flex;
  flex-wrap: wrap;          /* one line when it fits, two on narrower windows */
  width: auto;
  max-width: 100%;
  gap: 10px;
  margin-top: 112px;        /* room for the flowers growing out of the buttons */
}
/* Each button in a wrapper so its flower can sit behind it. */
.placard__nav-item { position: relative; display: inline-flex; }
/* The flowers growing out of the buttons: Projects a mini of the big pink
   bloom, GitHub the gladiolus spike, Résumé the orchid. Each clip is black
   around the flower; the black vanishes on the black room, screen blending
   lets neighbours overlap, and a radial mask fades each one out before its
   frame does. */
.sprout {
  position: absolute;
  left: 50%;
  bottom: 55%;
  width: 190px;             /* height follows the clip's aspect */
  height: auto;
  z-index: -1;              /* behind the button and its glow */
  mix-blend-mode: screen;
  pointer-events: none;
  transform-origin: 50% 100%;
  transform: translateX(-48%) rotate(-4deg);
  filter: saturate(1.25) brightness(1.15);
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 55%, #000 50%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 55%, #000 50%, transparent 100%);
}
.placard__nav-item:nth-child(3) .sprout {
  width: 92px;
  bottom: 45%;
  transform: translateX(-50%) rotate(3deg);
  -webkit-mask-image: radial-gradient(ellipse 50% 55% at 50% 60%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 55% at 50% 60%, #000 55%, transparent 100%);
}
.placard__nav-item:nth-child(5) .sprout { width: 170px; transform: translateX(-50%) rotate(3deg); }
.placard__nav a,
.placard__contact-toggle {
  --glow: 79, 209, 255;      /* aqua; the first button overrides with pink */
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid rgba(var(--glow), 0.6);
  border-radius: 999px;
  background: rgba(var(--glow), 0.07);
  /* neon: a thin bright rim and an even halo all the way round, inside and out */
  box-shadow:
    0 0 1px rgba(var(--glow), 0.95),
    0 0 10px rgba(var(--glow), 0.45),
    0 0 26px rgba(var(--glow), 0.28),
    inset 0 0 10px rgba(var(--glow), 0.18);
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(var(--glow), 0.95);
  text-shadow: 0 0 8px rgba(var(--glow), 0.55);
  text-decoration: none;
  animation: neon-breathe 4.2s ease-in-out infinite;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 240ms ease, transform 180ms ease;
}
.placard__nav-item:nth-child(2) a { animation-delay: -0.9s; }
.placard__nav-item:nth-child(3) a { animation-delay: -1.8s; }
.placard__nav-item:nth-child(4) a { animation-delay: -2.7s; }
.placard__nav-item:nth-child(5) a { animation-delay: -3.6s; }
@keyframes neon-breathe {
  0%, 100% { filter: brightness(0.92); }
  50%      { filter: brightness(1.12); }
}
.placard__nav a:hover,
.placard__contact-toggle:hover,
.placard__contact-toggle[aria-expanded="true"] {
  color: #fff;
  border-color: rgba(var(--glow), 1);
  background: rgba(var(--glow), 0.16);
  box-shadow:
    0 0 2px rgba(var(--glow), 1),
    0 0 16px rgba(var(--glow), 0.75),
    0 0 40px rgba(var(--glow), 0.45),
    inset 0 0 14px rgba(var(--glow), 0.3);
  text-shadow: 0 0 10px rgba(var(--glow), 0.9), 0 0 2px #fff;
  transform: translateY(-1px);
  animation: none;
  filter: none;
}
.placard__nav-item:first-child a { --glow: 255, 79, 163; }
.placard__nav-icon {
  width: 14px;
  height: 14px;
  flex: none;
  filter: drop-shadow(0 0 5px rgba(var(--glow), 0.8));
}
.placard__nav-icon--line { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.landing a:focus-visible,
.placard__contact-toggle:focus-visible { outline: 2px solid var(--aqua); outline-offset: 4px; }

/* ------------------------------------------------------------------ narrow screens */
@media (max-width: 820px), (max-aspect-ratio: 1/1) {
  .ascii-hero { min-height: 100svh; }
  .placard__nav { margin-top: 30px; }
  .sprout { display: none; }
  .exhibit__shade { background: radial-gradient(ellipse 90% 60% at 50% 40%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.5) 100%); }
  .landing {
    left: max(20px, 6vw);
    right: max(20px, 6vw);
    top: auto;
    bottom: max(84px, 12vh);
    max-width: none;
    transform: none;
  }
  @keyframes placard-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: none; }
  }
  .placard__title { font-size: clamp(44px, 12vw, 64px); }
  .placard__avatar { width: 72px; margin-bottom: 14px; }
  .placard__bio, .placard__orgs { max-width: none; }
  .landing { grid-template-columns: 1fr; grid-template-rows: none; min-height: 0; }
  .placard__intro { order: 1; }
  .placard__orgs { order: 2; margin-top: 26px; }
  .placard__nav { order: 3; }
  .placard__nav { flex-wrap: wrap; width: auto; }
}

/* ------------------------------------------------------------------ sprouts: easier to see */
/* The button flowers, bigger and brighter. The clips are dim ASCII on pure
   black, so lifting brightness/contrast pops the colour while the black stays
   black (and invisible); a wider solid centre in the mask keeps more petal. */
.sprout {
  /* resting look: a step below the bloom's peak (js/sprouts.js), so the buttons stay the brightest thing */
  filter: brightness(1.25) contrast(1.12) saturate(1.4);
  -webkit-mask-image: radial-gradient(ellipse 52% 52% at 50% 55%, #000 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 52% 52% at 50% 55%, #000 62%, transparent 100%);
}
/* five flowers in a row: sized so neighbours touch but don't swamp each other */
.placard__nav-item:nth-child(1) .sprout { width: 230px; }
.placard__nav-item:nth-child(2) .sprout { width: 175px; transform: translateX(-50%) rotate(2deg); }   /* Contact: star lily */
.placard__nav-item:nth-child(4) .sprout { width: 175px; transform: translateX(-52%) rotate(-2deg); }  /* LinkedIn: orange lily */
.placard__nav-item:nth-child(3) .sprout {
  width: 115px;
  -webkit-mask-image: radial-gradient(ellipse 52% 56% at 50% 58%, #000 64%, transparent 100%);
  mask-image: radial-gradient(ellipse 52% 56% at 50% 58%, #000 64%, transparent 100%);
}
.placard__nav-item:nth-child(5) .sprout { width: 200px; }
.placard__nav-item:nth-child(6) .sprout { width: 230px; transform: translateX(-50%) rotate(-3deg); }  /* More about me: the big pink bloom */
.placard__nav { grid-column: 1 / -1; align-self: end; margin-top: 190px; }   /* along the bottom; the gap above is for the flowers */
/* Solid dark base under each button's tint, so a flower disappears behind its
   button instead of showing through the label (looks the same on the black room). */
.placard__nav a, .placard__contact-toggle { background: linear-gradient(rgba(var(--glow), 0.07), rgba(var(--glow), 0.07)) #030407; }
.placard__nav a:hover, .placard__contact-toggle:hover, .placard__contact-toggle[aria-expanded="true"] { background: linear-gradient(rgba(var(--glow), 0.16), rgba(var(--glow), 0.16)) #030407; }
/* A button's glow rises in sync with its flower's bloom (js/sprouts.js sets
   --lit-time to the bloom's length and uses the same easing), peaks as the
   flower reaches full size, then fades back, so the eye ends up on the button. */
.placard__nav a.is-lit {
  transition:
    color var(--lit-time, 1900ms) cubic-bezier(0.33, 1, 0.68, 1),
    border-color var(--lit-time, 1900ms) cubic-bezier(0.33, 1, 0.68, 1),
    box-shadow var(--lit-time, 1900ms) cubic-bezier(0.33, 1, 0.68, 1),
    text-shadow var(--lit-time, 1900ms) cubic-bezier(0.33, 1, 0.68, 1);
  color: #fff;
  border-color: rgba(var(--glow), 1);
  background: linear-gradient(rgba(var(--glow), 0.18), rgba(var(--glow), 0.18)) #030407;
  box-shadow:
    0 0 2px rgba(var(--glow), 1),
    0 0 18px rgba(var(--glow), 0.8),
    0 0 46px rgba(var(--glow), 0.5),
    inset 0 0 14px rgba(var(--glow), 0.32);
  text-shadow: 0 0 10px rgba(var(--glow), 0.9), 0 0 2px #fff;
  animation: none;
  filter: none;
}

.placard__nav a.is-fading {
  transition: color 900ms ease, border-color 900ms ease, box-shadow 900ms ease, text-shadow 900ms ease;
}

/* ------------------------------------------------------------------ contact dropdown */
.placard__contact-toggle { cursor: pointer; font-family: var(--mono); }
.placard__caret { width: 12px; height: 12px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 200ms ease; }
.placard__contact-toggle[aria-expanded="true"] .placard__caret { transform: rotate(180deg); }
.placard__menu {
  position: absolute; z-index: 20; left: 0; bottom: calc(100% + 10px);   /* opens upward on desktop: the buttons sit at the foot of the screen */
  min-width: 320px;
  padding: 10px;
  border: 1px solid rgba(95, 233, 255, 0.45); border-radius: 14px;
  background: rgba(5, 7, 11, 0.96);
  box-shadow: 0 0 1px rgba(95, 233, 255, 0.9), 0 0 28px rgba(95, 233, 255, 0.18), 0 18px 40px rgba(0, 0, 0, 0.6);
  animation: menu-in 160ms ease-out both;
}
.placard__menu[hidden] { display: none; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.placard__nav .placard__menu a {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 10px 12px;
  border: 1px solid rgba(var(--glow), 0.25); border-radius: 10px;
  box-shadow: none; animation: none;
  font-size: 12px; letter-spacing: 0.08em; text-transform: none;
}
.placard__nav .placard__menu a + a { margin-top: 6px; }
.placard__nav .placard__menu a span { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.placard__nav .placard__menu a small { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--pink); }
.placard__nav .placard__menu a:hover { transform: none; }
.placard__nav-item:has(.placard__menu:not([hidden])) { z-index: 30; }   /* the open menu sits above the neighbours' flowers */

/* ------------------------------------------------------------------ phones */
/* On phones the page flows instead of pinning everything to one screen (small
   phones scroll), with the water as the floor under the buttons. */
@keyframes placard-in-flow {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
@media (max-width: 820px), (max-aspect-ratio: 1/1) {
  .ascii-hero {
    height: auto;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
  }
  .exhibit__water { top: auto; height: 30svh; }
  .ascii-hero .landing {
    position: relative;
    left: auto; right: auto; top: auto; bottom: auto;
    margin: auto 0 0;                        /* tall phones: content sits low, near the thumb */
    padding: clamp(56px, 12svh, 120px) max(20px, 6vw) calc(88px + env(safe-area-inset-bottom));
    animation-name: placard-in-flow;
  }
  /* "Management Engineering" on one line, "University of Waterloo" on the next */
  .placard__role { line-height: 1.5; }
  .placard__role .placard__dot { display: block; height: 0; overflow: hidden; }
  /* buttons: an even two-column grid of comfortable tap targets */
  .ascii-hero .placard__nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 58px 10px;                          /* tall row gaps: the flowers grow up into them */
    width: 100%;
    margin-top: 84px;
  }
  .ascii-hero .placard__nav-item,
  .ascii-hero .placard__nav a { width: 100%; }
  .ascii-hero .placard__nav a, .ascii-hero .placard__contact-toggle { width: 100%; justify-content: center; min-height: 46px; padding-inline: 10px; letter-spacing: 0.12em; white-space: nowrap; }  /* "More about me" on one line */
  .placard__menu { min-width: 0; width: calc(200% + 10px); bottom: auto; top: calc(100% + 10px); }   /* phones: below the button */
  .placard__nav-item:nth-child(even) .placard__menu { left: auto; right: 0; }
  .ascii-hero .placard__nav-item:last-child:nth-child(odd) { grid-column: 1 / -1; }
  /* the button flowers, shown on phones too, sized for the grid */
  .ascii-hero .placard__nav-item .sprout { display: block; width: 140px; bottom: 50%; }
  .ascii-hero .placard__nav-item:nth-child(3) .sprout { width: 60px; bottom: 40%; }
  .ascii-hero .placard__nav-item:nth-child(5) .sprout { width: 130px; }
  .ascii-hero .placard__nav-item:nth-child(2) .sprout,
  .ascii-hero .placard__nav-item:nth-child(4) .sprout { width: 124px; }
}

/* Phones held sideways: compact,
   and scrollable if the placard is taller than the screen. */
@media (orientation: landscape) and (max-height: 520px) {
  .ascii-hero {
    --water-y: 82%;
    height: auto;
    min-height: 100svh;
    display: block;
  }
  .exhibit__water { top: var(--water-y); height: auto; }
  .ascii-hero .landing {
    position: relative;
    left: auto; right: auto; top: auto; bottom: auto;
    max-width: none;
    margin: 0;
    transform: none;
    padding: 22px max(24px, env(safe-area-inset-right)) 24px max(24px, env(safe-area-inset-left));
    animation-name: placard-in-flow;
  }
  .placard__avatar { display: none; }
  .placard__eyebrow { margin-bottom: 10px; font-size: 12px; }
  .placard__title { font-size: clamp(34px, 6vw, 48px); }
  .placard__role { margin-top: 10px; font-size: 15px; }
  .placard__role .placard__dot { display: inline; height: auto; overflow: visible; }
  .placard__bio { margin-top: 12px; font-size: 14px; line-height: 1.5; }
  .ascii-hero .placard__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 46px 8px;
    width: auto;
    margin-top: 58px;
  }
  .ascii-hero .placard__nav-item,
  .ascii-hero .placard__nav a { width: auto; }
  .ascii-hero .placard__nav a { min-height: 40px; padding: 8px 11px; letter-spacing: 0.1em; }
  .placard__role { white-space: nowrap; }
  .ascii-hero .placard__nav-item:last-child:nth-child(odd) { grid-column: auto; }
  .ascii-hero .placard__nav-item .sprout { display: block; width: 104px; bottom: 50%; }
  .ascii-hero .placard__nav-item:nth-child(3) .sprout { width: 46px; bottom: 40%; }
  .ascii-hero .placard__nav-item:nth-child(5) .sprout { width: 92px; }
  .ascii-hero .placard__nav-item:nth-child(2) .sprout,
  .ascii-hero .placard__nav-item:nth-child(4) .sprout { width: 88px; }
}

/* Short, wide screens (small laptops): tighter spacing so the buttons stay on the first screen. */
@media (min-width: 821px) and (min-aspect-ratio: 1/1) and (max-height: 820px) {
  .landing { padding-top: 20px; padding-bottom: 44px; }
  .placard__avatar { width: 76px; margin-bottom: 12px; }
  .placard__eyebrow { margin-bottom: 10px; }
  .placard__title { font-size: clamp(44px, 5vw, 72px); }
  .placard__role { margin-top: 10px; }
  .placard__bio { margin-top: 14px; }
  .org-panel { padding: 12px 14px 10px; }
  .placard__orgs { gap: 10px; }
  .placard__nav-item .sprout { width: 150px; }
  .placard__nav-item:nth-child(1) .sprout { width: 180px; }
  .placard__nav-item:nth-child(3) .sprout { width: 90px; }
  .placard__nav-item:nth-child(5) .sprout, .placard__nav-item:nth-child(6) .sprout { width: 160px; }
  .placard__nav { margin-top: 150px; }
}

@media (prefers-reduced-motion: reduce) {
  .landing, .exhibit__water::before, .exhibit__water::after { animation: none; }
  .placard__nav a, .placard__nav-icon { transition: none !important; }
  .placard__nav a, .placard__avatar { animation: none; }
}

/* ------------------------------------------------------------------ shared footer */
/* Home · Projects · More about me, at the bottom of the inner pages. */
.site-foot {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) clamp(20px, 6vw, 64px) calc(clamp(40px, 6vw, 72px) + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(95, 233, 255, 0.14);
}
.site-foot__nav { margin: 0; width: auto; flex-wrap: wrap; gap: 10px; }
.site-foot__nav a { min-height: 44px; }
.site-foot__text { margin: 18px 0 0; max-width: 72ch; font: 400 13px/1.6 var(--serif); color: var(--text-dim); opacity: 0.8; }
@media (max-width: 820px), (max-aspect-ratio: 1/1) {
  .site-foot .site-foot__nav { display: flex; width: auto; margin: 0; }
  .site-foot .site-foot__nav a { width: auto; }
}
