/* Tiffany Fernandez — design system v1.0 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --paper: #FAFAF7;
  --surface: #FFFFFF;
  --teal: #054B4B;
  --teal-hover: #043C3C;
  --text: #253A36;
  --text-muted: #52635E;
  --post-it: #F7DD68;
  --manila: #E8D6B1;
  --manila-soft: #F1E7D4;
  --rule: #C4CECA;
  --control-border: #738A83;
  --focus: #054B4B;
  --font-main: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-note: "Caveat", cursive;
  --content-max: 75rem;
  --gutter: clamp(1.25rem, 3vw, 3rem);
  --space-1: .5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-6: 3rem;
  --space-8: 4rem;
  --space-10: 5rem;
  --radius-button: 999px;
  --underline: #FCD655;
  --radius-paper: .875rem;
  --shadow-paper: 0 8px 22px rgb(37 58 54 / .10), 0 1px 3px rgb(37 58 54 / .12);
  --wrap: 1200px;
}

html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-main);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: .2em; }
p { max-width: 65ch; }
h1, h2, h3 { color: var(--teal); letter-spacing: -.03em; }
h1 { font-size: clamp(2.5rem, 5.2vw, 4.25rem); line-height: 1.02; font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.85rem); line-height: 1.08; font-weight: 800; letter-spacing: -.035em; margin-bottom: 1.25rem; }
h3 { font-size: clamp(1.4375rem, 2vw, 1.75rem); line-height: 1.2; font-weight: 700; }
em { font-style: italic; }

.wrap { width: min(var(--content-max), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--teal); color: #fff; padding: 8px 14px; border-radius: var(--radius-button); z-index: 200; }
.skip:focus { left: 8px; }
:where(a, button, input, textarea, select):focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.nowrap { white-space: nowrap; }
.muted { color: var(--text-muted); }

/* ── Buttons ── */
.btn, .button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 44px; padding: .7rem 1.15rem;
  border: 1.5px solid var(--teal); border-radius: var(--radius-button);
  font: 700 .95rem/1.3 var(--font-main);
  text-decoration: none; background: var(--teal); color: #fff; cursor: pointer;
  transition: background-color 180ms ease-out, color 180ms ease-out, border-color 180ms ease-out, transform 180ms ease-out;
}
.btn-secondary, .button-secondary { background: transparent; color: var(--teal); }
.btn-block { width: 100%; }
.btn-ink, .btn-sage { background: var(--teal); color: #fff; border-color: var(--teal); }
.btn-ghost { background: transparent; color: var(--teal); border-color: var(--teal); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover, .button:hover, .btn-ink:hover, .btn-sage:hover { background: var(--teal-hover); border-color: var(--teal-hover); color: #fff; }
  .btn-secondary:hover, .button-secondary:hover, .btn-ghost:hover { background: var(--teal); color: #fff; }
}

/* ── Nav ── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: .85rem var(--gutter);
  background: rgb(250 250 247 / .92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease-out;
}
.nav.scrolled { border-bottom-color: var(--rule); }
.wordmark {
  color: var(--teal);
  font-size: clamp(1.4375rem, 2.2vw, 1.75rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -.04em;
  text-decoration: none; flex: none;
}
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1.35rem 1.6rem; list-style: none; }
.nav-links a {
  font: 600 .9375rem/1.3 var(--font-main);
  color: var(--text); text-decoration: none;
}
.nav-links a:hover { color: var(--teal); }
.nav-cta { flex: none; }
.nav-cta-mobile { display: none; }
.nav-toggle {
  display: none; background: none; border: 0;
  width: 44px; height: 44px; cursor: pointer; position: relative; flex: none;
}
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--teal); transition: transform .2s, top .2s; }
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { top: 26px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ── Sections ── */
.section { padding-block: clamp(2.5rem, 5vw, 5.5rem); border-top: 1px solid var(--rule); }
.section-statement { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); font-weight: 400; color: var(--text-muted); max-width: 38em; margin: 0 0 2rem; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2rem; }
.section-head h2 { margin: 0; }
.text-link { color: var(--teal); font-weight: 600; text-decoration: underline; text-underline-offset: .2em; }

/* ── Hero ── */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(7rem, 12vw, 8.5rem) 0 clamp(3rem, 6vw, 5rem); background: var(--paper); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; position: relative; }
.hero-title { margin: 0 0 1.15rem; }
.scales { position: relative; display: inline-block; }
.scales-line {
  position: absolute; left: 0; width: 96%;
  bottom: -.18em; height: .28em;
  color: var(--underline);
  pointer-events: none; overflow: visible;
}
.hero-statement { font-size: clamp(1.05rem, 1.5vw, 1.2rem); font-weight: 600; color: var(--text); line-height: 1.4; max-width: none; margin: 0 0 .2rem; }
.hero-veteran { font-size: clamp(1.05rem, 1.5vw, 1.2rem); font-weight: 600; color: var(--text); line-height: 1.4; margin: 0 0 .75rem; }
.hero-lane { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.55; color: var(--text-muted); margin: 0 0 1.75rem; max-width: 30em; }
.actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.hero-extra { margin: 1.1rem 0 0; font-weight: 600; }
.hero-extra a { color: var(--teal); }

.hero-portrait { position: relative; justify-self: end; width: min(100%, 30rem); padding: 1.5rem 3.2rem 0 0; }
.polaroid {
  --tilt: -2deg;
  margin: 0;
  padding: 0;
  background: none;
  position: relative;
  transform: rotate(var(--tilt));
  filter: drop-shadow(0 2px 3px rgb(37 58 54 / .10)) drop-shadow(0 14px 24px rgb(37 58 54 / .16));
  transition: transform 220ms ease-out, filter 220ms ease-out;
}
.polaroid .tape {
  position: absolute;
  top: -16px; left: 50%;
  width: 5.8rem; height: 1.7rem;
  margin-left: -2.9rem;
  background: url("../img/washi-tape.png") center / 100% 100% no-repeat;
  transform: rotate(3deg);
  pointer-events: none;
  z-index: 3;
  opacity: .92;
  filter: drop-shadow(0 1px 1px rgb(37 58 54 / .18));
}
.polaroid-mat { display: block; width: 100%; line-height: 0; }
.polaroid-mat img { display: block; width: 100%; height: auto; }
.polaroid-photo {
  position: absolute;
  overflow: hidden;
  z-index: 1;
  background: #E8E0D4;
  /* square frame window, % of the asset */
  top: 3.64%;
  left: 3.30%;
  right: 3.20%;
  bottom: 16.98%;
  border-radius: 3px;
}
.polaroid-photo::after {
  content: "";
  position: absolute; inset: 0;
  box-shadow: inset 0 0 8px rgb(40 30 18 / .22), inset 0 1px 2px rgb(0 0 0 / .14);
  pointer-events: none;
}
.polaroid-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.polaroid--portrait { --tilt: 2.1deg; width: 100%; }
.polaroid--portrait .tape { transform: rotate(2.5deg); width: 6.1rem; height: 1.75rem; margin-left: -3.05rem; }
.polaroid--portrait .polaroid-photo img { object-position: center 15%; }
.polaroid--event { --tilt: -1.6deg; width: 100%; }
.polaroid--event .tape { transform: rotate(-3deg); left: 42%; margin-left: -2.2rem; width: 4.8rem; }
.polaroid--event .polaroid-photo {
  top: 9.85%;
  left: 7.35%;
  right: 6.15%;
  bottom: 24.40%;
  border-radius: 2px;
}
.polaroid--event .polaroid-photo::after { box-shadow: inset 0 0 5px rgb(40 30 18 / .16); }
.polaroid--event .polaroid-photo img { object-position: 46% 48%; }
.polaroid--softball { --tilt: -3.2deg; width: 220px; }
.polaroid--softball .tape { transform: rotate(4deg); width: 4.4rem; margin-left: -2.2rem; }
.polaroid--softball .polaroid-photo img { object-position: 50% 0%; }
.polaroid figcaption {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 0;
  height: 16.98%;
  margin: 0;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  font: 500 clamp(1.3125rem, 1.8vw, 1.625rem)/1.2 var(--font-note);
  color: var(--text);
  z-index: 2;
  pointer-events: none;
}
.polaroid--event figcaption { height: 24.90%; }
.polaroid--softball figcaption {
  left: 5%;
  right: 5%;
  font: 500 1rem/1.12 var(--font-note);
  overflow: hidden;
}
@media (hover: hover) and (pointer: fine) {
  .polaroid:hover {
    transform: translateY(-5px) rotate(calc(var(--tilt) * .25));
    filter: drop-shadow(0 3px 4px rgb(37 58 54 / .10)) drop-shadow(0 18px 28px rgb(37 58 54 / .18));
    z-index: 2;
  }
}

.post-it {
  position: absolute;
  right: 0; top: 2.4rem; left: auto; bottom: auto;
  background: var(--post-it);
  color: var(--text);
  padding: 1.05rem 1.1rem;
  font: 500 1.4rem/1.2 var(--font-note);
  box-shadow: var(--shadow-paper);
  transform: rotate(7deg);
  max-width: 9.6rem;
  z-index: 3;
  pointer-events: none;
}

/* ── Credibility ── */
.credibility { border-top: 1px solid var(--rule); padding: 2rem 0 1.85rem; }
.credibility-inner { text-align: center; }
.credibility-names {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .7rem 0;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem); font-weight: 800; letter-spacing: -.03em;
  color: var(--teal); margin: 0 0 .4rem; max-width: none; line-height: 1.2;
}
.cred-rule {
  display: inline-block;
  width: 1px;
  height: .82em;
  margin: 0 1.15rem;
  background: currentColor;
  opacity: .72;
  flex-shrink: 0;
}
.credibility .muted { margin: 0 auto; max-width: none; font-size: .98rem; }

