/* ============================================================
   Ingle Journal — scrapbook / notebook presentation
   Data-driven; no randomized layout.
   ============================================================ */

.ingle-journal {
  margin: 0 0 16px;
}

.journal-book {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(75, 64, 45, .16);
  border-radius: 24px;
  padding: clamp(18px, 3vw, 34px);
  color: #263044;
  background:
    radial-gradient(circle at 1px 1px, rgba(73, 91, 111, .12) 1px, transparent 1.15px) 0 0 / 22px 22px,
    linear-gradient(90deg, transparent 49.85%, rgba(122, 105, 78, .08) 50%, transparent 50.15%),
    #fffdf5;
  box-shadow:
    0 18px 46px rgba(44, 39, 29, .08),
    inset 0 0 60px rgba(177, 151, 98, .045);
}

.journal-book::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 50%;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(84, 73, 54, .12) 12%,
    rgba(84, 73, 54, .12) 88%,
    transparent
  );
  pointer-events: none;
}

.journal-book__header {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 24px;
}

.journal-kicker {
  color: #7464e8;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.journal-book__header h2 {
  margin: 0;
  color: #172a4b;
  font-family: "Caveat", "Segoe Print", cursive;
  font-size: clamp(3rem, 7vw, 5.4rem);
  font-weight: 700;
  line-height: .96;
  transform: rotate(-1deg);
}

.journal-book__header p {
  margin: 8px 0 0;
  color: #53647e;
  font-family: "Patrick Hand", "Segoe Print", cursive;
  font-size: 1.22rem;
}

.journal-date {
  position: relative;
  padding: 6px 4px 5px;
  color: #18243b;
  font-family: "Caveat", "Segoe Print", cursive;
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  font-weight: 700;
  white-space: nowrap;
}

.journal-date::after {
  content: "";
  position: absolute;
  left: 0;
  right: -10px;
  bottom: 0;
  height: 4px;
  border-radius: 999px;
  background: rgba(65, 125, 218, .65);
  transform: rotate(-2deg);
}

.journal-spread {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
}

.journal-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.journal-block {
  position: relative;
  min-width: 0;
}

.journal-hand-title {
  display: inline-block;
  margin: 0 0 10px;
  padding: 1px 8px 2px;
  color: #263044;
  font-family: "Patrick Hand", "Segoe Print", cursive;
  font-size: clamp(1.25rem, 2.3vw, 1.55rem);
  font-weight: 700;
  letter-spacing: .025em;
  line-height: 1.1;
  text-transform: uppercase;
  transform: rotate(-1deg);
}

.journal-hand-title--yellow { background: linear-gradient(transparent 42%, rgba(250, 207, 76, .55) 42% 88%, transparent 88%); }
.journal-hand-title--green { background: linear-gradient(transparent 42%, rgba(126, 196, 136, .38) 42% 88%, transparent 88%); }
.journal-hand-title--blue { background: linear-gradient(transparent 42%, rgba(110, 177, 238, .36) 42% 88%, transparent 88%); }
.journal-hand-title--pink { background: linear-gradient(transparent 42%, rgba(239, 138, 161, .34) 42% 88%, transparent 88%); }

.journal-quote {
  margin: 2px 6px 0;
  padding: 0 0 0 18px;
  border-left: 3px solid rgba(221, 70, 95, .62);
  font-family: "Patrick Hand", "Segoe Print", cursive;
  font-size: clamp(1.1rem, 2.1vw, 1.35rem);
  line-height: 1.45;
}

.journal-small-note {
  margin: 9px 10px 0;
  color: #365aa0;
  font-family: "Patrick Hand", "Segoe Print", cursive;
  font-size: 1.05rem;
  line-height: 1.35;
}

.journal-paper-note,
.journal-pattern-card,
.journal-drew-note,
.journal-sticky {
  position: relative;
  border: 1px solid rgba(71, 62, 45, .13);
  background: rgba(255, 255, 255, .73);
  box-shadow: 0 8px 20px rgba(72, 63, 45, .055);
}

.journal-paper-note {
  padding: 15px 17px;
  transform: rotate(.35deg);
}

.journal-paper-note::before,
.journal-postcard::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: -11px;
  left: 50%;
  width: 92px;
  height: 25px;
  background: rgba(222, 204, 150, .58);
  border: 1px solid rgba(160, 139, 94, .12);
  transform: translateX(-50%) rotate(-2deg);
}

.journal-vocab {
  width: 100%;
  border-collapse: collapse;
  font-family: "Patrick Hand", "Segoe Print", cursive;
  font-size: 1.08rem;
}

.journal-vocab th,
.journal-vocab td {
  padding: 8px 7px;
  border-bottom: 1px solid rgba(49, 59, 79, .18);
  text-align: left;
  vertical-align: top;
}

