/* ── ABOUT PAGE ────────────────────────────────────── */

.about-wrap {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 56px;
  padding-top: 97px;
  /* clear fixed nav */
}

/* ── SCROLL REVEAL ─────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible,
.reveal-right.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ── QUOTE SECTION ─────────────────────────────────── */
.quote-section {
  padding: 80px 0 70px;
  border-bottom: 1px solid var(--border);
}

.quote-inner {
  position: relative;
  max-width: 820px;
}

.quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 120px;
  line-height: 1;
  color: var(--ink);
  opacity: 0.08;
  position: absolute;
  font-style: italic;
}

.quote-mark.open {
  top: -20px;
  left: -24px;
}

.quote-mark.close {
  bottom: 40px;
  right: -10px;
}

.quote-text {
  font-family: 'Anton', sans-serif;
  font-size: clamp(28px, 4.5vw, 58px);
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--ink);
  font-style: normal;
  padding: 0 40px;
}

.quote-cite {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-top: 24px;
  padding-left: 40px;
}

/* ── BIO SECTION ───────────────────────────────────── */
.bio-section {
  padding: 90px 0;
  border-bottom: 1px solid var(--border);
}

.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.bio-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.bio-heading {
  font-family: 'Anton', sans-serif;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-transform: uppercase;
  margin-bottom: 28px;
}

.bio-body {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--ink);
  opacity: 0.7;
  margin-bottom: 16px;
}

.bio-body:last-child {
  margin-bottom: 0;
}

.bio-image-col {
  display: flex;
  justify-content: flex-end;
  /* room for the offset square */
  padding-bottom: 16px;
  padding-right: 16px;
}

/* ── PHOTO FRAME — shared offset square treatment ── */
.bio-img-frame,
.dog-img-frame {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 5;
}

/* the offset blue square */
.bio-img-frame::before,
.dog-img-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #b8ccdf;
  border-radius: 20px;
  transform: translate(16px, 16px);
  z-index: 0;
}

/* the actual photo */
.bio-photo,
.dog-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}

.sticker {
  position: absolute;
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  animation: float 3s ease-in-out infinite;
  box-shadow: 0 4px 20px rgba(8, 31, 92, 0.08);
  z-index: 3;
}

.sticker-camera {
  width: 56px;
  height: 56px;
  bottom: -18px;
  right: -18px;
  animation-delay: 0.4s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(-4deg);
  }

  50% {
    transform: translateY(-10px) rotate(4deg);
  }
}

/* ── LISTS SECTION ─────────────────────────────────── */
.lists-section {
  padding: 90px 0;
  border-bottom: 1px solid var(--border);
}

.lists-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.list-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
}

.list-icon {
  font-size: 16px;
  color: var(--ink);
  opacity: 0.5;
}

.list-title {
  font-family: 'Anton', sans-serif;
  font-size: 22px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 400;
}

.love-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.love-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: var(--ink);
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.5s ease, transform 0.5s ease, padding 0.2s ease;
  position: relative;
  cursor: default;
}

.love-item:first-child {
  border-top: 1px solid var(--border);
}

.love-item.love-visible {
  opacity: 1;
  transform: translateX(0);
  transition-delay: calc(var(--i) * 0.07s);
}

.love-item:hover {
  padding-left: 8px;
}

.love-num {
  font-family: 'Anton', sans-serif;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
  min-width: 28px;
  opacity: 0.5;
}

.love-item--blind {
  overflow: visible;
}

/* Blind box sticker */
.blindbox-sticker {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 10;
}

.blindbox-sticker:hover {
  transform: translateY(calc(-50% - 10px));
}

.bb-img {
  width: 60px;
  height: auto;
  display: block;
}

.bb-char {
  position: relative;
  width: 52px;
}