/* ── Quote strip ── */
.quote-strip { background: var(--teal); color: var(--paper); padding: clamp(2.75rem, 5vw, 4.5rem) 0; border-top: 0; }
.quote-strip-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(13.5rem, 18rem);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.quote-strip-inner { margin: 0; text-align: left; }
.quote-strip blockquote p {
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  font-weight: 700; line-height: 1.2; letter-spacing: -.03em;
  color: var(--paper); max-width: 16em; margin: 0;
}
.quote-strip figcaption { margin-top: .8rem; font-family: var(--font-note); font-size: 1.6rem; font-weight: 600; color: #F1E7D4; transform: rotate(-2deg); transform-origin: left center; }

.skill-card {
  list-style: none;
  margin: 0 auto;
  padding: 1.15rem 1.55rem 1.2rem;
  background-color: #FBF8F3;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 1.85rem,
    rgb(5 75 75 / .10) 1.85rem,
    rgb(5 75 75 / .10) 1.9rem
  );
  background-origin: border-box, content-box;
  background-clip: border-box, content-box;
  background-position: 0 0, 0 .55rem;
  color: var(--teal);
  font: 500 1.5rem/1.85rem var(--font-note);
  transform: rotate(-1.6deg);
  box-shadow: 0 1px 2px rgb(20 30 28 / .10), 0 10px 22px rgb(20 30 28 / .18);
  width: min(100%, 18rem);
}
.skill-card li { margin: 0; padding: 0; }

