/* ==========================================================================
   About page: the Emma edit (zine layout on a flowing pastel field)
   ========================================================================== */

/* Film grain, used by several prototypes */
.grain::after {
  content: '';
  position: fixed;
  inset: -50%;
  z-index: 90;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.9s steps(4) infinite;
}

@keyframes grain {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-3%, 2%); }
  50% { transform: translate(2%, -3%); }
  75% { transform: translate(-1%, 3%); }
  100% { transform: translate(3%, -1%); }
}

/* Headings wait (invisibly) for their letters to be split, then rise out of a mask */
.js [data-split]:not(.split-done) {
  opacity: 0;
}

/* Lines and letters that rise out of a mask */
.mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  /* room for descenders (g, y) without changing the line height */
  padding-bottom: 0.2em;
  margin-bottom: -0.2em;
}

.mask > span {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 1.1s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--d, 0s);
}

.is-in .mask > span,
.mask.is-in > span {
  transform: none;
}

/* Custom cursor (fine pointers only; enabled by JS) */
.cursor-dot,
.cursor-ring {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 120;
  pointer-events: none;
  border-radius: 50%;
  translate: -50% -50%;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--ink);
}

.cursor-ring {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(44, 42, 53, 0.5);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: transparent;
  transition: width 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), height 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.35s, color 0.2s, border-color 0.35s;
}

.cursor-ring.big {
  width: 86px;
  height: 86px;
  border-color: transparent;
  background: var(--ink);
  color: #fff;
}

.has-cursor,
.has-cursor a,
.has-cursor button {
  cursor: none;
}

