/* Stitch with Noor: the sections */
.spread { position: relative; padding-top: clamp(70px, 9vw, 140px); border-top: 1px solid var(--ink); scroll-margin-top: var(--bar); }
#cover { scroll-margin-top: 0; }
.ad, .colophon { scroll-margin-top: var(--bar); }

/* ---------------- product photos ---------------- */
/* every photo sits in a box with the source aspect ratio, so nothing jumps while it loads;
   if a photo fails, the box stays as a plain linen tile */
.ph { position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; background: var(--linen); overflow: hidden; }
.ph img { display: block; width: 100%; height: 100%; object-fit: contain; background: #fff; opacity: 0; transition: opacity .5s; }
.ph.is-loaded img { opacity: 1; }
.ph.is-broken img { display: none; }
.still .ph img { transition: none; }
@media (prefers-reduced-motion: reduce) { .ph img { transition: none; } }

/* ---------------- the shop ---------------- */
.shop { padding-left: var(--gut); padding-right: var(--gut); padding-bottom: clamp(60px, 8vw, 120px); }
.shop__head { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 5vw, 90px); align-items: end; margin-bottom: clamp(36px, 5vw, 72px); }
.shop__title {
  font-family: var(--serif); font-weight: 400; font-variation-settings: 'opsz' 96;
  font-size: clamp(64px, 11vw, 196px); line-height: .86; letter-spacing: -.04em;
}
.shop__body { font-family: var(--serif); font-size: clamp(18px, 1.5vw, 22px); line-height: 1.42; font-variation-settings: 'opsz' 18; max-width: 36em; }
.shop__status, #shopVisit { margin-top: 26px; }
.shop__line { font-size: 15px; line-height: 1.45; margin-bottom: 16px; }
.shop__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(14px, 1.8vw, 28px); }
.card__tile { position: relative; display: block; background: var(--linen); aspect-ratio: 1 / 1; padding: 11%; }
.card__tile .ph { height: 100%; aspect-ratio: auto; background: #fff; box-shadow: 0 0 0 1px rgba(42, 29, 20, .06), 0 18px 28px -20px rgba(42, 29, 20, .55); }
.card__tile .ph.is-broken { background: var(--linen); box-shadow: none; }
.card__kind {
  position: absolute; left: 10px; top: 10px; z-index: 1;
  font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-variation-settings: 'wdth' 90;
  background: var(--cream); color: var(--ink); padding: 3px 7px 2px;
}
.card__name { margin-top: 14px; font-family: var(--serif); font-weight: 500; font-size: clamp(18px, 1.35vw, 21px); line-height: 1.2; font-variation-settings: 'opsz' 24; }
.card__by { margin-top: 4px; font-size: 14px; color: var(--muted); }
.card__credit { margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.card__credit a, .shop__note a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.card__credit a:hover { text-decoration-thickness: 2px; }
.shop__note { margin-top: clamp(30px, 4vw, 56px); padding-top: 16px; border-top: 1px solid var(--hair); font-size: 14px; color: var(--muted); max-width: 70ch; }

@media (max-width: 1100px) { .shop__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .shop__head { grid-template-columns: 1fr; }
  .shop__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; }
  .card__kind { left: 6px; top: 6px; font-size: 9.5px; }
  .card__name { font-size: 17px; margin-top: 10px; }
  .card__by { font-size: 13px; }
  .card__credit { font-size: 12px; }
}

/* ---------------- Trove ad ---------------- */
.ad {
  background: var(--ink); color: var(--cream); min-height: clamp(720px, 100vh, 1000px);
  display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: clamp(24px, 5vw, 80px);
  padding: calc(var(--bar) + 40px) var(--gut) 60px; position: relative; overflow: hidden;
}
.ad::before { content: ''; position: absolute; right: -8vw; top: 50%; width: 46vw; height: 46vw; transform: translateY(-50%); background: var(--mocha); border-radius: 50%; box-shadow: 0 0 0 1px rgba(226, 212, 189, .35), 0 0 0 28px rgba(75, 46, 31, .35); }
.ad__copy, .ad__phone { position: relative; z-index: 1; }
.ad__name { font-family: var(--serif); font-weight: 900; font-size: clamp(120px, 21vw, 360px); line-height: .78; letter-spacing: -.055em; font-variation-settings: 'opsz' 96; margin-left: -.04em; }
.ad__line { font-family: var(--serif); font-size: clamp(22px, 2.3vw, 36px); line-height: 1.22; max-width: 22em; margin-top: clamp(22px, 3vw, 40px); font-variation-settings: 'opsz' 36; }
.ad__price { margin: clamp(22px, 3vw, 36px) 0 22px; font-family: var(--serif); font-weight: 700; font-size: clamp(26px, 2.4vw, 38px); line-height: 1; padding-top: 16px; border-top: 1px solid rgba(250, 244, 233, .3); max-width: 22em; font-variation-settings: 'opsz' 40; }
.ad__terms { font-size: 16px; line-height: 1.5; max-width: 28em; margin: -8px 0 24px; color: rgba(250, 244, 233, .78); }
.ad__phone { display: grid; place-items: center; }
.phone { width: min(330px, 80vw); aspect-ratio: 9 / 18.5; background: #1a120c; border-radius: 46px; padding: 12px; box-shadow: 0 0 0 1px #4b3a2e, 0 40px 80px rgba(20, 12, 6, .55); transform: rotate(4deg); }
.phone__screen { height: 100%; background: var(--cream); color: var(--ink); border-radius: 36px; overflow: hidden; display: flex; flex-direction: column; }
.phone__top { padding: 44px 20px 10px; }
.phone__top span { font-family: var(--serif); font-weight: 800; font-size: 28px; line-height: 1; letter-spacing: -.02em; }
.phone__search { margin: 0 16px 8px; padding: 9px 12px; background: var(--linen); border-radius: 10px; font-size: 12px; color: var(--muted); }
.phone__list { flex: 1; overflow: hidden; border-top: 1px solid var(--hair); }
.phone__list li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; padding: 10px 20px; border-bottom: 1px solid var(--hair); }
.phone__list .th { width: 56px; height: 56px; aspect-ratio: 1 / 1; border-radius: 10px; }
.phone__list .th img { object-fit: cover; }
.phone__list b { display: block; font-family: var(--serif); font-size: 15px; font-weight: 700; line-height: 1.12; }
.phone__list small { display: block; font-size: 11px; line-height: 1.3; color: var(--muted); margin-top: 3px; }
.phone__tabs { display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; white-space: nowrap; border-top: 1px solid var(--hair); padding: 12px 8px 22px; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-align: center; }
.phone__tabs .on { color: var(--blue); }

@media (max-width: 860px) {
  .ad { grid-template-columns: 1fr; min-height: 0; padding-top: 60px; padding-bottom: 70px; }
  .ad::before { width: 120vw; height: 120vw; right: -60vw; top: auto; bottom: -50vw; transform: none; }
  .ad__name { font-size: 29vw; }
  .phone { transform: rotate(3deg); width: min(300px, 74vw); }
}

/* ---------------- where to find Noor: the agenda ---------------- */
.agenda { padding-bottom: clamp(60px, 8vw, 120px); }
.agenda__head { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(20px, 4vw, 70px); align-items: end; padding: 0 var(--gut); }
.agenda__intro { font-family: var(--serif); font-size: clamp(18px, 1.5vw, 22px); line-height: 1.4; font-variation-settings: 'opsz' 18; }
.agenda__list, .agenda__empty { margin-top: clamp(30px, 4vw, 60px); padding: 0 var(--gut); }
.month { display: grid; grid-template-columns: minmax(200px, 22%) 1fr; gap: clamp(16px, 3vw, 48px); border-top: 3px solid var(--ink); padding-top: 14px; margin-bottom: clamp(24px, 3vw, 40px); }
.month__name { font-family: var(--serif); font-weight: 700; font-size: clamp(36px, 4.2vw, 66px); line-height: .95; letter-spacing: -.03em; position: sticky; top: calc(var(--bar) + 16px); align-self: start; font-variation-settings: 'opsz' 40; }
.month__name small { display: block; font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .1em; margin-top: 8px; }
.ev { display: grid; grid-template-columns: clamp(96px, 10vw, 170px) 1.1fr 1.3fr; gap: clamp(14px, 2.4vw, 36px); padding: 4px 0 22px; border-bottom: 1px solid var(--ink); margin-bottom: 18px; align-items: start; }
.ev:last-child { border-bottom: 0; margin-bottom: 0; }
.ev__day { font-family: var(--serif); font-weight: 900; font-size: clamp(76px, 8.6vw, 148px); line-height: .82; letter-spacing: -.05em; font-variation-settings: 'opsz' 96; color: var(--blue); }
.ev__day small { display: block; font-family: var(--sans); font-weight: 700; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; margin-top: 12px; color: var(--ink); }
.ev__city { font-family: var(--sans); font-weight: 800; font-variation-settings: 'wdth' 72; text-transform: uppercase; font-size: clamp(26px, 2.6vw, 40px); line-height: .95; padding-top: 6px; }
.ev__where { font-family: var(--serif); font-size: 18px; margin-top: 8px; line-height: 1.3; font-variation-settings: 'opsz' 18; }
.ev__time { display: block; font-family: var(--sans); font-size: 14px; font-weight: 600; margin-top: 4px; }
.ev__what { padding-top: 8px; font-family: var(--serif); font-size: 18px; line-height: 1.4; font-variation-settings: 'opsz' 18; }
.ev__kind { display: inline-block; margin-bottom: 10px; font-family: var(--sans); font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--cream); background: var(--ink); padding: 3px 8px 2px; }
.agenda__empty { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 70px); align-items: end; }
.agenda__wait {
  border-top: 3px solid var(--ink); padding-top: 18px;
  font-family: var(--serif); font-weight: 600; font-size: clamp(40px, 5.4vw, 92px); line-height: .98; letter-spacing: -.03em; font-variation-settings: 'opsz' 60;
}
.agenda__ask { border-top: 1px solid var(--ink); padding-top: 18px; }