/* ── Hero workspace: faint grid paper ── */
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero-gridpaper {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(5,75,75,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(5,75,75,.045) 1px, transparent 1px),
    linear-gradient(rgba(5,75,75,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(5,75,75,.07) 1px, transparent 1px);
  background-size: 28px 28px, 28px 28px, 112px 112px, 112px 112px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 40%, transparent 82%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 40%, transparent 82%);
  opacity: .9;
}
.blob { position: absolute; border-radius: 50%; will-change: transform; }
.blob-a {
  width: 62vw; height: 62vw; max-width: 820px; max-height: 820px; right: -14vw; top: -10vw;
  background: radial-gradient(circle closest-side at 50% 50%, rgba(5,75,75,.08) 0%, rgba(5,75,75,.03) 55%, rgba(5,75,75,0) 100%);
  animation: driftA 26s ease-in-out infinite alternate;
}
.blob-b {
  width: 46vw; height: 46vw; max-width: 600px; max-height: 600px; left: -16vw; bottom: -18vw;
  background: radial-gradient(circle closest-side at 50% 50%, rgba(232,214,177,.42) 0%, rgba(232,214,177,0) 100%);
  animation: driftB 32s ease-in-out infinite alternate;
}
.blob-c {
  width: 34vw; height: 34vw; max-width: 440px; max-height: 440px; left: 38%; top: 8%;
  background: radial-gradient(circle closest-side at 50% 50%, rgba(255,255,255,.75) 0%, rgba(255,255,255,0) 100%);
  animation: driftC 22s ease-in-out infinite alternate;
}
@keyframes driftA { 0% { transform: translate3d(0,0,0) scale(1) rotate(0deg); } 50% { transform: translate3d(-5vw,4vw,0) scale(1.08) rotate(25deg); } 100% { transform: translate3d(-2vw,-3vw,0) scale(.95) rotate(-15deg); } }
@keyframes driftB { 0% { transform: translate3d(0,0,0) scale(1); } 100% { transform: translate3d(8vw,-6vw,0) scale(1.15); } }
@keyframes driftC { 0% { transform: translate3d(0,0,0) scale(.9); } 100% { transform: translate3d(-6vw,5vw,0) scale(1.1); } }