/* Magnetic buttons */
.magnetic {
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Letters roll on hover */
.roll {
  display: inline-flex;
  overflow: hidden;
}

.roll span {
  display: inline-block;
  text-shadow: 0 1.1em 0 currentColor;
  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: calc(var(--i) * 22ms);
}

.roll:hover span,
a:hover > .roll span,
a:focus-visible > .roll span {
  transform: translateY(-1.1em);
}

/* Flowing pastel field (WebGL, with a CSS gradient fallback) */
.liquid-page {
  background: #f6e9f0;
}

.liquid-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(60% 50% at 20% 30%, #f9cfdc 0%, transparent 70%),
    radial-gradient(60% 50% at 80% 40%, #d8ccf7 0%, transparent 70%),
    radial-gradient(60% 60% at 50% 90%, #cdeadb 0%, transparent 70%),
    #fbefe8;
}

/* ==========================================================================
   7. The zine
   ========================================================================== */

.zine-page {
  background: #fbf5ef;
}

.masthead {
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  gap: 16px;
  padding: calc(var(--header-h) + 28px) var(--gutter) 18px;
  border-bottom: 2px solid var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.masthead .title {
  font-family: var(--font-display);
  font-size: clamp(54px, 10vw, 150px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.82;
  text-align: center;
}

/* Liquid ink: the title is filled with slowly flowing colour that leans toward the cursor */
.ink,
.ink em {
  background-image: linear-gradient(105deg, #5c3b72 0%, #c4577f 22%, #8a68d6 44%, #e47e97 62%, #4f6fd0 80%, #5c3b72 100%);
  background-size: 300% 100%;
  background-position: var(--bx, 0%) 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.js .ink {
  animation: ink-in 1.4s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes ink-in {
  from {
    translate: 0 14px; /* visible from the first frame (no opacity:0, so it counts for LCP) */
  }
}

.masthead .title em {
  font-family: var(--font-serif);
  font-weight: 400;
  text-transform: none;
}


.cover-wrap {
  position: relative;
  height: 220vh;
}

.cover {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

.cover-img {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(var(--ci, 14%) var(--ci-x, 22%) round var(--cr, 24px));
}

.cover-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(var(--cs, 1.25));
}

.cover-lines {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: end;
  padding: 0 var(--gutter) 9vh;
  color: #fff;
  opacity: var(--co, 0);
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25);
}

.cover-lines h2 {
  font-size: clamp(56px, 9vw, 150px);
  line-height: 0.85;
}

.cover-lines p {
  margin: 14px 0 0;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 720px);
  justify-content: center;
  gap: clamp(28px, 5vw, 80px);
  padding: clamp(80px, 10vw, 140px) var(--gutter);
}

.article aside {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  align-self: start;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 2;
  text-transform: uppercase;
  color: var(--muted);
}

.article aside strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-serif);
  font-size: 26px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.1;
  text-transform: none;
  color: var(--ink);
}

.readout {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.22;
}

.readout p {
  margin: 0 0 0.8em;
}

.readout .w {
  opacity: 0.16;
  transition: opacity 0.25s;
}

.readout .w.lit {
  opacity: 1;
}

.readout p:first-child::first-letter {
  float: left;
  margin: 0.06em 0.08em 0 0;
  font-family: var(--font-display);
  font-size: 3.2em;
  font-weight: 800;
  line-height: 0.8;
}

.pullquote {
  padding: clamp(80px, 10vw, 140px) var(--gutter);
  background: var(--lavender);
  text-align: center;
}

.pullquote blockquote {
  max-width: 16em;
  margin: 0 auto;
  font-family: var(--font-serif);
  font-size: clamp(44px, 6.4vw, 104px);
  font-style: italic;
  line-height: 1;
  letter-spacing: var(--ls, 0.04em);
}

.pullquote cite {
  display: block;
  margin-top: 28px;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.spread {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(16px, 2vw, 28px);
  padding: clamp(80px, 10vw, 140px) var(--gutter);
}

.spread figure {
  margin: 0;
}

.spread .tall {
  grid-row: span 2;
}

.spread .frame {
  overflow: hidden;
  border-radius: 4px;
}

.spread img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transform: translateY(var(--py, 0px)) scale(1.12);
}

.spread .wide img {
  aspect-ratio: 4 / 3;
}

.spread figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.spread figcaption em {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 34px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

@media (max-width: 860px) {
  .article {
    grid-template-columns: 1fr;
  }

  .article aside {
    position: static;
  }

  .spread {
    grid-template-columns: 1fr;
  }

  .spread .tall {
    grid-row: auto;
  }
}

/* Reduced motion: settle everything */
@media (prefers-reduced-motion: reduce) {
  .mask > span {
    transform: none;
  }

  .readout .w {
    opacity: 1;
  }

  .grain::after {
    animation: none;
  }
}

/* ==========================================================================
   Round three: personal-site content (now, favourites, facts, Q&A, ask, guestbook)
   ========================================================================== */

/* Now list */

/* Featured videos */

/* This or that */

/* Five things */

/* Ask me anything + guestbook forms */
.mini-form {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.mini-form input,
.mini-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.95);
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  resize: vertical;
}

.mini-form textarea {
  min-height: 84px;
}

.mini-form input:focus,
.mini-form textarea:focus {
  outline: 2px solid var(--accent-ink);
  outline-offset: 1px;
}

.mini-form .pill-btn {
  justify-self: start;
  border: 0;
  padding: 12px 22px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

/* Moodboard */

/* ---------- Zine: content sections ---------- */

.z-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(80px, 10vw, 140px) var(--gutter);
  scroll-margin-top: var(--header-h);
}

.z-kicker {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.z-section h2 {
  font-size: clamp(54px, 8vw, 128px);
  line-height: 0.88;
}

.z-updated {
  margin: 16px 0 40px;
  font-family: var(--font-serif);
  font-size: 20px;
  font-style: italic;
  color: var(--ink-2);
}

.z-now {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.z-now li {
  padding-top: 18px;
  border-top: 1px solid var(--line-2);
}

.z-now .num {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 800;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
}

.z-now h3 {
  margin-bottom: 8px;
  font-size: 30px;
}

.z-now p {
  margin: 0;
  font-size: 16px;
  color: var(--ink-2);
}

.qa {
  border-top: 1px solid var(--ink);
}

.qa details {
  border-bottom: 1px solid var(--line-2);
}

.qa summary {
  display: grid;
  grid-template-columns: 56px 1fr 32px;
  align-items: baseline;
  gap: 12px;
  padding: 22px 0;
  font-family: var(--font-serif);
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.1;
  list-style: none;
  cursor: pointer;
}

.qa summary::-webkit-details-marker {
  display: none;
}

.qa summary .n {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.qa summary .plus {
  position: relative;
  width: 22px;
  height: 22px;
  align-self: center;
}

.qa summary .plus::before,
.qa summary .plus::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.qa summary .plus::after {
  transform: rotate(90deg);
}

.qa details[open] .plus::after {
  transform: rotate(0deg);
}

.qa .a {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  padding: 0 0 26px;
}

.qa .a p {
  grid-column: 2;
  max-width: 36em;
  margin: 0;
  font-size: 17px;
  color: var(--ink-2);
}

.letter-box {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 30px 60px -36px rgba(60, 40, 70, 0.45);
  background-image: repeating-linear-gradient(transparent 0 39px, rgba(44, 42, 53, 0.07) 39px 40px);
}

.letter-box h2 {
  font-size: clamp(44px, 6vw, 84px);
}

.letter-box p {
  margin: 12px 0 20px;
  font-family: var(--font-serif);
  font-size: 22px;
  font-style: italic;
  color: var(--ink-2);
}

.letter-box .mini-form textarea,
.letter-box .mini-form input {
  background: rgba(244, 239, 248, 0.7);
  box-shadow: inset 0 0 0 1px var(--line-2);
}

.signoff {
  padding: clamp(80px, 10vw, 140px) var(--gutter) clamp(120px, 14vw, 180px);
  text-align: center;
}

.signoff .xo {
  display: block;
  margin-bottom: 28px;
  font-family: var(--font-serif);
  font-size: clamp(64px, 10vw, 160px);
  font-style: italic;
  line-height: 0.9;
}

@media (max-width: 960px) {
  .z-now {
    grid-template-columns: 1fr;
  }

  

  
}

@media (max-width: 560px) {
  .qa summary,
  .qa .a {
    grid-template-columns: 34px 1fr 24px;
  }

  .qa .a p {
    grid-column: 2 / -1;
  }
}

/* ==========================================================================
   8. The zine in liquid light: zine layout on the flowing pastel field, frosted glass
   ========================================================================== */

.zine-liquid {
  background: #f6e9f0;
}

.zine-liquid .masthead {
  border-bottom-color: rgba(44, 42, 53, 0.85);
}

/* Frosted glass, shared look */
.zine-liquid .letter-box,
.zine-liquid .pullquote,
.zine-liquid .z-now li,
.zine-liquid .article .readout {
  background: rgba(255, 255, 255, 0.36);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.75), 0 24px 48px -30px rgba(60, 40, 70, 0.4);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}

.zine-liquid .article .readout {
  padding: clamp(24px, 3.5vw, 48px);
  border-radius: 28px;
}

.zine-liquid .z-now li {
  padding: 24px;
  border-top: 0;
  border-radius: 24px;
}

.zine-liquid .pullquote {
  margin: 0 var(--gutter);
  border-radius: 40px;
}

.zine-liquid .letter-box {
  background-color: rgba(255, 255, 255, 0.42);
  background-image: repeating-linear-gradient(transparent 0 39px, rgba(44, 42, 53, 0.06) 39px 40px);
  border-radius: 28px;
}

.zine-liquid .letter-box .mini-form textarea {
  background: rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.95);
}

.zine-liquid .qa {
  padding: 0 clamp(20px, 3vw, 36px);
  border-top: 0;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.3);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.zine-liquid .qa details:last-child {
  border-bottom: 0;
}

.zine-liquid .qa summary,
.zine-liquid .qa .a {
  padding-left: 0;
}

.zine-liquid .spread .frame,
.zine-liquid .cover-img {
  box-shadow: 0 30px 60px -30px rgba(60, 40, 70, 0.45);
}

.zine-liquid .spread .frame {
  border-radius: 24px;
}

.zine-liquid .site-footer {
  background: rgba(255, 253, 251, 0.6);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

/* ==========================================================================
   Find me: compact TikTok / Pinterest switcher under the masthead
   ========================================================================== */

.socials {
  display: grid;
  justify-items: center;
  padding: 22px var(--gutter) 0;
}

.sw2 {
  width: min(430px, 100%);
}

.sw2 svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ftabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
}

.ftabs button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px 8px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: background-color 0.4s, color 0.4s;
}

.ftabs button[aria-selected='true'] {
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
}

/* A fine line fills under the active tab before it switches on its own */
.prog {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 3px;
  height: 2px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(44, 42, 53, 0.1);
  opacity: 0;
}

.prog::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
}

.running [aria-selected='true'] .prog {
  opacity: 1;
}

.running [aria-selected='true'] .prog::after {
  animation: prog-fill var(--dur, 4s) linear forwards;
}

@keyframes prog-fill {
  to {
    transform: scaleX(1);
  }
}

/* Glass line whose tint follows the platform: cool for TikTok, warm for Pinterest */
.glass2 {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9), 0 22px 40px -28px rgba(60, 40, 70, 0.5);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  isolation: isolate;
}

.glass2::before,
.glass2::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.glass2::before {
  background: radial-gradient(120% 140% at 0% 0%, rgba(213, 230, 248, 0.85), transparent 60%), radial-gradient(120% 140% at 100% 100%, rgba(229, 221, 248, 0.9), transparent 60%);
}

.glass2::after {
  background: radial-gradient(120% 140% at 0% 0%, rgba(249, 220, 226, 0.9), transparent 60%), radial-gradient(120% 140% at 100% 100%, rgba(253, 229, 211, 0.9), transparent 60%);
  opacity: 0;
}

[data-active='pinterest'] .glass2::before {
  opacity: 0;
}

[data-active='pinterest'] .glass2::after {
  opacity: 1;
}

.track {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.track > * {
  flex: 0 0 100%;
  min-width: 0;
}

.pane {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 7px 8px 7px 9px;
}

/* Avatar, text, then button slide in one after another */
.pane > * {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pane.is-on > * {
  opacity: 1;
  transform: none;
}

.pane.is-on > :nth-child(2) {
  transition-delay: 0.08s;
}

.pane.is-on > :nth-child(3) {
  transition-delay: 0.16s;
}

.av {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
}

.av-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #f4a7b9, #c9b6f2, #a9d8c2, #fbd3b4, #f4a7b9);
  animation: av-ring 8s linear infinite;
}

@keyframes av-ring {
  to {
    rotate: 360deg;
  }
}

.av-in {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fffdfb;
  font-family: var(--font-serif);
  font-size: 18px;
  font-style: italic;
}

.av-badge {
  position: absolute;
  right: -4px;
  bottom: -4px;
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #2c2a35;
  color: #fff;
  box-shadow: 0 0 0 2px #fffdfb;
}

.av-badge.pinterest {
  background: #e60023;
}

.av-badge svg {
  width: 10px;
  height: 10px;
}

.pane-text {
  display: grid;
  min-width: 0;
}

.pane-plat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.pane-handle {
  overflow: hidden;
  font-family: var(--font-serif);
  font-size: 18px;
  font-style: italic;
  line-height: 1.1;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.pane-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px 9px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.pane-cta svg {
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pane-cta:hover svg {
  transform: translateX(4px);
}

@media (max-width: 600px) {
  .pane-plat {
    display: none;
  }

  .pane-handle {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .av-ring {
    animation: none;
  }

  .pane > *,
  .track {
    transition: none;
  }
}

/* ==========================================================================
   What I'm up to: three photo columns drifting at different speeds,
   with a faint "Now" gliding behind
   ========================================================================== */

.pc {
  position: relative;
  overflow: hidden;
  padding-bottom: clamp(60px, 8vw, 110px);
}

.pc-head {
  position: relative;
  padding-bottom: 0;
}

.pc-bg {
  position: absolute;
  left: 0;
  top: 48%;
  font-family: var(--font-serif);
  font-size: clamp(140px, 22vw, 360px);
  font-style: italic;
  line-height: 1;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.55);
  transform: translateX(var(--bgx, 0px));
  pointer-events: none;
}

.pc-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 32px);
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px var(--gutter) 0;
}

.pc-card {
  transform: translateY(var(--py, 0px));
  will-change: transform;
}

.pc-img {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 30px 50px -30px rgba(60, 40, 70, 0.55);
}

.pc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15) translateY(var(--iy, 0px));
}

.pc-num {
  display: block;
  margin-top: 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.pc-card h3 {
  margin: 6px 0;
  font-size: clamp(30px, 3vw, 44px);
}

.pc-card p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 19px;
  font-style: italic;
  line-height: 1.25;
  color: var(--ink-2);
}

@media (max-width: 860px) {
  .pc-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .pc-card:nth-child(2) {
    margin-top: 0;
  }

  .pc-img {
    aspect-ratio: 4 / 3;
  }
}

/* Glass captions: number and title on frosted glass over each photo;
   hovering zooms the photo and slides the description up */
.pc-glassy .pc-img {
  position: relative;
  aspect-ratio: 3 / 4.2;
}

.pc-glassy .pc-img img {
  transition: transform 1.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pc-glassy .pc-card {
  outline: none;
}

.pc-glassy .pc-card:hover .pc-img img,
.pc-glassy .pc-card:focus-visible .pc-img img {
  transform: scale(1.25) translateY(var(--iy, 0px));
}

.pc-glassy .pc-card:focus-visible .pc-img {
  box-shadow: 0 0 0 3px var(--accent-ink), 0 30px 50px -30px rgba(60, 40, 70, 0.55);
}

.pc-glass {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 253, 251, 0.58);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
}

.pc-glass .pc-num {
  margin: 0 0 2px;
}

.pc-glass h3 {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 34px);
}

