/* About page — editorial spreads */
.ab-page {
  --paper: #f6f3ec;
  --ab-ink: #101010;
  --ab-muted: #5d5a55;
  --ab-serif: "Libre Baskerville", Georgia, serif;
  --ab-pad: max(6vw, calc((100vw - 1360px) / 2));
  background: var(--paper);
}

.ab-page em {
  color: var(--blue);
  font-style: italic;
}

.ab-eyebrow,
.ab-chapter-label {
  margin: 0;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.ab-section {
  padding: clamp(80px, 11vw, 170px) var(--ab-pad);
}

.ab-section-title {
  margin: 20px 0 0;
  font-family: var(--ab-serif);
  font-size: clamp(44px, 7vw, 108px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.98;
}

.ab-link {
  display: inline-block;
  margin-top: 22px;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--blue);
  color: var(--ab-ink);
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
}

.ab-link:hover,
.ab-link:focus-visible {
  border-bottom-width: 4px;
}

figure {
  margin: 0;
}

figcaption {
  margin-top: 10px;
  color: var(--ab-muted);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* 02 · Story */
.ab-story {
  background: #fff;
}

.ab-story-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 40px 24px;
  margin-top: 40px;
}

.ab-story-quote {
  grid-column: 1 / 9;
}

.ab-story-quote h2 {
  margin: 0;
  font-family: var(--ab-serif);
  font-size: clamp(36px, 5.6vw, 88px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.ab-story-text {
  grid-column: 6 / 12;
  grid-row: 2;
  padding-top: 20px;
}

.ab-story-text p {
  margin: 0 0 18px;
  color: #2b2a28;
  font-size: 17px;
  line-height: 1.75;
}

.ab-story-text p:first-child::first-letter {
  float: left;
  padding: 6px 10px 0 0;
  color: var(--blue);
  font-family: var(--ab-serif);
  font-size: 64px;
  line-height: 0.8;
}

.ab-story-img img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.ab-story-img-a {
  grid-column: 1 / 5;
  grid-row: 2 / 4;
}

.ab-story-img-b {
  grid-column: 9 / 12;
  grid-row: 3;
  margin-top: -40px;
}

/* 03 · When I'm not designing */
.ab-wnd {
  background: #ece7dc;
}

.ab-wnd-track {
  height: 280vh;
}

.ab-wnd-sticky {
  position: sticky;
  top: 68px;
  display: grid;
  height: calc(100vh - 68px);
  min-height: 560px;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 90px);
  padding: clamp(28px, 4vh, 56px) var(--ab-pad);
}

.ab-wnd-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ab-wnd-side h2 {
  margin: 18px 0 clamp(24px, 5vh, 56px);
  font-family: var(--ab-serif);
  font-size: clamp(40px, 5vw, 80px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  text-transform: uppercase;
}

.ab-wnd-nav {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ab-wnd-nav button {
  display: flex;
  align-items: baseline;
  gap: 16px;
  width: 100%;
  padding: 10px 0;
  border: 0;
  background: none;
  color: rgb(16 16 16 / 32%);
  cursor: pointer;
  font-family: var(--ab-serif);
  font-size: clamp(28px, 3.4vw, 52px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-align: left;
  transition: color 400ms ease, transform 400ms ease;
}

.ab-wnd-nav button span {
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.ab-wnd-nav button:hover {
  color: rgb(16 16 16 / 65%);
}

.ab-wnd-nav button[aria-current="true"] {
  color: var(--blue);
  font-style: italic;
  transform: translateX(10px);
}

.ab-wnd-panels {
  position: relative;
  min-height: 0;
}

.ab-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 3vh, 32px);
  visibility: hidden;
  opacity: 0;
  transition: opacity 600ms ease, visibility 0s linear 600ms;
}

.ab-panel.is-active {
  visibility: visible;
  opacity: 1;
  transition: opacity 600ms ease;
}

.ab-panel-photos {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
}

.ab-panel-photos img {
  position: absolute;
  display: block;
  object-fit: cover;
  box-shadow: 0 24px 50px rgb(16 16 16 / 18%);
}

.ab-panel-photos img {
  transform: translateY(26px) scale(0.97);
  transition: transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.ab-panel.is-active .ab-panel-photos img {
  transform: none;
}

.ab-panel.is-active .m-b { transition-delay: 120ms; }
.ab-panel.is-active .m-c { transition-delay: 240ms; }

.ab-panel-text {
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 8px 32px;
}

.ab-panel-text h3 {
  margin: 0;
  font-family: var(--ab-serif);
  font-size: clamp(26px, 2.6vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.ab-panel-text h3 span {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-family: inherit;
  font-size: 13px;
  letter-spacing: 0.2em;
}

.ab-panel-text p {
  margin: 0;
  color: #2b2a28;
  font-size: 16px;
  line-height: 1.65;
}

.ab-panel-text .ab-link {
  grid-column: 2;
  margin-top: 0;
  justify-self: start;
}

/* compositions (percentages of the photo box) */
.ab-m-1 .m-a { left: 0; top: 0; width: 46%; height: 100%; }
.ab-m-1 .m-b { right: 0; top: 0; width: 50%; height: 56%; }
.ab-m-1 .m-c { right: 12%; bottom: 0; width: 38%; height: 38%; }

.ab-m-2 .m-a { left: 0; top: 0; width: 60%; height: 60%; }
.ab-m-2 .m-b { right: 0; top: 0; width: 34%; height: 100%; }
.ab-m-2 .m-c { left: 10%; bottom: 0; width: 46%; height: 36%; }

.ab-m-3 .m-a { right: 0; top: 0; width: 62%; height: 52%; }
.ab-m-3 .m-b { left: 0; top: 0; width: 34%; height: 100%; }
.ab-m-3 .m-c { right: 8%; bottom: 0; width: 44%; height: 44%; }

/* 05 · Beliefs */








/* 06 · Sign-off */
.ab-signoff {
  text-align: center;
}

.ab-signoff-copy {
  margin: 0;
  font-family: var(--ab-serif);
  font-size: clamp(26px, 3.4vw, 52px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.ab-signature {
  margin: clamp(30px, 5vw, 70px) 0 0;
  font-family: var(--ab-serif);
  font-size: clamp(64px, 14vw, 220px);
  font-style: italic;
  letter-spacing: -0.04em;
  line-height: 1;
}

.ab-signature span {
  display: inline-block;
  clip-path: inset(-20% -10% -20% -10%);
}

.ab-signoff-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 36px;
  margin: clamp(30px, 4vw, 56px) 0 0;
}

.ab-signoff-links a {
  padding-bottom: 4px;
  border-bottom: 2px solid var(--blue);
  color: var(--ab-ink);
  font-size: 16px;
  font-weight: 650;
  text-decoration: none;
}

.ab-signoff-links a:hover,
.ab-signoff-links a:focus-visible {
  border-bottom-width: 4px;
}

/* motion (only when allowed) */
@media (prefers-reduced-motion: no-preference) {
  .ab-js .ab-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 800ms ease, transform 800ms cubic-bezier(0.2, 0.7, 0.2, 1);
  }

  .ab-js .ab-reveal.is-in {
    opacity: 1;
    transform: none;
  }

  .ab-js .ab-title-line {
    animation: ab-rise 1100ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .ab-js .ab-title-me {
    animation-delay: 140ms;
  }

  .ab-js .ab-signature span {
    clip-path: inset(-20% 100% -20% -10%);
    transition: clip-path 1800ms cubic-bezier(0.5, 0, 0.2, 1);
  }

  .ab-js .ab-signature.is-in span {
    clip-path: inset(-20% -10% -20% -10%);
  }
}

@keyframes ab-rise {
  from { opacity: 0; transform: translateY(40px); }
}

@keyframes ab-fade {
  from { opacity: 0; }
}

/* tablet / mobile: recompose, no sticky */
@media (max-width: 900px) {
  .ab-story-grid {
    display: block;
  }

  .ab-story-text {
    padding-top: 28px;
  }

  .ab-story-img {
    width: 60%;
    margin-top: 32px;
  }

  .ab-story-img-b {
    width: 44%;
    margin: -20px 0 0 auto;
  }

  .ab-wnd-track {
    height: auto;
  }

  .ab-wnd-sticky {
    position: static;
    display: block;
    height: auto;
    min-height: 0;
    padding: 64px var(--ab-pad);
  }

  .ab-wnd-nav {
    display: none;
  }

  .ab-wnd-side h2 {
    margin-bottom: 36px;
  }

  .ab-panel,
  .ab-panel.is-active {
    position: static;
    visibility: visible;
    opacity: 1;
    gap: 22px;
    margin-bottom: 56px;
  }

  .ab-panel-photos {
    flex: none;
    aspect-ratio: 1 / 1;
  }

  .ab-panel-photos img {
    transform: none;
  }

  .ab-panel-text {
    display: block;
  }

  .ab-panel-text p {
    margin-top: 12px;
  }


}

@media (max-width: 480px) {
  .ab-story-text p:first-child::first-letter {
    font-size: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ab-panel,
  .ab-panel-photos img,
  .ab-wnd-nav button {
    transition: none;
  }
}

/* 01 · Hero: full-bleed cobalt band */
.ab-open {
  position: relative;
  padding-bottom: clamp(40px, 6vw, 90px);
}

.ab-band {
  position: relative;
  width: 100%;
  background: var(--blue);
  color: var(--paper);
}

.ab-band::before {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
  content: "";
  mix-blend-mode: soft-light;
  opacity: 0.5;
  pointer-events: none;
}

.ab-band-inner {
  position: relative;
  min-height: clamp(380px, 41vw, 640px);
  padding: clamp(24px, 3vw, 44px) var(--ab-pad) clamp(28px, 3vw, 48px);
}

.ab-band-labels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 62%;
  margin: 0 0 clamp(8px, 1.5vw, 24px);
  padding: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.5;
  list-style: none;
  text-transform: uppercase;
}

.ab-title {
  position: relative;
  z-index: 3;
  margin: 0;
  font-family: var(--ab-serif);
  font-size: clamp(88px, 19.5vw, 320px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.8;
  text-transform: uppercase;
  text-shadow: 0.025em 0.02em 0 rgb(8 20 140 / 55%);
}

.ab-title-line {
  display: block;
}

.ab-title-me {
  margin-left: 0.04em;
}

.ab-portrait {
  position: absolute;
  z-index: 2;
  right: var(--ab-pad);
  bottom: calc(-1 * clamp(70px, 12vw, 190px));
  width: clamp(190px, 29vw, 440px);
}

.ab-portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top;
  filter: saturate(0.92) contrast(1.03);
}

.ab-portrait figcaption {
  position: absolute;
  top: 100%;
  right: 0;
}

.ab-open-body {
  position: relative;
  max-width: 520px;
  margin: clamp(36px, 5vw, 70px) 0 0 var(--ab-pad);
}

.ab-open-body p {
  margin: 0 0 14px;
  color: #2b2a28;
  font-size: 16px;
  line-height: 1.7;
}

.ab-open-body .ab-eyebrow {
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 12px;
  line-height: 1.5;
}

.ab-lede {
  color: var(--ab-ink) !important;
  font-family: var(--ab-serif);
  font-size: clamp(26px, 2.6vw, 38px) !important;
  letter-spacing: -0.01em;
  line-height: 1.2 !important;
}

.ab-note {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  margin-top: 18px !important;
  color: var(--blue) !important;
  font-family: var(--ab-serif);
  font-size: 19px !important;
  font-style: italic;
  transform: rotate(-3deg);
}

@media (prefers-reduced-motion: no-preference) {
  .ab-js .ab-title-line {
    animation: ab-rise 1000ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .ab-js .ab-portrait {
    animation: ab-fade 1200ms ease 250ms both;
  }
}

/* print details: ink-on-paper impression on the dark spread, one small stamp */



.ab-signature {
  color: var(--ab-ink);
  text-shadow: 2px 2px 0 rgb(25 52 232 / 22%);
}

.ab-wnd-side h2 {
  color: var(--ab-ink);
  text-shadow: none;
}

.ab-wnd-side h2 em {
  color: var(--blue);
}

@media (max-width: 900px) {
  .ab-band-labels {
    max-width: none;
  }

  .ab-band-inner {
    min-height: 0;
    padding-bottom: 150px;
  }

  .ab-title {
    font-size: clamp(70px, 22.5vw, 200px);
  }

  .ab-portrait {
    width: 46%;
    bottom: -90px;
  }

  .ab-portrait figcaption {
    display: none;
  }

  .ab-open-body {
    max-width: none;
    margin: 120px var(--ab-pad) 0;
  }
}

.ab-page {
  --ab-hand: "Caveat", "Kalam", "Comic Sans MS", cursive;
}

.ab-band-labels,
.ab-page figcaption,
.ab-note,
.ab-scrawl,
.ab-margin-note,
.ab-sign-hand,
.ab-panel-no,
.ab-wnd-nav small {
  font-family: var(--ab-hand);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
}

.ab-band-labels {
  font-size: 22px;
  line-height: 1.15;
}

.ab-page figcaption {
  font-size: 18px;
}

.ab-note {
  font-size: 26px !important;
}

@media (max-width: 900px) {
  .ab-band-labels {
    font-size: 18px;
  }
}

.ab-band-labels { font-size: 24px; }
.ab-page figcaption { font-size: 20px; color: var(--ab-muted); }
.ab-note { font-size: 28px !important; }

/* paper grain on cream surfaces */
.ab-story,
.ab-wnd,
.ab-signoff {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .25 0 0 0 0 .2 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* story spread */
.ab-story { background-color: var(--paper); }
.ab-story-grid { row-gap: 24px; }
.ab-story-quote { grid-column: 1 / 10; }
.ab-story-img-a { grid-column: 1 / 5; grid-row: 2 / 4; margin-top: 64px; position: relative; align-self: start; }
.ab-story-img-a img { aspect-ratio: 3 / 4; }
.ab-story-img-a::after {
  content: "";
  position: absolute;
  inset: 14px -14px 14px 14px;
  z-index: -1;
  background: rgb(25 52 232 / 8%);
}
.ab-story-img-b { grid-column: 9 / 13; grid-row: 3; margin-top: 40px; }
.ab-story-img-b img { aspect-ratio: 1; box-shadow: 0 14px 30px -18px rgb(0 0 0 / 40%); }
.ab-story-text { grid-column: 6 / 12; position: relative; }
.ab-tape {
  position: absolute;
  top: -14px;
  left: 50%;
  z-index: 2;
  width: 96px;
  height: 26px;
  background: rgb(255 255 255 / 55%);
  border: 1px solid rgb(0 0 0 / 6%);
  backdrop-filter: blur(2px);
  transform: translateX(-50%) rotate(-4deg);
}
.ab-pencil { position: relative; display: inline; white-space: normal; }
.ab-pencil svg {
  position: absolute;
  left: 0;
  bottom: -0.12em;
  width: 100%;
  height: 0.14em;
  overflow: visible;
}
.ab-pencil path, .ab-margin-note path, .ab-flourish path {
  fill: none;
  stroke: var(--blue);
  stroke-width: 2.2;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.ab-margin-note {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin: 8px 0 0 !important;
  color: var(--blue) !important;
  font-size: 26px !important;
  line-height: 1 !important;
  transform: rotate(-2deg);
}
.ab-margin-note svg { flex: none; }
.ab-margin-note path { stroke-width: 1.8; }

/* interests */
.ab-wnd { background-color: #ece7dc; }
.ab-panel-photos img { box-shadow: 0 18px 32px -22px rgb(0 0 0 / 55%); }
.ab-m-1 .m-b { transform-origin: center; rotate: 1.2deg; }
.ab-m-2 .m-c { rotate: -1.4deg; }
.ab-m-3 .m-c { rotate: 1deg; }
.ab-scrawl {
  margin: 0 0 8px !important;
  color: var(--blue) !important;
  font-size: 26px !important;
  line-height: 1 !important;
  transform: rotate(-2deg);
  transform-origin: left;
}

/* closing */
.ab-signoff { background-color: var(--paper); }
.ab-flourish { display: block; width: min(420px, 60%); margin: 4px auto 0; overflow: visible; }
.ab-sign-hand { margin: 6px 0 28px; color: var(--blue); font-size: 34px; text-align: center; transform: rotate(-3deg); }

@media (prefers-reduced-motion: no-preference) {
  .ab-js .ab-pencil path,
  .ab-js .ab-margin-note path,
  .ab-js .ab-flourish path {
    stroke-dashoffset: 1;
    transition: stroke-dashoffset 1400ms cubic-bezier(0.5, 0, 0.2, 1) 400ms;
  }
  .ab-js .is-in .ab-pencil path,
  .ab-js .is-in .ab-margin-note path,
  .ab-js .ab-signature.is-in ~ .ab-flourish path,
  .ab-js .ab-margin-note.is-in path {
    stroke-dashoffset: 0;
  }
  .ab-story-img img { transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1); }
  .ab-story-img:hover img { transform: scale(1.02); }
}

@media (max-width: 900px) {
  .ab-story-img-a { margin-top: 32px; }
  .ab-story-img-a::after { inset: 8px -8px -8px 8px; }
  .ab-band-labels { font-size: 19px; }
}

@font-face {
  font-family: "Caveat";
  src: url("assets/fonts/Caveat-500.ttf") format("truetype");
  font-weight: 400 600;
  font-display: swap;
}

/* ===== Refinement pass: palette, type system, composition ===== */
.ab-page {
  --paper: #f3f0e8;
  --paper-2: #eae6dc;
  --blue: #263fea;
  --ab-ink: #171717;
  --ab-muted: #858176;
  --ab-hand: "Caveat", cursive;
  --ab-sans: "Creato Display", sans-serif;
  background: var(--paper);
  color: var(--ab-ink);
}

/* sans for factual type, handwriting only for 3 personal notes */
.ab-band-labels,
.ab-page figcaption {
  font-family: var(--ab-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.ab-page figcaption { color: var(--ab-muted); font-weight: 500; margin-top: 12px; }
.ab-band-labels { color: #fff; }
.ab-note,
.ab-margin-note,
.ab-panel-text .ab-scrawl {
  font-family: var(--ab-hand);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  transform: none;
}
.ab-note { font-size: 24px !important; color: var(--blue) !important; }
.ab-margin-note { font-size: 24px !important; transform: none; }

/* hero */
.ab-band { background: var(--blue); }
.ab-band::before { opacity: 0.045 !important; mix-blend-mode: normal !important; pointer-events: none; }
.ab-band-inner { position: relative; z-index: 1; }
.ab-title {
  color: #fff;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.82;
  text-shadow: 0 1px 0 rgb(0 0 0 / 14%), 0 -1px 0 rgb(255 255 255 / 25%);
}
.ab-portrait img { padding: 8px; background: #faf8f2; box-shadow: none; filter: none; }
.ab-portrait { z-index: 2; }
.ab-open-body p, .ab-story-text p, .ab-panel-text p { font-family: var(--ab-sans); color: #2b2a28; }
.ab-open-body p.ab-lede { font-family: var(--ab-serif); font-weight: 400; }

/* story */
.ab-story { background-color: var(--paper); }
.ab-story-quote { grid-column: 1 / 9; }
.ab-story-quote h2 { font-weight: 400; font-size: clamp(34px, 5vw, 76px); letter-spacing: -0.03em; line-height: 1.06; }
.ab-story-grid { align-items: start; row-gap: 32px; }
.ab-story-text { grid-column: 6 / 12; grid-row: 2; max-width: 600px; padding-top: 0; }
.ab-story-img-a { grid-column: 1 / 5; grid-row: 2 / 4; margin-top: 0; align-self: start; }
.ab-story-img-a::after { display: none; }
.ab-story-img-b { grid-column: 7 / 10; grid-row: 3; margin-top: 0; }
.ab-story-img img { box-shadow: none; }
.ab-story-img-b img { box-shadow: none; aspect-ratio: 1; }

/* when I'm not designing */
.ab-wnd { background-color: var(--paper-2); }
.ab-wnd-sticky { grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.6fr); gap: clamp(24px, 3vw, 48px); }
.ab-wnd-side h2 { font-weight: 400; font-size: clamp(36px, 4.2vw, 68px); letter-spacing: -0.03em; line-height: 1; max-width: 9em; margin-top: 0; }
.ab-wnd-side h2 em { font-weight: 400; }
.ab-wnd-nav button { color: var(--ab-muted); font-size: clamp(24px, 2.6vw, 40px); gap: 18px; align-items: baseline; transition: color 400ms ease; }
.ab-wnd-nav button span { flex: 0 0 2em; font-family: var(--ab-sans); font-size: 11px; font-weight: 600; letter-spacing: 0.16em; color: var(--ab-muted); }
.ab-wnd-nav button[aria-current="true"] { color: var(--blue); font-style: italic; transform: none; }
.ab-wnd-nav button[aria-current="true"] span { color: var(--blue); }
.ab-panel-photos img { box-shadow: none; rotate: 0deg !important; }
.ab-panel-text { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
.ab-panel-text h3 { font-weight: 400; }
.ab-panel-text h3 span { font-family: var(--ab-sans); font-size: 11px; font-weight: 600; letter-spacing: 0.16em; }
.ab-panel-text .ab-scrawl { color: var(--blue) !important; font-size: 24px !important; grid-column: 2; margin: 0 !important; line-height: 1 !important; }
.ab-wnd-track { height: 240vh; }

/* closing */
.ab-signoff { background-color: var(--paper); }
.ab-signoff-copy { font-weight: 400; }
.ab-signature { font-weight: 400; }
.ab-signoff-links a { font-family: var(--ab-sans); }

@media (max-width: 900px) {
  .ab-wnd-sticky { grid-template-columns: 1fr; }
  .ab-panel-text .ab-scrawl { grid-column: 1; }
  .ab-story-img-b { grid-column: 6 / 13; grid-row: auto; }
}

.ab-story-text p.ab-margin-note,
.ab-open-body p.ab-note,
.ab-panel-text p.ab-scrawl {
  font-family: var(--ab-hand);
  font-size: 26px;
  line-height: 1;
}
.ab-story-img-b { grid-column: 6 / 9; }

/* paper texture (texture.jpg, optimized) */
.ab-story,
.ab-wnd,
.ab-signoff {
  background-image: url("assets/texture-paper.jpg") !important;
  background-size: 700px auto !important;
  background-blend-mode: multiply;
}
.ab-band::before {
  background-image: url("assets/texture-paper.jpg") !important;
  background-size: 700px auto !important;
  mix-blend-mode: multiply !important;
  opacity: 0.4 !important;
}

/* serif / sans titles, like the homepage */
.ab-lede, .ab-story-quote h2, .ab-wnd h2, .ab-signoff-copy, .ab-panel-text h3 {
  font-family: var(--ab-sans);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.ab-wnd h2 { text-transform: none; }
.ab-lede em, .ab-story-quote h2 em, .ab-wnd h2 em, .ab-signoff-copy em {
  font-family: var(--ab-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--blue);
}
.ab-lede em { font-style: italic; }
.ab-wnd-nav button { font-family: var(--ab-sans); font-weight: 500; }
.ab-wnd-nav button[aria-current="true"] { font-family: var(--ab-serif); font-weight: 400; }

/* annotations anchored to their images */
.ab-portrait { position: absolute; }
.ab-portrait .ab-note {
  position: absolute;
  right: calc(100% + 14px);
  bottom: 44px;
  display: flex; align-items: center; gap: 8px;
  margin: 0; white-space: nowrap;
  color: var(--blue);
}
.ab-story-img-b { position: relative; }
.ab-story-img-b .ab-margin-note {
  position: absolute;
  left: calc(100% + 14px);
  top: 18%;
  display: flex; align-items: flex-start; gap: 8px;
  margin: 0; white-space: nowrap;
}
@media (max-width: 900px) {
  .ab-portrait .ab-note { position: static; margin-top: 8px; }
  .ab-portrait .ab-note svg { display: none; }
  .ab-story-img-b .ab-margin-note { position: static; margin-top: 8px; }
  .ab-story-img-b .ab-margin-note svg { display: none; }
}

.ab-page .ab-open-body p.ab-lede,
.ab-page .ab-story-quote h2,
.ab-page .ab-wnd h2,
.ab-page .ab-signoff-copy,
.ab-page .ab-panel-text h3 {
  font-family: var(--ab-sans) !important;
  font-weight: 500 !important;
  font-style: normal !important;
  letter-spacing: -0.01em;
}
.ab-page .ab-lede em,
.ab-page .ab-story-quote h2 em,
.ab-page .ab-wnd h2 em,
.ab-page .ab-signoff-copy em {
  font-family: var(--ab-serif) !important;
  font-weight: 400 !important;
  color: var(--blue) !important;
}
.ab-page .ab-lede em { font-style: italic !important; }
.ab-page .ab-story-quote h2 em, .ab-page .ab-wnd h2 em, .ab-page .ab-signoff-copy em { font-style: italic !important; }
.ab-page .ab-story-quote h2 { font-size: clamp(30px, 4.2vw, 62px); }
.ab-page .ab-signoff-name, .ab-page .ab-signature, .ab-page [data-signature] { text-shadow: none !important; filter: none !important; }

/* texture only in the hero; dots show through everywhere else */
.ab-story, .ab-wnd, .ab-signoff {
  background-image: none !important;
  background-color: transparent !important;
  background-blend-mode: normal;
}
.ab-page { background: transparent; }
.ab-page { background: #f3f0e8; }

/* tighter section rhythm */
.ab-open { padding-bottom: 0; }
.ab-open-body { margin-top: clamp(24px, 3vw, 40px); }
.ab-section { padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(40px, 5vw, 72px); }
.ab-story { padding-bottom: clamp(24px, 3vw, 48px); }
.ab-signoff { padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(48px, 6vw, 88px); }

/* round: labels full width, new copy, new photo layouts */
.ab-band-labels {
  max-width: none;
  width: 100%;
  text-align: center;
  font-size: clamp(18px, 2.4vw, 36px);
  letter-spacing: 0.01em;
  text-transform: none;
}
.ab-band-labels li { white-space: nowrap; }
@media (max-width: 600px) { .ab-band-labels { gap: 6px; font-size: 15px; } }

.ab-wnd-side h2 { text-transform: none; }
.ab-wnd-nav button { gap: 0; font-size: clamp(22px, 2.3vw, 36px); }
.ab-panel-text { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }

.ab-m-1 .m-a { left: 0; top: 0; width: 32%; height: 90%; }
.ab-m-1 .m-b { left: 34%; top: 10%; width: 32%; height: 90%; right: auto; bottom: auto; }
.ab-m-1 .m-c { right: 0; top: 0; left: auto; bottom: auto; width: 32%; height: 90%; }

.ab-m-2 .m-a, .ab-m-2 .m-b, .ab-m-2 .m-c, .ab-m-2 .m-d { width: 23.5%; height: 88%; right: auto; bottom: auto; }
.ab-m-2 .m-a { left: 0; top: 0; }
.ab-m-2 .m-b { left: 25.5%; top: 12%; }
.ab-m-2 .m-c { left: 51%; top: 0; }
.ab-m-2 .m-d { left: 76.5%; top: 12%; }
.ab-panel.is-active .m-d { transition-delay: 360ms; }

.ab-m-3 .m-a { left: 0; top: 0; right: auto; width: 62%; height: 48%; }
.ab-m-3 .m-b { right: 0; left: auto; top: 0; width: 34%; height: 100%; }
.ab-m-3 .m-c { left: 0; bottom: 0; right: auto; width: 28%; height: 48%; }
.ab-ballerina {
  position: absolute; left: 31%; bottom: 8%;
  display: flex; align-items: flex-end; gap: 8px; margin: 0;
  color: var(--blue); font-family: "Caveat", cursive; font-size: 24px; line-height: 1.1;
}
.ab-m-3 .ab-ballerina svg { transform: rotate(-12deg); }

.ab-guess {
  display: flex; align-items: flex-start; gap: 8px; margin: 10px 0 0;
  color: var(--blue); font-family: "Caveat", cursive; font-size: 26px; line-height: 1.1;
}
.ab-guess svg { flex: none; }

.ab-signoff { padding-top: clamp(24px, 3vw, 40px); padding-bottom: clamp(24px, 3vw, 44px); }
@media (max-width: 900px) {
  .ab-m-1 .m-a, .ab-m-1 .m-b, .ab-m-1 .m-c { height: 100%; top: 0; }
  .ab-ballerina { position: static; margin-top: 8px; }
}
@media (max-width: 900px) {
  .ab-page .ab-note, .ab-page .ab-margin-note, .ab-page .ab-story-img-b .ab-margin-note { white-space: normal !important; }
}
.ab-page .ab-signature { margin: 0; font-size: clamp(56px, 10vw, 150px); }
.ab-signoff { padding-top: clamp(8px, 2vw, 24px); padding-bottom: clamp(16px, 2.5vw, 32px); }
.ab-m-3 .m-b { width: 30%; }
.ab-m-3 .m-a { width: 66%; }
.ab-ballerina { left: 30%; font-size: 22px; }
@media (max-width: 1200px) { .ab-ballerina { font-size: 19px; } }

/* ===== round: small caps labels, tall photo matches text, love + quote ===== */
.ab-band-labels {
  font-size: clamp(10px, 1vw, 13px);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
@media (max-width: 600px) { .ab-band-labels { font-size: 10px; letter-spacing: 0.14em; gap: 6px; } }

.ab-story-img-a { grid-row: 2; align-self: stretch; position: relative; min-height: 320px; }
.ab-story-img-a img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
@media (max-width: 820px) {
  .ab-story-img-a { position: relative; min-height: 0; aspect-ratio: 4 / 5; }
}

.ab-m-3 .m-c { right: 0; bottom: 0; width: 56%; height: 42%; object-fit: cover; }

/* Random things I love */
.ab-love { background-color: var(--paper); text-align: left; }
.ab-love h2 {
  margin: 0;
  font-family: var(--ab-sans);
  font-weight: 500;
  font-size: clamp(34px, 4.6vw, 68px);
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.ab-love h2 em { font-family: var(--ab-serif); font-weight: 400; font-style: italic; color: var(--blue); }
.ab-love-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 48px);
  margin: clamp(24px, 3vw, 48px) 0 0;
  padding: 0;
  list-style: none;
}
.ab-love-item { outline: none; -webkit-tap-highlight-color: transparent; }
.ab-love-stage {
  --r: 0px;
  --x: 50%;
  --y: 50%;
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  aspect-ratio: 304 / 312;
}
.ab-love-disc {
  position: absolute;
  left: 10.53%;
  top: 10.26%;
  width: 78.95%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #4560ff, #1b30d8 70%);
}
.ab-love-disc img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: circle(var(--r) at var(--x) var(--y));
  transition: clip-path 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.ab-love-arc {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.ab-love-arc text {
  fill: var(--blue);
  font-family: var(--ab-hand);
  font-size: 25px;
  opacity: 0;
  transition: opacity 0.6s ease 0.1s;
}
.ab-love-sparkles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transition: opacity 0.6s ease;
}
.ab-love-item.is-revealed .ab-love-stage { --r: 150%; }
.ab-love-item.is-revealed .ab-love-arc text { opacity: 1; }
.ab-love-item.is-revealed .ab-love-sparkles { opacity: 0; }
.ab-love-item:focus-visible .ab-love-disc { outline: 2px solid var(--blue); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
  .ab-love-disc img, .ab-love-arc text, .ab-love-sparkles { transition: none; }
}
@media (max-width: 700px) {
  .ab-love-list { grid-template-columns: 1fr; gap: 32px; }
  .ab-love-stage { max-width: 300px; }
}

/* Quote */
.ab-quote { background-color: var(--paper); text-align: left; }
.ab-quote-eyebrow {
  margin: 0 0 20px;
  color: var(--blue);
  font-family: var(--ab-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.ab-quote-text { margin: 0; max-width: 960px; }
.ab-quote-text p {
  margin: 0;
  font-family: var(--ab-sans);
  font-weight: 400;
  font-size: clamp(20px, 2.4vw, 34px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: #1b1a19;
}
.ab-quote-text em { font-family: var(--ab-serif); font-style: italic; font-weight: 400; color: var(--blue); }
.ab-page .ab-love h2 { font-family: var(--ab-sans); font-weight: 500; }
.ab-page .ab-love h2 em { font-family: var(--ab-serif); font-weight: 400; }
.ab-story-img-a { grid-column: 1 / 4; }
.ab-story-text { grid-column: 5 / 11; max-width: 540px; }
@media (max-width: 820px) { .ab-story-img-a { grid-column: 1 / -1; } .ab-story-text { grid-column: 1 / -1; max-width: none; } }
@media (max-width: 900px) {
  .ab-story-img-a { width: min(70%, 380px); min-height: 0; aspect-ratio: 4 / 5; margin-top: 28px; }
}
.ab-page .ab-love h2 { font-family: var(--ab-sans) !important; font-weight: 500 !important; }
.ab-page .ab-love h2 em { font-family: var(--ab-serif) !important; font-weight: 400 !important; font-style: italic !important; color: var(--blue) !important; }

/* small screens: hero + story recomposed */
@media (max-width: 900px) {
  .ab-open-body { margin-top: 120px; }
  .ab-story-text { padding-top: 24px; }
  .ab-page .ab-portrait .ab-note {
    position: absolute;
    right: calc(100% + 10px);
    bottom: 112px;
    width: max-content;
    max-width: 150px;
    margin: 0;
    white-space: normal;
    text-align: right;
    line-height: 1;
    color: #fff !important;
  }
}
@media (max-width: 600px) {
  .ab-band-labels {
    grid-template-columns: auto auto auto;
    justify-content: space-between;
    font-size: 9px;
    letter-spacing: 0.1em;
  }
}

/* ===== round: story image, scratch-off, centered quote, ballerina ===== */
.ab-love, .ab-quote { background-color: transparent !important; }
.ab-story-img-a { grid-column: 1 / 7; grid-row: 2; align-self: start; min-height: 0; aspect-ratio: auto; }
.ab-story-img-a img { position: static; inset: auto; width: 100%; height: auto; aspect-ratio: 1380 / 812; object-fit: cover; }
.ab-story-text { grid-column: 8 / 13; grid-row: 2; max-width: none; padding-top: 0; }
@media (max-width: 900px) {
  .ab-story-img-a { grid-column: 1 / -1; width: 100%; aspect-ratio: auto; margin-top: 8px; }
  .ab-story-text { grid-column: 1 / -1; grid-row: auto; padding-top: 8px; }
}

.ab-love-hint {
  margin: 8px 0 0;
  color: var(--blue);
  font-family: var(--ab-hand);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1;
}
.ab-love-disc img { clip-path: none; transition: none; }
.ab-love-sparkles {
  pointer-events: auto;
  cursor: grab;
  touch-action: none;
  transition: opacity 0.7s ease;
}
.ab-love-sparkles:active { cursor: grabbing; }
.ab-love-item.is-text .ab-love-arc text { opacity: 1; }
.ab-love-item.is-revealed .ab-love-sparkles { opacity: 0; pointer-events: none; }

.ab-quote { text-align: center; }
.ab-quote-text { margin: 0 auto; max-width: 1040px; }
.ab-quote-text p { font-size: clamp(24px, 3vw, 44px); line-height: 1.32; }

.ab-m-3 .m-c { width: 38%; height: 30%; right: 0; bottom: 0; }
.ab-ballerina {
  left: auto; right: 41%; bottom: 6%;
  flex-direction: row-reverse; text-align: right;
  font-size: clamp(20px, 1.8vw, 26px); line-height: 1.05;
  max-width: 11em; color: var(--blue);
}
.ab-m-3 .ab-ballerina svg { transform: scaleX(-1) rotate(-20deg); }
@media (max-width: 900px) {
  .ab-ballerina { position: static; right: auto; flex-direction: row; text-align: left; }
  .ab-m-3 .ab-ballerina svg { transform: none; }
}
.ab-m-3 .m-c { left: 0; right: auto; width: 26%; height: 34%; bottom: 0; }
.ab-ballerina {
  left: calc(26% + 18px); right: auto; bottom: 8%;
  flex-direction: row; text-align: left; max-width: none; white-space: nowrap;
}
.ab-m-3 .ab-ballerina svg { transform: scaleX(-1) rotate(-155deg); }
@media (max-width: 900px) {
  .ab-ballerina { left: auto; white-space: normal; }
  .ab-m-3 .ab-ballerina svg { transform: none; }
}

@media (max-width: 700px) {
  .ab-page .ab-hero li, .ab-page .ab-hero-labels li { font-size: 11px !important; }
}

@media (max-width: 700px) {
  .ab-page .ab-band-labels li { font-size: 11px !important; letter-spacing: 0.14em; }
}

@media (max-width: 360px) {
  .ab-page .ab-band-labels { flex-wrap: wrap; justify-content: center; gap: 6px 16px; }
}
@media (max-width: 360px) {
  .ab-page .ab-band-labels li { font-size: 10.5px !important; letter-spacing: 0.08em; }
  .ab-page .ab-band-labels { gap: 6px 12px !important; padding-inline: 0; }
}

.ab-page main { overflow-x: clip; }

/* About page nav: solid, no see-through */
.ab-page .site-header {
  background: #f3f0e8;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom: 1px solid rgb(23 23 23 / 8%);
  box-shadow: 0 8px 24px -12px rgb(16 24 64 / 18%);
}

@media (max-width: 700px) {
  .ab-page .ab-title { top: 28px; }
}