/* ── Folders ── */
.folder-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.1rem 1.85rem; align-items: stretch; }
.work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.folder {
  container-type: inline-size;
  position: relative;
  display: flex;
  flex-direction: column;
}
.folder-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  border-style: solid;
  border-color: transparent;
  /* widths tied to card width so the tab and corners don't stretch with height */
  border-width: 12.20cqw 4.47cqw 5.30cqw 6.06cqw;
  border-image-source: url("../img/folder.png");
  border-image-source: image-set(
    url("../img/folder.webp") type("image/webp"),
    url("../img/folder.png") type("image/png")
  );
  border-image-slice: 110 40 48 55 fill;
  border-image-repeat: stretch;
  /* text inset on the cream card, inside the 9-slice center */
  padding: 1.2rem 1.3rem 1.55rem 1.35rem;
  min-height: 16rem;
}
.folder-card h3 { margin: 0 0 .65rem; font-weight: 800; color: var(--teal); }
.folder-card p { margin: 0; color: var(--text); font-size: 1rem; font-weight: 400; }
.work-grid.filtering .folder { opacity: .42; }
.work-grid.filtering .folder.active {
  opacity: 1;
  outline: 2px solid var(--teal);
  outline-offset: 4px;
  border-radius: 12px;
}

/* ── Filter chips ── */
.picker { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin-bottom: 1.5rem; }
.picker-label { font-weight: 700; margin-right: .25rem; }
.chip {
  font: 600 .9375rem/1.3 var(--font-main);
  min-height: 44px; padding: .55rem 1rem;
  border-radius: var(--radius-button);
  background: var(--surface); border: 1px solid var(--control-border); color: var(--text);
  cursor: pointer;
  transition: background-color 180ms ease-out, color 180ms ease-out, border-color 180ms ease-out;
}
@media (hover: hover) and (pointer: fine) {
  .chip:hover { border-color: var(--teal); color: var(--teal); }
}
.chip[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }

/* ── About ── */
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.prose p { margin-bottom: 1.15em; color: var(--text); font-size: 1.05rem; }
.prose strong { font-weight: 700; }
.about-side { position: sticky; top: 6.5rem; display: grid; gap: 1.5rem; }
.quote {
  background: var(--teal); color: var(--paper);
  border-radius: var(--radius-paper);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.quote p { font-size: clamp(1.25rem, 2vw, 1.55rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.25; margin: 0 0 1rem; max-width: none; }
.quote cite { font-style: normal; font-size: .95rem; font-weight: 600; color: var(--manila-soft); }
.facts { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--rule); border-radius: var(--radius-paper); overflow: hidden; background: var(--surface); }
.facts > div { padding: 1.1rem 1.2rem; border-top: 1px solid var(--rule); }
.facts > div:nth-child(-n+2) { border-top: 0; }
.facts > div:nth-child(odd) { border-right: 1px solid var(--rule); }
.facts > div:last-child { grid-column: 1 / -1; border-right: 0; }
.facts dt { font-size: .9rem; font-weight: 700; color: var(--text-muted); margin-bottom: 2px; }
.facts dd { font-size: 1.05rem; font-weight: 600; color: var(--teal); }

.field-moment { display: grid; grid-template-columns: 220px 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: center; margin-top: clamp(1.75rem, 3vw, 2.5rem); }
.field-copy p { font-size: 1rem; color: var(--text-muted); }
.field-sources { margin-top: .5rem; font-size: .8rem !important; color: var(--text-muted) !important; }

/* ── Speaking ── */
.speaking-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.stage-prose p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 1.1em; }
.stage-prose a { color: var(--teal); }
.stage-prose a.btn { color: #fff; text-decoration: none; }
.stage-ask { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-bottom: 0; color: var(--text) !important; font-weight: 500; }

/* ── Services ── */
.pillars { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.25rem; margin-top: .75rem; }
.pillar { grid-column: span 2; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-paper); padding: clamp(1.4rem, 2.5vw, 2rem); }
.pillar:nth-child(n+4) { grid-column: span 3; }
.pillar h3 { margin-bottom: .6rem; }
.pillar p { font-size: 1rem; color: var(--text-muted); margin: 0; max-width: none; }

