/* Who's Abidul — exploratory introduction */

:root {
  --who-ink: #1c1915;
  --who-muted: #5e564c;
  --who-paper: #f3eee6;
  --who-paper-2: #e7dfd1;
  --who-line: rgba(28, 25, 21, 0.12);
  --who-terra: #9a4630;
  --who-canal: #243f3b;
  --who-cream: #f7f3ec;
}

.who-nav {
  border: 1px solid var(--who-ink);
  border-radius: 999px;
  padding: 0.2rem 0.85rem !important;
  margin-left: 0.35rem;
  color: var(--who-ink) !important;
  font-family: Outfit, "Segoe UI", sans-serif;
  letter-spacing: 0.01em;
}

.who-nav:hover,
.who-nav:focus,
body.who-body .who-nav {
  background: var(--who-ink);
  color: var(--who-cream) !important;
}

body.who-body {
  background: var(--who-paper);
  color: var(--who-ink);
}

body.who-body #MagicMenu {
  background: rgba(243, 238, 230, 0.9) !important;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--who-line);
  box-shadow: none !important;
}

body.who-body .site-content {
  margin-top: 0;
}

body.who-body footer.bg-white {
  background: var(--who-paper) !important;
  border-top-color: var(--who-line) !important;
}

.who {
  color: var(--who-ink);
  font-family: Outfit, "Segoe UI", sans-serif;
  font-weight: 400;
  line-height: 1.55;
}

.who h1,
.who h2,
.who h3,
.who-index,
.home-invite h2 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 560;
  letter-spacing: -0.03em;
}

.who-wrap {
  width: min(1080px, calc(100% - 2.4rem));
  margin: 0 auto;
}

.who-kicker {
  margin: 0 0 0.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--who-terra);
  font-weight: 500;
}

.who-index {
  position: fixed;
  top: 50%;
  left: 1.4rem;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  z-index: 20;
  font-size: 0.92rem;
}

.who-index a {
  color: var(--who-muted);
  text-decoration: none;
  position: relative;
  padding-left: 0.9rem;
}

.who-index a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--who-muted);
  position: absolute;
  left: 0;
  top: 0.45em;
}

.who-index a.is-here {
  color: var(--who-ink);
}

.who-index a.is-here::before {
  background: var(--who-terra);
  border-color: var(--who-terra);
}

.who-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.78fr);
  gap: 3.5rem;
  align-items: end;
  padding: 7.5rem 0 4.5rem;
}

.who-hero h1 {
  margin: 0;
  font-size: clamp(3.4rem, 8vw, 6.6rem);
  line-height: 0.92;
  font-weight: 560;
}

.who-hero h1 em {
  font-style: italic;
  font-weight: 500;
}

.who-lede {
  margin: 1.4rem 0 0;
  max-width: 36rem;
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--who-ink);
}

.who-hero-note {
  margin: 1.6rem 0 0;
  color: var(--who-muted);
  font-size: 0.95rem;
}

.life-reel {
  --reel-ms: 1.8s;
  width: min(100%, 420px);
  justify-self: end;
  margin: 0;
}

.life-reel-window {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  background: #1c1915;
  box-shadow: 0 18px 50px rgba(40, 28, 16, 0.16);
}

.life-reel-window::before,
.life-reel-window::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 16px;
  z-index: 2;
  pointer-events: none;
  background-color: #1c1915;
  background-image: radial-gradient(circle, #f3eee6 2.4px, transparent 2.6px);
  background-size: 16px 18px;
  background-position: center 6px;
}

.life-reel-window::before { left: 0; }
.life-reel-window::after { right: 0; }

.reel-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  opacity: 0;
  transform: scale(1.06);
}

.reel-frame.is-on {
  opacity: 1;
  animation: reel-drift 9s linear;
}

@keyframes reel-drift {
  from { transform: scale(1.05); }
  to { transform: scale(1.14) translateY(-2%); }
}

.life-reel-progress {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 0;
  height: 2px;
  z-index: 3;
  background: rgba(247, 243, 236, 0.28);
}

.life-reel-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: #f7f3ec;
  animation: reel-fill var(--reel-ms) linear;
}

@keyframes reel-fill {
  from { width: 0; }
  to { width: 100%; }
}

.life-reel.is-paused .life-reel-progress span,
.life-reel.is-paused .reel-frame.is-on {
  animation-play-state: paused;
}

.life-reel-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.45rem;
}

.life-reel-meta p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--who-muted);
}

.life-reel-meta strong {
  font-family: Fraunces, Georgia, serif;
  font-weight: 560;
  font-size: 1.2rem;
  color: var(--who-ink);
  margin-right: 0.35rem;
}