.journal-vocab th {
  color: #41506a;
  font-size: .93rem;
  font-weight: 600;
}

.journal-vocab td:nth-child(2) {
  color: #28764a;
  font-weight: 700;
}

.journal-pattern-card {
  padding: 16px 18px;
  border: 2px solid rgba(143, 79, 190, .52);
  border-radius: 15px;
  transform: rotate(-.4deg);
}

.journal-pattern-line {
  margin: 6px 0;
  font-family: "Patrick Hand", "Segoe Print", cursive;
  font-size: 1.08rem;
  line-height: 1.4;
}

.journal-pattern-line strong {
  color: #28764a;
}

.journal-pattern-principle {
  display: inline;
  padding: 0 3px;
  background: rgba(126, 196, 136, .22);
}

.journal-postcard {
  position: relative;
  margin: 8px 3px 3px;
  padding: 14px 14px 16px;
  background: #fff;
  border: 1px solid rgba(76, 68, 51, .13);
  box-shadow: 0 13px 25px rgba(61, 53, 39, .13);
  transform: rotate(1deg);
}

.journal-postcard img {
  display: block;
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 2px;
}

.journal-postcard__title {
  margin: 10px 2px 2px;
  font-family: "Caveat", "Segoe Print", cursive;
  font-size: 1.55rem;
  font-weight: 700;
}

.journal-postcard__caption {
  margin: 0 2px;
  color: #45516a;
  font-family: "Patrick Hand", "Segoe Print", cursive;
  font-size: 1.08rem;
  line-height: 1.35;
}

.journal-stamp {
  position: absolute;
  right: 10px;
  bottom: 9px;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border: 3px double rgba(29, 120, 130, .82);
  border-radius: 50%;
  color: #1d7882;
  font-family: "Patrick Hand", "Segoe Print", cursive;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-12deg);
  opacity: .9;
}

.journal-checklist {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: "Patrick Hand", "Segoe Print", cursive;
  font-size: 1.08rem;
}

.journal-checklist li {
  position: relative;
  padding-left: 30px;
  line-height: 1.35;
}

.journal-checklist li::before {
  content: "✓";
  position: absolute;
  left: 2px;
  top: -.05em;
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  color: #335fc0;
  border: 2px solid #335fc0;
  font-size: .82rem;
  font-weight: 800;
  transform: rotate(-4deg);
}

.journal-drew-note {
  padding: 17px 18px 18px;
  border: 2px solid rgba(73, 132, 92, .45);
  border-radius: 8px;
  transform: rotate(.45deg);
}

.journal-drew-note p {
  margin: 0;
  color: #37644b;
  font-family: "Patrick Hand", "Segoe Print", cursive;
  font-size: 1.08rem;
  line-height: 1.5;
}

.journal-sticky {
  align-self: center;
  max-width: 260px;
  padding: 18px 20px;
  background: #fff0a9;
  border: 0;
  transform: rotate(-2deg);
}

.journal-sticky p {
  margin: 0;
  color: #30476e;
  font-family: "Patrick Hand", "Segoe Print", cursive;
  font-size: 1.12rem;
  line-height: 1.4;
  text-align: center;
}

.journal-empty,
.journal-loading,
.journal-error {
  grid-column: 1 / -1;
  padding: 35px 18px;
  text-align: center;
}

.journal-loading__scribble,
.journal-empty strong {
  font-family: "Caveat", "Segoe Print", cursive;
  font-size: 1.8rem;
  color: #546789;
}

.journal-meta {
  margin-top: 7px;
  color: #7c8799;
  font-size: .82rem;
}