/* ── Guides (inside AI Work) ── */
.work .guides-box { margin-top: clamp(3rem, 6vw, 4.5rem); }
.guides-box {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start;
  background: var(--manila-soft); border-radius: calc(var(--radius-paper) * 1.2);
  padding: clamp(1.75rem, 4vw, 3.5rem);
}
.guides-box .section-statement { margin-bottom: 1.5rem; }
.guides-box h2 { margin-bottom: 1.25rem; }
.guide-parts { list-style: none; display: grid; gap: 1rem; }
.guide-parts li { font-size: 1rem; color: var(--text); }
.guide-parts strong { color: var(--teal); }
.guides-form { background: var(--surface); border-radius: var(--radius-paper); padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: var(--shadow-paper); }
.guides-form h3 { margin-bottom: .4rem; }
.guides-form > p { color: var(--text-muted); margin-bottom: 1.15rem; }
.guides-form input {
  width: 100%; font: 400 1rem/1.4 var(--font-main);
  padding: .85rem 1rem; margin-bottom: .75rem;
  border: 1px solid var(--control-border); border-radius: var(--radius-button);
  background: var(--paper); color: var(--text);
}
.guides-form input:focus { outline: 3px solid var(--focus); outline-offset: 3px; background: var(--surface); }
.form-msg { margin-top: .75rem; font-size: .95rem; color: #9C2F22; }
.guides-form .text-link { display: inline-block; margin-top: 1rem; }

/* ── Book ── */
.book { background: var(--teal); color: var(--paper); border-top: 0; }
.book h2, .book .section-title { color: var(--paper); }
.book .section-statement { color: #E4EDEB; }
.book-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.book-email { margin: 1.5rem 0 0; color: #E4EDEB; }
.book-email a { color: #fff; }
.book-card {
  display: flex; flex-direction: column;
  background: var(--surface); color: var(--text);
  border-radius: var(--radius-paper);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  text-decoration: none;
  box-shadow: var(--shadow-paper);
  transition: transform 180ms ease-out, box-shadow 180ms ease-out;
}
.book-card-feature { outline: 2px solid var(--post-it); outline-offset: 0; }
.book-meta { font-size: .95rem; font-weight: 600; color: var(--text-muted); margin-bottom: .75rem; }
.book-card h3 { margin-bottom: .5rem; }
.book-card p { color: var(--text-muted); margin-bottom: 1.4rem; flex: 1; max-width: none; }
.book-link { font-weight: 700; color: var(--teal); }
@media (hover: hover) and (pointer: fine) {
  .book-card:hover { transform: translateY(-3px); }
}

/* ── Footer ── */
.footer { background: var(--paper); color: var(--text-muted); padding: 2rem 0 2.4rem; border-top: 1px solid var(--rule); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.1rem; }
.footer .wordmark, .footer-name { color: var(--teal); margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; list-style: none; }
.footer-links a { color: var(--text); text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--teal); text-decoration: underline; }
.footer-copy { font-size: .9rem; margin: 0; max-width: none; }
.footer-quiet { color: var(--text-muted); }

/* ── Motion ── */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity 200ms ease-out, transform 200ms ease-out; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .polaroid, .book-card, .chip { transition: none; }
  .polaroid:hover { transform: rotate(var(--tilt)); }
  .book-card:hover { transform: none; }
  .blob { animation: none !important; }
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .nav-links { gap: 1rem 1.15rem; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillar, .pillar:nth-child(n+4) { grid-column: span 1; }
  .pillar:last-child { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--rule);
    padding: .5rem var(--gutter) 1.15rem;
  }
  .nav-links.open li a { display: block; padding: 14px 0; min-height: 44px; border-bottom: 1px solid var(--rule); }
  .nav-links.open .nav-cta-mobile { display: block; }
  .nav-links.open .nav-cta-mobile a { border-bottom: 0; font-weight: 700; color: var(--teal); }
}
@media (max-width: 900px) {
  .hero-grid, .speaking-grid, .about-grid, .guides-box, .book-grid, .quote-strip-grid { grid-template-columns: 1fr; }
  .quote-strip-inner { text-align: center; }
  .quote-strip blockquote p { margin-inline: auto; }
  .skill-card { transform: rotate(1.2deg); }
  .hero-portrait { justify-self: center; width: min(100%, 26rem); padding: 1.2rem 0 0; }
  .post-it { position: static; transform: rotate(4deg); margin: 1.25rem auto 0; }
  .about-side { position: static; }
  .polaroid--event { width: min(100%, 30rem); margin-inline: auto; }
}
@media (max-width: 700px) {
  .folder-grid, .work-grid { grid-template-columns: 1fr; gap: 2rem; }
  .polaroid { --tilt: -1deg; }
  .polaroid--event { --tilt: 1deg; }
  .actions { align-items: stretch; }
  .actions .btn { flex: 1 1 auto; }
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar:nth-child(n+4), .pillar:last-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .field-moment { grid-template-columns: 1fr; justify-items: center; }
  .polaroid--softball { width: 230px; }
  .picker-label { width: 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .hero { padding-top: 6.25rem; }
}