@media (max-width: 860px) {
  .agenda__head, .agenda__empty { grid-template-columns: 1fr; }
  .month { grid-template-columns: 1fr; gap: 10px; }
  .month__name { position: static; font-size: 44px; }
  .ev { grid-template-columns: 78px 1fr; gap: 6px 16px; }
  .ev__day { font-size: 76px; grid-row: span 2; }
  .ev__city { font-size: 26px; }
  .ev__what { grid-column: 2; padding-top: 4px; font-size: 16.5px; }
  .agenda__ask { border-top: 0; padding-top: 0; }
}

/* ---------------- footer ---------------- */
.colophon { background: var(--paper); padding: clamp(50px, 7vw, 100px) var(--gut) 40px; border-top: 6px solid var(--ink); }
.colophon__grid { display: grid; grid-template-columns: 1.1fr 1.3fr .8fr; gap: clamp(26px, 4vw, 70px); }
.colophon__social { display: flex; flex-wrap: wrap; gap: 10px 28px; grid-column: 1 / -1; }
.colophon__social a { color: var(--blue); font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.colophon__social span { color: var(--muted); font-weight: 400; margin-left: 4px; }
.colophon__noor { font-family: var(--serif); font-weight: 900; font-size: clamp(90px, 11vw, 190px); line-height: .8; letter-spacing: -.05em; font-variation-settings: 'opsz' 96; color: var(--blue); }
.colophon__h { font-family: var(--serif); font-weight: 700; font-size: clamp(32px, 3.2vw, 50px); line-height: 1; letter-spacing: -.025em; margin-bottom: 12px; font-variation-settings: 'opsz' 48; }
.colophon__sub > p { font-family: var(--serif); font-size: 18px; line-height: 1.4; max-width: 34ch; }
.mini--foot { margin-top: 22px; }
.colophon__nav { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--ink); align-self: start; }
.colophon__nav a { padding: 11px 0; border-bottom: 1px solid var(--ink); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; font-variation-settings: 'wdth' 88; }
.colophon__nav a:hover { color: var(--blue); }
.colophon__fine { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; margin-top: clamp(40px, 5vw, 70px); padding-top: 16px; border-top: 1px solid var(--ink); font-size: 13px; color: var(--muted); }
.colophon__fine p:first-child { max-width: 70ch; }

@media (max-width: 860px) {
  .colophon__grid { grid-template-columns: 1fr; }
  .colophon__noor { font-size: 27vw; }
}

/* ---------------- reveals ---------------- */
.js .turn { clip-path: inset(0 0 0 100%); }
.js .turn.is-in { clip-path: inset(0 0 0 0); transition: clip-path 1.05s cubic-bezier(.77, 0, .18, 1); }
.js .rise { opacity: 0; transform: translateY(26px); }
.js .rise.is-in { opacity: 1; transform: none; transition: opacity .8s, transform .8s cubic-bezier(.2, .8, .2, 1); }

/* ?still renders every reveal in its final state (used for review screenshots) */
.still .masthead span, .still .lines li, .still .turn, .still .rise, .still .cover__frame { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  .js .masthead span, .js .lines li, .js .cover__frame, .js .turn, .js .rise { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
}
