/* =========================================================================
   Info — values measured from the Desktop 1440 / Tablet 768 / Mobile 390 frames.
   ========================================================================= */

/* Only the Desktop frame uses the darker ink/950 canvas; Tablet and Mobile stay on ink/900. */
@media (min-width: 1200px) {
  .page--info { background-color: var(--ink-950); }
}

.about {
  display: grid;
  padding: 48px var(--layout-margin) 105px;
}

/* --- Note card (iOS Notes styling) -------------------------------------- */
.note-card {
  --note-gold: #D4AE2D;
  position: relative;
  width: 100%;
  padding: 12px 20px 16px;
  border-radius: 20px;
  background: var(--white);
  color: var(--text-body);
}

.note-card__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 28px;
  color: var(--note-gold);
  font-size: 16px;
  line-height: 20px;
}

/* "Back" returns to Home. The padding gives a 44px touch target without moving the design's text. */
.note-card__back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: -8px -10px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  color: inherit;
  font-weight: 600;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.note-card__back:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 0; }
@media (hover: hover) { .note-card__back:hover { opacity: 0.75; } }
.note-card__back:active { opacity: 0.6; }

.note-card__chevron { width: 7px; height: 12px; }
.note-card__tools { display: none; }
.note-card__done { font-weight: 700; }

.note-card__title {
  margin-top: 12px;
  color: var(--ink-950);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 28px;
}

.note-card__text {
  margin-top: 16px;
  color: var(--ink-700);
  font-size: var(--text-body-m);
  line-height: var(--text-body-m-lh);
}

.note-card__actions { margin-top: 20px; flex-direction: column; gap: 12px; }
.note-card__actions .button { width: 100%; }