.pc-glass p {
  margin: 0;
  max-height: 0;
  overflow: hidden;
  font-family: var(--font-serif);
  font-size: 18px;
  font-style: italic;
  line-height: 1.25;
  color: var(--ink-2);
  opacity: 0;
  transition: max-height 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s, margin 0.6s;
}

.pc-glassy .pc-card:hover .pc-glass p,
.pc-glassy .pc-card:focus-visible .pc-glass p {
  max-height: 5em;
  margin-top: 6px;
  opacity: 1;
}

/* Touch screens have no hover: always show the description */
@media (hover: none) {
  .pc-glass p {
    max-height: none;
    margin-top: 6px;
    opacity: 1;
  }
}

/* ==========================================================================
   Classic layout: everything balances on the centre line (formal, framed,
   arched), for a symmetrical, invitation-like feel
   ========================================================================== */

/* ---------- Shared ---------- */

/* Section labels sit in the middle, with a rule on each side */
.sym .z-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 22px;
}

.sym .z-kicker::before,
.sym .z-kicker::after {
  content: '';
  flex: 0 1 140px;
  height: 1px;
  background: rgba(44, 42, 53, 0.45);
}

.sym .z-section,
.sym .pc-head {
  text-align: center;
}

.sym .z-section h2 {
  margin-left: auto;
  margin-right: auto;
}

