/* The archive spreads share the cover proportions and edge-to-edge rules of the reference. */
.edition {
  --gutter: clamp(16px, 1.45vw, 34px);
  --nav-height: clamp(54px, 4vw, 76px);
  --hairline: var(--rule);
  margin: 0; color: var(--ink); background: var(--paper);
  font: 16px/1.4 Lausanne, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.edition *, .edition *::before, .edition *::after { box-sizing: border-box; }
.edition :is(h1,h2,p) { margin: 0; font-weight: 400; }
.edition a { color: inherit; text-underline-offset: .22em; }
.edition button, .edition summary { font: inherit; color: inherit; cursor: pointer; }
.edition :focus-visible { outline: 2px solid var(--brand-blue); outline-offset: 3px; }
.edition [hidden] { display: none !important; }
.edition [id] { scroll-margin-top: calc(var(--nav-height) + 14px); }
.edition-header {
  position: fixed; inset: 0 0 auto; z-index: 5; display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; min-height: var(--nav-height); padding-inline: var(--gutter);
  background: transparent; transition: background-color .25s, box-shadow .25s;
}
.edition-header.scrolled, .edition-header:has(.edition-menu[open]) {
  background: var(--paper); box-shadow: 0 1px var(--hairline);
}
.edition-header a, .edition-footer a { text-decoration: none; }
.edition .wordmark { justify-self: start; display: inline-flex; font-size: clamp(19px, 1.5vw, 27px); }
.edition .wordmark pomo-mark { width: 1.45em; }
.edition-links { display: flex; gap: clamp(16px, 1.45vw, 27px); font-size: clamp(13px, .96vw, 17px); }
.edition-links a { color: var(--ink); transition: opacity .5s ease-out; }
.edition-links:has([aria-current]) a:not([aria-current]) { opacity: .45; }
@media (hover: hover) {
  .edition-links:has(a:hover) a:not(:hover, [aria-current]) { opacity: .3; }
  .edition-links a:hover { opacity: 1 !important; }
}
.edition-links a:focus-visible { opacity: 1 !important; }
.edition .studio-access {
  justify-self: end; padding: 9px 15px; border-radius: 30px; color: white;
  background: var(--brand-blue); text-transform: uppercase; font-size: clamp(10px, .72vw, 12px); line-height: 1;
}
.studio-access:hover { background: var(--blue-hover); }
.edition-menu { display: none; }
.archive-cover {
  position: relative; isolation: isolate; display: flex; align-items: flex-end;
  min-height: clamp(300px, 55svh, 760px); overflow: hidden; background: var(--mist);
}
.cover-art { position: absolute; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; }
.edition-funzioni .cover-art { background: radial-gradient(ellipse at 74% 0%, color-mix(in srgb, var(--lime) 20%, transparent), transparent 62%), linear-gradient(155deg, var(--mist), var(--paper) 80%); }
.cover-sphere {
  position: absolute; left: 50%; top: 114%; width: min(87vw, 165svh); height: auto; aspect-ratio: 1;
  transform: translate(-50%, -50%); mix-blend-mode: multiply;
}
.cover-sphere video { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; }
.cover-caption {
  display: flex; width: 100%; align-items: flex-end; justify-content: space-between; gap: 24px;
  padding: var(--nav-height) var(--gutter) clamp(26px, 3.4vh, 60px);
}
.edition h1 { font-size: clamp(42px, 3.65vw, 76px); letter-spacing: -.048em; line-height: .99; }
.cover-caption p { max-width: 23ch; text-align: right; text-wrap: balance; font-size: clamp(19px, 1.58vw, 32px); letter-spacing: -.025em; line-height: 1.04; }
.catalogue { position: relative; background: var(--paper); }
.archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); margin-inline: var(--gutter); border-top: 1px solid var(--hairline); border-left: 1px solid var(--hairline); }
.edition .archive-item {
  scroll-margin-top: calc(var(--nav-height) + 14px); display: grid; justify-items: center;
  grid-template-rows: auto 1fr auto; align-items: center; text-align: center; gap: 16px;
  padding: clamp(22px, 2vw, 40px) 12px; aspect-ratio: 1.09; min-width: 0;
  border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
}
.archive-item:target { background-color: #f4f8fb; }
.archive-item h2 { font-size: clamp(16px, 1.32vw, 25px); line-height: 1.1; letter-spacing: -.025em; }
.archive-item p { color: var(--slate); font-size: clamp(13px, .95vw, 17px); max-width: 33ch; min-height: 2.56em; line-height: 1.28; text-wrap: balance; }
.plate {
  display: block; width: 55%; max-width: 300px; height: auto;
  aspect-ratio: 1; border-radius: 50%; object-fit: cover; background: var(--mist);
  transition: transform .65s cubic-bezier(.2,.65,.2,1);
}
@media (hover: hover) { .archive-item:hover .plate { transform: scale(1.055); } }
.features-faq {
  width: min(calc(100% - 2 * var(--gutter)), 1140px);
  margin: clamp(60px, 6vw, 100px) auto;
}
.features-faq h2 {
  margin-bottom: clamp(24px, 2.6vw, 40px); font-size: clamp(32px, 3vw, 48px);
  font-weight: 400; line-height: 1.08; letter-spacing: -.045em;
}
.faq-answers { border-bottom: 1px solid var(--hairline); }
.faq-answers article {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); align-items: baseline;
  column-gap: clamp(24px, 3vw, 52px); padding-block: clamp(18px, 1.65vw, 27px);
  border-top: 1px solid var(--hairline);
}
.faq-answers h3 {
  margin: 0; color: var(--ink); font-size: clamp(18px, 1.33vw, 22px);
  font-weight: 400; line-height: 1.35; letter-spacing: -.025em;
}
.faq-answers p { max-width: 61ch; color: var(--slate); line-height: 1.55; }
.faq-answers a { color: var(--blue-hover); text-decoration-thickness: 1px; }
.faq-answers a:hover { color: var(--ink); }
.faq-answers article:target h3 { color: var(--blue-hover); }
@media (max-width: 680px) {
  .faq-answers article { grid-template-columns: 1fr; gap: 6px; }
}
.edition summary::-webkit-details-marker { display: none; }
.credit-sheet section { border-top: 1px solid var(--hairline); }
.credit-sheet p a { color: var(--brand-blue); }
.credit-sheet { background: var(--paper); border: 1px solid var(--hairline); margin-inline: var(--gutter); }
.edition-crediti { background: linear-gradient(160deg,#e6f2f4,var(--paper) 70%); }
.credit-sheet { margin-block: calc(var(--nav-height) + 10px) clamp(55px,8vw,130px); }
.credit-sheet header, .credit-sheet section { padding: clamp(32px,4.5vw,85px) 16.6%; }
.credit-sheet h2 { font-size: clamp(20px,2vw,30px); letter-spacing: -.035em; }
.credit-sheet p { margin-top: 12px; color: var(--slate); max-width: 58ch; }
.edition-footer {
  position: relative; isolation: isolate; min-height: clamp(260px, 41svh, 520px); overflow: hidden;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 22px var(--gutter);
  border-top: 1px solid var(--hairline); background: var(--paper); font-size: clamp(13px,.95vw,17px);
}
.edition-footer::before,.edition-footer::after {
  content: ''; position: absolute; z-index: -1; border: 1px solid var(--hairline); border-radius: 50%;
  width: 59vw; aspect-ratio: 1; top: 50%; transform: translateY(-50%); opacity: .7;
}
.edition-footer::before { right: 43%; } .edition-footer::after { left: 43%; }
.edition-footer nav { display: grid; justify-items: start; gap: .35em; }
.edition-footer nav a:hover,.footer-credit:hover { text-decoration: underline; }
.footer-credit { justify-self: end; }
.footer-invite {
  width: clamp(128px,14vw,210px); aspect-ratio: 1; display: grid; place-content: center; gap: 5px; text-align: center; padding: 15px;
  border: 1px solid var(--line); border-radius: 50%; background: var(--paper); font-size: clamp(16px,1.15vw,22px); line-height: 1.12;
  transition: background-color .25s, border-color .25s;
}
.footer-invite:hover { border-color: var(--brand-blue); background: var(--mist); }
@media (max-width: 899px) {
  .edition-header { grid-template-columns: 1fr auto auto; gap: 10px; }
  .edition-links { display: none; }
  .edition-menu { display: block; }
  .edition-menu summary { list-style: none; display: flex; align-items: center; gap: .55em; font-size: 13px; padding: 7px 11px; line-height: 1.1; border: 1px solid var(--line); border-radius: 30px; }
  .edition-menu summary span { font-weight: bold; }
  .edition-menu nav { position: absolute; top: 100%; left: 0; right: 0; display: grid; background: var(--paper); border-block: 1px solid var(--hairline); box-shadow: 0 14px 20px #233b4f0a; }
  .edition-menu nav a { padding: 14px var(--gutter); font-size: 18px; }
  .edition-menu nav a + a { border-top: 1px solid var(--hairline); }
  .edition-menu a[aria-current] { color: var(--brand-blue); }
  .archive-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 620px) {
  .edition { --gutter: 14px; }
  .edition-header { gap: 6px; }
  .edition .studio-access { padding: 9px 10px; }
  .edition-menu summary { padding: 7px 9px; }
  .archive-cover { min-height: clamp(360px,60svh,540px); align-items: flex-start; }
  .cover-caption { padding: calc(var(--nav-height) + clamp(50px,9svh,88px)) var(--gutter) 0; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
  .cover-caption p { text-align: center; max-width: 23ch; }
  .cover-sphere { width: min(160vw,820px); top: 105%; }
  .archive-grid { margin: 0; border-left: 0; }
  .archive-item h2 { font-size: 16px; }
  .edition .archive-item { min-height: 225px; aspect-ratio: auto; padding: 17px 10px; gap: 12px; }
  .archive-item p { font-size: 12px; }
  .plate { width: 63%; }
  .features-faq { margin-block: 52px; }
  .credit-sheet header,.credit-sheet section { padding-inline: 18px; }
  .edition-footer { min-height: 265px; grid-template-columns: 1fr 1fr; align-content: end; }
  .footer-invite { grid-column: 1/-1; grid-row: 1; justify-self: center; margin-bottom: 16px; }
  .edition-footer nav { display: flex; flex-wrap: wrap; gap: 12px; }
  .edition-footer::before,.edition-footer::after { width: 80vw; }
}
@media (prefers-reduced-motion: reduce) {
  .edition *, .edition *::before, .edition *::after { animation: none !important; transition: none !important; }
}