@media (max-width: 780px) {
  .journal-book {
    border-radius: 18px;
    padding: 18px 15px 24px;
    background:
      radial-gradient(circle at 1px 1px, rgba(73, 91, 111, .10) 1px, transparent 1.15px) 0 0 / 22px 22px,
      #fffdf5;
  }

  .journal-book::before {
    display: none;
  }

  .journal-book__header {
    gap: 12px;
    margin-bottom: 18px;
  }

  .journal-book__header h2 {
    font-size: clamp(3rem, 17vw, 4.6rem);
  }

  .journal-book__header p {
    font-size: 1.05rem;
  }

  .journal-date {
    font-size: 1.12rem;
  }

  .journal-spread {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .journal-column {
    gap: 18px;
  }

  .journal-postcard {
    margin-inline: 2px;
  }

  .journal-postcard img {
    max-height: none;
  }

  .journal-stamp {
    width: 66px;
    height: 66px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .journal-paper-note,
  .journal-pattern-card,
  .journal-postcard,
  .journal-drew-note,
  .journal-sticky,
  .journal-hand-title,
  .journal-book__header h2 {
    transform: none;
  }
}


/* ============================================================
   Experience Palette — Journal scrapbook inserts
   ============================================================ */

.journal-experience-memory {
  position: relative;
}

.journal-experience-collage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(145px, .48fr);
  gap: 14px;
  align-items: start;
}

.journal-experience-collage > .journal-postcard {
  margin-right: 0;
}

.journal-palette-polaroid {
  position: relative;
  margin: 28px 1px 8px;
  padding: 9px 9px 24px;
  background: #fffdf8;
  border: 1px solid rgba(75, 66, 50, .15);
  box-shadow: 0 12px 24px rgba(61, 51, 37, .13);
  transform: rotate(-3.2deg);
}

.journal-palette-polaroid img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.journal-palette-polaroid figcaption {
  margin: 8px 2px -11px;
  color: #3a4253;
  font-family: "Caveat", "Segoe Print", cursive;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.05;
  text-align: center;
}

.journal-palette-tape {
  position: absolute;
  z-index: 2;
  top: -11px;
  left: 50%;
  width: 64px;
  height: 21px;
  background: rgba(219, 197, 139, .58);
  border: 1px solid rgba(151, 127, 77, .12);
  transform: translateX(-50%) rotate(4deg);
}

.journal-object-scrap {
  position: relative;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  max-width: 355px;
  margin: 18px 8px 4px auto;
  padding: 10px 13px 10px 10px;
  background: rgba(233, 246, 255, .76);
  border: 1px dashed rgba(50, 102, 154, .35);
  border-radius: 7px;
  box-shadow: 0 7px 15px rgba(54, 79, 105, .055);
  transform: rotate(1.1deg);
}

.journal-object-scrap::after {
  content: "↖";
  position: absolute;
  right: -13px;
  top: -20px;
  color: #477bb4;
  font-family: "Patrick Hand", "Segoe Print", cursive;
  font-size: 1.55rem;
  transform: rotate(17deg);
}

.journal-object-scrap__image {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: 5px;
  background: white;
}

.journal-object-scrap__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.journal-object-scrap__copy {
  min-width: 0;
  font-family: "Patrick Hand", "Segoe Print", cursive;
}

.journal-object-scrap__copy span {
  display: block;
  color: #5c7086;
  font-size: .86rem;
  text-transform: uppercase;
  letter-spacing: .045em;
}

.journal-object-scrap__copy strong {
  display: block;
  margin-top: 2px;
  color: #1e4e86;
  font-size: 1.35rem;
  line-height: 1.08;
}

.journal-object-scrap__copy em {
  display: block;
  margin-top: 4px;
  color: #60728a;
  font-size: .94rem;
  font-style: normal;
}

.journal-map-details {
  margin: 15px 5px 2px;
}

.journal-map-details summary {
  display: inline-block;
  cursor: pointer;
  color: #396493;
  font-family: "Patrick Hand", "Segoe Print", cursive;
  font-size: 1.02rem;
  border-bottom: 2px dotted rgba(57, 100, 147, .42);
}

.journal-mini-map {
  position: relative;
  margin: 14px 4px 4px;
  padding: 12px;
  background: rgba(255, 250, 232, .9);
  border: 1px solid rgba(123, 97, 51, .16);
  box-shadow: 0 8px 20px rgba(76, 62, 39, .08);
  transform: rotate(-.6deg);
}

.journal-mini-map img {
  display: block;
  width: 100%;
  max-height: 310px;
  object-fit: contain;
  background: #fffdf7;
}

.journal-mini-map figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  font-family: "Patrick Hand", "Segoe Print", cursive;
}

.journal-mini-map figcaption strong {
  color: #3e536b;
  font-size: 1.08rem;
}

.journal-mini-map figcaption span {
  color: #798393;
  font-size: .88rem;
}

.journal-mini-map__pin {
  position: absolute;
  z-index: 2;
  top: -12px;
  right: 21px;
  color: #c8434e;
  font-size: 1.8rem;
  line-height: 1;
  text-shadow: 0 2px 2px rgba(0, 0, 0, .18);
}

@media (max-width: 780px) {
  .journal-experience-collage {
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 8px;
  }

  .journal-palette-polaroid {
    margin-top: 34px;
    padding: 7px 7px 21px;
    transform: rotate(-3.8deg);
  }

  .journal-palette-polaroid figcaption {
    font-size: .98rem;
  }

  .journal-object-scrap {
    grid-template-columns: 76px minmax(0, 1fr);
    max-width: 295px;
    margin-right: 2px;
  }

  .journal-object-scrap__copy strong {
    font-size: 1.18rem;
  }

  .journal-mini-map figcaption {
    display: block;
  }

  .journal-mini-map figcaption span {
    display: block;
    margin-top: 2px;
  }
}