/* The letter: label above, text centred, no left-hanging drop cap */
.sym .article {
  display: block;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.sym .article aside {
  position: static;
  margin-bottom: 26px;
}

.sym .article aside strong {
  margin: 0;
}

.sym .readout p:first-child::first-letter {
  float: none;
  margin: 0;
  font: inherit;
}

/* Questions: centred, number above, plus below */
.sym .qa {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.sym .qa summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 22px 0;
  text-align: center;
}

.sym .qa summary .plus {
  width: 18px;
  height: 18px;
  margin-top: 4px;
}

.sym .qa .a {
  display: block;
  padding-bottom: 24px;
}

.sym .qa .a p {
  max-width: 32em;
  margin: 0 auto;
  text-align: center;
}

/* Photo captions and the mood spread balance on the centre */
.sym .spread figcaption {
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
}

.sym .letter-box {
  text-align: center;
}

.sym .letter-box .mini-form .pill-btn {
  justify-self: center;
}

/* ---------- 3 · Classic: formal, framed and arched ---------- */

/* Little ornaments inside the centred section labels */
.sym-classic .z-kicker span::before,
.sym-classic .z-kicker span::after {
  content: '✦';
  margin: 0 10px;
  font-size: 10px;
  color: var(--accent-ink);
}

/* The letter as a framed card, like an invitation */
.sym-classic .article {
  position: relative;
  max-width: 760px;
  margin: clamp(60px, 8vw, 100px) auto;
  padding: clamp(36px, 5vw, 64px) clamp(24px, 5vw, 64px);
  border-radius: 6px;
  background: rgba(255, 253, 251, 0.42);
  box-shadow: inset 0 0 0 1px rgba(44, 42, 53, 0.35), inset 0 0 0 8px rgba(255, 253, 251, 0.35), inset 0 0 0 9px rgba(44, 42, 53, 0.2);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.sym-classic .article .readout {
  padding: 0;
  background: none;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.sym-classic .article aside strong::after {
  content: '❦';
  display: block;
  margin-top: 10px;
  font-size: 18px;
  font-style: normal;
  color: var(--accent-ink);
}

/* Arched photo frames, all the same size */
.sym-classic .pc-img {
  border-radius: 999px 999px 22px 22px;
}

.sym-classic .pc-glass {
  border-radius: 14px;
}

.sym-classic .spread {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1100px;
  margin: 0 auto;
}

.sym-classic .spread .tall {
  grid-row: auto;
}

.sym-classic .spread .frame {
  border-radius: 999px 999px 16px 16px;
}

.sym-classic .spread img,
.sym-classic .spread .wide img {
  aspect-ratio: 3 / 4.3;
}

.sym-classic .pullquote {
  box-shadow: inset 0 0 0 1px rgba(44, 42, 53, 0.25), inset 0 0 0 7px rgba(255, 253, 251, 0.3), inset 0 0 0 8px rgba(44, 42, 53, 0.15);
}

.sym-classic .letter-box {
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px rgba(44, 42, 53, 0.35), inset 0 0 0 8px rgba(255, 253, 251, 0.35), inset 0 0 0 9px rgba(44, 42, 53, 0.2), 0 30px 60px -36px rgba(60, 40, 70, 0.45);
}

.sym-classic .signoff .xo::before {
  content: '❦';
  display: block;
  margin-bottom: 12px;
  font-size: 28px;
  font-style: normal;
  color: var(--accent-ink);
}

@media (max-width: 860px) {
  .sym-classic .spread {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .sym .z-kicker::before,
  .sym .z-kicker::after {
    flex-basis: 40px;
  }
}

/* ==========================================================================
   Foundations: performance and accessibility (no visual redesign)
   ========================================================================== */

/* <picture> wrappers (WebP with JPEG fallback) must not change any image layout */
picture {
  display: contents;
}

/* Muted labels sit on pastel glass: keep them at AA contrast (4.5:1+) */
.zine-liquid {
  --muted: #5d596b;
}

/* Frosted glass is costly over a moving background on phones: keep blur on the
   switcher only, and use a slightly more solid fill everywhere else */
@media (hover: none), (max-width: 860px) {
  main :not(.glass2) {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  .pc-glass {
    background: rgba(255, 253, 251, 0.86);
  }

  .zine-liquid .letter-box,
  .zine-liquid .article .readout,
  .zine-liquid .z-now li,
  .zine-liquid .qa,
  .zine-liquid .pullquote {
    background-color: rgba(255, 253, 251, 0.55);
  }
}

/* Smaller film-grain layer (1.5x the screen instead of 4x) */
.grain::after {
  inset: -25%;
}

/* With reduced motion the cover doesn't need extra scroll room */
@media (prefers-reduced-motion: reduce) {
  .cover-wrap {
    height: auto;
  }

  .cover {
    position: relative;
  }
}