.life-reel-toggle {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--who-muted);
  font: inherit;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.life-reel-toggle:focus-visible {
  outline: 2px solid var(--who-terra);
  outline-offset: 3px;
}

.life-reel-dots {
  display: flex;
  gap: 0.35rem;
  margin-top: 0.45rem;
}

.life-reel-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(28, 25, 21, 0.18);
  display: block;
}

.life-reel-dots i.is-on {
  background: var(--who-terra);
}

.life-reel-still {
  display: none;
  margin: 0.55rem 0 0;
  max-width: 28rem;
  font-size: 0.84rem;
  color: var(--who-muted);
}

.stop-jobs {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.stop-jobs strong {
  display: block;
  font-family: Fraunces, Georgia, serif;
  font-weight: 560;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.stop-jobs span {
  display: block;
  margin-top: 0.2rem;
  max-width: 36rem;
  color: #2a261f;
  font-size: 1.02rem;
}

.who-route {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: 3rem;
  align-items: center;
  padding: 3rem 0 4.5rem;
  border-top: 1px solid var(--who-line);
}

.route-photo {
  margin: 0;
  position: relative;
}

.route-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 18px;
  background: var(--who-paper-2);
  transition: opacity 0.35s ease;
}

.route-stops {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}

.route-stops button {
  appearance: none;
  border: 1px solid var(--who-line);
  background: transparent;
  color: var(--who-ink);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font: inherit;
  font-size: 0.92rem;
  cursor: pointer;
}

.route-stops button.is-active,
.route-stops button[aria-selected="true"] {
  background: var(--who-ink);
  color: var(--who-cream);
  border-color: var(--who-ink);
}

.route-stops button:focus-visible,
.room:focus-visible {
  outline: 2px solid var(--who-terra);
  outline-offset: 3px;
}

.stop-panel {
  display: none;
}

.stop-panel.is-active {
  display: block;
}

.stop-panel h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1;
}

.stop-panel p {
  margin: 0;
  max-width: 36rem;
  font-size: 1.08rem;
  color: #2a261f;
}

.who-quote {
  margin: 0;
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--who-line);
  max-width: 40rem;
}

.who-quote p {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.who-quote span {
  display: block;
  margin-top: 0.9rem;
  font-family: Outfit, sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0;
  color: var(--who-muted);
}

.who-rooms-head {
  padding-top: 0.5rem;
  max-width: 38rem;
}

.who-rooms-head h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.who-rooms-head p {
  margin: 0 0 1.2rem;
  color: var(--who-muted);
}

.rooms {
  display: flex;
  gap: 0.7rem;
  min-height: 700px;
  padding-bottom: 4rem;
}

.room {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  border: 0;
  padding: 0;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  color: inherit;
  background: #cfc6b8;
  transition: flex 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.room.is-open {
  flex: 3.2 1 0;
}

.room img.room-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.room-name {
  position: absolute;
  z-index: 2;
  left: 1rem;
  bottom: 1.1rem;
  color: #f7f3ec;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: opacity 0.25s ease;
}

.room.is-open .room-name {
  opacity: 0;
}

.room-copy {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 4.5rem 1.4rem 1.35rem;
  background: linear-gradient(to top, rgba(18, 14, 10, 0.88) 20%, rgba(18, 14, 10, 0));
  color: #f7f3ec;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.room.is-open .room-copy {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.room-copy h3 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: inherit;
}

.room-copy p {
  margin: 0 0 0.7rem;
  max-width: 38rem;
  font-size: 1.02rem;
  line-height: 1.5;
}

.room-copy p:last-child {
  margin-bottom: 0;
}

.room-bg-faces {
  object-position: center 28%;
}

.who-craft {
  padding: 0.4rem 0 3.6rem;
  border-top: 1px solid var(--who-line);
}

.who-craft h2 {
  margin: 0 0 1.6rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
  max-width: 16ch;
}

.craft-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3rem;
}

.craft-grid h3 {
  margin: 0 0 1rem;
  font-size: 1.45rem;
}

.craft-grid dl {
  margin: 0;
}

.craft-grid dl div {
  display: grid;
  grid-template-columns: 7.2rem minmax(0, 1fr);
  gap: 0.8rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--who-line);
}

.craft-grid dt {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--who-terra);
  padding-top: 0.2rem;
}

.craft-grid dd {
  margin: 0;
  font-size: 1.02rem;
  color: #2a261f;
}

.craft-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.craft-grid li {
  margin: 0;
  padding: 0.7rem 0;
  border-top: 1px solid var(--who-line);
  font-size: 1.02rem;
  color: #2a261f;
}

