/* saavet designs · site sections */

/* ---------- hero: mist ground, the cursor paints her pattern (direction Γ) ---------- */
.hero { position: relative; min-height: max(700px, 100svh); background: var(--mist); overflow: hidden; touch-action: pan-y; }
.paint { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__in { position: relative; min-height: inherit; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 40px; padding-block: 110px 60px; pointer-events: none; }
.hero__in a, .hero__in button { pointer-events: auto; }
.hero__studio { width: clamp(220px, 21vw, 290px); margin-bottom: 22px; }
.hero__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(54px, 7.4vw, 112px); line-height: 1.02; letter-spacing: -.015em; color: var(--deep); }
.hero__title i { font-style: italic; }
.hero__sub { margin-top: 20px; max-width: 34ch; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.5; color: var(--deep); }
.hero__cta { margin-top: 30px; }
.js .hero__studio { clip-path: inset(-10% 100% -10% 0); }

.hero__art { position: relative; justify-self: end; width: min(100%, 520px); }
.big-mark { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 18px 30px rgba(77, 104, 99, .12)); }
.hero__note { position: absolute; left: -10%; bottom: -8%; display: flex; align-items: flex-end; gap: 4px; }
.hero__note-word { height: 50px; width: auto; }
.hero__note-arrow { height: 58px; width: auto; transform: translateY(-14px); }
.js .hero__note .hw { clip-path: inset(-10% 100% -10% 0); }

/* ---------- selected work: clean windows, the client palette slides up on hover ---------- */
.work { padding-block: clamp(110px, 15vh, 170px) clamp(80px, 11vh, 130px); }
.work .h2 { margin-bottom: clamp(40px, 6vh, 64px); }
.gallery { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(18px, 2vw, 28px); align-items: start; }
.gallery__col { display: flex; flex-direction: column; gap: clamp(26px, 3vw, 40px); }

.win { display: block; color: inherit; }
.win__frame { position: relative; display: block; overflow: hidden; border-radius: 10px; background: var(--ground, var(--mist)); }
.win--tall .win__frame { aspect-ratio: 470 / 560; }
.win--mid .win__frame { aspect-ratio: 470 / 496; }
.win--land .win__frame { aspect-ratio: 658 / 440; }
.win--big .win__frame { aspect-ratio: 658 / 616; }
.win__img { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.win__img--cover { object-fit: cover; }
.win__img--contain { object-fit: contain; padding: 9%; }
.win__art { position: absolute; left: 50%; top: 50%; width: 56%; height: auto; transform: translate(-50%, -50%); }
.win:hover .win__img, .win:focus-visible .win__img { transform: scale(1.03); }


.win__cap { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; padding-top: 14px; }
.win__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 1.9vw, 27px); line-height: 1.15; color: var(--ink); }
.win__meta { font-size: 14px; letter-spacing: .02em; color: var(--sage); }

/* ---------- how I work ---------- */
.process { background: var(--mist); padding-block: clamp(90px, 13vh, 150px); }
.process__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 40px; }
.process__lead { font-family: var(--font-display); font-style: italic; font-size: clamp(20px, 1.8vw, 26px); color: var(--deep); }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(22px, 2.4vw, 36px); margin-top: clamp(44px, 7vh, 72px); counter-reset: none; }
.step { position: relative; padding-top: 6px; }
.step__num { height: 54px; width: auto; margin-bottom: 14px; }
.step__title { font-family: var(--font-display); font-weight: 500; font-size: 23px; line-height: 1.15; color: var(--ink); margin-bottom: 8px; }
.step p { font-size: 16px; color: var(--deep); }
.step__arrow { position: absolute; left: 64px; top: 12px; width: 58px; height: auto; }
.js .step__num, .js .step__arrow { clip-path: inset(-10% 100% -10% 0); }
.ai { display: flex; align-items: flex-start; gap: 14px; margin-top: clamp(44px, 7vh, 64px); padding-top: 24px; border-top: 1px solid var(--soft); }
.ai__hw { flex: none; height: 30px; width: auto; margin-top: -2px; }
.ai p { max-width: 66ch; font-size: 17px; color: var(--deep); }

/* ---------- how I can help: a handwritten checklist and a window with a real example ---------- */
.services { padding-block: clamp(100px, 14vh, 160px) clamp(70px, 10vh, 110px); }
.services .h2 { margin-bottom: clamp(34px, 5vh, 56px); }
.board { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.board__paper { position: relative; display: flex; flex-direction: column; padding: 30px 28px 34px 30px; background: var(--white) repeating-linear-gradient(transparent 0 55px, var(--mist) 55px 56px); background-position: 0 22px; border-radius: 4px; box-shadow: 0 1px 2px rgba(46, 58, 49, .06), 0 18px 34px -22px rgba(46, 58, 49, .4); transform: rotate(-1.6deg); }
.board__item { display: flex; align-items: center; gap: 16px; min-height: 56px; text-align: left; border-radius: 6px; }
.board__box { position: relative; flex: none; width: 26px; height: 26px; border: 2px solid var(--sage); border-radius: 4px 7px 5px 8px; transform: rotate(-3deg); }
.board__check { position: absolute; left: -2px; bottom: 2px; height: 34px; width: auto; opacity: 0; }
.board__item.is-on .board__check { opacity: 1; }
.board__word { height: 48px; width: auto; opacity: .55; transition: opacity .3s; }
.board__item:hover .board__word, .board__item.is-on .board__word { opacity: 1; }

.board__panels { position: relative; }
.board__panel { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(22px, 3vw, 40px); align-items: center; }
.board__panel[hidden] { display: none; }
.js .board__panel.is-on { animation: panel-in .6s var(--ease-out) both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.board__win { margin: 0; }
.board__win > :first-child { display: block; width: 100%; aspect-ratio: 4 / 3.2; border-radius: 10px; background: var(--ground); }
.board__media--cover { object-fit: cover; }
.board__media--contain { object-fit: contain; padding: 6%; }
.board__win figcaption { margin-top: 10px; font-size: 14px; color: var(--sage); }
.board__name { font-family: var(--font-display); font-weight: 500; font-size: clamp(30px, 2.8vw, 40px); line-height: 1.05; color: var(--deep); }
.board__text p { margin-top: 12px; font-size: 18px; color: var(--deep); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; background: var(--mist); font-size: 15px; color: var(--ink); }
.chips li::before { content: ""; width: 10px; height: 14px; border-radius: 2px; background: var(--sage); opacity: calc(.35 + var(--k, 0) * .13); }
.chips li:nth-child(1) { --k: 0; } .chips li:nth-child(2) { --k: 1; } .chips li:nth-child(3) { --k: 2; } .chips li:nth-child(4) { --k: 3; } .chips li:nth-child(5) { --k: 4; } .chips li:nth-child(6) { --k: 5; }

.collab { margin-top: clamp(36px, 5vh, 56px); font-family: var(--font-display); font-style: italic; font-size: clamp(20px, 1.8vw, 26px); color: var(--deep); max-width: 52ch; }
.collab a { text-decoration: underline; text-decoration-color: var(--ochre); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---------- contact ---------- */
.contact { position: relative; background: var(--mist); overflow: hidden; }
.contact__in { position: relative; padding-block: clamp(100px, 15vh, 160px); min-height: 480px; }
.contact p { margin: 14px 0 28px; font-size: 21px; color: var(--deep); }
.contact__row { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.contact__arrow { height: 46px; width: auto; margin-right: -16px; transform: rotate(6deg) translateY(-14px); }
.contact__text { max-width: 54ch; }
.contact__ig { font-size: 17px; color: var(--deep); }
.contact__ig a { text-decoration: underline; text-decoration-color: var(--soft); text-underline-offset: 4px; }
.contact__ig a:hover { text-decoration-color: var(--deep); }

/* ---------- project page (general layout) ---------- */
.proj { padding-top: 130px; }
.proj__meta { font-size: 16px; color: var(--sage); }
.proj__title { margin-top: 8px; font-family: var(--font-display); font-weight: 500; font-size: clamp(48px, 7vw, 100px); line-height: 1; letter-spacing: -.015em; color: var(--deep); }
.proj__line { margin-top: 18px; max-width: 46ch; font-size: clamp(19px, 1.6vw, 23px); color: var(--deep); }
.proj__hero { margin-top: clamp(40px, 6vh, 70px); }
.proj__ground { display: grid; place-items: center; aspect-ratio: 16 / 8; padding: 6%; background: var(--ground); border-radius: var(--r-card); box-shadow: 0 0 0 12px var(--white), var(--shadow-lift); }
.proj__art { width: 54%; height: auto; }
.proj__art--small { width: 30%; } .proj__art--tall { width: auto; height: 80%; } .proj__art--figure { width: 36%; }
.proj__palette { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 36px; font-size: 14px; color: var(--deep); }
.proj__palette span { display: inline-flex; align-items: center; gap: 8px; }
.proj__palette span::before { content: ""; width: 22px; height: 22px; border-radius: 3px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(46, 58, 49, .1); }
.proj__palette-hw { height: 42px; width: auto; margin-right: 6px; }
.proj__body { margin-block: clamp(50px, 8vh, 90px); max-width: 68ch; font-size: 19px; }
.proj__body > * + * { margin-top: 1em; }
.proj__credits { padding-bottom: 80px; font-size: 15px; color: var(--sage); }

/* ---------- generic page, 404 ---------- */
.page { padding-block: 140px 100px; }
.page__body { margin-top: 30px; max-width: 68ch; }
.page__body > * + * { margin-top: 1em; }
.page__title { font-family: var(--font-display); font-size: 30px; margin-top: 24px; }
.nf { min-height: 80svh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 18px; padding-block: 140px 80px; }
.nf__mark { width: 130px; height: auto; margin-bottom: 4px; }
.nf__hw { height: 56px; width: auto; transform: rotate(-4deg); }
.nf p { font-size: 20px; color: var(--deep); margin-bottom: 10px; }

/* ---------- coming soon: the Instagram cover, opening like a page ---------- */
.is-coming-soon { background: var(--deep); }
.cs { position: relative; min-height: 100svh; display: grid; grid-template-rows: minmax(110px, 1fr) auto minmax(110px, 1fr); overflow: hidden; isolation: isolate; color: var(--paper); }
.cs__pat { position: absolute; inset: -60px; z-index: -1; background: var(--sage); -webkit-mask: url(../img/pattern.webp) 0 0 / 560px repeat; mask: url(../img/pattern.webp) 0 0 / 560px repeat; opacity: .34; transform: translate3d(var(--px, 0px), var(--py, 0px), 0); }
.cs__top { align-self: start; padding-top: 34px; }
.cs__mark { width: 58px; height: auto; }
.cs__mark .mark__back { fill: var(--soft); }
.cs__mark .mark__front, .cs__mark .mark__tail { fill: var(--paper); }
.cs__band { position: relative; color: var(--deep); }
.cs__paper { position: absolute; inset: 0; background: var(--paper); }
.js .cs__paper { clip-path: inset(50% 0 50% 0); animation: cs-open 1.15s var(--ease-paper) .2s forwards; }
@keyframes cs-open { to { clip-path: inset(0 0 0 0); } }
.cs__in { position: relative; padding-block: clamp(40px, 7vh, 72px); }
.cs__studio { width: clamp(220px, 22vw, 300px); margin-bottom: 20px; }
.js .cs__studio { clip-path: inset(-10% 100% -10% 0); }
.cs__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(50px, 7vw, 104px); line-height: 1.02; letter-spacing: -.015em; }
.cs__title i { font-style: italic; }
.cs__text { margin-top: 16px; max-width: 40ch; font-size: clamp(18px, 1.5vw, 22px); }
.cs__links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 28px; }
.cs__mail { font-size: 17px; text-decoration: underline; text-decoration-color: var(--soft); text-underline-offset: 4px; }
.cs__en { margin-top: 22px; font-size: 14px; letter-spacing: .04em; color: var(--sage); }
.js .cs__in > :not(.cs__studio) { opacity: 0; transform: translateY(14px); animation: cs-rise 1s var(--ease-out) forwards; }
.js .cs__title { animation-delay: .9s !important; } .js .cs__text { animation-delay: 1.1s !important; } .js .cs__links { animation-delay: 1.25s !important; } .js .cs__en { animation-delay: 1.4s !important; }
@keyframes cs-rise { to { opacity: 1; transform: none; } }
.cs__foot { align-self: end; display: flex; justify-content: flex-end; padding-bottom: 30px; }
.cs__handle { width: 170px; opacity: .9; }

/* ---------- mobile ---------- */
@media (max-width: 860px) {
  .hero__in { grid-template-columns: 1fr; padding-top: 100px; gap: 10px; }
  .hero__art { order: -1; justify-self: center; width: 78%; margin-bottom: 8px; }
  .hero__note { left: -4%; right: auto; bottom: -6%; }
  .hero__note-word { height: 38px; } .hero__note-arrow { height: 42px; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; }
  .step__num { grid-row: span 2; height: 46px; margin: 0; }
  .step__arrow { display: none; }
  .contact__arrow { display: none; }
  .gallery { display: flex; flex-direction: column; align-items: stretch; }
  .gallery__col { display: contents; }
  .board { grid-template-columns: 1fr; }
  .board__paper { flex-direction: row; flex-wrap: wrap; gap: 4px 18px; padding: 18px 18px 20px; transform: rotate(-1deg); background-image: none; }
  .board__item { min-height: 48px; }
  .board__word { height: 40px; }
  .board__panel { grid-template-columns: 1fr; }
  .hero__note { left: -4%; right: auto; bottom: -6%; }
  .proj__ground { aspect-ratio: 4 / 3; }
  .proj__art { width: 72%; }
}
/* the «σήμα» note points into the mark at tablet widths too */
@media (min-width: 600px) and (max-width: 860px) { .hero__note { left: 4%; bottom: -1%; } }
@media (min-width: 861px) and (max-width: 1100px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 44px; }
  .step:nth-child(3) .step__arrow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .js .hero__studio, .js .hero__note .hw, .js .step__num, .js .step__arrow, .js .cs__studio { clip-path: none; }
  .js .cs__paper { clip-path: none; animation: none; }
  .js .cs__in > :not(.cs__studio) { opacity: 1; transform: none; animation: none; }
}

/* ---------- notes on the home page ---------- */
.notes { padding-block: 10px clamp(100px, 14vh, 150px); }
.notes__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 30px; }
.notes__all { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; color: var(--deep); }
.notes__arrow { height: 15px; width: auto; transition: transform .4s var(--ease-out); }
.notes__all:hover .notes__arrow { transform: translateX(6px); }
.notes__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 30px clamp(30px, 4vw, 64px); margin-top: clamp(36px, 5vh, 56px); align-items: start; }
.note { display: flex; flex-direction: column; gap: 8px; padding-bottom: 26px; border-bottom: 1px solid var(--soft); }
.note--lead { grid-row: span 2; border-bottom: 0; }
.note-cover { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; margin: 0 0 16px; background: var(--ground); border-radius: 3px; box-shadow: 0 0 0 10px var(--white), var(--shadow); overflow: hidden; transition: transform .6s var(--ease-out), box-shadow .5s; }
.note:hover .note-cover { transform: rotate(-1deg) translateY(-4px); box-shadow: 0 0 0 10px var(--white), var(--shadow-lift); }
.note-cover__mark { width: 46%; height: auto; } .note-cover__svg { width: 34%; height: auto; } .note-cover__img { position: absolute; inset: 11%; width: 78%; height: 78%; object-fit: contain; } .note-cover__photo { width: 100%; height: 100%; object-fit: cover; }
.note__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 14px; color: var(--sage); }
.note-label { font-weight: 500; color: var(--deep); letter-spacing: .02em; }
.note-label__hw { height: 36px; width: auto; }
.note__title { font-family: var(--font-display); font-weight: 500; font-size: 26px; line-height: 1.15; color: var(--ink); }
.note--lead .note__title { font-size: clamp(30px, 2.8vw, 38px); }
.note__excerpt { max-width: 52ch; color: var(--deep); }

/* ---------- journal (Σημειώσεις) ---------- */
.journal { padding-block: 140px clamp(90px, 12vh, 130px); }
.journal__lead { margin-top: 16px; max-width: 54ch; font-size: clamp(19px, 1.6vw, 22px); color: var(--deep); }
.journal .filters { position: relative; display: flex; flex-wrap: wrap; gap: 8px 30px; margin: 36px 0 12px; padding-bottom: 14px; }
.journal .filters button { padding: 4px 0; font-size: 19px; color: var(--sage); transition: color .3s; }
.journal .filters button:hover { color: var(--deep); }
.journal .filters button.is-on { color: var(--ink); }
.filters__mark { position: absolute; left: 0; height: 14px; width: 60px; object-fit: fill; transition: left .55s var(--ease-out), width .55s var(--ease-out); }
.jitem.is-out { display: none; }
.journal__empty { margin-top: 40px; font-size: 20px; color: var(--deep); }

/* ---------- a note ---------- */
.post { padding-top: 124px; }
.post__back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px; font-size: 15px; color: var(--deep); }
.post__back-hw { height: 14px; width: auto; transition: transform .4s var(--ease-out); }
.post__back:hover .post__back-hw { transform: translateX(-5px); }
.post__title { margin-top: 14px; max-width: 20ch; font-family: var(--font-display); font-weight: 500; font-size: clamp(40px, 5.6vw, 78px); line-height: 1.04; letter-spacing: -.015em; color: var(--deep); }
.post__lead { margin-top: 18px; max-width: 52ch; font-size: clamp(19px, 1.6vw, 23px); color: var(--deep); }
.post__cover { margin-top: clamp(36px, 6vh, 60px); }
.pcover { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 7; background: var(--ground); border-radius: var(--r-card); box-shadow: 0 0 0 12px var(--white), var(--shadow-lift); overflow: hidden; }
.pcover__mark { width: 26%; height: auto; } .pcover__svg { width: 22%; height: auto; } .pcover__img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; } .pcover__photo { width: 100%; height: 100%; object-fit: cover; }
.post__body.wrap { width: min(68ch, 100% - 2 * var(--gutter)); margin-top: clamp(50px, 8vh, 80px); font-size: 19px; line-height: 1.7; }
.post__body > * + * { margin-top: 1em; }
.post__body h2 { margin-top: 1.8em; font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.15; color: var(--deep); }
.post__body h3 { margin-top: 1.5em; font-family: var(--font-display); font-weight: 500; font-size: 24px; color: var(--deep); }
.post__body strong { color: var(--ink); font-weight: 700; }
.post__body a { text-decoration: underline; text-decoration-color: var(--ochre); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.post__body ul, .post__body ol { padding-left: 1.4em; }
.post__body ul { list-style: none; }
.post__body ul li { position: relative; }
.post__body ul li::before { content: ""; position: absolute; left: -1.05em; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--sage); }
.post__body ol { list-style: decimal; }
.post__body ol li::marker { color: var(--sage); font-weight: 700; }
.post__body li + li { margin-top: .5em; }
.post__body img { margin-inline: auto; max-height: 420px; width: auto; border-radius: 4px; box-shadow: 0 0 0 10px var(--white), var(--shadow); }
.post__body figure { margin-block: 1.6em; }
.post__foot.wrap { width: min(68ch, 100% - 2 * var(--gutter)); margin-block: 64px 110px; padding-top: 26px; border-top: 1px solid var(--soft); }
.post__sign { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--font-display); font-style: italic; font-size: 20px; color: var(--deep); }
.post__handle { height: 32px; width: auto; }
.post__next { display: block; margin-top: 30px; }
.post__next span:first-child { display: block; font-size: 14px; color: var(--sage); }
.post__next .mk-hover { font-family: var(--font-display); font-size: 26px; color: var(--ink); }

@media (max-width: 860px) {
  .notes__grid { grid-template-columns: 1fr; }
  .note--lead { grid-row: auto; }
  .pcover { aspect-ratio: 4 / 3; }
  .pcover__mark { width: 50%; } .pcover__svg { width: 40%; }
}

/* ---------- visual lists inside notes: one device per list ---------- */
.post__body .wide { width: min(1000px, calc(100vw - 2 * var(--gutter))); margin-left: calc(50% - min(500px, 50vw - var(--gutter))); margin-block: 1.6em 2.2em; }