@media (min-width: 768px) {
  .note-card {
    width: 535px;
    padding: 30px 32px 20px;
    border-radius: var(--radius-lg);
  }
  .note-card__toolbar {
    position: relative;
    display: block;
    font-size: 20px;
    line-height: 28px;
  }
  .note-card__back { position: absolute; left: -6.5px; top: 0; gap: 0; font-size: 18px; font-weight: 500; }
  .note-card__chevron { width: 13px; height: 23px; margin-right: 14.5px; }
  .note-card__tools { display: block; }
  .note-card__tool { position: absolute; top: 0; color: var(--note-gold); }
  .note-card__tool--undo { left: 179px; }
  .note-card__tool--redo { left: 234px; color: #D4D4D4; }
  .note-card__tool--share { left: 303px; }
  .note-card__tool--more { left: 367px; }
  .note-card__done { position: absolute; right: 2.5px; top: 0; font-size: 19px; }
  .note-card__title {
    margin-top: 18.5px;
    color: var(--ink-700);
    font-size: 24px;
    line-height: 32px;
  }
  .note-card__text { margin-top: 6.5px; }
  .note-card__actions { flex-direction: row; gap: 12px; margin-top: 20px; }
  .note-card__actions .button { width: auto; }
}

/* --- Bio ------------------------------------------------------------------ */
.about__bio {
  display: grid;
  gap: 26px;
  margin-top: 39px;
  color: var(--grey-500);
  font-size: var(--text-body-xl);
  line-height: var(--text-body-xl-lh);
  font-weight: 500;
}

@media (min-width: 768px) {
  .about__bio { gap: 28px; margin-top: 59px; }
}

/* --- Collage (tablet + desktop) ------------------------------------------ */
.about__collage { display: none; }

@media (min-width: 768px) {
  .about { padding: 80px var(--layout-margin) 97.5px; }
  .about__collage {
    display: block;
    justify-self: end;
    position: relative;
    width: 635px;
    height: 880px;
    margin: 91.5px calc(-1 * var(--layout-margin)) 0 0;
    overflow-x: clip; /* crop at the page edge, but let the note overhang the folder's top */
  }
}

@media (min-width: 1200px) {
  .about {
    grid-template-columns: minmax(0, 640px) minmax(656px, 1fr);
    grid-template-rows: auto 1fr;
    padding-top: 82px;
    padding-bottom: 160px;
  }
  .note-card { grid-column: 2; grid-row: 1; justify-self: end; }
  .about__bio { grid-column: 1; grid-row: 1 / span 2; align-self: start; margin-top: 44px; }
  .about__collage { grid-column: 2; grid-row: 2; width: 665px; margin-top: 72px; }
}

.collage { margin: 0; }

.collage__canvas {
  position: relative;
  width: 697px;
  height: 880px;
}

.collage__folder {
  position: absolute;
  left: -3px;
  top: -2.5px;
  width: 698.5px;
  max-width: none;
  height: auto;
}

.collage__item {
  position: absolute;
  left: var(--x);
  top: var(--y);
  max-width: none;
}

.collage__note { --x: 16px; --y: -30.5px; width: 147px; height: auto; z-index: 1; opacity: 0.88; }

.collage__tile {
  z-index: 3;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgb(255 255 255 / 0.6);
  box-shadow: 0 4px 14px rgb(0 0 0 / 0.1);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transform: rotate(var(--r));
}

.collage__tile img { width: 28px; height: 28px; object-fit: contain; }
.collage__tile--claude  { --x: 114px; --y: 14px;  --r: -12deg; }
.collage__tile--figma   { --x: 194px; --y: 14px;  --r: 10deg; }
.collage__tile--notion  { --x: 56px;  --y: 102px; --r: 35deg; }
.collage__tile--chatgpt { --x: 40px;  --y: 176px; --r: 35deg; }

.collage__photo {
  z-index: 1;
  object-fit: cover;
  border-radius: 6px;
  transform: rotate(var(--r, 0deg));
}

.collage__photo--painting   { --x: 160.5px; --y: 197px; --r: -14deg; width: 96px; height: 96px; }
.collage__photo--graduation { --x: 479.75px; --y: 378px; --r: 7.3deg; width: 127px; height: 98px; }
.collage__photo--laptop     { --x: 137px; --y: 572px; width: 145px; height: 94px; }

.collage__sticker { z-index: 2; height: auto; }
.collage__sticker--matcha-tag { --x: 122px; --y: 132px; width: 112px; }
.collage__sticker--do-good    { --x: 374px; --y: 96px;  width: 141px; }
.collage__sticker--trust      { --x: 599px; --y: 172px; width: 23px; }
.collage__sticker--obsession  { --x: 282px; --y: 264px; width: 116px; }
.collage__sticker--window     { --x: 435px; --y: 236px; width: 138px; }
.collage__sticker--whisk      { --x: 323px; --y: 446px; width: 65px; }
.collage__sticker--look-good  { --x: 137px; --y: 537px; width: 80px; }
.collage__sticker--train      { --x: 105.5px; --y: 709px; width: 202px; }
.collage__sticker--never-stop { --x: 525.5px; --y: 732px; width: 101px; }

.collage__caption {
  z-index: 2;
  width: var(--w);
  color: var(--ink-600);
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
}

.collage__caption--painting   { --x: 275px; --y: 189px; --w: 324px; }
.collage__caption--graduation { --x: 149px; --y: 370px; --w: 298px; }
.collage__caption--laptop     { --x: 295px; --y: 580px; --w: 320px; }

/* --- Off the clock (mobile only) ------------------------------------------ */
.off-clock {
  position: relative;
  margin-top: 31px;
  margin-inline: calc(-1 * var(--layout-margin));
  padding-inline: var(--layout-margin);
  overflow-x: clip; /* stickers bleed to the screen edge, never beyond it */
}

.off-clock__eyebrow {
  color: var(--grey-400);
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  text-transform: uppercase;
}

.off-clock__title {
  margin-top: 8px;
  color: var(--white);
  font-size: 28px;
  line-height: 32px;
  font-weight: 700;
}

.off-clock__intro {
  margin-top: 4px;
  color: var(--grey-500);
  font-size: 14px;
  line-height: 20px;
}

.off-clock__track {
  display: flex;
  gap: 12px;
  margin: 10px calc(-1 * var(--layout-margin)) 0;
  padding: 0 var(--layout-margin);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--layout-margin);
  scrollbar-width: none;
}

.off-clock__track::-webkit-scrollbar { display: none; }

.off-clock__card { flex: none; scroll-snap-align: start; }

.off-clock__card img {
  width: 160px;
  height: 200px;
  border-radius: 8px;
  object-fit: cover;
}

.off-clock__sticker { position: absolute; z-index: 1; height: auto; pointer-events: none; }
.off-clock__sticker--matcha-tag { right: 45px; top: -2px; width: 138px; }
.off-clock__sticker--look-good { left: 14px; top: 160px; width: 72px; transform: rotate(-35deg); }
.off-clock__sticker--do-good { right: 25px; top: 71px; width: 141px; }
.off-clock__sticker--train { right: -10px; top: 256px; width: 80px; }

@media (min-width: 768px) {
  .off-clock { display: none; }
}