.craft-grid li strong {
  font-family: Fraunces, Georgia, serif;
  font-weight: 560;
  letter-spacing: -0.02em;
  color: var(--who-ink);
}

.who-hobbies {
  padding: 0.5rem 0 3.5rem;
  border-top: 1px solid var(--who-line);
}

.who-hobbies h2 {
  margin: 0 0 1.3rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
  max-width: 16ch;
}

.hobby-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.hobby-pair figure {
  margin: 0;
}

.hobby-pair img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(40, 28, 16, 0.12);
}

.hobby-pair figcaption {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hobby-pair strong {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.35rem;
  font-weight: 560;
  letter-spacing: -0.03em;
}

.hobby-pair span {
  color: #2a261f;
  font-size: 1.02rem;
  max-width: 36rem;
}

.room-paper {
  background: var(--who-canal);
}

.room-paper .room-copy {
  background: none;
  top: 0;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1rem;
}

.room-inset {
  display: none;
  width: 92px;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.room-paper.is-open .room-inset {
  display: block;
}

.who-now {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.8fr);
  gap: 2.5rem;
  align-items: end;
  padding: 1rem 0 5rem;
  border-top: 1px solid var(--who-line);
}

.who-now h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
}

.who-now p {
  margin: 0;
  max-width: 38rem;
  font-size: 1.08rem;
}

.who-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.who-links a {
  display: inline-block;
  color: var(--who-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--who-terra);
  padding: 0.15rem 0;
  margin-right: 0.4rem;
}

.who-links a:hover {
  color: var(--who-terra);
}

.prints {
  display: flex;
  gap: 0.7rem;
  align-items: flex-end;
  justify-content: flex-end;
}

.prints figure {
  margin: 0;
  width: 31%;
}

.prints img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(40, 28, 16, 0.14);
}

.prints figure:nth-child(1) img { transform: rotate(-4deg); }
.prints figure:nth-child(2) img { transform: rotate(3deg); margin-bottom: 1.2rem; }
.prints figure:nth-child(3) img { transform: rotate(-1.5deg); }

.prints figcaption {
  margin-top: 0.45rem;
  font-size: 0.75rem;
  color: var(--who-muted);
  text-align: center;
}

.home-invite {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  margin-top: -30px;
  margin-bottom: 2.2rem;
  background: var(--who-paper);
  color: var(--who-ink);
}

.home-invite-inner {
  width: min(1080px, calc(100% - 2.4rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 1.6rem;
  align-items: center;
  padding: 1.6rem 0 1.8rem;
}

.home-invite img {
  width: 148px;
  height: 186px;
  object-fit: cover;
  border-radius: 16px;
  transform: rotate(-3deg);
  box-shadow: 0 14px 32px rgba(40, 28, 16, 0.16);
}

.home-invite h2 {
  margin: 0.15rem 0 0.35rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.05;
  color: var(--who-ink);
}

.home-invite p {
  margin: 0;
  max-width: 38rem;
  color: #3a342c;
}

.home-invite .who-kicker {
  margin-bottom: 0.25rem;
}

.home-invite-go {
  display: inline-block;
  margin-top: 0.85rem;
  color: var(--who-cream);
  background: var(--who-ink);
  text-decoration: none;
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-family: Outfit, sans-serif;
}

.home-invite-go:hover {
  background: var(--who-terra);
  color: white;
}

@media (max-width: 1180px) {
  .who-index { display: none; }
}

@media (max-width: 860px) {
  .who-hero,
  .who-route,
  .who-now,
  .home-invite-inner,
  .hobby-pair,
  .craft-grid {
    grid-template-columns: 1fr;
  }

  .who-hero .life-reel {
    width: min(100%, 420px);
    justify-self: start;
  }

  .who-hero {
    padding-top: 6.2rem;
    gap: 1.8rem;
  }

  .craft-grid dl div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .rooms {
    flex-direction: column;
    min-height: 0;
  }

  .room,
  .room.is-open {
    flex: none;
    min-height: 460px;
  }

  .room-name { display: none; }

  .room-copy,
  .room.is-open .room-copy {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .room-paper.is-open .room-inset,
  .room-paper .room-inset {
    display: block;
  }

  .prints {
    justify-content: flex-start;
  }

  .home-invite img {
    width: 120px;
    height: 150px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .room,
  .room-copy,
  .route-photo img,
  .room-name,
  .reel-frame {
    transition: none;
  }

  .reel-frame,
  .life-reel-progress span {
    animation: none !important;
  }

  .life-reel-meta,
  .life-reel-dots,
  .life-reel-progress {
    display: none;
  }

  .life-reel-still {
    display: block;
  }
}