/* file cards: each format shows the property that matters */
.files { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.file { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.file__ext { font-family: var(--font-display); font-style: italic; font-size: clamp(30px, 3vw, 42px); line-height: 1; color: var(--deep); }
.file__img { position: relative; display: block; aspect-ratio: 1; background: var(--white); border-radius: 4px; box-shadow: inset 0 0 0 1px var(--mist); overflow: hidden; }
.post__body .file__img img { width: 100%; height: 100%; max-height: none; object-fit: cover; border-radius: 0; box-shadow: none; margin: 0; }
.file__img--print { display: grid; place-items: center; background: #f1f7ee; }
.post__body .file__img--print img { width: 62%; height: auto; object-fit: contain; }
.file__img--print i { position: absolute; width: 22px; height: 22px; border-color: var(--deep); border-style: solid; opacity: .7; }
.file__img--print i:nth-of-type(1) { left: 12%; top: 12%; border-width: 1px 0 0 1px; }
.file__img--print i:nth-of-type(2) { right: 12%; top: 12%; border-width: 1px 1px 0 0; }
.file__img--print i:nth-of-type(3) { left: 12%; bottom: 12%; border-width: 0 0 1px 1px; }
.file__img--print i:nth-of-type(4) { right: 12%; bottom: 12%; border-width: 0 1px 1px 0; }
.file figcaption { font-size: 16px; line-height: 1.5; color: var(--deep); }

/* compositions: the real logo, and where each one lives */
.comps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: var(--mist); border: 2px solid var(--mist); border-radius: 6px; overflow: hidden; }
.comp { display: flex; flex-direction: column; margin: 0; background: var(--white); }
.comp__img { display: grid; place-items: center; aspect-ratio: 16 / 10; padding: 10%; }
.post__body .comp__img img { width: auto; max-width: 100%; max-height: 100%; border-radius: 0; box-shadow: none; margin: 0; }
.comp figcaption { display: flex; flex-direction: column; gap: 2px; padding: 0 18px 18px; font-size: 15px; line-height: 1.4; color: var(--sage); }
.comp figcaption strong { font-family: var(--font-display); font-size: 20px; font-weight: 500; color: var(--ink); }

/* colourways: a strip of real swatches */
.colorway { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.colorway figure { margin: 0; }
.post__body .colorway img { display: block; width: 100%; aspect-ratio: 1001 / 720; object-fit: contain; background: var(--bg); border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(46, 58, 49, .08); margin: 0; max-height: none; }
.colorway figcaption { margin-top: 8px; font-size: 13px; line-height: 1.3; color: var(--sage); }

/* a real number, set large */
.bignum { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 22px; }
.bignum__n { font-family: var(--font-display); font-weight: 500; font-size: clamp(72px, 9vw, 120px); line-height: .9; color: var(--deep); }
.bignum__n::after { content: "."; color: var(--ochre); }

/* the tip, signed with her handwriting */
.tip { position: relative; margin-top: 2em; padding: 26px 28px 26px 28px; background: var(--mist); border-radius: 6px; }
.post__body .tip__hw { position: absolute; right: 18px; top: -26px; height: 48px; width: auto; max-height: none; margin: 0; border-radius: 0; box-shadow: none; transform: rotate(-6deg); }
.tip p { max-width: 54ch; }

@media (max-width: 860px) {
  .files { grid-template-columns: 1fr; }
  .file { display: grid; grid-template-columns: 112px 1fr; grid-template-rows: auto 1fr; column-gap: 18px; row-gap: 6px; }
  .file__img { grid-row: 1 / span 2; grid-column: 1; }
  .comps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .colorway { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bignum { grid-template-columns: 1fr; gap: 8px; }
}

/* handwritten numerals as list markers */
.post__body .hwlist { list-style: none; padding-left: 0; display: grid; gap: 18px; }
.hwlist li { display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: start; gap: 14px; }
.post__body .hwlist li::before { content: none; }
.post__body .hwlist__n { height: 44px; width: auto; max-height: none; margin: 0; border-radius: 0; box-shadow: none; }

/* a little map: rows that are links, with her arrow */
.post__body .golist { list-style: none; padding-left: 0; border-top: 1px solid var(--soft); }
.post__body .golist li::before { content: none; }
.post__body .golist li + li { margin-top: 0; }
.golist a { display: grid; grid-template-columns: 150px minmax(0, 1fr) 54px; align-items: center; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--soft); text-decoration: none !important; }
.golist strong { font-family: var(--font-display); font-weight: 500; font-size: 23px; }
.golist span { font-size: 17px; color: var(--deep); }
.post__body .golist img { width: 100%; height: auto; max-height: none; margin: 0; border-radius: 0; box-shadow: none; transition: transform .4s var(--ease-out); }
.golist a:hover img { transform: translateX(6px); }

/* years in her handwriting */
.post__body .yearhead { display: flex; align-items: center; gap: 14px; }
.post__body .yearhead img { height: 40px; width: auto; max-height: none; margin: 0; border-radius: 0; box-shadow: none; }

@media (max-width: 860px) {
  .golist a { grid-template-columns: minmax(0, 1fr) 40px; }
  .golist span { grid-column: 1; grid-row: 2; }
  .golist img { grid-column: 2; grid-row: 1 / span 2; }
}
.post__body .comp, .post__body .file, .post__body .colorway figure { margin: 0; }

/* ---------- windows v2: any proportion, the palette as a swatch fan ---------- */
.win__frame { aspect-ratio: var(--ratio, 4 / 3); container-type: inline-size; }
.win .fan { position: absolute; left: 12%; bottom: -10px; width: 0; height: 0; }
.win .fan i { position: absolute; left: -13px; bottom: 0; width: clamp(20px, 6.5cqw, 30px); height: clamp(84px, 30cqw, 160px); border-radius: 4px 4px 2px 2px; background: var(--c); box-shadow: 0 0 0 2.5px var(--white), 0 6px 14px -6px rgba(46, 58, 49, .45); transform-origin: 50% 94%; transform: translateY(105%) rotate(0deg); transition: transform .7s var(--ease-out); transition-delay: calc(var(--n) * .04s); }
.win:hover .fan i, .win:focus-visible .fan i, .win.is-hot .fan i { transform: translateY(0) rotate(var(--a)); }
.win__hw { position: absolute; z-index: 2; left: calc(12% + var(--reach, 15cqw)); bottom: clamp(38px, 13cqw, 80px); height: 40px; width: auto; padding: 4px 10px; background: var(--paper); border-radius: 6px; opacity: 0; transform: rotate(-4deg) translateY(6px); transition: opacity .3s .2s, transform .5s var(--ease-out) .2s; }
.win:hover .win__hw, .win:focus-visible .win__hw, .win.is-hot .win__hw { opacity: 1; transform: rotate(-4deg); }

/* ---------- how I work: the steps arrive one by one ---------- */
.js .steps:not(.is-done) .step { opacity: 0; transform: translateY(18px); }
.step { transition: opacity .6s var(--ease-out), transform .7s var(--ease-out); }
.js .steps .step.is-shown { opacity: 1; transform: none; }

/* ---------- who I am ---------- */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding-block: clamp(90px, 13vh, 150px) clamp(60px, 9vh, 100px); }
.about__portrait { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 10px; background: var(--deep); overflow: hidden; display: grid; place-items: center; }
.about__pat { position: absolute; inset: 0; background: var(--sage); -webkit-mask: url(../img/pattern.webp) 0 0 / 420px repeat; mask: url(../img/pattern.webp) 0 0 / 420px repeat; opacity: .32; }
.about__mark { position: relative; width: 58%; height: auto; }
.about__mark .mark__back { fill: var(--soft); }
.about__mark .mark__front, .about__mark .mark__tail { fill: var(--paper); }
.about__handle { position: absolute; right: 8%; bottom: 7%; width: 42%; height: auto; }
.about__text p { margin-top: 16px; max-width: 56ch; font-size: 19px; color: var(--deep); }
.about__lead { font-family: var(--font-display); font-size: clamp(24px, 2.2vw, 30px) !important; line-height: 1.3; color: var(--ink) !important; }
.about__lead strong { font-weight: 600; }
.about__lead i { font-style: italic; }

@media (max-width: 860px) {
  .win .fan i { height: clamp(70px, 28cqw, 120px); }
  .about { grid-template-columns: 1fr; }
  .about__portrait { max-width: 420px; }
}

@media (prefers-reduced-motion: reduce) { .js .steps .step { opacity: 1 !important; transform: none !important; } }

/* process strip: four frames and her arrows */
.strip { display: grid; grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr) 34px minmax(0, 1fr) 34px minmax(0, 1fr); align-items: start; gap: 10px; }
.post__body .strip figure { margin: 0; }
.strip__img { display: grid; place-items: center; aspect-ratio: 1; padding: 10%; background: var(--white); border-radius: 6px; box-shadow: inset 0 0 0 1px var(--mist); overflow: hidden; }
.strip__img--ground { background: #f4f0e9; padding: 6%; }
.post__body .strip__img img { width: 100%; height: 100%; max-height: none; object-fit: contain; margin: 0; border-radius: 0; box-shadow: none; }
.post__body .strip__hw { height: 30px; width: auto; max-height: none; margin: 12px 0 2px; border-radius: 0; box-shadow: none; }
.strip figcaption { font-size: 15px; line-height: 1.4; color: var(--deep); }
.post__body .strip__arrow { width: 100%; height: auto; max-height: none; margin: 0; margin-top: calc(50% + 20px); border-radius: 0; box-shadow: none; }

/* where the logo lives: three compositions in context */
.where { display: grid; grid-template-columns: 1.4fr 1fr .8fr; gap: 12px; margin: 14px 0 6px; }
.post__body .where figure { margin: 0; }
.where span { display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 12%; background: var(--white); border-radius: 6px; box-shadow: inset 0 0 0 1px var(--mist); }
.where .where__round { aspect-ratio: 1; border-radius: 50%; padding: 22%; }
.post__body .where img { max-height: 100%; width: auto; max-width: 100%; margin: 0; border-radius: 0; box-shadow: none; }
.where figcaption { margin-top: 6px; font-size: 14px; color: var(--sage); }
.where__note { display: block; font-size: 14px; font-style: italic; color: var(--sage); }
.post__body .feel { margin: 14px 0 0; }
.post__body .feel img { max-height: 300px; margin: 0; }
.feel figcaption { margin-top: 8px; font-size: 14px; font-style: italic; color: var(--sage); }

/* evolution: three columns compared */
.evolve { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr) 40px minmax(0, 1fr); gap: 12px; align-items: start; }
.evolve__img { display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 8%; background: var(--white); border-radius: 6px; box-shadow: inset 0 0 0 1px var(--mist); }
.post__body .evolve__img img { max-height: 100%; width: auto; max-width: 100%; margin: 0; border-radius: 0; box-shadow: none; }
.post__body .evolve__year { height: 34px; width: auto; max-height: none; margin: 14px 0 8px; border-radius: 0; box-shadow: none; }
.evolve dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font-size: 15px; line-height: 1.4; }
.evolve dt { color: var(--sage); }
.evolve dd { margin: 0; color: var(--ink); }
.evolve dd i { display: inline-block; width: 12px; height: 16px; margin-right: 3px; border-radius: 2px; vertical-align: -2px; background: var(--c); }
.post__body .evolve__arrow { width: 100%; height: auto; max-height: none; margin: 0; margin-top: 70px; border-radius: 0; box-shadow: none; }

@media (max-width: 860px) {
  .strip { grid-template-columns: 1fr 1fr; gap: 18px 14px; }
  .post__body .strip__arrow { display: none; }
  .where { grid-template-columns: 1fr 1fr 1fr; }
  .evolve { grid-template-columns: 1fr; gap: 28px; }
  .post__body .evolve__arrow { display: none; }
}
.evolve__img, .where span, .strip__img { position: relative; }
.post__body .evolve__img img, .post__body .where span img, .post__body .strip__img img { position: absolute; inset: 10%; width: 80%; height: 80%; max-width: none; max-height: none; object-fit: contain; }
.post__body .where .where__round img { inset: 22%; width: 56%; height: 56%; }

/* ---------- round 4 ---------- */
.hero__aside { font-family: var(--font-display); font-style: italic; color: var(--sage); }