.bb-head {
  width: 44px;
  height: 44px;
  background: var(--ink);
  border-radius: 50% 50% 45% 45%;
  position: relative;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.bb-eye {
  width: 7px;
  height: 9px;
  background: var(--cream);
  border-radius: 50%;
  margin-top: -2px;
}

.bb-mouth {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 6px;
  border-bottom: 2px solid var(--cream);
  border-radius: 0 0 8px 8px;
}

.bb-body {
  width: 36px;
  height: 22px;
  background: var(--ink);
  opacity: 0.8;
  border-radius: 4px 4px 8px 8px;
  margin: 2px auto 0;
}

.bb-star {
  position: absolute;
  font-size: 9px;
  color: var(--ink);
  opacity: 0.5;
  animation: spin 4s linear infinite;
}

.bb-star--1 {
  top: -8px;
  right: 2px;
}

.bb-star--2 {
  top: 10px;
  right: -10px;
  font-size: 7px;
  animation-delay: 0.5s;
}

.bb-star--3 {
  top: -4px;
  left: 0px;
  animation-delay: 1s;
}

@keyframes bbFloat {

  0%,
  100% {
    transform: translateY(-50%) rotate(-5deg);
  }

  50% {
    transform: translateY(calc(-50% - 8px)) rotate(5deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg) scale(1);
    opacity: 0.5;
  }

  50% {
    transform: rotate(180deg) scale(1.3);
    opacity: 0.8;
  }

  100% {
    transform: rotate(360deg) scale(1);
    opacity: 0.5;
  }
}

/* Accomplishments empty state */
.accomplishments-empty {
  padding: 48px 24px;
  border: 1px dashed rgba(8, 31, 92, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  text-align: center;
  min-height: 200px;
}

.empty-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.empty-line {
  font-family: 'Anton', sans-serif;
  font-size: 20px;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-transform: uppercase;
}

.empty-line--muted {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.06em;
  text-transform: none;
  color: var(--muted);
}

.empty-dots {
  display: flex;
  gap: 6px;
}

.e-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--muted);
  opacity: 0.4;
  animation: blink 1.8s ease-in-out infinite;
}

.e-dot:nth-child(2) {
  animation-delay: 0.22s;
}

.e-dot:nth-child(3) {
  animation-delay: 0.44s;
}

/* ── DOG SECTION ───────────────────────────────────── */
.dog-section {
  padding: 90px 0 110px;
}

.dog-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.dog-heading {
  font-family: 'Anton', sans-serif;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-transform: uppercase;
  margin-bottom: 28px;
}

.dog-img-wrap {
  position: relative;
  display: flex;
  justify-content: flex-end;
  /* room for the offset square */
  padding-bottom: 16px;
  padding-right: 16px;
}

/* hover zoom lives on the frame now, not the photo directly */
.dog-img-frame:hover .dog-photo {
  transform: scale(1.04);
}