/* doodles: thin marker lines that draw themselves over things */
.doodle { display: block; overflow: visible; max-width: none; color: var(--deep); }
.doodle__ink { fill: currentColor; stroke: none; }
.doodle__line { fill: none; stroke: currentColor; stroke-width: var(--sw, 2.4); stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 2; stroke-dashoffset: 0; }
/* the pen lives inside the mask: as it moves along her line, her ink appears */
.doodle__pen { fill: none; stroke: #fff; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 2; stroke-dashoffset: 0; }
.js .doodle .doodle__pen, .js .doodle .doodle__line { stroke-dashoffset: 1; transition: stroke-dashoffset calc(var(--dur, .9s) * var(--f, 1)) cubic-bezier(.5, .08, .4, 1) calc(var(--dl, .15s) + var(--dur, .9s) * var(--o, 0)); }
.js .doodle.is-in .doodle__pen, .js .doodle.is-in .doodle__line { stroke-dashoffset: 0; }

/* a realistic phone: titanium edge, black glass, the island; sizes follow its own width */
.phone { position: relative; display: block; aspect-ratio: 71.6 / 147.6; container-type: inline-size; border-radius: 16% / 7.8%; background: linear-gradient(135deg, #b9bcc0 0%, #6a6d72 7%, #34363a 26%, #46484d 58%, #85888d 88%, #c3c6ca 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), 0 3px 6px -2px rgba(20, 26, 24, .3), 0 30px 50px -24px rgba(20, 26, 24, .55); }
.phone::before, .phone::after { content: ""; position: absolute; background: linear-gradient(90deg, #7a7d82, #3c3e42); }
.phone::before { left: -1.1cqw; top: 18%; width: 1.5cqw; height: 26%; border-radius: 1cqw 0 0 1cqw; background: linear-gradient(90deg, #7a7d82, #3c3e42) 0 0 / 100% 13% no-repeat, linear-gradient(90deg, #7a7d82, #3c3e42) 0 42% / 100% 25% no-repeat, linear-gradient(90deg, #7a7d82, #3c3e42) 0 100% / 100% 25% no-repeat; }
.phone::after { right: -1.1cqw; top: 29%; width: 1.5cqw; height: 15%; border-radius: 0 1cqw 1cqw 0; background: linear-gradient(90deg, #3c3e42, #7a7d82); }
.phone__glass { position: absolute; inset: 1.6cqw; padding: 3.4cqw; border-radius: 14.6cqw; background: #050607; box-shadow: inset 0 0 0 .5cqw #17181b; }
.phone__glass::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; background: linear-gradient(118deg, rgba(255, 255, 255, .15) 0%, rgba(255, 255, 255, .04) 24%, rgba(255, 255, 255, 0) 42%); pointer-events: none; }
.phone__screen { position: relative; display: block; width: 100%; height: 100%; border-radius: 11.4cqw; overflow: hidden; background: #000; isolation: isolate; }
.phone__screen::before { content: ""; position: absolute; z-index: 2; left: 50%; top: 2.6cqw; width: 29cqw; height: 8.4cqw; border-radius: 99px; background: #000; transform: translateX(-50%); }
.phone__media { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* windows v3: a screenshot in a small browser, or in a phone, so the whole page shows */
.win__browser { position: absolute; left: 50%; top: 50%; width: 84%; transform: translate(-50%, -50%); overflow: hidden; border-radius: clamp(6px, 1.3cqw, 10px); background: var(--white); box-shadow: 0 1px 2px rgba(46, 58, 49, .08), 0 24px 44px -24px rgba(46, 58, 49, .5); transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.win__bar { display: flex; align-items: center; gap: clamp(4px, .9cqw, 6px); height: clamp(14px, 3.2cqw, 22px); padding: 0 clamp(7px, 1.6cqw, 12px); background: #eef1f0; border-bottom: 1px solid #e0e5e3; }
.win__bar i { width: clamp(5px, 1.05cqw, 8px); aspect-ratio: 1; border-radius: 50%; background: #cfd6d3; }
.win__shot { display: block; width: 100%; height: auto; }
.win:hover .win__browser, .win:focus-visible .win__browser { transform: translate(-50%, -52%); }
.win__phone { position: absolute; left: 50%; top: 7%; height: 86%; transform: translateX(-50%) rotate(-2deg); transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.win:hover .win__phone, .win:focus-visible .win__phone { transform: translateX(-50%) translateY(-2%) rotate(0deg); }
.win__img--contain { padding: 6%; }
.win__badge { position: absolute; z-index: 2; right: 9%; top: 11%; padding: 4px 10px; font-family: var(--font-display); font-style: italic; font-size: clamp(16px, 3.8cqw, 21px); line-height: 1.2; color: var(--paper); white-space: nowrap; transform: rotate(-6deg); }
.win__badge-ring { position: absolute; left: -11%; top: -50%; width: 122%; height: 196%; color: var(--ochre); --sw: 1.6; --dl: .5s; --dur: 1.1s; }

/* how I can help: the phone with a reel, and a few doodles round it */
.board__win > .board__stage { position: relative; display: grid; place-items: center; overflow: hidden; }
.board__win > .board__stage { aspect-ratio: 4 / 3.7; }
.board__phone { height: 92%; }

.about__sk { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; font-size: 18px; color: var(--deep); }
.about__sk-arrow { height: 15px; width: auto; transition: transform .4s var(--ease-out); }
.about__sk:hover .about__sk-arrow { transform: translateX(6px); }

/* ---------- paper: notes look like notes ---------- */
.paper--dots { background: radial-gradient(circle at 1px 1px, rgba(121, 155, 150, .42) 1.1px, transparent 1.6px) 0 0 / 20px 20px, #fdfdfb; }
.paper--lines { background: linear-gradient(rgba(201, 184, 80, .75), rgba(201, 184, 80, .75)) 0 64px / 100% 1.5px no-repeat, repeating-linear-gradient(to bottom, transparent 0 29px, rgba(121, 155, 150, .28) 29px 30px) 0 64px / 100% 100% no-repeat, #fffefb; }
.paper--sticky { background: linear-gradient(rgba(140, 120, 40, .06), rgba(140, 120, 40, 0) 26px), linear-gradient(172deg, #f7f0d4 0%, #efe4bc 100%); }

.pnote { position: relative; display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 26px 24px 52px; color: inherit; border-radius: 2px; transform: rotate(var(--r, 0deg)); box-shadow: 0 1px 2px rgba(46, 58, 49, .08), 0 18px 30px -20px rgba(46, 58, 49, .45); transition: transform .5s var(--ease-out), box-shadow .5s; }
.pnote::before { content: ""; position: absolute; z-index: 1; left: 50%; top: -11px; width: 84px; height: 24px; background: rgba(193, 208, 203, .78); box-shadow: 0 1px 2px rgba(46, 58, 49, .08); transform: translateX(-50%) rotate(calc(var(--r, 0deg) * -2.4)); }
.paper--sticky.pnote::before { display: none; }
.paper--sticky.pnote { box-shadow: 0 1px 1px rgba(46, 58, 49, .06), 0 22px 26px -20px rgba(46, 58, 49, .5); }
.pnote:hover, .pnote:focus-visible { transform: rotate(0deg) translateY(-4px); box-shadow: 0 2px 4px rgba(46, 58, 49, .08), 0 30px 44px -24px rgba(46, 58, 49, .5); }
.pnote__pic { display: block; margin: 0 0 10px; }
.pnote .note-cover { margin: 0; aspect-ratio: 16 / 10; border-radius: 2px; box-shadow: 0 10px 22px -16px rgba(46, 58, 49, .55); transform: rotate(calc(var(--r, 0deg) * -1.5)); }
.pnote:hover .note-cover { transform: none; box-shadow: 0 10px 22px -16px rgba(46, 58, 49, .55); }
.pnote__title { font-family: var(--font-display); font-weight: 500; font-size: 24px; line-height: 30px; color: var(--ink); }
.pnote--lead .pnote__title { font-size: clamp(28px, 2.6vw, 34px); line-height: 1.15; }
.pnote__excerpt { font-size: 16.5px; line-height: 30px; color: var(--deep); }
.paper--lines.pnote .note__meta { min-height: 30px; }

.notes__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 54px clamp(36px, 5vw, 70px); margin-top: clamp(44px, 6vh, 64px); }
.notes__cell:first-child { grid-row: span 2; }
.notes__cell .pnote:not(.pnote--lead) .pnote__excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.jlist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 60px clamp(28px, 3.4vw, 48px); margin-top: 40px; padding-top: 14px; }
.jitem { display: block; }

/* a note: one sheet torn from a notebook */
.post { padding-top: 112px; padding-bottom: clamp(70px, 10vh, 110px); }
.post__sheet { --pad: clamp(20px, 6vw, 96px); position: relative; width: min(1180px, 100% - 2 * var(--gutter)); margin: 0 auto; padding: clamp(58px, 7vw, 96px) var(--pad) clamp(36px, 5vw, 64px); border-radius: 3px; box-shadow: 0 1px 2px rgba(46, 58, 49, .06), 0 34px 70px -40px rgba(46, 58, 49, .5); container-type: inline-size; }
.post__sheet::before { content: ""; position: absolute; left: 22px; right: 22px; top: 18px; height: 16px; background: radial-gradient(circle at 50% 50%, var(--paper) 5.5px, rgba(46, 58, 49, .16) 6px 7px, transparent 7.5px) 0 0 / 34px 16px repeat-x; }
.post__sheet .wrap { width: auto; }
.post__sheet .post__head, .post__sheet .post__cover { max-width: 940px; margin-inline: auto; }
.post__sheet .post__body, .post__sheet .post__foot { width: auto; max-width: 68ch; margin-inline: auto; }
.post__sheet .post__body { margin-top: clamp(44px, 7vh, 70px); }
.post__sheet .post__foot { margin-block: 56px 0; }
.post__sheet .post__body .wide { width: min(940px, 100cqw); margin-left: calc(50% - min(470px, 50cqw)); }
.post__sheet .pcover { box-shadow: 0 16px 34px -22px rgba(46, 58, 49, .55); border-radius: 3px; transform: rotate(-.6deg); }
.post__sheet .post__cover { position: relative; }
.post__sheet .post__cover::before { content: ""; position: absolute; z-index: 1; left: 50%; top: -12px; width: 110px; height: 26px; background: rgba(193, 208, 203, .8); transform: translateX(-50%) rotate(2deg); }
.post__sheet .post__body img { box-shadow: 0 10px 24px -16px rgba(46, 58, 49, .5); }

/* footer: the small print */
.foot__legal { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 30px; margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--soft); font-size: 13.5px; line-height: 1.5; color: var(--sage); }
.foot__legal p:first-child { max-width: 72ch; }
.foot__credits { display: flex; flex-wrap: wrap; gap: 4px 18px; }

@media (max-width: 1100px) {
  .jlist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .notes__grid { grid-template-columns: 1fr; }
  .notes__cell:first-child { grid-row: auto; }
  .post__sheet::before { left: 12px; right: 12px; background-size: 26px 16px; }
}
@media (max-width: 560px) {
  .jlist { grid-template-columns: 1fr; gap: 48px; }
  .foot__legal { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .js .doodle .doodle__pen, .js .doodle .doodle__line { stroke-dashoffset: 0; } }

/* ---------- round 5 ---------- */
/* the reel shows whole, like a real reel on a phone: black above and below, nothing cut */
.board__phone .phone__media { object-fit: contain; object-position: center; background: #000; }

/* marker notes: a light marker over an image, words in the note font */
.anno { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.anno__mark { position: absolute; display: block; color: var(--paper); opacity: .95; --sw: 2.4; filter: url(#sv-marker); }
.anno__text { position: absolute; font-family: var(--font-note); line-height: 1.1; color: var(--paper); white-space: nowrap; text-shadow: 0 1px 8px rgba(20, 26, 24, .35); }
.js .anno__text { opacity: 0; transform: translateY(4px) rotate(-3deg); transition: opacity .5s ease .7s, transform .6s var(--ease-out) .7s; }
.js .anno__mark.is-in + .anno__text { opacity: 1; transform: rotate(-3deg); }
.board__anno .anno__mark { left: 7%; top: 47%; width: 21%; transform: rotate(-4deg); }
.board__anno .anno__text { left: 5%; top: 22%; width: 27%; white-space: normal; font-size: clamp(17px, 1.7vw, 22px); }

/* post-its: terracotta or «σάπιο μήλο», paper-white handwriting */
.postit { color: var(--paper); background: var(--terra); box-shadow: 0 1px 1px rgba(46, 58, 49, .08), 0 20px 24px -18px rgba(46, 58, 49, .55); }
.postit--apple { background: var(--apple); }
.postit p { font-family: var(--font-note); line-height: 1.25; }
.paper--sticky { background: linear-gradient(rgba(0, 0, 0, .06), rgba(0, 0, 0, 0) 24px), var(--terra); color: var(--paper); }
.paper--sticky .pnote__title, .paper--sticky .pnote__excerpt, .paper--sticky .note__meta, .paper--sticky .note-label { color: var(--paper); }
.paper--sticky .note__meta time { opacity: .8; }
.paper--sticky .mk-hover { background-image: none; text-decoration: underline; text-decoration-color: rgba(247, 249, 248, 0); text-decoration-thickness: 2px; text-underline-offset: 5px; transition: text-decoration-color .3s; }
.paper--sticky:hover .mk-hover { text-decoration-color: rgba(247, 249, 248, .7); }
.pnote__excerpt { font-family: var(--font-note); font-size: 19px; line-height: 30px; }

/* ---------- sketchbook: a real book; the pages turn ---------- */
.sk { padding-block: 128px clamp(70px, 10vh, 110px); overflow-x: clip; }
.sk__lead { margin-top: 16px; max-width: 58ch; font-size: clamp(19px, 1.6vw, 22px); color: var(--deep); }
.sk__back { margin-top: clamp(40px, 6vh, 60px); font-family: var(--font-display); font-style: italic; font-size: clamp(20px, 1.8vw, 24px); color: var(--deep); }
.sk__back a { text-decoration: underline; text-decoration-color: var(--ochre); text-decoration-thickness: 2px; text-underline-offset: 4px; }

.skb { --bw: min(1080px, 94vw, calc((100svh - 270px) / .7)); width: var(--bw); margin: clamp(28px, 5vh, 48px) auto 0; }
.skb__book { position: relative; width: 100%; aspect-ratio: 2 / 1.4; perspective: 2800px; transition: transform .9s var(--ease-out); }
.skb.is-closed-front .skb__book { transform: translateX(-25%); }
.skb.is-closed-back .skb__book { transform: translateX(25%); }
.skb__stack { position: absolute; inset: 0; }

/* without JavaScript the pages simply stack */
.skb:not(.is-ready) { width: var(--wrap); }
.skb:not(.is-ready) .skb__book { aspect-ratio: auto; perspective: none; }
.skb:not(.is-ready) .skb__stack { position: static; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 28px; }
.skb:not(.is-ready) .skf { position: relative; aspect-ratio: 1 / 1.4; }

.leaf { position: absolute; top: 0; left: 50%; width: 50%; height: 100%; transform-origin: left center; transform-style: preserve-3d; transition: transform 1.05s cubic-bezier(.45, .05, .2, 1); cursor: pointer; }
.leaf.is-flipped { transform: rotateY(-180deg); }
.leaf__face { position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.leaf__face--back { transform: rotateY(180deg); }

.skf { overflow: hidden; container-type: inline-size; background: radial-gradient(circle at 50% 50%, rgba(121, 155, 150, .4) 0 .9px, transparent 1.4px) 0 0 / 4.2% 3% repeat, #fcfcf8; box-shadow: 0 1px 2px rgba(46, 58, 49, .08), 0 30px 50px -36px rgba(46, 58, 49, .55); }
.skf--page::after, .skf--endpaper::after, .skf--blank-back::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(90deg, rgba(46, 58, 49, .14), rgba(46, 58, 49, 0) 8%); }
.skf.is-left::after { background: linear-gradient(270deg, rgba(46, 58, 49, .14), rgba(46, 58, 49, 0) 8%); }
.skf--page { border-radius: 0 6px 6px 0; }
.skf.is-left { border-radius: 6px 0 0 6px; }

.skf--cover, .skf--back { color: var(--paper); background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .025) 0 2px, rgba(255, 255, 255, 0) 2px 5px), linear-gradient(160deg, #557370, var(--deep) 45%, #435c58); border-radius: 4px 14px 14px 4px; }
.skf--back { border-radius: 14px 4px 4px 14px; }
.skf__mark { position: absolute; left: 50%; top: 24%; width: 46%; height: auto; transform: translateX(-50%); }
.skf__mark .mark__back { fill: rgba(247, 249, 248, .35); }
.skf__mark .mark__front, .skf__mark .mark__tail { fill: rgba(247, 249, 248, .8); }
.skf__label { position: absolute; left: 50%; bottom: 17%; display: flex; flex-direction: column; align-items: center; gap: 1cqw; padding: 3.4cqw 7cqw 3cqw; background: #f6f2e9; color: var(--ink); border-radius: 3px; transform: translateX(-50%) rotate(-1.5deg); box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .5); }
.skf__label-title { font-family: var(--font-note); font-size: max(20px, 8cqw); line-height: 1; }
.skf__label-name { font-family: var(--font-display); font-size: max(12px, 3.4cqw); color: var(--deep); }
.skf__band { position: absolute; top: -2%; bottom: -2%; right: 9%; width: 3.4%; background: linear-gradient(90deg, #2f403d, #3a4f4b 45%, #2f403d); box-shadow: 0 0 6px rgba(0, 0, 0, .35); }
.skf--back .skf__band { right: auto; left: 9%; }
.skf__site { position: absolute; left: 0; right: 0; bottom: 7%; text-align: center; font-family: var(--font-display); font-style: italic; font-size: max(12px, 3.2cqw); opacity: .75; }
.skf--endpaper { background: var(--mist); }
.skf__pat { position: absolute; inset: 0; background: var(--sage); -webkit-mask: url(../img/pattern.webp) 0 0 / 34% repeat; mask: url(../img/pattern.webp) 0 0 / 34% repeat; opacity: .38; }
.skf__found { position: absolute; left: 14%; right: 14%; bottom: 14%; padding: 5cqw 6cqw; background: #fcfcf8; font-family: var(--font-note); font-size: max(14px, 4.4cqw); line-height: 1.3; color: var(--ink); transform: rotate(-2deg); box-shadow: 0 8px 18px -10px rgba(46, 58, 49, .5); }
.skf__found a { text-decoration: underline; text-decoration-color: var(--terra); text-underline-offset: 3px; }
.skf__num { position: absolute; right: 6%; bottom: 3.2%; font-family: var(--font-note); font-size: max(13px, 3.6cqw); color: var(--sage); }
.skf.is-left .skf__num { right: auto; left: 6%; }

.ski { position: absolute; z-index: 1; transform: rotate(var(--r, 0deg)); }
.ski__pic { position: relative; display: block; }
.ski__pic img { display: block; width: 100%; height: auto; background: var(--white); box-shadow: 0 1.8cqw 3.4cqw -2.2cqw rgba(46, 58, 49, .6); user-select: none; -webkit-user-drag: none; }
.ski figcaption { margin-top: 1.8cqw; font-family: var(--font-note); font-size: max(13px, 3.7cqw); line-height: 1.2; color: var(--deep); }
.ski--tape .ski__pic::before { content: ""; position: absolute; z-index: 3; left: 50%; top: -2.6cqw; width: min(36%, 22cqw); height: 5.4cqw; background: rgba(193, 208, 203, .8); box-shadow: 0 1px 2px rgba(46, 58, 49, .1); transform: translateX(-50%) rotate(calc(var(--r, 0deg) * -1.8)); }
.ski--pin .ski__pic::before { content: ""; position: absolute; z-index: 3; left: 50%; top: -1.6cqw; width: 3.4cqw; height: 3.4cqw; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #e3d58a, var(--ochre) 55%, #9c8d33); box-shadow: 0 .7cqw 1cqw rgba(46, 58, 49, .35); transform: translateX(-50%); }
.ski--note { z-index: 2; padding: 4.4cqw 4cqw 5cqw; }
.ski--note p { font-size: max(15px, 5cqw); }
.ski--hw { z-index: 2; }
.ski__word { position: relative; z-index: 1; display: block; width: 100%; height: auto; }
.ski__mark { position: absolute; color: var(--terra); --sw: 2.2; filter: url(#sv-marker); }
.ski__mark--circle { left: -11%; top: -40%; width: 122%; height: 178%; }
.ski__mark--underline, .ski__mark--squiggle, .ski__mark--double { left: -2%; bottom: -26%; width: 104%; height: 30%; }
.ski--mark .doodle { width: 100%; color: var(--terra); --sw: 2.2; filter: url(#sv-marker); }
.anno--on-photo .anno__text { font-size: max(15px, 5.6cqw); }

.skb__nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 24px; }
.skb__nav[hidden] { display: none; }
.skb__btn { display: grid; place-items: center; width: 56px; height: 46px; border-radius: 999px; background: var(--mist); transition: background-color .3s, opacity .3s; }
.skb__btn:hover { background: var(--soft); }
.skb__btn[disabled] { opacity: .3; pointer-events: none; }
.skb__arrow { width: 30px; height: auto; }
.skb__count { min-width: 10ch; text-align: center; font-family: var(--font-note); font-size: 21px; color: var(--deep); }

/* phones: one page at a time */
.skb.is-single { --bw: min(92vw, calc((100svh - 260px) / 1.4)); }
.skb.is-single .skb__book { aspect-ratio: 1 / 1.4; overflow: hidden; }
.skb.is-single .leaf { left: 0; width: 100%; }

@media (prefers-reduced-motion: reduce) {
  .leaf, .skb__book { transition: none; }
  .js .anno__text { opacity: 1; transform: rotate(-3deg); }
}

/* ---------- A Place ApArt (project page) ---------- */
.ap { --ap-green: #1c3b33; --ap-cream: #f4f0e9; --ap-sage: #a7b5a5; --ap-gold: #be9f65; --ap-olive: #6b6d5f; --ap-plan: #f2f0ea; }
.proj:has(.ap) { overflow-x: clip; }
.ap-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; font-size: 15px; color: var(--deep); }
.ap-back__hw { height: 14px; width: auto; transition: transform .4s var(--ease-out); }
.ap-back:hover .ap-back__hw { transform: translateX(-5px); }
/* the opening: the architect's plan in thin lines; your brush paints her watercolour plan into it */
.proj:has(.ap) { padding-top: 0; }
.has-dark-hero .nav { color: var(--paper); }
.ap-hero2 { position: relative; display: flex; align-items: center; min-height: max(660px, 100svh); overflow: hidden; background: radial-gradient(120% 90% at 75% 45%, #24463d 0%, var(--ap-green) 60%, #16302a 100%); color: var(--ap-cream); }
.ap-hero2__plan { position: absolute; right: -5%; top: 52%; width: min(62vw, 980px); aspect-ratio: 1400 / 1098; transform: translateY(-50%) rotate(-3deg); touch-action: pan-y; }
.ap-hero2__arch { position: absolute; inset: 0; width: 100%; height: 100%; filter: invert(1); mix-blend-mode: screen; opacity: .42; user-select: none; -webkit-user-drag: none; }
.ap-hero2__paint { position: absolute; inset: 0; width: 100%; height: 100%; }
.ap-hero2__in { position: relative; z-index: 1; padding-block: 120px 80px; pointer-events: none; }
.ap-hero2__in a { pointer-events: auto; }
.ap-back--light { color: rgba(244, 240, 233, .85); }
.ap-hero2__meta { font-size: 15px; letter-spacing: .02em; color: var(--ap-sage); }
.ap-hero2__title { width: min(720px, 56vw); margin-top: 22px; }
.ap-logo { height: auto; overflow: visible; }
.js .ap-logo__part { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); transition-delay: calc(.3s + var(--i) * .45s); }
.ap-hero2__title .ap-logo { display: block; width: 100%; }
.ap-hero2__title .ap-logo [fill] { fill: var(--ap-cream); }
.ap-hero2__title.is-in .ap-logo__part { opacity: 1; transform: none; }
.ap-hero2__lead { margin-top: 28px; max-width: 34ch; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; color: rgba(244, 240, 233, .9); }
.ap-hero2__hint { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; font-family: var(--font-note); font-size: 19px; color: var(--ap-gold); }
.ap-hero2__hint-mark { width: 64px; color: var(--ap-gold); --sw: 2; --dl: 1.6s; filter: url(#sv-marker); }
.ap-hint--touch { display: none; }
@media (hover: none) { .ap-hint--mouse { display: none; } .ap-hint--touch { display: inline; } }

.ap-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 40px; align-items: end; }
.ap-head p { max-width: 46ch; font-size: 19px; color: var(--deep); }
.ap-h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(28px, 2.8vw, 38px); line-height: 1.1; color: var(--deep); }

/* the trail: on a computer it holds still and moves sideways as you scroll */
.trail { position: relative; margin-top: clamp(80px, 11vh, 130px); }
.trail__sticky { padding-block: 10px; }
.trail__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 40px; align-items: end; }
.trail__head p { max-width: 40ch; font-size: 19px; color: var(--deep); }
.trail__track { display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); margin-top: clamp(34px, 5vh, 56px); padding: 14px max(var(--gutter), calc((100vw - 1240px) / 2)) 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.trail__track::-webkit-scrollbar { display: none; }
.tstep { flex: none; display: flex; flex-direction: column; gap: 12px; width: clamp(250px, 24vw, 330px); scroll-snap-align: center; }
.tstep__hw { height: 46px; width: auto; align-self: flex-start; }
.tstep__card { position: relative; display: grid; place-items: center; margin: 0; aspect-ratio: 4 / 3.4; padding: 10%; background: var(--white); border-radius: var(--r-card); box-shadow: var(--shadow); overflow: hidden; }
.tstep__card img { position: absolute; inset: 9%; width: 82%; height: 82%; object-fit: contain; }
.tstep--final .tstep__card { background: var(--ap-cream); box-shadow: var(--shadow-lift); }
.tstep__logo { width: 96%; height: auto; }
.tstep__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.tstep__chips li { padding: 6px 12px; border-radius: 999px; background: var(--mist); font-size: 14px; color: var(--ink); transform: rotate(calc((var(--k) - 2.5) * 1.4deg)); }
.tstep__cap { font-family: var(--font-note); font-size: 19px; color: var(--deep); }
.trail__arrow { flex: none; width: clamp(44px, 4.5vw, 70px); }
.trail__arrow-hw { width: 100%; height: auto; }
@media (min-width: 861px) {
  .js .trail.is-pinned { height: var(--trail-h, 300vh); }
  .js .trail.is-pinned .trail__sticky { position: sticky; top: 0; display: flex; flex-direction: column; justify-content: center; height: 100vh; overflow: hidden; }
  .js .trail.is-pinned .trail__track { width: max-content; overflow: visible; transform: translate3d(var(--tx, 0px), 0, 0); will-change: transform; }
}

/* the family */
.ap-family { padding-top: clamp(90px, 12vh, 140px); }
.ap-family__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin-top: 40px; }
.ap-tile { margin: 0; }
.ap-tile__svg { display: block; width: 100%; height: auto; border-radius: 10px; background: var(--ap-cream); box-shadow: var(--shadow); transition: transform .6s var(--ease-out), box-shadow .5s; }
.ap-tile:hover .ap-tile__svg { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.ap-tile figcaption { margin-top: 12px; font-family: var(--font-note); font-size: 18px; color: var(--deep); }
.ap-tile figcaption strong { font-family: var(--font-body); font-weight: 500; font-size: 14px; letter-spacing: .08em; color: var(--ap-green); margin-right: 6px; }

/* the palette as a swatch deck that fans open */
.ap-palette { margin-top: clamp(90px, 12vh, 140px); padding-block: clamp(80px, 11vh, 130px); background: var(--ap-cream); }
.ap-deck { --cw: clamp(96px, 11vw, 150px); position: relative; height: clamp(320px, 34vw, 440px); margin-top: clamp(30px, 5vh, 50px); }
.ap-deck__card { position: absolute; left: 50%; bottom: 0; display: flex; flex-direction: column; gap: 4px; width: var(--cw); height: 86%; margin-left: calc(var(--cw) / -2); padding: 16px 14px; border-radius: 8px; background: var(--c); color: var(--paper); box-shadow: 0 0 0 3px var(--white), 0 22px 34px -22px rgba(28, 59, 51, .6); transform-origin: 50% 94%; transform: rotate(0deg); transition: transform 1.2s var(--ease-out); transition-delay: calc(.2s + var(--i) * .07s); }
.ap-deck__card.is-light { color: var(--ap-green); }
.ap-deck.is-in .ap-deck__card { transform: rotate(calc((var(--i) - (var(--n) - 1) / 2) * 15deg)); }
.ap-deck__name { font-family: var(--font-note); font-size: clamp(16px, 1.6vw, 20px); line-height: 1.1; }
.ap-deck__hex { font-size: 12px; letter-spacing: .06em; opacity: .85; }

/* icons, and the check that draws itself */
.ap-icons { padding-top: clamp(90px, 12vh, 140px); }
.ap-icons__row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 3vw, 40px); align-items: stretch; margin-top: 40px; }
.ap-icons__set { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ap-icons__set li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 28px 10px; border-radius: 10px; background: var(--white); box-shadow: var(--shadow); font-size: 15px; color: var(--deep); }
.ap-ico { width: clamp(48px, 5vw, 64px); height: auto; }
.ap-checks { display: grid; align-content: center; gap: 14px; padding: 28px 26px; border-radius: 10px; background: var(--ap-cream); }
.ap-checks li { display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--ap-green); }
.ap-check { flex: none; width: 30px; height: 30px; overflow: visible; }
.ap-check rect { fill: none; stroke: var(--ap-gold); stroke-width: 1; }
.ap-check path { fill: none; stroke: var(--ap-green); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 2; stroke-dashoffset: 0; }
.js .ap-check path { stroke-dashoffset: 1; transition: stroke-dashoffset .6s cubic-bezier(.6, .1, .3, 1); transition-delay: calc(.35s + var(--i) * .35s); }
.js .ap-checks.is-in .ap-check path { stroke-dashoffset: 0; }

/* the card: square, it turns over like the physio and goWebgo cards, with two mockups beside it */
.ap-card-wrap { padding-top: clamp(90px, 12vh, 140px); }
.ap-card__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .62fr) minmax(0, .62fr); gap: clamp(14px, 2vw, 28px); align-items: center; margin-top: clamp(36px, 5vh, 56px); }
.ap-card__stage { display: grid; justify-items: center; perspective: 1600px; }
.pb-card.ap-card { width: min(100%, 500px); aspect-ratio: 1; }
.ap-card .pb-card__face { border-radius: 4px; background: var(--ap-cream); box-shadow: 0 30px 60px -24px rgba(16, 40, 33, .45), 0 2px 6px rgba(16, 40, 33, .1); }
.ap-card:focus-visible { outline: 2px solid var(--ap-green); outline-offset: 8px; border-radius: 8px; }
.ap-card__mock { margin: 0; }
.ap-card__mock img { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 24px 40px -26px rgba(16, 40, 33, .6); }
.ap-card__mock--b { margin-top: 22%; }

/* plans: pick a room on the section, then its layout */
.ap-plans { margin-top: clamp(90px, 12vh, 140px); padding-block: clamp(80px, 11vh, 130px); background: var(--ap-plan); }
.ap-plans__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 4vw, 60px); align-items: start; margin-top: clamp(36px, 5vh, 56px); }
.ap-section { position: relative; margin: 0; overflow: hidden; border-radius: 8px; background: var(--ap-plan); box-shadow: var(--shadow); }
.ap-section img { display: block; width: 100%; height: auto; }
.ap-section__spot { position: absolute; left: 11%; width: 78%; border-radius: 6px; outline: 2px solid transparent; outline-offset: -2px; transition: background-color .3s, outline-color .3s; }
.ap-section__spot:hover { background: rgba(190, 159, 101, .12); }
.ap-section__spot.is-on { background: rgba(190, 159, 101, .16); outline-color: var(--ap-gold); }
.ap-modes { display: grid; gap: 18px; margin-top: 26px; }
.ap-modes__name { margin-bottom: 4px; font-family: var(--font-display); font-size: 21px; color: var(--ap-green); }
.ap-modes__btn { display: flex; align-items: center; gap: 10px; padding: 4px 0; font-size: 16px; color: var(--ap-olive); transition: color .3s; }
.ap-modes__btn:hover { color: var(--ap-green); }
.ap-modes__dot { flex: none; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--ap-gold); transition: background-color .3s; }
.ap-modes__btn[aria-pressed="true"] { color: var(--ap-green); }
.ap-modes__btn[aria-pressed="true"] .ap-modes__dot { background: var(--ap-gold); }
.ap-viewer { position: relative; aspect-ratio: var(--ar, 1400 / 1098); overflow: hidden; border-radius: 10px; background: var(--ap-plan); box-shadow: var(--shadow-lift); }
.ap-viewer__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .7s ease; }
.ap-viewer__img.is-on { opacity: 1; }
.ap-compare-wrap { margin-top: clamp(70px, 10vh, 110px); }
.ap-compare { position: relative; max-width: 980px; margin: clamp(26px, 4vh, 40px) auto 0; aspect-ratio: 1400 / 1098; overflow: hidden; border-radius: 10px; background: var(--ap-plan); box-shadow: var(--shadow-lift); touch-action: pan-y; user-select: none; }
.ap-compare__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.ap-compare__img--before { clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.ap-compare__line { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: var(--ap-gold); pointer-events: none; }
.ap-compare__knob { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: var(--ap-cream); box-shadow: 0 0 0 2px var(--ap-gold), 0 6px 14px -6px rgba(0, 0, 0, .4); }
.ap-compare__knob::before { content: "‹ ›"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 18px; letter-spacing: 4px; color: var(--ap-green); }
.ap-compare__range { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ap-compare:focus-within .ap-compare__knob { box-shadow: 0 0 0 2px var(--ap-gold), 0 0 0 5px var(--ochre); }

/* the site: the real pages, scrolling as you scroll */
.ap-site { padding-block: clamp(90px, 12vh, 140px) 20px; }
.ap-site__stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .3fr); gap: clamp(20px, 3vw, 44px); align-items: center; margin-top: clamp(36px, 5vh, 56px); }
.ap-site__desk, .ap-site__mob, .ap-site__card { margin: 0; container-type: inline-size; }
.ap-browser { position: relative; left: auto; top: auto; display: block; width: 100%; transform: none; }
.ap-url { margin-left: auto; margin-right: auto; padding: 2px 14px; border-radius: 999px; background: var(--white); font-size: 11px; color: var(--sage); letter-spacing: .02em; }
.ap-site__view { position: relative; display: block; aspect-ratio: 1440 / 880; overflow: hidden; }
.ap-site__long { position: absolute; left: 0; top: 0; display: block; width: 100%; height: auto; will-change: transform; }
.ap-site__phone { width: 100%; }
.ap-site__pview { position: absolute; inset: 0; overflow: hidden; background: var(--white); }
.ap-site__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); margin-top: clamp(40px, 6vh, 64px); }
.ap-site__card:hover .ap-browser { transform: translateY(-4px); }
.ap-site__card figcaption { margin-top: 12px; font-family: var(--font-note); font-size: 18px; color: var(--deep); }
.ap-credit { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 40px; margin-top: clamp(40px, 6vh, 60px); padding: 26px 30px; border-radius: 12px; background: var(--ap-green); color: var(--ap-cream); }
.ap-credit__row { display: flex; flex-direction: column; gap: 2px; }
.ap-credit__role { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ap-sage); }
.ap-credit__who { font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.1; color: var(--ap-cream); }
a.ap-credit__who { text-decoration: underline; text-decoration-color: var(--ap-gold); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.ap-credit__live { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; font-family: var(--font-note); font-size: 22px; color: var(--ap-gold); }
.ap-credit__arrow { height: 30px; width: auto; filter: brightness(1.6); }
.ap-end__credits a { text-decoration: underline; text-decoration-color: var(--soft); text-underline-offset: 3px; }

.ap-end { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-top: clamp(60px, 9vh, 90px); padding-block: 30px clamp(80px, 11vh, 120px); border-top: 1px solid var(--soft); }
.ap-end__credits { max-width: 60ch; font-size: 15px; color: var(--sage); }
.ap-end__next > span:first-child { display: block; font-size: 14px; color: var(--sage); }
.ap-end__title { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: clamp(28px, 3vw, 40px); color: var(--ink); }
.ap-end__arrow { height: 24px; width: auto; transition: transform .4s var(--ease-out); }
.ap-end__next:hover .ap-end__arrow { transform: translateX(6px); }

@media (max-width: 860px) {
  .ap-head, .trail__head { grid-template-columns: 1fr; }
  .ap-family__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ap-tile:last-child { grid-column: 1 / -1; justify-self: center; width: calc(50% - 8px); }
  .ap-icons__row { grid-template-columns: 1fr; }
  .ap-icons__set { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ap-card__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ap-card__stage { grid-column: 1 / -1; }
  .ap-card__mock--b { margin-top: 0; }
  .ap-plans__in { grid-template-columns: 1fr; }
  .ap-modes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .ap-modes__name { font-size: 17px; }
  .ap-modes__btn { font-size: 14px; gap: 7px; }
  .ap-site__stage { grid-template-columns: 1fr; }
  .ap-site__mob { width: 56%; justify-self: center; }
  .ap-site__cards { grid-template-columns: 1fr; }
  .ap-credit__live { margin-left: 0; }
  .ap-hero2 { align-items: flex-start; min-height: max(720px, 100svh); }
  .ap-hero2__plan { right: auto; left: 50%; top: auto; bottom: -4%; width: 135vw; transform: translateX(-50%) rotate(-4deg); }
  .ap-hero2__title { width: min(560px, 90vw); }
  .ap-hero2__in { padding-top: 104px; }
  .ap-deck { --cw: 74px; height: 280px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .ap-logo__part { opacity: 1; transform: none; }
  .js .ap-check path { stroke-dashoffset: 0; }
}

/* ---------- the cursor: a small ink dot that stretches as it moves, a ring on things you can use ---------- */
@media (hover: hover) and (pointer: fine) {
  html.has-cursor, html.has-cursor * { cursor: none !important; }
}
.cur { position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none; opacity: 0; transition: opacity .3s; }
.cur.is-on { opacity: 1; }
.cur__dot { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--deep); box-shadow: 0 0 0 1.5px rgba(247, 249, 248, .85); will-change: transform; transition: opacity .25s, background-color .3s; }
.cur__ring { position: absolute; left: -18px; top: -18px; width: 36px; height: 36px; will-change: transform; }
.cur__ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(77, 104, 99, .5); opacity: 0; transform: scale(.35); transition: transform .4s var(--ease-out), opacity .3s, background-color .3s, border-color .3s; }
.cur__label { position: absolute; left: 50%; top: 50%; font-family: var(--font-note); font-size: 16px; line-height: 1; color: var(--paper); white-space: nowrap; opacity: 0; transform: translate(-50%, -50%); transition: opacity .25s; }
.cur.is-link .cur__ring::before { opacity: 1; transform: scale(1); }
.cur.is-link .cur__dot { opacity: .35; }
.cur.is-brush .cur__ring::before { opacity: 1; transform: scale(1.5); border-color: rgba(121, 155, 150, .45); background: rgba(121, 155, 150, .1); }
.cur.is-label .cur__ring::before { opacity: 1; transform: scale(2); border-color: var(--deep); background: var(--deep); }
.cur.is-label .cur__label { opacity: 1; }
.cur.is-label .cur__dot { opacity: 0; }
.cur.is-down .cur__ring::before { transform: scale(.8); }
.cur.is-label.is-down .cur__ring::before { transform: scale(1.7); }

/* ---------- ραπτωδία (project page) ---------- */
.rap { --rap-iron: #364541; --rap-granite: #5c7068; --rap-mint: #f1f7ee; --rap-copper: #9a7b44; --rap-clay: #915648; --rap-gold: #c4a26a; }
.proj:has(.rap) { padding-top: 0; overflow-x: clip; }
.rap-hero { position: relative; display: flex; align-items: center; min-height: max(660px, 100svh); overflow: hidden; color: var(--rap-mint); background: radial-gradient(circle at 7px 7px, rgba(241, 247, 238, .08) 1px, transparent 1.5px) 0 0 / 14px 14px, radial-gradient(110% 90% at 70% 40%, #415452 0%, var(--rap-iron) 60%, #2b3735 100%); }
.rap-hero__stitch { position: absolute; inset: 0; width: 100%; height: 100%; }
.rap-hero__in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; padding-block: 120px 80px; pointer-events: none; }
.rap-hero__in a { pointer-events: auto; }
.rap-hero__meta { font-size: 15px; letter-spacing: .02em; color: rgba(241, 247, 238, .6); }
.rap-hero__title { width: min(430px, 100%); margin-top: 22px; color: var(--rap-mint); }
.rap-hero__logo { display: block; width: 100%; height: auto; }
.js .rap-hero__logo { opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease-out) 1.5s, transform 1.2s var(--ease-out) 1.5s; }
.rap-hero__title.is-in .rap-hero__logo { opacity: 1; transform: none; }
.rap-hero__lead { margin-top: 28px; max-width: 36ch; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; color: rgba(241, 247, 238, .88); }
.rap-hero__hint { margin-top: 24px; font-family: var(--font-note); font-size: 19px; color: var(--rap-gold); }
.rap-hero__mark { margin: 0; color: var(--rap-mint); }
.rap-mark { display: block; width: 100%; height: auto; overflow: visible; }
.js .rap-x { opacity: 0; transform: scale(.2) rotate(-40deg); transform-box: fill-box; transform-origin: center; transition: opacity .25s ease, transform .5s var(--ease-spring); transition-delay: calc(.4s + var(--i) * 70ms); }
.rap-hero__mark.is-in .rap-x { opacity: 1; transform: none; }
.js .rap-yarn { opacity: 0; transition: opacity .9s ease; transition-delay: calc(.4s + var(--i) * 70ms); }
.rap-hero__mark.is-in .rap-yarn { opacity: 1; }

/* the thread through the three meetings */
.rap-thread { padding-block: clamp(90px, 12vh, 140px) 30px; }
.rap-thread__body { --tl: clamp(14px, 2vw, 30px); position: relative; margin-top: clamp(40px, 6vh, 60px); padding-left: clamp(56px, 7vw, 100px); }
.rap-thread__line { position: absolute; left: var(--tl); top: 0; width: 20px; height: 100%; overflow: visible; }
.rap-thread__line path { fill: none; stroke: var(--rap-clay); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 1 2; stroke-dashoffset: 0; }
.js .rap-thread__line path { stroke-dashoffset: 1; }
.rap-stop { position: relative; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 60px); align-items: start; padding-block: clamp(30px, 5vh, 56px); }
.rap-stop__knot { position: absolute; left: calc(var(--tl) - clamp(56px, 7vw, 100px) - 2px); top: clamp(40px, 6vh, 70px); width: 24px; height: 24px; }
.rap-stop__knot svg { display: block; width: 100%; height: 100%; }
.rap-stop__knot path { fill: none; stroke: var(--rap-iron); stroke-width: 3; stroke-linecap: round; }
.js .rap-stop__knot { transform: scale(0) rotate(-90deg); transition: transform .6s var(--ease-spring) .2s; }
.rap-stop.is-in .rap-stop__knot { transform: none; }
.rap-stop__num { height: 54px; width: auto; }
.rap-stop__hw { height: 54px; width: auto; }
.rap-stop__title { margin-top: 10px; font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; color: var(--deep); }
.rap-stop__text { margin-top: 12px; max-width: 40ch; font-size: 18px; color: var(--deep); }
.rap-stop__slides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.rap-slide { margin: 0; overflow: hidden; border-radius: 6px; background: var(--rap-mint); box-shadow: var(--shadow); }
.rap-slide img { display: block; width: 100%; aspect-ratio: 1400 / 973; object-fit: contain; }
.rap-slide--big { grid-column: 1 / -1; box-shadow: var(--shadow-lift); }
.rap-slide--small:nth-child(2):last-child { grid-column: 1 / -1; }
.js .rap-slide { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .9s var(--ease-out); transition-delay: calc(.2s + (var(--k, -1) + 1) * .14s); }
.rap-stop.is-in .rap-slide { opacity: 1; transform: none; }
.rap-final { display: grid; place-items: center; margin: 0; aspect-ratio: 16 / 10; border-radius: 10px; background: var(--rap-mint); color: var(--rap-iron); box-shadow: var(--shadow-lift); }
.rap-final__logo { width: 46%; height: auto; }

/* the palette as spools of thread */
.rap-spools { margin-top: clamp(70px, 10vh, 110px); padding-block: clamp(80px, 11vh, 130px); background: #eef3ec; }
.rap-spools__row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(14px, 2.4vw, 36px); margin-top: 44px; }
.rap-spool { display: flex; flex-direction: column; align-items: center; gap: 6px; outline-offset: 6px; }
.rap-spool__svg { width: min(120px, 100%); height: auto; overflow: visible; transition: transform .6s var(--ease-out); }
.rap-spool__wood { fill: #ddcbaa; stroke: #bba57f; stroke-width: 1; }
.rap-spool__thread { fill: var(--c); stroke: rgba(46, 58, 49, .14); stroke-width: 1; }
.rap-spool__wind path { fill: none; stroke: rgba(46, 58, 49, .12); stroke-width: 1; }
.rap-spool__loose { fill: none; stroke: var(--c); stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 1 2; stroke-dashoffset: 1; transition: stroke-dashoffset .9s var(--ease-out); }
.rap-spool:hover .rap-spool__loose, .rap-spool:focus-visible .rap-spool__loose, .rap-spool.is-hot .rap-spool__loose { stroke-dashoffset: 0; }
.rap-spool:hover .rap-spool__svg, .rap-spool:focus-visible .rap-spool__svg { transform: rotate(-5deg) translateY(-4px); }
.rap-spool__name { margin-top: 8px; font-family: var(--font-note); font-size: 20px; color: var(--ink); text-align: center; }
.rap-spool__hex { font-size: 13px; letter-spacing: .06em; color: var(--sage); }

/* pick any version */
.rap-cfg { padding-block: clamp(90px, 12vh, 140px) 20px; }
.rap-cfg__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 60px); align-items: center; margin-top: 40px; }
.rap-cfg__stage { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 12px; color: var(--fg); background: var(--bg); box-shadow: var(--shadow-lift); transition: background-color .5s, color .5s; }
.rap-cfg__stage.is-clear { background: conic-gradient(#e3e9e6 25%, #f7f9f8 0 50%, #e3e9e6 0 75%, #f7f9f8 0) 0 0 / 26px 26px; }
.rap-cfg__stage.is-clear-dark { background: conic-gradient(#2b3735 25%, #34413f 0 50%, #2b3735 0 75%, #34413f 0) 0 0 / 26px 26px; }
.rap-cfg__comp { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: scale(.96); transition: opacity .45s ease, transform .6s var(--ease-out); }
.rap-cfg__comp.is-on { opacity: 1; transform: none; }
.rap-cfg__svg { width: 60%; height: auto; }
.rap-cfg__comp--stacked .rap-cfg__svg { width: 50%; }
.rap-cfg__comp--icon .rap-cfg__svg { width: 42%; }
.rap-cfg__comp--name .rap-cfg__svg { width: 54%; }
.rap-cfg__comp--name-slogan .rap-cfg__svg { width: 52%; }
.rap-cfg__comp--slogan .rap-cfg__svg { width: 46%; }
.rap-cfg__file { position: absolute; left: 16px; bottom: 12px; font-size: 12px; letter-spacing: .04em; opacity: .75; }
.rap-cfg__label { margin-top: 22px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--sage); }
.rap-cfg__label:first-child { margin-top: 0; }
.rap-cfg__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.rap-chip { padding: 8px 14px; border-radius: 999px; background: var(--mist); font-size: 15px; color: var(--deep); transition: background-color .3s, color .3s; }
.rap-chip:hover { background: var(--soft); }
.rap-chip[aria-pressed="true"] { background: var(--rap-iron); color: var(--rap-mint); }
.rap-cfg__swatches { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.rap-sw { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; background: var(--bg); color: var(--fg); box-shadow: inset 0 0 0 1px rgba(46, 58, 49, .15); font-family: var(--font-display); font-size: 17px; transition: transform .3s var(--ease-out), box-shadow .3s; }
.rap-sw--on-light, .rap-sw--black { background: conic-gradient(#e3e9e6 25%, #fff 0 50%, #e3e9e6 0 75%, #fff 0) 0 0 / 12px 12px; }
.rap-sw--on-dark, .rap-sw--white { background: conic-gradient(#2b3735 25%, #3a4846 0 50%, #2b3735 0 75%, #3a4846 0) 0 0 / 12px 12px; }
.rap-sw[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--rap-copper); transform: translateY(-2px); }
.rap-cfg__cw { margin-top: 12px; font-family: var(--font-note); font-size: 20px; color: var(--deep); }
.rap-cfg__more { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 26px; font-size: 16px; color: var(--deep); }
.rap-cfg__arrow { height: 20px; width: auto; transition: transform .4s var(--ease-out); }
.rap-cfg__more:hover .rap-cfg__arrow { transform: translateX(5px); }

.rap-social { padding-top: clamp(90px, 12vh, 140px); }
.rap-social__row { display: flex; flex-wrap: wrap; gap: clamp(26px, 5vw, 70px); margin-top: 40px; }
.rap-social__row li { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.rap-social__row img { width: clamp(120px, 14vw, 170px); aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 0 4px var(--paper), 0 0 0 6px var(--rap-copper), var(--shadow); }
.rap-social__row span { font-size: 14px; color: var(--deep); }

.rap-story { display: block; margin-top: clamp(80px, 11vh, 120px); padding: clamp(28px, 4vw, 48px); border-radius: 14px; background: var(--rap-iron); color: var(--rap-mint); }
.rap-story__eyebrow { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--rap-gold); }
.rap-story__title { display: block; margin-top: 8px; font-family: var(--font-display); font-weight: 500; font-size: clamp(28px, 3vw, 42px); line-height: 1.1; }
.rap-story__text { display: block; margin-top: 12px; max-width: 60ch; font-size: 17px; color: rgba(241, 247, 238, .85); }

@media (max-width: 860px) {
  .rap-hero { align-items: flex-start; }
  .rap-hero__in { grid-template-columns: 1fr; gap: 26px; padding-top: 104px; }
  .rap-hero__title { width: min(320px, 80vw); }
  .rap-hero__mark { width: 88%; justify-self: center; }
  .rap-stop { grid-template-columns: 1fr; }
  .rap-cfg__in { grid-template-columns: 1fr; }
  .rap-spools__row { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .rap-x, .js .rap-yarn, .js .rap-hero__logo, .js .rap-slide, .js .rap-stop__knot { opacity: 1; transform: none; }
  .js .rap-thread__line path { stroke-dashoffset: 0; }
}

/* ===================================================================
   Ηλιάνα: the «Η» as a curtain, hang tags, pinked swatches, her drawings
   =================================================================== */
.proj:has(.il) { padding-top: 0; overflow-x: clip; }
.il { --il-green: #023436; --il-green-2: #0b4944; --il-wine: #b0546a; --il-pink: #d94f70; --il-rose: #e8a6b5; --il-ivory: #f6f0ea; --il-blush: #faf5fa;
  --ap-green: var(--il-green); --ap-cream: var(--il-ivory); --ap-sage: #8fb3ad; --ap-gold: var(--il-rose); }
.il-h, .il-wm { display: block; overflow: visible; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.il-h__line { stroke: currentColor; stroke-width: 1.25; }
.il-h__swag { stroke: var(--il-wine); stroke-width: 1.25; }
.il-wm__l { stroke: currentColor; stroke-width: 2.2; }
.il-wm__swag { stroke: var(--il-wine); stroke-width: 2.2; }
.js .il-h[data-inview] path, .js .il-anat .il-h path { stroke-dasharray: 1 2; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s cubic-bezier(.5, .1, .3, 1) calc(.25s + var(--i, 0) * .3s); }
.js .il-h.is-in path, .js .il-anat.is-in .il-h path { stroke-dashoffset: 0; }
.js .il-wm path { stroke-dasharray: 1 2; stroke-dashoffset: 1; transition: stroke-dashoffset .9s cubic-bezier(.5, .1, .3, 1) calc(.3s + var(--i, 0) * .13s); }
.is-in > .il-wm path, .il-letters.is-in .il-wm path { stroke-dashoffset: 0; }

/* hero: the shop's green, the curtain on the right, two soft arcs like on the site */
.il-hero { position: relative; display: flex; align-items: center; min-height: max(640px, 100svh); overflow: hidden; background: radial-gradient(110% 90% at 72% 40%, var(--il-green-2) 0%, var(--il-green) 62%, #01292b 100%); color: var(--il-ivory); }
.il-hero::before, .il-hero::after { content: ""; position: absolute; left: -9vw; bottom: -24vw; width: 44vw; aspect-ratio: 1; border: 1.5px solid rgba(176, 84, 106, .55); border-radius: 50%; pointer-events: none; }
.il-hero::after { left: -3vw; bottom: -18vw; width: 32vw; border-color: rgba(176, 84, 106, .35); }
.il-hero__in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(30px, 5vw, 80px); align-items: center; padding-block: 120px 80px; }
.il-hero__back { grid-column: 1 / -1; order: -2; margin-bottom: -10px; justify-self: start; }
.il-hero__meta { margin-bottom: 30px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: rgba(246, 240, 234, .6); }
.il-hero__title { margin: 0 0 34px; }
.il-hero__wm { width: min(100%, 540px); height: auto; color: var(--il-ivory); }
.il-hero__wm .il-wm__swag { stroke: var(--il-rose); }
.il-hero__lead { max-width: 42ch; font-size: clamp(18px, 1.45vw, 21px); line-height: 1.55; color: rgba(246, 240, 234, .86); }
.il-hero__hint { margin-top: 26px; font-family: var(--font-note); font-size: 20px; color: var(--il-rose); }
.il-hero__mark { justify-self: center; width: clamp(200px, 25vw, 330px); margin: 0; }
.il-curtain { width: 100%; height: auto; color: var(--il-ivory); }
.il-curtain .il-h__swag { stroke: var(--il-rose); }

/* reading the mark: her notes round the «Η», the same curve circled inside the Α */
.il-read { padding-block: clamp(90px, 12vh, 140px) 0; }
.il-read__body { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(30px, 6vw, 110px); align-items: center; margin-top: clamp(50px, 7vh, 80px); }
.il-anat { position: relative; justify-self: center; width: clamp(160px, 16vw, 220px); margin: 30px 0; color: var(--il-green); }
.il-anat__h { width: 100%; height: auto; }
.il-note { position: absolute; inset: 0; pointer-events: none; }
.il-note__mark { position: absolute; color: var(--il-wine); --sw: 2.4; }
.il-note__t { position: absolute; white-space: nowrap; font-family: var(--font-note); font-size: clamp(17px, 1.45vw, 21px); line-height: 1.1; color: var(--il-wine); }
.js .il-note__t { opacity: 0; transform: translateY(6px) rotate(-3deg); transition: opacity .5s ease, transform .6s var(--ease-out); }
.il-anat.is-in .il-note__t { opacity: 1; transform: rotate(-3deg); }
.il-note--a .il-note__mark { left: -30%; top: 72%; width: 30%; }
.il-note--a .il-note__t { right: 100%; top: 98%; transition-delay: 1.6s; }
.il-note--b .il-note__mark { left: -50%; top: 8%; width: 44%; }
.il-note--b .il-note__t { right: 104%; top: -2%; transition-delay: 2s; }
.il-note--c .il-note__mark { left: 94%; top: 50%; width: 32%; }
.il-note--c .il-note__t { left: 120%; top: 80%; transition-delay: 2.4s; }
.il-letters { margin: 0; color: var(--il-green); }
.il-letters__wm { position: relative; }
.il-letters__svg { width: 100%; height: auto; }
.il-letters__ring { position: absolute; left: 41%; top: -12%; width: 22%; height: 124%; color: var(--il-wine); --sw: 2.2; }
.il-letters__cap { margin-top: 20px; padding-left: 38%; font-family: var(--font-note); font-size: clamp(18px, 1.5vw, 22px); color: var(--il-wine); }

/* three trials of the wordmark */
.il-trials { padding-block: clamp(90px, 12vh, 140px) 0; }
.il-trials__list { display: grid; gap: 12px; margin: clamp(34px, 5vh, 54px) 0 0; padding: 0; list-style: none; }
.il-trial { display: grid; grid-template-columns: 50px minmax(0, 1fr); align-items: center; gap: clamp(16px, 3vw, 40px); padding: clamp(14px, 2vw, 22px) clamp(18px, 3vw, 36px); border-radius: 14px; background: var(--il-blush); color: var(--il-pink); transition: opacity .35s ease, transform .5s var(--ease-out), background-color .35s ease; }
.il-trials__list:hover .il-trial:not(:hover) { opacity: .45; }
.il-trial:hover { transform: translateX(8px); background: var(--white); }
.il-trial__n { height: 38px; width: auto; }
.il-trial__svg { display: block; width: min(100%, 500px); height: auto; }

/* every size on the rail: hang tags on a thread, they swing when brushed */
.il-rack { margin-top: clamp(90px, 12vh, 140px); padding-block: clamp(80px, 11vh, 120px); background: var(--il-blush); }
.il-rack__rail { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: center; gap: 34px clamp(16px, 2.2vw, 30px); margin: clamp(40px, 6vh, 64px) 0 0; padding: 0; list-style: none; }
.il-tag { --w: 120px; --gap: clamp(16px, 2.2vw, 30px); position: relative; padding-top: 66px; }
.il-tag::before { content: ""; position: absolute; left: calc(var(--gap) / -2 - 1px); right: calc(var(--gap) / -2 - 1px); top: 0; height: 6px; background: linear-gradient(#d9ccc9, #a8999a); box-shadow: 0 2px 3px rgba(60, 30, 40, .15); }
.il-tag--fav { --w: 92px; } .il-tag--icon { --w: 112px; } .il-tag--icon-blush { --w: 128px; }
.il-tag--stacked { --w: 150px; } .il-tag--wordmark { --w: 178px; } .il-tag--horizontal { --w: 214px; }
.il-tag__card { position: relative; display: block; width: var(--w); transform-origin: 50% -60px; }
.il-tag__face { position: relative; display: flex; flex-direction: column; align-items: center; padding: 26px 14px 16px; background: var(--white); color: var(--il-pink); clip-path: polygon(20% 0, 80% 0, 100% 16px, 100% 100%, 0 100%, 0 16px); }
.il-tag { filter: drop-shadow(0 10px 12px rgba(80, 30, 45, .14)); }
.il-tag__card::before { content: ""; position: absolute; left: 50%; top: -60px; width: 1.5px; height: 70px; background: var(--il-wine); transform: translateX(-50%); }
.il-tag__hole { position: absolute; left: 50%; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--il-blush); box-shadow: inset 0 0 0 1.5px rgba(176, 84, 106, .45); transform: translateX(-50%); }
.il-tag__logo { display: grid; place-items: center; width: 100%; min-height: 70px; }
.il-tag__svg { display: block; width: 100%; height: auto; max-height: 110px; }
.il-tag--icon .il-tag__svg, .il-tag--icon-blush .il-tag__svg { width: auto; height: 96px; }
.il-tag--icon-blush .il-tag__face { background: var(--il-pink); color: var(--il-ivory); }
.il-tag--icon-blush .il-tag__hole { background: var(--il-blush); }
.il-tag--wordmark .il-tag__face { background: var(--il-green); color: var(--il-ivory); }
.il-tag__fav { display: grid; place-items: center; width: 62px; aspect-ratio: 1; border-radius: 50%; background: var(--il-pink); color: var(--il-ivory); }
.il-tag__fav .il-h { width: 46%; height: auto; }
.il-tag__fav .il-h path { stroke: currentColor; stroke-width: 4.2; stroke-dashoffset: 0 !important; }
.il-tag__size { margin-top: 14px; font-family: var(--font-body); font-weight: 700; font-size: 14px; letter-spacing: .12em; color: inherit; }
.il-tag__name { font-family: var(--font-note); font-size: 16px; line-height: 1.15; text-align: center; color: inherit; opacity: .85; }
.js .il-tag__card { opacity: 0; transform: translateY(-26px) rotate(-7deg); transition: opacity .6s ease calc(var(--k) * .09s), transform 1.1s cubic-bezier(.3, 1.6, .5, 1) calc(var(--k) * .09s); }
.il-rack__rail.is-in .il-tag__card { opacity: 1; transform: none; }
.il-tag.is-swing .il-tag__card { animation: il-swing 1.7s cubic-bezier(.3, .6, .4, 1); }
@keyframes il-swing { 0% { transform: rotate(0deg); } 18% { transform: rotate(var(--amp, 8deg)); } 42% { transform: rotate(calc(var(--amp, 8deg) * -.62)); } 66% { transform: rotate(calc(var(--amp, 8deg) * .32)); } 84% { transform: rotate(calc(var(--amp, 8deg) * -.12)); } 100% { transform: rotate(0deg); } }

/* the palette as pinked fabric swatches */
.il-swatches { padding-block: clamp(90px, 12vh, 140px) 0; }
.il-swatches__row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(14px, 2.2vw, 30px); margin: clamp(36px, 5vh, 56px) 0 0; padding: 0; list-style: none; }
.il-sw { display: flex; flex-direction: column; gap: 3px; }
.il-sw__drop { display: block; margin-bottom: 14px; filter: drop-shadow(0 12px 14px rgba(60, 30, 40, .16)); transform: rotate(var(--r)); transition: transform .55s var(--ease-out); }
.il-sw__cloth { display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; border: 0; cursor: pointer; background-color: var(--c); background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 4px), repeating-linear-gradient(90deg, rgba(0, 0, 0, .025) 0 1px, transparent 1px 4px); }
.il-sw:hover .il-sw__drop, .il-sw__cloth:focus-visible { transform: rotate(0deg) translateY(-6px); }
.il-sw__name { font-family: var(--font-note); font-size: clamp(18px, 1.6vw, 22px); color: var(--il-green); }
.il-sw__hex { font-size: 13px; letter-spacing: .1em; color: var(--sage); }
.il-sw__use { font-size: 14px; color: var(--deep); }
.il-swatches__copied { min-height: 1.4em; margin-top: 18px; font-family: var(--font-note); font-size: 20px; color: var(--il-wine); }

/* six categories, six drawings: each one draws in from the left */
.il-cats { padding-block: clamp(90px, 12vh, 140px) 0; }
.il-cats__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.8vw, 22px); margin: clamp(36px, 5vh, 56px) 0 0; padding: 0; list-style: none; }
.il-cat { display: flex; flex-direction: column; gap: 4px; padding: clamp(20px, 2.4vw, 30px); border: 1px solid rgba(2, 52, 54, .1); border-radius: 14px; background: var(--il-ivory); color: var(--il-green); transition: transform .5s var(--ease-out), box-shadow .5s ease; }
.il-cat:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.il-cat__art { display: block; width: clamp(96px, 9.5vw, 128px); aspect-ratio: 1; margin: -8px 0 10px -8px; }
.il-cat__svg { display: block; width: 100%; height: 100%; }
.js .il-cat__art { clip-path: inset(-4% 100% -4% -4%); transition: clip-path 1.2s cubic-bezier(.6, .1, .3, 1) calc(.15s + var(--k) * .15s); }
.il-cats__grid.is-in .il-cat__art { clip-path: inset(-4% -4% -4% -4%); }
.il-cat__name { font-family: var(--font-display); font-size: clamp(20px, 1.8vw, 25px); line-height: 1.15; }
.il-cat__note { font-family: var(--font-note); font-size: 17px; color: var(--il-wine); }

/* the site, and the reel next to it */
.il-site__stage { grid-template-columns: minmax(0, 1fr) minmax(0, .32fr); }
.il-reel { margin: 0; }
.il-reel__frame { position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 18px; background: #ece8ef; box-shadow: var(--shadow-lift); }
.il-reel__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.il-reel figcaption { margin-top: 12px; font-family: var(--font-note); font-size: 18px; color: var(--deep); text-align: center; }
.il-credit .ap-credit__arrow { filter: none; }

@media (max-width: 860px) {
  .il-hero__in { grid-template-columns: 1fr; padding-block: 110px 70px; }
  .il-hero__mark { order: -1; width: clamp(130px, 34vw, 200px); justify-self: start; margin-bottom: 6px; }
  .il-hero::before { width: 90vw; bottom: -50vw; } .il-hero::after { width: 66vw; bottom: -38vw; }
  .il-read__body { grid-template-columns: 1fr; }
  .il-anat { width: clamp(120px, 30vw, 170px); margin: 40px 0 60px; }
  .il-swatches__row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .il-cats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .il-site__stage { grid-template-columns: 1fr; }
  .il-reel { width: 58%; justify-self: center; }
}
@media (max-width: 520px) {
  .il-note__t { font-size: 16px; }
  .il-tag { --gap: 14px; }
  .il-tag--fav { --w: 78px; } .il-tag--icon { --w: 94px; } .il-tag--icon-blush { --w: 104px; }
  .il-tag--stacked { --w: 132px; } .il-tag--wordmark { --w: 150px; } .il-tag--horizontal { --w: 176px; }
  .il-swatches__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .il-trial { grid-template-columns: 34px minmax(0, 1fr); }
  .il-trial__n { height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .il-h path, .js .il-wm path { stroke-dashoffset: 0; transition: none; }
  .js .il-tag__card, .js .il-note__t { opacity: 1; transform: none; transition: none; }
  .js .il-cat__art { clip-path: none; transition: none; }
}

/* ===================================================================
   physio bougas: a runner of loose strokes, paper and blue-grey
   =================================================================== */
.proj:has(.pb) { padding-top: 0; overflow-x: clip; }
.pb { --pb-dark: #334f61; --pb-mid: #627e8b; --pb-light: #89a3b2; --pb-paper: #f2f5f6; --pb-ink: #24384a;
  --ap-green: #2c4456; --ap-cream: #f2f5f6; --ap-sage: #a9bccb; --ap-gold: #c8d6df; }
.pb-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.pb-t0 { fill: var(--pb-dark); } .pb-t1 { fill: var(--pb-mid); } .pb-t2 { fill: var(--pb-light); }
.pb-fig { display: block; width: 100%; height: auto; overflow: visible; }
/* the pen inside each stroke's mask: it uncovers the crayon along the line of her hand */
.pb-pen { fill: none; stroke: #fff; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 2; stroke-dashoffset: 0; }
.js .pb-fig--draw .pb-pen { stroke-dashoffset: 1; transition: stroke-dashoffset calc(3.6s * var(--f)) cubic-bezier(.45, .1, .4, 1) calc(.35s + 3.6s * var(--o)); }
.js .pb-fig--draw.is-in .pb-pen { stroke-dashoffset: 0; }

.pb-hero { position: relative; display: flex; align-items: center; min-height: max(640px, 100svh); overflow: hidden; background: radial-gradient(90% 80% at 70% 45%, #fbfcfc 0%, var(--pb-paper) 55%, #e5ebee 100%); }
.pb-hero__in { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(20px, 4vw, 60px); align-items: center; padding-block: 120px 70px; }
.pb-hero__back { grid-column: 1 / -1; order: -2; justify-self: start; margin-bottom: -10px; }
.pb-hero__meta { margin-bottom: 22px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--pb-mid); }
.pb-hero__title { margin: 0 0 18px; font-family: var(--font-display); font-weight: 500; font-size: clamp(48px, 6.2vw, 90px); line-height: .95; letter-spacing: -.01em; color: var(--pb-ink); }
.pb-hero__slogan { margin-bottom: 26px; font-family: var(--font-display); font-style: italic; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.25; color: var(--pb-dark); }
.pb-hero__slogan span { display: block; }
.pb-hero__slogan span + span { padding-left: 1.6em; color: var(--pb-mid); }
.pb-hero__lead { max-width: 42ch; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--deep); }
.pb-hero__hint { margin-top: 22px; font-family: var(--font-note); font-size: 20px; color: var(--pb-mid); }
.pb-hero__fig { justify-self: center; width: min(100%, 600px); margin: 0; }

/* how many strokes make a body */
.pb-count { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 100px); align-items: center; padding-block: clamp(90px, 12vh, 140px) 0; }
.pb-count__text p { max-width: 44ch; margin-top: 18px; font-size: 19px; color: var(--deep); }
.pb-count__ctrl { max-width: 440px; margin-top: 34px; }
.pb-count__range { width: 100%; height: 30px; margin: 0; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; }
.pb-count__range::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--pb-light), var(--pb-dark)); }
.pb-count__range::-moz-range-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--pb-light), var(--pb-dark)); }
.pb-count__range::-webkit-slider-thumb { width: 24px; height: 24px; margin-top: -10.5px; border-radius: 50%; background: var(--pb-dark); box-shadow: 0 0 0 6px rgba(51, 79, 97, .14); -webkit-appearance: none; }
.pb-count__range::-moz-range-thumb { width: 24px; height: 24px; border: 0; border-radius: 50%; background: var(--pb-dark); box-shadow: 0 0 0 6px rgba(51, 79, 97, .14); }
.pb-count__range:focus-visible { outline: 2px solid var(--pb-mid); outline-offset: 6px; border-radius: 6px; }
.pb-count__out { margin-top: 14px; font-family: var(--font-note); font-size: 21px; color: var(--pb-dark); }
.pb-count__n { font-size: 30px; }
.pb-count__fig { justify-self: center; width: min(100%, 500px); margin: 0; padding: clamp(18px, 3vw, 34px); border-radius: 20px; background: var(--white); box-shadow: var(--shadow); }
.pb-u { transition: opacity .35s ease; }
.pb-u.is-off { opacity: 0; }

/* three tones, drawn as hatching with one of the runner's strokes */
.pb-tones { padding-block: clamp(90px, 12vh, 140px) 0; }
.pb-tones__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 44px); margin: clamp(36px, 5vh, 56px) 0 0; padding: 0; list-style: none; }
.pb-tone { display: flex; flex-direction: column; gap: 4px; }
.pb-tone__brush { display: block; width: 100%; height: clamp(80px, 9vw, 120px); margin-bottom: 14px; overflow: visible; fill: var(--c); }
.pb-tone__name { font-family: var(--font-note); font-size: 22px; color: var(--pb-ink); }
.pb-tone__hex { font-size: 13px; letter-spacing: .1em; color: var(--sage); }
.pb-tone__use { font-size: 15px; color: var(--deep); }

/* the card turns over */
.pb-card-wrap { padding-block: clamp(90px, 12vh, 140px) 0; }
.pb-card__stage { display: grid; justify-items: center; margin-top: clamp(36px, 5vh, 56px); perspective: 1600px; }
.pb-card { position: relative; display: block; width: min(100%, 620px); aspect-ratio: 1200 / 750; padding: 0; border: 0; background: none; cursor: pointer; }
.pb-card__in { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 1s cubic-bezier(.3, .7, .2, 1); }
.pb-card:hover .pb-card__in { transform: rotateY(-8deg) rotateX(4deg); }
.pb-card.is-flipped .pb-card__in { transform: rotateY(180deg); }
.pb-card.is-flipped:hover .pb-card__in { transform: rotateY(172deg) rotateX(4deg); }
.pb-card__face { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 10px; background: var(--white); box-shadow: 0 30px 60px -24px rgba(36, 56, 74, .35), 0 2px 6px rgba(36, 56, 74, .08); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.pb-card__face--back { transform: rotateY(180deg); }
.pb-card:focus-visible { outline: 2px solid var(--pb-mid); outline-offset: 8px; border-radius: 12px; }
.pb-card__note { margin-top: 20px; font-family: var(--font-note); font-size: 17px; color: var(--sage); }

/* the site */
.pb-site__shot { display: block; width: 100%; height: auto; }
.pb-credit .ap-credit__arrow { filter: none; }

@media (max-width: 860px) {
  .pb-hero__in { grid-template-columns: 1fr; padding-block: 110px 60px; }
  .pb-hero__fig { width: min(100%, 420px); }
  .pb-count { grid-template-columns: 1fr; }
  .pb-tones__row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .js .pb-fig--draw .pb-pen { stroke-dashoffset: 0; transition: none; }
  .pb-card__in { transition: none; }
}

/* ===================================================================
   goWebgo: purple, circuit traces, a planet
   =================================================================== */
.proj:has(.gw) { padding-top: 0; overflow-x: clip; }
.gw { --gw-deep: #3b1254; --gw-purple: #582889; --gw-navy: #1b1464; --gw-lilac: #b49ac6; --gw-white: #fffeff; --gw-night: #2a0e3d; --gw-mist: #f3eef7;
  --ap-green: var(--gw-deep); --ap-cream: #f6f1fa; --ap-sage: #c9b6d8; --ap-gold: var(--gw-lilac); }

/* the opening: current runs down circuit traces, and follows the pointer */
.gw-hero { position: relative; display: flex; align-items: center; min-height: max(660px, 100svh); overflow: hidden; background: linear-gradient(rgba(42, 14, 61, 0) 72%, var(--gw-night)), radial-gradient(110% 90% at 72% 45%, #4a1a6c 0%, var(--gw-deep) 52%, var(--gw-night) 100%); color: var(--gw-white); }
.gw-hero__traces { position: absolute; inset: 0; width: 100%; height: 100%; }
.gw-hero__in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(20px, 4vw, 60px); align-items: center; padding-block: 120px 70px; pointer-events: none; }
.gw-hero__in a, .gw-hero__in button { pointer-events: auto; }
.gw-hero__back { grid-column: 1 / -1; justify-self: start; margin-bottom: -10px; }
.gw-hero__meta { margin-bottom: 22px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--gw-lilac); }
.gw-hero__title { margin: 0 0 16px; font-family: var(--font-display); font-weight: 500; font-size: clamp(56px, 7.4vw, 108px); line-height: .95; letter-spacing: -.015em; color: var(--gw-white); }
.gw-hero__title span { color: var(--gw-lilac); }
.gw-hero__sub { margin-bottom: 24px; font-family: var(--font-display); font-style: italic; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.25; color: #e4d8ee; }
.gw-hero__lead { max-width: 42ch; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: rgba(255, 254, 255, .84); }
.gw-hero__hint { margin-top: 22px; font-family: var(--font-note); font-size: 20px; color: var(--gw-lilac); }
.gw-hero__fig { justify-self: center; width: min(100%, 500px); margin: 0; }
.gw-mark-btn { display: block; width: 100%; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; }
.gw-mark-btn:focus-visible { outline: 2px solid var(--gw-lilac); outline-offset: 10px; }
.gw-mark { display: block; width: 100%; height: auto; overflow: visible; }
.gw-mark__bg { fill: var(--gw-deep); }
.gw-mark-btn { filter: drop-shadow(0 34px 50px rgba(12, 2, 22, .5)); }
.gw-mark__traces { fill: var(--gw-lilac); }
.gw-mark__letters { fill: var(--gw-white); transition: filter .5s; }
.gw-mark-btn:hover .gw-mark__letters, .gw-mark-btn:focus-visible .gw-mark__letters { filter: drop-shadow(0 0 .8px rgba(255, 254, 255, .7)) drop-shadow(0 0 2.5px rgba(180, 154, 198, .55)); }
/* it powers on: the circle, then the current flows left to right, then the letters flicker on */
.js .gw-mark__bg { transform-box: fill-box; transform-origin: center; transform: scale(.84); opacity: 0; transition: transform 1.2s var(--ease-out), opacity .8s; }
.js .gw-mark__flow { transform-box: fill-box; transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.5s cubic-bezier(.6, .1, .3, 1) .45s; }
.js .gw-mark__letters path { opacity: 0; }
.js .gw-mark.is-in .gw-mark__bg { transform: none; opacity: 1; }
.js .gw-mark.is-in .gw-mark__flow { transform: none; }
.js .gw-mark.is-in .gw-mark__letters path { animation: gw-on .8s steps(1, end) calc(1.05s + var(--x) * 1.25s) both; }
.js .gw-mark.is-reset .gw-mark__flow { transform: scaleX(0); transition: none; }
.js .gw-mark.is-reset .gw-mark__letters path { animation: none; opacity: 0; }
@keyframes gw-on { 0% { opacity: 0; } 18% { opacity: .9; } 32% { opacity: .12; } 48% { opacity: 1; } 66% { opacity: .4; } 80%, 100% { opacity: 1; } }

/* from «gogos» to go WEB go, frame by frame with the scroll */
.gw-name { padding-top: clamp(90px, 12vh, 140px); background: var(--gw-night); color: var(--gw-white); }
.gw-name::after { content: ""; display: block; height: clamp(80px, 12vh, 140px); background: linear-gradient(var(--gw-night), var(--paper)); }
.gw-name .h2 { color: var(--gw-white); }
.gw-name .ap-head p { color: rgba(255, 254, 255, .8); }
.gw-name__scrub { position: relative; }
.gw-name__in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 100px); align-items: center; padding-block: clamp(36px, 6vh, 60px) clamp(60px, 9vh, 100px); }
.gw-name__stage { position: relative; justify-self: center; width: min(100%, 440px, 62vh); margin: 0; aspect-ratio: 600 / 656; border-radius: 22px; overflow: hidden; background: #3a1254; box-shadow: 0 0 0 1px rgba(180, 154, 198, .22), 0 40px 70px -30px rgba(0, 0, 0, .6); }
.gw-name__still, .gw-name__cv { position: absolute; inset: 0; width: 100%; height: 100%; }
.gw-name__cv { display: none; }
.js .gw-name__scrub.is-live .gw-name__cv { display: block; }
.js .gw-name__scrub.is-live .gw-name__still { visibility: hidden; }
.gw-name__bar { display: none; }
/* the steps sit on a circuit trace that fills as the logo builds */
.gw-steps { position: relative; margin: 0; padding: 0 0 0 34px; list-style: none; }
.gw-steps::before, .gw-steps::after { content: ""; position: absolute; left: 9px; top: 14px; bottom: 14px; width: 2px; border-radius: 2px; background: rgba(180, 154, 198, .22); }
.gw-steps::after { bottom: auto; height: var(--fill, 0px); background: var(--gw-lilac); box-shadow: 0 0 8px rgba(180, 154, 198, .7); transition: height .45s var(--ease-out); }
.gw-step { position: relative; }
.gw-step::before { content: ""; position: absolute; z-index: 1; left: -31px; top: calc(4px + clamp(26px, 2.6vw, 36px) * .575 - 6px); width: 12px; height: 12px; border: 2px solid rgba(180, 154, 198, .5); border-radius: 50%; background: var(--gw-night); transition: background .3s, border-color .3s, box-shadow .3s; }
.gw-step.is-past::before, .gw-step.is-on::before { border-color: var(--gw-lilac); background: var(--gw-lilac); }
.gw-step.is-on::before { box-shadow: 0 0 0 5px rgba(180, 154, 198, .25), 0 0 14px rgba(180, 154, 198, .9); }
.gw-step__b { display: block; width: 100%; padding: 4px 0 8px; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; }
.gw-step__b:focus-visible { outline: 2px solid var(--gw-lilac); outline-offset: 4px; border-radius: 6px; }
.gw-step__w { display: block; font-family: var(--font-note); font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; color: rgba(255, 254, 255, .42); transition: color .3s; }
.gw-step.is-past .gw-step__w { color: rgba(255, 254, 255, .7); }
.gw-step.is-on .gw-step__w { color: var(--gw-white); }
.gw-step__b:hover .gw-step__w { color: var(--gw-white); }
.gw-step__t { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-out); }
.gw-step__t > span { overflow: hidden; max-width: 36ch; font-size: 17px; line-height: 1.5; color: rgba(255, 254, 255, .78); }
.gw-step.is-on .gw-step__t { grid-template-rows: 1fr; }
@media (min-width: 861px) {
  .js .gw-name__scrub.is-live { height: 320vh; }
  .js .gw-name__scrub.is-live .gw-name__pin { position: sticky; top: 0; display: flex; align-items: center; height: 100vh; height: 100svh; }
  .js .gw-name__scrub.is-live .gw-name__in { padding-block: 60px; }
}

/* five colours on a circuit: tap a chip to copy it */
.gw-palette { padding-block: clamp(90px, 12vh, 140px) 0; }
.gw-chips { --bh: clamp(104px, 10vw, 140px); position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(14px, 2.6vw, 40px); margin-top: clamp(40px, 6vh, 64px); padding-top: 14px; }
.gw-chips__trace { position: absolute; left: calc(var(--gutter) * -1); right: calc(var(--gutter) * -1); top: calc(14px + var(--bh) / 2 - 1px); height: 2px; background: rgba(88, 40, 137, .22); overflow: hidden; }
.gw-chips__trace::after { content: ""; position: absolute; top: 0; left: 0; width: 140px; height: 100%; background: linear-gradient(90deg, rgba(180, 154, 198, 0), var(--gw-purple), rgba(180, 154, 198, 0)); transform: translateX(-160px); }
.gw-chips.is-in .gw-chips__trace::after { animation: gw-run 3.4s cubic-bezier(.5, 0, .5, 1) .2s infinite; }
@keyframes gw-run { to { transform: translateX(calc(100vw + 40px)); } }
.gw-chip { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.gw-chip { --fg: var(--gw-white); }
.gw-chip.is-light { --fg: var(--gw-deep); }
.gw-chip__body { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; height: var(--bh); padding: 14px 16px; border-radius: 10px; background: var(--c); color: var(--fg); box-shadow: 0 18px 30px -18px rgba(40, 10, 60, .55); transition: transform .5s var(--ease-out), box-shadow .5s, background .6s; }
.gw-chip.is-light .gw-chip__body { box-shadow: inset 0 0 0 1px rgba(59, 18, 84, .14), 0 18px 30px -18px rgba(40, 10, 60, .35); }
/* the pins of the chip */
.gw-chip__body::before, .gw-chip__body::after { content: ""; position: absolute; left: 16%; right: 16%; height: 10px; background: repeating-linear-gradient(90deg, #a99fb3 0 5px, transparent 5px 14px); transition: background .4s; }
.gw-chip__body::before { top: -10px; }
.gw-chip__body::after { bottom: -10px; }
.gw-chip__name { font-family: var(--font-note); font-size: clamp(19px, 1.7vw, 23px); line-height: 1.1; }
.gw-chip__hex { font-size: 12px; letter-spacing: .12em; opacity: .78; }
.gw-chip__use { font-size: 15px; line-height: 1.4; color: var(--deep); }
.gw-chip:hover .gw-chip__body, .gw-chip:focus-visible .gw-chip__body { transform: translateY(-5px); }
.gw-chip:hover .gw-chip__body::before, .gw-chip:hover .gw-chip__body::after, .gw-chip.is-zap .gw-chip__body::before, .gw-chip.is-zap .gw-chip__body::after { background: repeating-linear-gradient(90deg, var(--gw-purple) 0 5px, transparent 5px 14px); }
.gw-chip:focus-visible { outline: none; }
.gw-chip:focus-visible .gw-chip__body { outline: 2px solid var(--gw-purple); outline-offset: 6px; }
.gw-chip.is-zap .gw-chip__body { animation: gw-zap .5s steps(1, end); }
@keyframes gw-zap { 0% { filter: brightness(1.5); } 25% { filter: none; } 50% { filter: brightness(1.3); } 75%, 100% { filter: none; } }
/* they power on one after the other as the current reaches them */
.js .gw-chip__body { background: #e7e0ee; color: transparent; }
.js .gw-chips.is-in .gw-chip__body { background: var(--c); color: var(--fg); animation: gw-power .7s ease calc(.25s + var(--i) * .22s) both; }
@keyframes gw-power { from { background-color: #e7e0ee; color: transparent; } 40% { background-color: var(--c); filter: brightness(1.35); } to { background-color: var(--c); color: var(--fg); } }
.gw-chips__copied { min-height: 1.4em; margin-top: 22px; font-family: var(--font-note); font-size: 20px; color: var(--gw-purple); }

/* the social: carousels that swipe, covers, reels and highlights */
.gw-social { margin-top: clamp(80px, 11vh, 120px); padding-block: clamp(80px, 11vh, 130px); background: var(--gw-mist); }
.gw-car { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 100px); align-items: center; margin-top: clamp(40px, 6vh, 64px); }
.gw-car__tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.gw-car__tab { padding: 10px 18px; border: 1.5px solid rgba(59, 18, 84, .22); border-radius: 999px; background: var(--white); font: 500 15px/1.2 var(--font-body); color: var(--gw-deep); cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.gw-car__tab span { margin-left: 3px; font-size: 12px; opacity: .6; }
.gw-car__tab:hover { border-color: var(--gw-deep); }
.gw-car__tab[aria-selected="true"] { border-color: var(--gw-deep); background: var(--gw-deep); color: var(--gw-white); }
.gw-car__tab:focus-visible { outline: 2px solid var(--gw-purple); outline-offset: 3px; }
.gw-car__about { max-width: 38ch; margin-top: 24px; font-size: 19px; color: var(--deep); }
.gw-car__hint { margin-top: 16px; font-family: var(--font-note); font-size: 19px; color: var(--gw-purple); }
.gw-car__post { justify-self: center; width: min(100%, 460px); }
.gw-car__set { border-radius: 14px; overflow: hidden; background: var(--gw-deep); box-shadow: 0 40px 70px -34px rgba(40, 10, 60, .55), 0 2px 8px rgba(40, 10, 60, .1); }
.gw-car__track { display: flex; margin: 0; padding: 0; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab; }
.gw-car__track::-webkit-scrollbar { display: none; }
.gw-car__track.is-drag { cursor: grabbing; }
.gw-car__track:focus-visible { outline: 2px solid var(--gw-purple); outline-offset: -4px; }
.gw-car__slide { flex: none; width: 100%; scroll-snap-align: start; }
.gw-car__slide img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; user-select: none; -webkit-user-drag: none; }
.gw-car__ctrl { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 20px; }
.gw-car__btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1.5px solid rgba(59, 18, 84, .22); border-radius: 50%; background: var(--white); cursor: pointer; transition: border-color .3s, opacity .3s; }
.gw-car__btn svg { width: 18px; height: 18px; fill: none; stroke: var(--gw-deep); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gw-car__btn:hover:not(:disabled) { border-color: var(--gw-deep); }
.gw-car__btn:disabled { opacity: .35; cursor: default; }
.gw-car__btn:focus-visible { outline: 2px solid var(--gw-purple); outline-offset: 3px; }
/* the dots are pads on a little trace */
.gw-car__dots { position: relative; display: flex; gap: 10px; }
.gw-car__dots::before { content: ""; position: absolute; left: 4px; right: 4px; top: 50%; height: 1.5px; margin-top: -.75px; background: rgba(59, 18, 84, .2); }
.gw-car__dots i { position: relative; width: 8px; height: 8px; border: 1.5px solid rgba(59, 18, 84, .4); border-radius: 50%; background: var(--gw-mist); transition: background .3s, border-color .3s, transform .3s; }
.gw-car__dots i.is-on { border-color: var(--gw-purple); background: var(--gw-purple); transform: scale(1.3); }
.gw-car__count { min-width: 3.4em; font-size: 13px; letter-spacing: .08em; text-align: center; color: var(--sage); }

.gw-feed { margin-top: clamp(80px, 11vh, 120px); }
.gw-feed__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 40px; align-items: end; }
.gw-feed__head p { max-width: 46ch; font-size: 18px; color: var(--deep); }
.gw-feed__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1.2vw, 16px); margin: clamp(30px, 4vh, 44px) 0 0; padding: 0; list-style: none; }
.gw-feed__item img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; border-radius: 6px; box-shadow: 0 16px 30px -22px rgba(40, 10, 60, .6); transition: transform .5s var(--ease-out), box-shadow .5s; }
.gw-feed__item:hover img { transform: translateY(-5px); box-shadow: 0 26px 40px -24px rgba(40, 10, 60, .7); }

.gw-vert { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(30px, 5vw, 80px); align-items: center; margin-top: clamp(80px, 11vh, 120px); }
.gw-hl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); margin: 0; padding: 0; list-style: none; }
.gw-hl__item { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 14px; color: var(--deep); }
.gw-hl__item img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 50%; padding: 4px; background: var(--gw-mist); box-shadow: 0 0 0 2px var(--gw-lilac); transition: box-shadow .4s, transform .5s var(--ease-out); }
.gw-hl__item:hover img { box-shadow: 0 0 0 2px var(--gw-purple), 0 0 0 7px rgba(180, 154, 198, .35); transform: translateY(-3px); }
.gw-vert__note { margin-top: 20px; font-family: var(--font-note); font-size: 19px; color: var(--gw-purple); }
.gw-vert__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 22px); margin: 0; padding: 0; list-style: none; }
.gw-vert__item { position: relative; }
.gw-vert__item:nth-child(2) { transform: translateY(-6%); }
.gw-vert__item img { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 14px; box-shadow: 0 30px 50px -30px rgba(40, 10, 60, .6); }
.gw-vert__tag { position: absolute; left: 10px; top: 10px; padding: 3px 10px; border-radius: 999px; background: rgba(42, 14, 61, .78); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gw-white); }

/* the card turns over (same mechanics as physio bougas), next to the two mockups */
.gw-card-wrap { padding-block: clamp(90px, 12vh, 140px) 0; }
.gw-card__grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, .5fr) minmax(0, .5fr); gap: clamp(14px, 2vw, 28px); align-items: center; margin-top: clamp(36px, 5vh, 56px); }
.gw-card__stage { display: grid; justify-items: center; perspective: 1600px; }
.pb-card.gw-card { width: 100%; aspect-ratio: 1426 / 815; }
.gw-card .pb-card__face { border-radius: 8px; background: var(--gw-purple); box-shadow: 0 30px 60px -24px rgba(40, 10, 60, .5), 0 2px 6px rgba(40, 10, 60, .12); }
.gw-card:focus-visible { outline: 2px solid var(--gw-purple); outline-offset: 8px; border-radius: 12px; }
.gw-card__mock { margin: 0; }
.gw-card__mock img { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 24px 40px -26px rgba(40, 10, 60, .6); }
.gw-card__mock--b { margin-top: 22%; }

/* their site */
.gw-site__view { aspect-ratio: 1440 / 900; }
.gw-site__shot { display: block; width: 100%; height: auto; }
.gw-credit .ap-credit__arrow { filter: none; }

/* the sites we made together, as pads on one trace */
.gw-with { padding-block: clamp(90px, 12vh, 140px) 0; }
.gw-with__list { display: flex; flex-wrap: wrap; align-items: center; row-gap: 16px; margin: clamp(36px, 5vh, 56px) 0 0; padding: 0; list-style: none; }
.gw-with__item { display: flex; align-items: center; }
.gw-with__item + .gw-with__item::before { content: ""; width: clamp(18px, 3vw, 46px); height: 2px; background: var(--gw-lilac); }
.gw-with__item a { display: inline-flex; align-items: center; gap: 10px; padding: 11px 20px 11px 14px; border: 1.5px solid rgba(59, 18, 84, .2); border-radius: 999px; background: var(--white); font-family: var(--font-display); font-size: clamp(19px, 1.8vw, 24px); line-height: 1.1; color: var(--gw-deep); transition: border-color .3s, transform .4s var(--ease-out); }
.gw-with__pad { flex: none; width: 12px; height: 12px; border: 2px solid var(--gw-lilac); border-radius: 50%; transition: background .3s, border-color .3s, box-shadow .3s; }
.gw-with__item a:hover, .gw-with__item a:focus-visible { border-color: var(--gw-deep); transform: translateY(-2px); }
.gw-with__item a:hover .gw-with__pad, .gw-with__item a:focus-visible .gw-with__pad { border-color: var(--gw-purple); background: var(--gw-purple); box-shadow: 0 0 0 5px rgba(180, 154, 198, .35); }
.js .gw-with__item { opacity: 0; transform: translateX(-12px); transition: opacity .6s var(--ease-out), transform .7s var(--ease-out); transition-delay: calc(var(--i) * .16s); }
.js .gw-with__list.is-in .gw-with__item { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .gw-hero__in { grid-template-columns: 1fr; padding-block: 110px 60px; }
  .gw-hero__fig { width: min(78%, 380px); }
  .gw-name__in { grid-template-columns: 1fr; }
  .gw-name__stage { order: -1; width: min(100%, 360px); }
  .js .gw-name__scrub.is-live { height: 280vh; }
  .js .gw-name__scrub.is-live .gw-name__pin { position: sticky; top: 0; display: flex; align-items: center; height: 100vh; height: 100svh; }
  .js .gw-name__scrub.is-live .gw-name__in { gap: 22px; padding-block: 64px 24px; }
  .js .gw-name__scrub.is-live .gw-name__stage { width: min(100%, 300px, 46svh); }
  /* on a phone only the current step shows, under the logo, with a progress bar */
  .js .gw-name__scrub.is-live .gw-steps { min-height: 7.4em; padding-left: 0; text-align: center; }
  .js .gw-name__scrub.is-live .gw-steps::before, .js .gw-name__scrub.is-live .gw-steps::after, .js .gw-name__scrub.is-live .gw-step::before { display: none; }
  .js .gw-name__scrub.is-live .gw-step:not(.is-on) { display: none; }
  .js .gw-name__scrub.is-live .gw-step__b { text-align: center; }
  .js .gw-name__scrub.is-live .gw-step__t > span { margin-inline: auto; }
  .js .gw-name__scrub.is-live .gw-name__bar { position: absolute; left: 0; right: 0; bottom: 0; display: block; height: 3px; background: rgba(180, 154, 198, .25); }
  .gw-name__bar span { display: block; height: 100%; background: var(--gw-lilac); transform-origin: left; transform: scaleX(var(--p, 0)); }
  .gw-car { grid-template-columns: 1fr; }
  .gw-car__post { order: 2; }
  .gw-feed__head { grid-template-columns: 1fr; }
  .gw-feed__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gw-vert { grid-template-columns: 1fr; }
  .gw-card__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gw-card__stage { grid-column: 1 / -1; }
  .gw-card__mock--b { margin-top: 0; }
}
@media (max-width: 700px) {
  /* the chips stack, and the trace runs down through them */
  .gw-chips { --bh: 78px; grid-template-columns: 1fr; gap: 26px; padding-top: 10px; }
  .gw-chips__trace { left: 59px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .gw-chips__trace::after { width: 100%; height: 120px; background: linear-gradient(180deg, rgba(180, 154, 198, 0), var(--gw-purple), rgba(180, 154, 198, 0)); transform: translateY(-140px); }
  @keyframes gw-run-v { to { transform: translateY(1000px); } }
  .gw-chips.is-in .gw-chips__trace::after { animation-name: gw-run-v; }
  .gw-chip { flex-direction: row; align-items: center; gap: 18px; }
  .gw-chip__body { flex: none; width: 120px; padding: 10px 12px; }
  .gw-chip__name { font-size: 18px; }
  .gw-chip__hex { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .gw-mark__bg, .js .gw-mark__flow { transform: none; opacity: 1; transition: none; }
  .js .gw-mark__letters path, .js .gw-mark.is-in .gw-mark__letters path { opacity: 1; animation: none; }
  .js .gw-chip__body, .js .gw-chips.is-in .gw-chip__body { background: var(--c); color: var(--fg); animation: none; }
  .gw-chips.is-in .gw-chips__trace::after { animation: none; }
  .js .gw-with__item { opacity: 1; transform: none; transition: none; }
}

/* ===================================================================
   Zerdelis Box: kraft, bubble wrap, packing tape, an orange cart
   =================================================================== */
.proj:has(.zb) { padding-top: 0; overflow-x: clip; }
.zb { --zb-orange: #f15b28; --zb-red: #ec1f36; --zb-amber: #f69322; --zb-ink: #1b1b1b; --zb-kraft: #c9a06a; --zb-brown: #5a3c1a; --zb-cream: #f7f0e6;
  --ap-green: var(--zb-ink); --ap-cream: #fff; --ap-sage: #f6b48f; --ap-gold: var(--zb-amber); }

/* the opening: the side of a cardboard box, a shipping label, a sheet of bubble wrap */
.zb-hero { position: relative; display: flex; align-items: center; min-height: max(660px, 100svh); overflow: hidden; color: var(--zb-ink);
  background: repeating-linear-gradient(90deg, rgba(110, 72, 28, .055) 0 2px, rgba(255, 255, 255, 0) 2px 9px), radial-gradient(120% 90% at 30% 40%, #dcbb8a 0%, var(--zb-kraft) 58%, #b78b55 100%); }
.zb-hero__in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 80px); align-items: center; padding-block: 120px 70px; }
.zb-hero__back { grid-column: 1 / -1; justify-self: start; margin-bottom: -10px; color: var(--zb-brown); }
.zb-label { display: inline-block; margin-bottom: 26px; padding: 16px 22px; border-radius: 4px; background: #fffdf8; box-shadow: 0 1px 0 rgba(0, 0, 0, .05), 0 14px 26px -14px rgba(60, 35, 10, .55); transform: rotate(-2.2deg); }
.js .zb-label.reveal.is-in { transform: rotate(-2.2deg); }
.zb-label img { display: block; width: clamp(190px, 19vw, 260px); height: auto; }
.zb-hero__meta { margin-bottom: 14px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: #6d4a22; }
.zb-hero__title { margin: 0 0 14px; font-family: var(--font-display); font-weight: 500; font-size: clamp(52px, 6.6vw, 98px); line-height: .95; letter-spacing: -.015em; color: var(--zb-ink); }
.zb-hero__sub { margin-bottom: 24px; font-family: var(--font-display); font-style: italic; font-size: clamp(22px, 2.2vw, 30px); color: #b8261c; }
.zb-hero__lead { max-width: 42ch; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: #3a2a18; }
.zb-hero__sheet { position: relative; }
.zb-wrap { display: block; width: 100%; aspect-ratio: 1.12 / 1; border-radius: 12px 18px 10px 16px; background: linear-gradient(140deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .06) 45%, rgba(255, 255, 255, .16)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35), 0 34px 50px -30px rgba(60, 35, 10, .6); touch-action: pan-y; cursor: pointer; }
.zb-pop { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-top: 16px; font-family: var(--font-note); font-size: 21px; color: var(--zb-brown); }
.zb-pop__new { padding: 0; border: 0; background: none; font: inherit; color: #b8261c; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

/* the logo: proof cards, three stages */
.zb-logo { padding-block: clamp(90px, 12vh, 140px) 0; }
.zb-stage { margin-top: clamp(44px, 6vh, 70px); }
.zb-stage__no { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; font-family: var(--font-display); font-size: clamp(22px, 2vw, 28px); color: var(--deep); }
.zb-stage__no span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--zb-orange); font: 600 15px/1 var(--font-body); color: #fff; }
.zb-proofs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.8vw, 24px); margin: 0; padding: 0; list-style: none; }
.zb-proof { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 9%; border-radius: 10px; background: var(--white); box-shadow: var(--shadow); transition: transform .5s var(--ease-out), box-shadow .5s; }
.zb-proof img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.zb-proof:hover { transform: translateY(-4px) rotate(-.6deg); box-shadow: var(--shadow-lift); }
.zb-proof__ring { position: absolute; left: -4%; top: -8%; width: 108%; height: 116%; color: var(--zb-red); --sw: 2.6; pointer-events: none; }
.zb-proof__note { position: absolute; right: 2%; top: -30px; font-family: var(--font-note); font-size: 32px; color: var(--zb-red); transform: rotate(-6deg); }
.zb-final { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .6fr); gap: clamp(16px, 3vw, 40px); align-items: center; }
.zb-final__logo { display: grid; place-items: center; margin: 0; padding: clamp(36px, 6vw, 84px) clamp(20px, 4vw, 60px); border-radius: 12px; background: var(--white); box-shadow: var(--shadow); }
.zb-final__logo img { width: min(100%, 580px); height: auto; }
.zb-final__tab { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin: 0; }
.zb-tabs { display: block; width: min(100%, 300px); padding: 10px 10px 0; border-radius: 12px; background: #e9e3dc; box-shadow: 0 16px 30px -22px rgba(0, 0, 0, .5); }
.zb-tabs::after { content: ""; display: block; height: 30px; margin: 0 -10px; border-radius: 0 0 12px 12px; background: var(--white); }
.zb-tab { display: flex; align-items: center; gap: 10px; width: 82%; padding: 11px 14px 11px 12px; border-radius: 10px 10px 0 0; background: var(--white); font-size: 15px; color: var(--zb-ink); }
.zb-tab img { width: 24px; height: auto; }
.zb-tab i { margin-left: auto; font-style: normal; color: var(--sage); }
.zb-final__tab figcaption { font-family: var(--font-note); font-size: 19px; color: var(--deep); }

/* the colours as rolls of packing tape */
.zb-tapes { padding-block: clamp(90px, 12vh, 140px) 0; }
.zb-tape-list { display: grid; gap: clamp(18px, 2.6vw, 28px); margin: clamp(36px, 5vh, 56px) 0 0; padding: 0; list-style: none; }
.zb-tape { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .42fr); gap: clamp(14px, 3vw, 40px); align-items: center; }
.zb-tape__btn { position: relative; display: flex; align-items: flex-end; width: 100%; height: 92px; padding: 0; border: 0; background: none; cursor: pointer; }
.zb-tape__btn:focus-visible { outline: 2px solid var(--zb-orange); outline-offset: 6px; border-radius: 50px; }
.zb-tape__roll { position: relative; z-index: 1; flex: none; width: 92px; height: 92px; border-radius: 50%; background: radial-gradient(circle, #ecd8b6 0 29%, #b98e58 30% 35%, var(--c) 36% 100%); box-shadow: inset -7px -8px 14px rgba(0, 0, 0, .2), inset 4px 4px 8px rgba(255, 255, 255, .18), 0 12px 20px -12px rgba(0, 0, 0, .5); transition: transform 1.1s cubic-bezier(.3, .7, .2, 1); }
.zb-tape__roll::after { content: ""; position: absolute; left: 50%; top: 4px; width: 3px; height: 24px; margin-left: -1.5px; border-radius: 2px; background: rgba(255, 255, 255, .35); }
.zb-tape__strip { position: relative; width: 64%; height: 46px; margin-left: -46px; overflow: hidden; background: linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, 0) 45%, rgba(0, 0, 0, .08)), var(--c); opacity: .95; transition: width 1.1s cubic-bezier(.3, .7, .2, 1);
  clip-path: polygon(0 0, 100% 0, calc(100% - 7px) 14%, 100% 28%, calc(100% - 6px) 42%, 100% 57%, calc(100% - 7px) 71%, 100% 85%, calc(100% - 5px) 100%, 0 100%); }
.zb-tape__strip span { display: block; padding-left: 64px; white-space: nowrap; font: 600 12px/46px var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .82); }
.zb-tape__btn:hover .zb-tape__strip, .zb-tape__btn:focus-visible .zb-tape__strip { width: 100%; }
.zb-tape__btn:hover .zb-tape__roll, .zb-tape__btn:focus-visible .zb-tape__roll { transform: rotate(-150deg); }
.js .zb-tape-list .zb-tape__strip { width: 0; }
.js .zb-tape-list.is-in .zb-tape__strip { width: 64%; animation: zb-unroll 1.2s cubic-bezier(.3, .7, .2, 1) calc(.2s + var(--i) * .18s) backwards; }
.js .zb-tape-list.is-in .zb-tape__btn:hover .zb-tape__strip, .js .zb-tape-list.is-in .zb-tape__btn:focus-visible .zb-tape__strip { width: 100%; }
.js .zb-tape-list.is-in .zb-tape__roll { animation: zb-spin 1.2s cubic-bezier(.3, .7, .2, 1) calc(.2s + var(--i) * .18s) backwards; }
@keyframes zb-unroll { from { width: 0; } }
@keyframes zb-spin { from { transform: rotate(160deg); } }
/* a tap tears the tape off, and it unrolls again */
.zb-tape.is-tear .zb-tape__strip { animation: zb-tear .9s cubic-bezier(.3, .7, .2, 1); }
@keyframes zb-tear { 0% { width: 100%; } 18% { width: 8%; } 100% { width: 64%; } }
.zb-tape__use { font-size: 16px; line-height: 1.45; color: var(--deep); }
.zb-tape__use strong { display: block; font-family: var(--font-note); font-weight: 400; font-size: 23px; color: var(--zb-ink); }
.zb-tapes__copied { min-height: 1.4em; margin-top: 20px; font-family: var(--font-note); font-size: 20px; color: var(--zb-orange); }

/* one banner, two screens: narrow the frame and the phone art takes over */
.zb-banner { margin-top: clamp(80px, 11vh, 120px); padding-block: clamp(80px, 11vh, 130px); background: var(--zb-cream); }
.zb-bn { margin-top: clamp(36px, 5vh, 56px); }
.zb-bn__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.zb-bn__modes { display: flex; gap: 8px; }
.zb-bn__mode { padding: 9px 16px; border: 1.5px solid rgba(27, 27, 27, .18); border-radius: 999px; background: var(--white); font: 500 14px/1.2 var(--font-body); color: var(--zb-ink); cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.zb-bn__mode[aria-pressed="true"] { border-color: var(--zb-orange); background: var(--zb-orange); color: #fff; }
.zb-bn__mode:focus-visible { outline: 2px solid var(--zb-orange); outline-offset: 3px; }
.zb-bn__size { font-size: 13px; letter-spacing: .08em; color: var(--sage); }
.zb-bn__room { padding: 14px; border-radius: 16px; background: repeating-linear-gradient(45deg, rgba(90, 60, 26, .045) 0 10px, rgba(255, 255, 255, 0) 10px 20px); box-shadow: inset 0 0 0 1.5px rgba(90, 60, 26, .1); }
.zb-bn__frame { position: relative; width: var(--w, 100%); min-width: 260px; max-width: 100%; overflow: hidden; border-radius: 10px; background: var(--white); box-shadow: 0 24px 44px -28px rgba(60, 35, 10, .55); container-type: inline-size; transition: width .6s var(--ease-out); cursor: pointer; }
.zb-bn__frame.is-drag { transition: none; }
.zb-bn__slides { display: grid; }
.zb-bn__slide { grid-area: 1 / 1; margin: 0; opacity: 0; transition: opacity .8s ease; }
.zb-bn__slide.is-on { opacity: 1; }
.zb-bn__slide img { display: block; width: 100%; height: auto; user-select: none; -webkit-user-drag: none; }
.zb-bn__slide .zb-bn__mob { display: none; }
@container (max-width: 560px) { .zb-bn__slide .zb-bn__desk { display: none; } .zb-bn__slide .zb-bn__mob { display: block; } }
.zb-bn[data-mode="desk"] .zb-bn__slide .zb-bn__desk { display: block; }
.zb-bn[data-mode="desk"] .zb-bn__slide .zb-bn__mob { display: none; }
.zb-bn[data-mode="mob"] .zb-bn__slide .zb-bn__desk { display: none; }
.zb-bn[data-mode="mob"] .zb-bn__slide .zb-bn__mob { display: block; }
.zb-bn__dots { position: absolute; left: 50%; bottom: 12px; display: flex; gap: 6px; transform: translateX(-50%); }
.zb-bn__dots i { width: 8px; height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .65); transition: width .4s var(--ease-out), background .4s; }
.zb-bn__dots i.is-on { width: 22px; background: var(--zb-orange); }
.zb-bn__grip { position: absolute; top: 0; right: 0; bottom: 0; display: grid; place-items: center; width: 26px; cursor: ew-resize; touch-action: none; }
.zb-bn__grip::before { content: ""; width: 7px; height: 48px; border-radius: 7px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12), 0 4px 10px rgba(0, 0, 0, .25); }
.zb-bn__ai { margin-top: 16px; font-family: var(--font-note); font-size: 19px; color: #8a5a2b; }

/* twelve categories, and a cart that fills */
.zb-cats { position: relative; padding-block: clamp(90px, 12vh, 140px) 0; }
.zb-cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 20px); margin: clamp(36px, 5vh, 56px) 0 0; padding: 0; list-style: none; }
.zb-cat { position: relative; overflow: hidden; border-radius: 10px; background: var(--white); box-shadow: 0 1px 0 rgba(0, 0, 0, .05), 0 16px 30px -26px rgba(0, 0, 0, .5); transition: transform .45s var(--ease-out); }
.zb-cat:hover { transform: translateY(-3px); }
.zb-cat__img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.zb-cat__name { display: block; padding: 12px 14px 14px; font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--zb-ink); }
.zb-cat__add { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: var(--zb-orange); font: 400 26px/1 var(--font-body); color: #fff; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .45); cursor: pointer; transition: background .3s, transform .3s var(--ease-out); }
.zb-cat__add span { display: block; margin-top: -2px; transition: transform .35s var(--ease-out); }
.zb-cat__add:hover { transform: scale(1.08); }
.zb-cat__add[aria-pressed="true"] { background: var(--zb-ink); }
.zb-cat__add[aria-pressed="true"] span { transform: rotate(45deg); }
.zb-cat__add:focus-visible { outline: 2px solid var(--zb-ink); outline-offset: 3px; }
.zb-cart { position: sticky; bottom: 18px; z-index: 5; display: flex; align-items: center; gap: 14px; width: max-content; max-width: 100%; margin: 26px 0 0 auto; padding: 10px 20px 10px 14px; border-radius: 999px; background: var(--white); box-shadow: 0 18px 36px -18px rgba(0, 0, 0, .45), 0 0 0 1px rgba(0, 0, 0, .04); }
.zb-cart__box { position: relative; width: 40px; }
.zb-cart__box img { display: block; width: 100%; height: auto; }
.zb-cart__n { position: absolute; top: -7px; right: -10px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--zb-red); font: 600 12px/22px var(--font-body); text-align: center; color: #fff; }
.zb-cart.is-bump .zb-cart__box { animation: zb-bump .5s var(--ease-out); }
@keyframes zb-bump { 0% { transform: scale(1); } 35% { transform: scale(1.22) rotate(-6deg); } 100% { transform: scale(1); } }
.zb-cart__say { font-family: var(--font-note); font-size: 20px; color: var(--zb-ink); }
.zb-cart__empty { padding: 0; border: 0; background: none; font-size: 14px; color: var(--sage); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.zb-fly { position: fixed; z-index: 60; margin: 0; border-radius: 10px; object-fit: cover; pointer-events: none; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .4); transition: transform .75s cubic-bezier(.55, -.15, .3, 1), opacity .75s ease-in; }

/* from the sketch to the site: three windows that scroll together */
.zb-site__stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, .36fr); gap: clamp(14px, 2vw, 28px); align-items: start; margin-top: clamp(36px, 5vh, 56px); }
.zb-site__col { margin: 0; }
.zb-site__view { position: relative; display: block; height: clamp(340px, 40vw, 560px); overflow: hidden; background: var(--white); }
.zb-site__col--mob { align-self: center; }
.zb-site__col figcaption { margin-top: 12px; font-family: var(--font-note); font-size: 19px; color: var(--deep); }
.zb-site__col--mob figcaption { text-align: center; }
.zb-credit .ap-credit__arrow { filter: none; }
/* a post-it stuck on the screens: the differences are on purpose */
.zb-site__stage { position: relative; }
.zb-postit { position: absolute; z-index: 3; left: calc(30% - 40px); bottom: 54px; width: 272px; padding: 26px 22px 22px; transform: rotate(-3deg); }
.zb-postit::before { content: ""; position: absolute; left: 50%; top: -12px; width: 92px; height: 24px; background: rgba(238, 228, 208, .78); box-shadow: 0 1px 2px rgba(46, 58, 49, .12); transform: translateX(-50%) rotate(2deg); }
.zb-postit p { font-size: 18px; }
.zb-postit .zb-postit__head { margin-bottom: 8px; font-size: 27px; line-height: 1.05; }
.js .zb-postit { opacity: 0; transform: rotate(-12deg) scale(1.12) translateY(-14px); transition: opacity .5s ease .5s, transform .7s cubic-bezier(.3, 1.4, .5, 1) .5s; }
.js .zb-postit.is-in { opacity: 1; transform: rotate(-3deg); }

@media (max-width: 860px) {
  .zb-hero__in { grid-template-columns: 1fr; padding-block: 110px 60px; }
  .zb-wrap { aspect-ratio: 1.3 / 1; }
  .zb-proofs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zb-final { grid-template-columns: 1fr; }
  .zb-tape { grid-template-columns: 1fr; gap: 8px; }
  .zb-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zb-site__stage { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zb-site__col--mob { grid-column: 1 / -1; justify-self: center; width: min(46%, 220px); }
  .zb-site__view { height: clamp(300px, 70vw, 460px); }
  .zb-postit { position: relative; left: auto; bottom: auto; grid-column: 1 / -1; justify-self: center; width: min(100%, 340px); margin-top: 10px; }
}
@media (max-width: 560px) {
  .zb-site__stage { grid-template-columns: 1fr; }
  .zb-site__col--mob { width: min(62%, 240px); }
  .zb-tape__roll { width: 76px; height: 76px; }
  .zb-tape__btn { height: 76px; }
  .zb-tape__strip { height: 38px; margin-left: -38px; }
  .zb-tape__strip span { line-height: 38px; padding-left: 52px; }
  .zb-cart { margin-inline: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .js .zb-tape-list .zb-tape__strip, .js .zb-tape-list.is-in .zb-tape__strip { width: 64%; animation: none; }
  .js .zb-tape-list.is-in .zb-tape__roll { animation: none; }
  .zb-tape__roll, .zb-tape__strip, .zb-bn__frame, .zb-bn__slide { transition: none; }
  .js .zb-postit { opacity: 1; transform: rotate(-3deg); transition: none; }
}

/* ===================================================================
   Απόλλων Χαλανδρίου: the club's blue, a deck of posts, a season as a system
   =================================================================== */
.proj:has(.apo) { padding-top: 0; overflow-x: clip; }
.apo { --apo-blue: #1751c4; --apo-navy: #0c1f4f; --apo-deep: #0b1730; --apo-ice: #f4f6fc; --apo-sky: #e7eefc; --apo-mut: #63739a;
  --ap-green: var(--apo-navy); --ap-cream: #fff; --ap-sage: #a9c0f2; --ap-gold: var(--apo-blue); --ap-plan: var(--apo-ice); }

/* the opening: the club's blue, a deck of the season's posts, the ticker from the templates */
.apo-hero { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: max(680px, 100svh); overflow: hidden; color: #fff;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .035) 0 2px, rgba(255, 255, 255, 0) 2px 46px), radial-gradient(110% 90% at 70% 40%, #2563d8 0%, var(--apo-blue) 40%, var(--apo-navy) 100%); }
.apo-hero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: clamp(30px, 5vw, 80px); align-items: center; padding-block: 120px 110px; }
.apo-hero__back { grid-column: 1 / -1; justify-self: start; margin-bottom: -10px; }
.apo-hero__meta { margin-bottom: 20px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: #a9c0f2; }
.apo-hero__title { margin: 0 0 18px; font-family: 'Dela Gothic One', var(--font-display); font-weight: 400; font-size: clamp(40px, 5.2vw, 78px); line-height: 1.04; letter-spacing: -.005em; color: #fff; }
.apo-hero__sub { margin-bottom: 24px; font-family: var(--font-display); font-style: italic; font-size: clamp(22px, 2.2vw, 30px); color: #d6e2fb; }
.apo-hero__lead { max-width: 44ch; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: rgba(255, 255, 255, .86); }
.apo-hero__hint { margin-top: 22px; font-family: var(--font-note); font-size: 20px; color: #a9c0f2; }
/* the deck: the front card on top, the rest peeking behind; a press deals the next one */
.apo-deck { position: relative; justify-self: center; width: min(100%, 380px); aspect-ratio: 4 / 5; padding: 0; border: 0; background: none; cursor: pointer; }
.apo-deck:focus-visible { outline: 2px solid #fff; outline-offset: 12px; border-radius: 12px; }
.apo-deck__card { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 10px; box-shadow: 0 30px 50px -26px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .08); z-index: calc(10 - var(--p)); transform: translate(calc(var(--p) * 16px), calc(var(--p) * -12px)) rotate(calc(var(--p) * 2.6deg)) scale(calc(1 - var(--p) * .035)); transition: transform .7s cubic-bezier(.3, .7, .2, 1), opacity .4s; }
.apo-deck:hover .apo-deck__card, .apo-deck:focus-visible .apo-deck__card { transform: translate(calc(var(--p) * 30px), calc(var(--p) * -16px)) rotate(calc(var(--p) * 5deg)) scale(calc(1 - var(--p) * .03)); }
.apo-deck__card.is-out { z-index: 20; transform: translate(-80%, 30px) rotate(-14deg) !important; opacity: 0; transition: transform .45s cubic-bezier(.5, 0, .7, .4), opacity .35s ease .1s; }
.apo-ticker { position: absolute; left: 0; right: 0; bottom: clamp(20px, 4vh, 40px); overflow: hidden; padding: 12px 0; background: rgba(255, 255, 255, .08); border-block: 1px solid rgba(255, 255, 255, .14); }
.apo-ticker span { display: inline-block; white-space: pre; font-size: 13px; font-weight: 700; letter-spacing: .22em; color: rgba(255, 255, 255, .7); animation: apo-tick 60s linear infinite; }
@keyframes apo-tick { to { transform: translateX(-50%); } }

/* before and after the whistle */
.apo-whistle { padding-block: clamp(90px, 12vh, 140px) 0; }
.ap-compare.apo-compare { max-width: 560px; aspect-ratio: 1080 / 1350; background: var(--apo-navy); }
.apo-compare__tags { display: flex; justify-content: space-between; max-width: 560px; margin: clamp(30px, 4vh, 44px) auto -14px; padding-inline: 6px; font-family: var(--font-note); font-size: 21px; color: var(--apo-blue); }

/* the season as posts */
.apo-feed { padding-block: clamp(90px, 12vh, 140px) 0; }
.apo-feed__row { display: grid; grid-template-columns: 1fr 1fr 1fr .8fr; gap: clamp(12px, 1.8vw, 24px); align-items: end; margin: clamp(36px, 5vh, 56px) 0 0; padding: 0; list-style: none; }
.apo-feed__item img { display: block; width: 100%; height: auto; border-radius: 8px; box-shadow: 0 24px 40px -26px rgba(11, 23, 48, .6); transition: transform .5s var(--ease-out); }
.apo-feed__item:hover img { transform: translateY(-5px); }
.apo-feed__cap { display: block; margin-top: 12px; font-family: var(--font-note); font-size: 19px; color: var(--deep); }
.apo-feed__ig { margin-top: clamp(26px, 4vh, 40px); text-align: right; }
.apo-feed__ig a { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-note); font-size: clamp(21px, 1.8vw, 25px); color: var(--apo-blue); }
.apo-feed__arrow { height: 30px; width: auto; transition: transform .4s var(--ease-out); }
.apo-feed__ig a:hover .apo-feed__arrow { transform: translate(4px, -4px); }

/* in motion */
.apo-motion { margin-top: clamp(80px, 11vh, 120px); padding-block: clamp(80px, 11vh, 130px); background: #e8e7ec; }
.apo-motion__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .9fr); gap: clamp(16px, 3vw, 44px); align-items: end; max-width: 1180px; margin: clamp(36px, 5vh, 56px) auto 0; }
.apo-motion__post, .apo-motion__reel { margin: 0; }
.apo-video { display: block; width: 100%; height: auto; border-radius: 10px; background: var(--apo-navy); box-shadow: 0 30px 50px -28px rgba(11, 23, 48, .6); }
/* the reel is only its phone, on the same grey as the section: no frame, the edges fade out */
.apo-motion__reel .apo-video { border-radius: 0; background: none; box-shadow: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 1.5%, #000 97%, transparent), linear-gradient(transparent, #000 2%, #000 97%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 1.5%, #000 97%, transparent), linear-gradient(transparent, #000 2%, #000 97%, transparent); mask-composite: intersect; }
.apo-motion figcaption { margin-top: 12px; font-family: var(--font-note); font-size: 19px; color: var(--deep); }

/* the tool */
.apo-studio { padding-block: clamp(90px, 12vh, 140px) 0; }
.apo-studio__shot { max-width: 1040px; margin: clamp(36px, 5vh, 56px) auto 0; }
.apo-studio__shot img { display: block; width: 100%; height: auto; }

/* the site */
.apo-note { margin-top: 18px; font-family: var(--font-note); font-size: 18px; color: var(--sage); }

/* My Apollon: a phone that switches screens, and the office on the other side */
.apo-my { padding-block: clamp(90px, 12vh, 140px) 0; }
.apo-my__grid { display: grid; grid-template-columns: minmax(0, .5fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 70px); align-items: center; margin-top: clamp(36px, 5vh, 56px); }
.apo-my__phone { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.apo-my__device { width: min(100%, 300px); }
.apo-my__stack { position: absolute; inset: 0; background: #fff; }
.apo-my__screen { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity .45s ease; }
.apo-my__screen.is-on { opacity: 1; }
.apo-my__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.apo-my__tab { padding: 8px 13px; border: 1.5px solid rgba(12, 31, 79, .18); border-radius: 999px; background: var(--white); font: 600 13px/1.2 var(--font-body); color: var(--apo-navy); cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.apo-my__tab[aria-pressed="true"] { border-color: var(--apo-blue); background: var(--apo-blue); color: #fff; }
.apo-my__tab:focus-visible { outline: 2px solid var(--apo-blue); outline-offset: 3px; }
.apo-my__say { min-height: 3em; max-width: 30ch; font-family: var(--font-note); font-size: 19px; line-height: 1.3; text-align: center; color: var(--deep); }
.apo-my__office { margin: 0; }
.apo-my__office img { display: block; width: 100%; height: auto; }
.apo-my__office figcaption { margin-top: 12px; font-family: var(--font-note); font-size: 19px; color: var(--deep); }
.apo-credit { margin-top: clamp(30px, 5vh, 50px); }
.apo-credit .ap-credit__arrow { filter: none; }

@media (max-width: 860px) {
  .apo-hero__in { grid-template-columns: 1fr; padding-block: 110px 120px; }
  .apo-deck { width: min(78%, 320px); margin-top: 10px; }
  .apo-feed__row { grid-template-columns: 1fr 1fr; }
  .apo-motion__row { grid-template-columns: 1fr 1fr; }
  .apo-motion__reel { grid-column: 1 / -1; justify-self: center; width: min(70%, 380px); }
  .apo-my__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .apo-motion__row { grid-template-columns: 1fr; }
  .apo-motion__reel { width: 72%; justify-self: center; }
  .apo-feed__ig { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .apo-ticker span { animation: none; }
  .apo-deck__card, .apo-my__screen { transition: none; }
}

/* ===================================================================
   The Salty Climbers: a logo. Maroon, a sea that swells, five grounds
   =================================================================== */
.proj:has(.sc) { padding-top: 0; overflow-x: clip; }
.sc { --sc-maroon: #593c45; --sc-sage: #888e7f; --sc-blue: #456cab; --sc-sky: #9cb7e5; --sc-sand: #e3c693; }
.sc-hero { position: relative; display: flex; align-items: center; min-height: max(680px, 100svh); overflow: hidden; color: #fff; background: radial-gradient(100% 80% at 50% 30%, #6c4a56 0%, var(--sc-maroon) 58%, #452e37 100%); }
.sc-sea { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 34%; }
.sc-hero__in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding-block: 110px 28vh; }
.sc-hero__back { align-self: flex-start; }
.sc-hero__meta { margin-top: 6px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: #d9c7b0; }
.sc-hero__logo { position: relative; width: min(100%, 640px); margin: 14px 0 0; }
.sc-hero__logo img { display: block; width: 100%; height: auto; }
.sc-hero__lead { max-width: 46ch; margin-top: 22px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: rgba(255, 255, 255, .86); }
.sc-hero__hint { margin-top: 16px; font-family: var(--font-note); font-size: 20px; color: var(--sc-sand); }

/* one logo on five grounds */
.sc-grounds { padding-block: clamp(90px, 12vh, 140px) 0; }
.sc-stage { display: grid; place-items: center; aspect-ratio: 16 / 8; margin-top: clamp(36px, 5vh, 56px); overflow: hidden; border-radius: 16px; background: var(--bg); box-shadow: var(--shadow); transition: background .6s ease; }
.sc-stage__logo { grid-area: 1 / 1; width: min(66%, 620px); height: auto; opacity: 0; transform: scale(.96); transition: opacity .5s ease, transform .6s var(--ease-out); }
.sc-stage__logo.is-on { opacity: 1; transform: none; }
.sc-stage__logo--icon { width: min(34%, 280px); aspect-ratio: 1; padding: 3.5%; border-radius: 50%; background: var(--sc-maroon); }
.sc-swatches { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.sc-swatch { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 7px; border: 1.5px solid rgba(46, 58, 49, .12); border-radius: 999px; background: var(--white); color: var(--ink); cursor: pointer; transition: border-color .3s, box-shadow .3s; }
.sc-swatch__dot { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.sc-swatch--icon .sc-swatch__dot { background: var(--sc-maroon) url(../img/salty/icon-on-dark.svg) center / 78% no-repeat; }
.sc-swatch__name { font-family: var(--font-note); font-size: 19px; }
.sc-swatch__hex { font-size: 11.5px; letter-spacing: .08em; color: var(--sage); }
.sc-swatch[aria-pressed="true"] { border-color: var(--sc-maroon); box-shadow: 0 0 0 4px rgba(89, 60, 69, .14); }
.sc-swatch:focus-visible { outline: 2px solid var(--sc-maroon); outline-offset: 3px; }

@media (max-width: 700px) {
  .sc-stage { aspect-ratio: 4 / 3; }
  .sc-stage__logo { width: 84%; }
  .sc-stage__logo--icon { width: 54%; }
  .sc-hero__in { padding-block: 110px 30vh; }
}
@media (prefers-reduced-motion: reduce) {
  .sc-stage, .sc-stage__logo { transition: none; }
}

/* Salty Climbers: what do you think it is? a thermometer answers, warmer or colder */
.sc-quiz { --hc: #9cb7e5; padding-block: clamp(90px, 12vh, 140px) 0; }
.sc-quiz__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .55fr); gap: clamp(26px, 5vw, 70px); align-items: center; margin-top: clamp(36px, 5vh, 56px); }
.sc-quiz__opts { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.sc-quiz__opt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 18px; border: 1.5px solid rgba(89, 60, 69, .16); border-radius: 14px; background: var(--white); font: 500 17px/1.35 var(--font-body); text-align: left; color: var(--ink); cursor: pointer; transition: border-color .3s, transform .3s var(--ease-out), box-shadow .3s; }
.sc-quiz__opt:hover { transform: translateX(4px); border-color: rgba(89, 60, 69, .4); }
.sc-quiz__opt:focus-visible { outline: 2px solid var(--sc-maroon); outline-offset: 3px; }
.sc-quiz__dot { flex: none; width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(89, 60, 69, .25); transition: background .4s, box-shadow .4s; }
.sc-quiz__opt.is-tried .sc-quiz__dot { background: var(--dc); box-shadow: none; }
.sc-quiz__opt[aria-pressed="true"] { border-color: var(--dc); box-shadow: 0 0 0 4px color-mix(in srgb, var(--dc) 22%, transparent); }
.sc-quiz__meter { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.sc-thermo { --h: 0%; position: relative; width: 64px; height: 300px; }
.sc-thermo__tube { position: absolute; left: 50%; top: 0; bottom: 44px; width: 26px; margin-left: -13px; overflow: hidden; border-radius: 13px 13px 0 0; background: repeating-linear-gradient(180deg, rgba(89, 60, 69, .16) 0 2px, transparent 2px 24px) right 3px top 12px / 7px calc(100% - 12px) no-repeat, var(--white); box-shadow: inset 0 0 0 2px rgba(89, 60, 69, .22); }
.sc-thermo__fill { position: absolute; left: 5px; right: 5px; bottom: 0; height: calc(var(--h) + 8px); border-radius: 8px 8px 0 0; background: var(--hc); transition: height 1s cubic-bezier(.3, .7, .2, 1), background .6s ease; }
.sc-thermo__bulb { position: absolute; left: 50%; bottom: 0; width: 60px; height: 60px; margin-left: -30px; border-radius: 50%; background: var(--hc); box-shadow: 0 0 0 5px var(--white), 0 0 0 7px rgba(89, 60, 69, .22); transition: background .6s ease; }
.sc-thermo__lbl { position: absolute; left: calc(50% + 26px); font-family: var(--font-note); font-size: 17px; white-space: nowrap; color: var(--sage); }
.sc-thermo__lbl--hot { top: 0; color: #d9643a; }
.sc-thermo__lbl--cold { bottom: 66px; color: var(--sc-blue); }
.sc-quiz.is-hot .sc-thermo { animation: sc-shake .5s ease 1s 2; }
@keyframes sc-shake { 0%, 100% { transform: none; } 25% { transform: rotate(-4deg); } 75% { transform: rotate(4deg); } }
.sc-quiz__say { min-height: 2.6em; max-width: 22ch; font-family: var(--font-note); font-size: clamp(22px, 2vw, 27px); line-height: 1.2; text-align: center; color: var(--hc); transition: color .6s; }
.sc-quiz__secret { margin-top: clamp(24px, 4vh, 36px); font-family: var(--font-note); font-size: 19px; color: var(--sage); }
@media (max-width: 760px) {
  .sc-quiz__grid { grid-template-columns: 1fr; }
  .sc-quiz__meter { flex-direction: row; justify-content: center; gap: 26px; }
  .sc-thermo { height: 220px; }
  .sc-quiz__say { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .sc-thermo__fill, .sc-thermo__bulb, .sc-quiz__say { transition: none; }
  .sc-quiz.is-hot .sc-thermo { animation: none; }
}

/* ---------- projects as a mosaic: a square beside a long window, then the other way round ---------- */
/* each window takes two rows of the grid (picture, caption) through subgrid, so the pictures in a row
   end level and the long one simply fills the square's height */
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(18px, 2vw, 28px); row-gap: 0; align-items: stretch; }
.gallery > .win { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; }
.gallery > .win--sq { grid-column: span 5; }
.gallery > .win--rect { grid-column: span 7; }
.gallery > .win--sq .win__frame { aspect-ratio: 1 / 1; }
.gallery > .win--rect .win__frame { aspect-ratio: auto; height: auto; min-height: 0; }
.gallery > .win .win__cap { align-self: start; padding-bottom: clamp(34px, 4vw, 56px); }
@supports not (grid-template-rows: subgrid) {
  .gallery > .win { display: flex; flex-direction: column; }
  .gallery > .win--rect .win__frame { flex: 1 1 0; }
}
@media (max-width: 860px) {
  .gallery { display: flex; flex-direction: column; }
  .gallery > .win { display: block; }
  .gallery > .win--rect .win__frame { aspect-ratio: 7 / 5; }
}

/* ---------- what I do, web: the whole page in a small browser, never cropped ---------- */
.board__site { position: relative; display: block; overflow: hidden; container-type: inline-size; }
.board__browser { width: 86%; }
.board__url { margin-left: auto; margin-right: auto; padding: 0 3cqw; font-size: max(9px, 2.6cqw); line-height: 1; color: var(--sage); transform: translateX(-4cqw); }
/* the view is 16:10 of the browser's width (86cqw); the page inside scrolls from its top to its bottom and back */
.board__view { display: block; height: 53.75cqw; overflow: hidden; }
.board__long { display: block; width: 100%; height: auto; animation: board-scroll 16s ease-in-out infinite alternate; }
@keyframes board-scroll { 0%, 10% { transform: translateY(0); } 90%, 100% { transform: translateY(calc(-100% + 53.75cqw)); } }
@media (prefers-reduced-motion: reduce) { .board__long { animation: none; } }

/* ---------- contact: a post-it with what to write ---------- */
.contact__aside { position: absolute; right: clamp(20px, 7vw, 120px); top: 50%; width: min(340px, 32vw); margin-top: -150px; }
.contact__note { padding: 24px 28px 22px; border-radius: 2px; transform: rotate(2.5deg); }
.contact__note-head { margin: 0 !important; font-family: var(--font-note); font-size: 27px !important; line-height: 1.15; color: var(--paper) !important; }
.contact__brief { margin: 12px 0 0; padding: 0; list-style: none; counter-reset: brief; }
.contact__brief li { counter-increment: brief; display: flex; gap: 10px; font-family: var(--font-note); font-size: 21px; line-height: 1.3; }
.contact__brief li + li { margin-top: 4px; }
.contact__brief li::before { content: counter(brief) "."; min-width: 1.1em; opacity: .75; }
.contact__note .contact__note-end { margin: 12px 0 0 !important; font-family: var(--font-note); font-size: 21px !important; color: var(--paper) !important; }
.contact__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding-top: 10px; border-top: 1px dashed rgba(255, 254, 250, .45); font-family: var(--font-note); font-size: 18px; color: var(--paper); }
.contact__more-arrow { height: 16px; width: auto; transition: transform .3s var(--ease-out); }
.contact__more:hover .contact__more-arrow { transform: translateX(5px); }
/* her own card, left on top of the post-it, in its empty bottom-right corner; it turns over like the project cards */
.contact__note { position: relative; z-index: 2; }
.contact__card { position: absolute; z-index: 3; left: calc(100% - 76px); top: 150px; width: clamp(190px, 15vw, 230px); transform: rotate(5deg); perspective: 1200px; }
.pb-card.sv-card { width: 100%; aspect-ratio: 1; }
.sv-card .pb-card__face { border-radius: 3px; background: #fafaf8; box-shadow: 0 18px 32px -16px rgba(40, 56, 50, .45), 0 1px 3px rgba(40, 56, 50, .12); }
.sv-card:focus-visible { outline: 2px solid var(--sage); outline-offset: 6px; border-radius: 6px; }
.contact__card-cap { display: block; margin-top: 12px; font-family: var(--font-note); font-size: 17px; line-height: 1.2; color: var(--sage); text-align: center; }
/* wide screens: the post-it moves up a little and the section grows, so the card has room below it */
@media (min-width: 1151px) {
  .contact__aside { margin-top: -170px; }
  .contact__in { padding-bottom: calc(clamp(100px, 15vh, 160px) + 40px); }
}
@media (max-width: 1150px) {
  .contact__aside { position: relative; right: auto; top: auto; width: min(340px, 100%); margin: 46px 0 0 4px; }
}
/* phones: no room beside the post-it, so the card only just overlaps its corner */
@media (max-width: 640px) {
  .contact__card { position: relative; left: auto; top: auto; width: 160px; margin: -6px -22px 0 auto; transform: rotate(4deg); }
}

/* ---------- notes: her words in the post bodies are written in her font now (svg, not scans) ---------- */
.post__body .golist .hw { width: 100%; height: auto; transition: transform .4s var(--ease-out); }
.golist a:hover .hw { transform: translateX(6px); }
@media (max-width: 860px) { .golist .hw { grid-column: 2; grid-row: 1 / span 2; } }
.post__body .yearhead .hw { height: 40px; width: auto; }
.post__body .yearlogo { padding: clamp(18px, 4vw, 36px) clamp(28px, 7vw, 64px); background: #f1f7ee; }
.post__body .aside-note { max-width: 430px; margin: 2em 0 2.2em auto; padding: 22px 26px; transform: rotate(1.5deg); }
.post__body .aside-note p { margin: 0; font-size: 21px; color: var(--paper); }

/* ---------- sketchbook in chapters: tabs, contents, a title page per chapter, clips ---------- */
.skb__tabs { position: relative; z-index: 0; display: flex; justify-content: center; gap: 5px; margin-bottom: -7px; padding-inline: 4px; }
.skb__tabs[hidden] { display: none; }
.skb__tab { padding: 7px 15px 15px; border-radius: 9px 9px 0 0; background: var(--c); color: var(--ci); font-family: var(--font-note); font-size: 19px; line-height: 1.1; white-space: nowrap; box-shadow: inset 0 -8px 10px -8px rgba(46, 58, 49, .3); transform: translateY(9px); transition: transform .35s var(--ease-out); }
.skb__tab:hover, .skb__tab:focus-visible, .skb__tab.is-on { transform: translateY(0); }
.skb__tab.is-on { box-shadow: none; }
@media (max-width: 759px) {
  .skb__tabs { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-inline: -4vw; padding-inline: 4vw; }
  .skb__tabs::-webkit-scrollbar { display: none; }
  .skb__tab { font-size: 17px; padding: 6px 12px 14px; }
}

/* the page itself takes no padding: cqw measures its content box, so the margins live on an inner box */
.skc { position: absolute; inset: 13% 11% auto 12%; }
.skc__title { font-family: var(--font-note); font-size: max(22px, 9cqw); line-height: 1; color: var(--ink); }
.skc__list { margin: 7cqw 0 0; padding: 0; list-style: none; display: grid; gap: 1.6cqw; }
.skc__item { display: flex; align-items: baseline; gap: 2.6cqw; width: 100%; padding: 1.4cqw 0; font-family: var(--font-note); font-size: max(14px, 5.2cqw); line-height: 1.15; color: var(--ink); text-align: left; cursor: pointer; }
.skc__n { flex: none; display: grid; place-items: center; width: 6.6cqw; height: 6.6cqw; border-radius: 50%; background: var(--c); color: var(--ci); font-size: max(11px, 3.8cqw); transform: translateY(-.3cqw); }
.skc__name { background: linear-gradient(transparent 62%, var(--c) 62%) no-repeat 0 0 / 0 100%; transition: background-size .45s var(--ease-out); }
.skc__item:hover .skc__name, .skc__item:focus-visible .skc__name { background-size: 100% 100%; }
.skc__dots { flex: 1; min-width: 4cqw; border-bottom: 2px dotted var(--soft); transform: translateY(-1.2cqw); }
.skc__p { color: var(--sage); }

.skd { position: absolute; inset: 0 17% 0 13%; display: flex; flex-direction: column; justify-content: center; }
.skf--divider.is-left .skd { inset: 0 13% 0 17%; }
.skd__edge { position: absolute; top: 0; bottom: 0; right: 0; width: 6cqw; background: var(--c); }
.skf--divider.is-left .skd__edge { right: auto; left: 0; }
.skd__n { font-family: var(--font-note); font-size: max(14px, 4.6cqw); color: var(--sage); }
.skd__title { position: relative; margin: 1.6cqw 0 0; font-family: var(--font-note); font-weight: 400; font-size: max(24px, 10cqw); line-height: 1.05; color: var(--ink); }
.skd__mark { position: absolute; left: -2%; bottom: -3.4cqw; width: min(100%, 60cqw); height: 3.6cqw; color: var(--c); --sw: 2.4; filter: url(#sv-marker); }
.skd__note { margin-top: 8cqw; font-family: var(--font-display); font-style: italic; font-size: max(14px, 4.6cqw); line-height: 1.4; color: var(--deep); }
.skd__count { position: absolute; left: 13cqw; bottom: 3.6%; font-family: var(--font-note); font-size: max(13px, 3.6cqw); color: var(--sage); }
.skf--divider.is-left .skd__count { left: auto; right: 13cqw; }

.ski__pic video { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: #c3a5a8; box-shadow: 0 1.8cqw 3.4cqw -2.2cqw rgba(46, 58, 49, .6); }
/* on a title page the page number moves in, off the coloured edge */
.skf--divider .skf__num { right: 10%; }
.skf--divider.is-left .skf__num { right: auto; left: 10%; }
.sc-swatches__copied { min-height: 1.4em; margin-top: 18px; font-family: var(--font-note); font-size: 20px; color: var(--sc-maroon, #593c45); }

/* ---------- who I am: what music brings to the work ---------- */
.about__notes { display: grid; gap: 12px; max-width: 56ch; margin: 20px 0 4px; padding: 16px 0 4px; border-top: 1px dashed var(--soft); }
.about__notes > div { display: grid; grid-template-columns: 7.4em minmax(0, 1fr); align-items: baseline; gap: 14px; }
.about__notes dt { font-family: var(--font-note); font-size: 25px; line-height: 1; color: var(--sage); }
.about__notes dd { margin: 0; font-size: 18px; line-height: 1.45; color: var(--deep); }
@media (max-width: 520px) {
  .about__notes > div { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- motion & reels: a row of reel cards that play while they are in view ---------- */
.reels { --h: min(500px, 64svh); padding-block: clamp(80px, 11vh, 130px) clamp(56px, 8vh, 96px); background: var(--mist); overflow: hidden; }
.reels__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; }
.reels__lead { max-width: 54ch; margin-top: 12px; font-size: 19px; color: var(--deep); }
.reels__nav { display: flex; gap: 10px; }
.reels__btn { display: grid; place-items: center; width: 56px; height: 46px; border-radius: 999px; background: var(--paper); transition: background-color .3s, opacity .3s; }
.reels__btn:hover { background: var(--white); }
.reels__btn[disabled] { opacity: .3; pointer-events: none; }
.reels__arrow { width: 30px; height: auto; }
.reels__track { display: flex; gap: clamp(18px, 2.4vw, 34px); margin: 0; padding: 34px calc((100% - var(--wrap)) / 2) 12px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: calc((100% - var(--wrap)) / 2); scrollbar-width: none; overscroll-behavior-x: contain; }
.reels__track::-webkit-scrollbar { display: none; }
.reel { flex: none; width: calc(var(--h) * (var(--ar))); scroll-snap-align: start; }
.reel__frame { position: relative; display: block; width: 100%; height: var(--h); padding: 0; overflow: hidden; border-radius: 14px; background: var(--bg); box-shadow: 0 1px 2px rgba(46, 58, 49, .08), 0 26px 40px -26px rgba(46, 58, 49, .55); cursor: pointer; transition: transform .5s var(--ease-out); }
.reel__frame:hover { transform: translateY(-4px); }
.reel__frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.reel__play { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; border-radius: 50%; background: rgba(247, 249, 248, .9); box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .5); opacity: 0; transform: translate(-50%, -50%) scale(.8); transition: opacity .3s, transform .3s var(--ease-out); pointer-events: none; }
.reel__play::after { content: ""; position: absolute; left: 54%; top: 50%; border: 10px solid transparent; border-left: 16px solid var(--deep); border-right: 0; transform: translate(-50%, -50%); }
.reel.is-paused .reel__play { opacity: 1; transform: translate(-50%, -50%); }
.reel__cap { display: flex; flex-direction: column; gap: 2px; margin-top: 14px; }
.reel__title { font-family: var(--font-display); font-size: 21px; line-height: 1.2; color: var(--ink); }
.reel__line { font-family: var(--font-note); font-size: 19px; line-height: 1.2; color: var(--sage); }
.reel__note { margin-top: 12px; padding: 12px 14px 13px; font-family: var(--font-note); font-size: 18px; line-height: 1.25; transform: rotate(-1.5deg); }
.reels__hint { margin-top: 14px; font-family: var(--font-note); font-size: 19px; color: var(--sage); }
@media (max-width: 760px) {
  .reels { --h: min(440px, 60svh); }
  .reels__nav { display: none; }
}
@media (prefers-reduced-motion: reduce) { .reel__frame { transition: none; } }