.dog-photo {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.dog-sticker {
  position: absolute;
  bottom: 32px;
  left: 16px;
  /* pushed right from -24px */
  background: var(--ink);
  color: var(--cream);
  padding: 10px 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  animation: float 3.5s ease-in-out infinite;
  animation-delay: 0.8s;
  z-index: 4;
}

/* ── BIO PHOTO HOVER ───────────────────────────────── */
.bio-photo {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.bio-img-frame:hover .bio-photo {
  transform: scale(1.04);
}

/* ── MARLOW TEXT HIGHLIGHT + STICKER ───────────────── */
.marlow-highlight {
  position: relative;
  display: inline;
  cursor: default;
  font-weight: 900;
  font-family: 'Anton', sans-serif;
}

/* the pop-up sticker */
.marlow-highlight .marlow-sticker {
  position: absolute;
  bottom: -40px;
  right: -50px;
  transform: scale(0.85);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 10;
  width: 80px;
  height: auto;
  font-family: 'Anton', sans-serif;
}

.marlow-highlight:hover .marlow-sticker {
  visibility: visible;
  transform: scale(1);
}

.marlow-sticker img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* placeholder until real photo is swapped in */
.marlow-sticker-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  background: #dce8f0;
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE — TABLET  (max 1024px)
══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .about-wrap {
    padding: 0 36px;
  }

  .bio-grid,
  .lists-grid,
  .dog-inner {
    gap: 48px;
  }

  .quote-text {
    font-size: clamp(26px, 3.5vw, 44px);
  }
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE — MOBILE  (max 768px)
══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .about-wrap {
    padding: 0 24px;
  }

  /* Quote */
  .quote-section {
    padding: 56px 0 48px;
  }

  .quote-text {
    font-size: clamp(24px, 7vw, 36px);
    padding: 0 24px;
  }

  .quote-mark {
    font-size: 72px;
  }

  .quote-cite {
    padding-left: 24px;
  }

  /* Bio */
  .bio-section {
    padding: 60px 0;
  }

  .bio-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .bio-image-col {
    justify-content: center;
    order: -1;
  }

  .bio-img-frame {
    max-width: 280px;
    margin: 0 auto;
  }

  .sticker-camera {
    bottom: -12px;
    right: -12px;
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  /* Lists */
  .lists-section {
    padding: 60px 0;
  }

  .lists-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .blindbox-sticker {
    right: 4px;
  }

  /* Dog */
  .dog-section {
    padding: 60px 0 80px;
  }

  .dog-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .dog-img-wrap {
    justify-content: center;
  }

  .dog-img-frame {
    max-width: 280px;
    margin: 0 auto;
  }

  .dog-sticker {
    bottom: -12px;
    left: -8px;
    font-size: 11px;
    padding: 8px 16px;
  }
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE  (max 400px)
══════════════════════════════════════════════════════ */
@media (max-width: 400px) {
  .about-wrap {
    padding: 0 20px;
  }

  .quote-text {
    padding: 0 16px;
    font-size: 22px;
  }

  .bio-img-frame,
  .dog-img-frame {
    max-width: 240px;
  }

  .love-item {
    font-size: 14px;
  }
}

/* ══════════════════════════════════════════════════════
   ABOUT PAGE — DARK MODE OVERRIDES
   Scoped to body.about-page so other pages are untouched
══════════════════════════════════════════════════════ */
body.about-page {
  background: #081F5C;
  color: #f6f4ef;
  overflow: auto;
  /* override the global overflow:hidden from styles.css */
}

/* grain stays but lightens */
body.about-page::before {
  opacity: 0.04;
}

/* nav */
body.about-page nav {
  background: #081F5C;
  border-bottom: none;
  box-shadow: none;
}

body.about-page .logo-name,
body.about-page .nav-links a {
  color: #f6f4ef;
}

body.about-page .logo-img {
  content: url('assets/white-logo.png');
}

body.about-page .nav-links a::after {
  background: #f6f4ef;
}

body.about-page .nav-hamburger span {
  background: #f6f4ef;
}

/* mobile drawer */
body.about-page .mobile-menu {
  background: #081F5C;
}

body.about-page .mobile-menu-links a {
  color: #f6f4ef;
}

/* section borders */
body.about-page .quote-section,
body.about-page .bio-section,
body.about-page .lists-section {
  border-bottom-color: rgba(246, 244, 239, 0.12);
}

/* quote */
body.about-page .quote-mark,
body.about-page .quote-text {
  color: #f6f4ef;
}

body.about-page .quote-cite {
  color: rgba(246, 244, 239, 0.5);
}

/* bio */
body.about-page .bio-heading,
body.about-page .dog-heading {
  color: #f6f4ef;
}

body.about-page .bio-body {
  color: #f6f4ef;
}

body.about-page .bio-eyebrow {
  color: rgba(246, 244, 239, 0.5);
}

/* offset square behind photos */
body.about-page .bio-img-frame::before,
body.about-page .dog-img-frame::before {
  background: #1a3a7a;
}

/* camera sticker */
body.about-page .sticker {
  background: #081F5C;
  border-color: rgba(246, 244, 239, 0.2);
}

/* lists */
body.about-page .list-title {
  color: #f6f4ef;
}

body.about-page .list-icon {
  color: #f6f4ef;
}

body.about-page .love-item {
  color: #f6f4ef;
  border-bottom-color: rgba(246, 244, 239, 0.12);
}

body.about-page .love-item:first-child {
  border-top-color: rgba(246, 244, 239, 0.12);
}

body.about-page .love-num {
  color: rgba(246, 244, 239, 0.4);
}

/* accomplishments empty state */
body.about-page .accomplishments-empty {
  border-color: rgba(246, 244, 239, 0.15);
}

body.about-page .empty-line {
  color: #f6f4ef;
}

body.about-page .empty-line--muted {
  color: rgba(246, 244, 239, 0.5);
}

body.about-page .e-dot {
  background: rgba(246, 244, 239, 0.5);
}

/* marlow highlight bold words */
body.about-page .marlow-highlight {
  color: #f6f4ef;
}

/* good boy sticker flips to cream on dark bg */
body.about-page .dog-sticker {
  background: #f6f4ef;
  color: #081F5C;
}