
.ed {
  --ed-ink: var(--ink-500);
  --ed-paper: var(--cream-50);
  --ed-ink-soft: hsla(24, 8%, 13%, 0.78);
  --ed-ink-muted: hsla(24, 8%, 13%, 0.72);
  --ed-rule: hsla(24, 8%, 13%, 0.16);
  --ed-label: var(--plum-700);
  --ed-accent: var(--rose-600);
  --ed-warm: saturate(0.78) sepia(0.14) contrast(1.04) brightness(1.01);
  --ed-sticky-top: 6.5rem;
  --ed-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 12'%3E%3Cpath d='M0 6h20M15 1l5 5-5 5' fill='none' stroke='%23000' stroke-width='1.3'/%3E%3C/svg%3E");
}
.ed:has(.subcat-sticky) { --ed-sticky-top: 9.5rem; }
.ed .section--alt { background-color: transparent; }
.ed .ed-oat { background-color: var(--cream-200); }
.ed .ed-rose {
  --ed-rule: hsla(24, 8%, 13%, 0.22);
  --ed-label: var(--plum-700);
  --ed-accent: var(--rose-700);
  background-color: var(--rose-400);
}
.ed .container--narrow { max-width: var(--container-xl); }
.ed main { counter-reset: ed-menu ed-cat; }
.ed .grain-light::after { content: none; }
.ed .rise-mask {
  display: inline-block;
  overflow: hidden;
  padding: 0.12em 0.08em 0.2em;
  margin: -0.12em -0.08em -0.2em;
  vertical-align: bottom;
}
.ed .rise .rise-word {
  display: inline-block;
  transform: translateY(130%);
  transition: transform 1.1s var(--ease-out) calc(var(--i, 0) * 55ms);
}
.ed .rise.is-in .rise-word { transform: none; }
.ed :is(h1, h2, h3, .menu-head__tag, .stat-strip__value, .price-row__name,
        .addon-pill__name, .menu-item__name) :is(span, em):lang(zh) { font-family: inherit; }
.ed .page-head__title,
.ed .ed-bundle__title { animation: ed-fade-up 1s var(--ease-out) 0.05s both; }
@keyframes ed-fade-up {
  from { opacity: 0.12; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
@keyframes ed-unveil {
  from { clip-path: inset(100% 0 0 0); transform: scale(1.12); }
  to   { clip-path: inset(0); transform: none; }
}
@keyframes ed-drift {
  from { translate: 0 var(--drift, 5%); }
  to   { translate: 0 calc(-1 * var(--drift, 5%)); }
}
@keyframes ed-scroll-cue {
  from { background-position: 0 -67%; }
  to   { background-position: 0 167%; }
}
.ed main .eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: var(--tracking-widest);
  color: var(--ed-label);
}
.ed .page-head {
  padding: clamp(8rem, 13vw, 12.5rem) 0 clamp(3rem, 6vw, 5rem);
  background: transparent;
}
.ed .page-head::before { content: none; background-image: none; }
.ed .page-head:not([style*="--ph-image"]) .page-head__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 30rem);
  column-gap: clamp(2rem, 6vw, 7rem);
  max-width: none;
  margin: 0;
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
  border-bottom: 1px solid var(--ed-rule);
  text-align: left;
}
.ed .page-head:not([style*="--ph-image"]) .eyebrow {
  grid-area: 1 / 1 / 2 / -1;
  justify-self: start;
  margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
}
.ed .page-head .eyebrow { animation: ed-fade-up 0.9s var(--ease-out) both; }
.ed .page-head__title {
  grid-area: 2 / 1 / 3 / -1;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 0.9rem + 6.6vw, 9rem);
  line-height: 0.92;
  letter-spacing: -0.025em;
  color: var(--ed-ink);
  text-wrap: balance;
}
.ed .page-head__title em {
  font-style: italic;
  font-weight: 400;
  color: inherit;
}
.ed .page-head__title:lang(zh) {
  font-family: var(--font-display-zh);
  font-size: clamp(2.5rem, 0.8rem + 5.2vw, 7rem);
  line-height: 1.08;
  letter-spacing: 0.02em;
}
.ed .page-head__lead {
  grid-area: 3 / 2;
  max-width: 40ch;
  margin: clamp(2rem, 4vw, 3.5rem) 0 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ed-ink-soft);
  animation: ed-fade-up 1s var(--ease-out) 0.1s both;
}
.ed .page-head:not([style*="--ph-image"]) .page-head__inner::after {
  content: '';
  grid-area: 3 / 1;
  align-self: end;
  width: 1px;
  height: clamp(2.5rem, 5vw, 4rem);
  margin-top: clamp(2rem, 4vw, 3.5rem);
  background: linear-gradient(var(--ed-ink), var(--ed-ink)) 0 0 / 1px 40% no-repeat, var(--ed-rule);
  animation: ed-scroll-cue 2.4s var(--ease-out) 0.8s 2;
}
.ed .page-head[style*="--ph-image"] {
  padding: clamp(7.5rem, 11vw, 10rem) 0 clamp(3.5rem, 6vw, 6rem);
  overflow: clip;
}
.ed .page-head[style*="--ph-image"] > .container {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: start;
  column-gap: clamp(2rem, 6vw, 7rem);
}
@media (min-width: 860px) {
  .ed .page-head[style*="--ph-image"] .page-head__inner {
    position: sticky;
    top: clamp(6rem, 8vw, 7.5rem);
  }
}
.ed .page-head[style*="--ph-image"] > .container::after {
  content: '';
  aspect-ratio: 4 / 5;
  background: var(--ph-image) center / cover no-repeat, var(--cream-200);
  filter: var(--ed-warm);
  animation: ed-unveil 1.5s var(--ease-out) 0.15s both;
}
@media (max-width: 480px) and (max-resolution: 2dppx) {
  .ed .page-head[style*="--ph-image-sm"] > .container::after {
    background-image: var(--ph-image-sm);
  }
}
.ed .page-head[style*="--ph-image"] .page-head__inner {
  max-width: none;
  margin: 0;
  text-align: left;
  container-type: inline-size;
}
.ed .page-head[style*="--ph-image"] .eyebrow {
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--ed-label);
}
.ed .page-head[style*="--ph-image"] .page-head__title {
  font-size: clamp(1.625rem, 1rem + 1.6vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ed-ink-soft);
}
.ed .page-head[style*="--ph-image"] .page-head__topic {
  display: block;
  margin-bottom: 0.2em;
  font-size: clamp(3.25rem, 26cqi, 11rem);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.03em;
  color: var(--ed-ink);
}
.ed .page-head[style*="--ph-image"] .page-head__topic--long { font-size: clamp(2.75rem, 16cqi, 7.5rem); }
.ed .page-head[style*="--ph-image"] .page-head__title em { color: var(--ed-accent); }
.ed .page-head[style*="--ph-image"] .page-head__title:lang(zh),
.ed .page-head[style*="--ph-image"] .page-head__topic:lang(zh) {
  line-height: 1.3;
  letter-spacing: 0.02em;
}
.ed .page-head[style*="--ph-image"] .page-head__topic:lang(zh) { line-height: 1.05; }
.ed .page-head[style*="--ph-image"] .page-head__lead {
  max-width: 44ch;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--ed-ink-muted);
}
.ed .section__head {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: end;
  column-gap: clamp(1.5rem, 4vw, 4rem);
  max-width: none;
  margin: 0 0 clamp(2.5rem, 5vw, 4.5rem);
  text-align: left;
}
.ed .section__head > .eyebrow { grid-area: 1 / 1; justify-self: start; margin-bottom: 1.25rem; }
.ed .section__head > .section__title { grid-area: 2 / 1; }
.ed .section__head:not(:has(.section__lead)) > .section__title { grid-column: 1 / -1; }
.ed .section__head > .section__lead { grid-area: 2 / 2; }
.ed .section__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.75rem, 1.2rem + 5vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.015em;
  color: var(--ed-ink);
  text-wrap: balance;
}
.ed .section__title em {
  font-style: italic;
  color: inherit;
}
.ed .section__title:lang(zh) {
  font-family: var(--font-display-zh);
  line-height: 1.1;
  letter-spacing: 0.04em;
}
.ed .section__lead {
  max-width: 42ch;
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ed-ink-soft);
}
.ed main .btn {
  gap: 1.25rem;
  padding: 1.05rem 1.35rem 1.05rem 1.6rem;
  border: 0;
  border-radius: 0;
  background: var(--ed-ink);
  color: var(--ed-paper);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: none;
  transition: background var(--duration-normal) var(--ease-out),
              color var(--duration-normal) var(--ease-out),
              transform 0.5s var(--ease-out);
}
.ed main .btn::after {
  content: '';
  flex: none;
  width: 1.375rem;
  height: 0.75rem;
  background: currentColor;
  -webkit-mask: var(--ed-arrow) center / contain no-repeat;
          mask: var(--ed-arrow) center / contain no-repeat;
  transition: transform var(--duration-slow) var(--ease-out);
}
.ed main .btn svg { display: none; }
.ed main .btn:hover,
.ed main .btn:focus-visible {
  background: var(--rose-400);
  color: var(--ink-500);
  transform: none;
  box-shadow: none;
}
.ed main .btn:hover::after,
.ed main .btn:focus-visible::after { transform: translateX(0.35rem); }
.ed main .btn:focus-visible {
  outline: 2px solid var(--ed-ink);
  outline-offset: 4px;
}
.ed main .btn--ghost,
.ed main .btn--ghost-cream {
  gap: 0.75rem;
  padding: 0 0 0.4rem;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  color: var(--ed-ink);
}
.ed main .btn--ghost:hover,
.ed main .btn--ghost:focus-visible,
.ed main .btn--ghost-cream:hover,
.ed main .btn--ghost-cream:focus-visible {
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 2px no-repeat;
  color: var(--ed-ink);
}
.ed .cta-banner {
  overflow: clip;
  padding: clamp(5rem, 11vw, 10rem) 0;
  background: var(--rose-400);
  color: var(--ink-500);
}
.ed .cta-banner::before,
.ed .cta-banner::after { content: none; }
.ed .cta-banner > .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  column-gap: clamp(2rem, 5vw, 5rem);
  text-align: left;
}
.ed .cta-banner > .container::before {
  content: '';
  grid-area: 2 / 1 / 3 / -1;
  align-self: start;
  height: 1px;
  margin-top: clamp(2rem, 4vw, 3.5rem);
  background: hsla(24, 8%, 13%, 0.28);
}
.ed .cta-banner h2 {
  grid-area: 1 / 1;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.25rem, 1.2rem + 7vw, 9rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--ink-500);
  text-wrap: balance;
}
.ed .cta-banner h2 em {
  font-style: italic;
  color: inherit;
}
.ed .cta-banner h2:lang(zh) {
  font-family: var(--font-display-zh);
  font-size: clamp(2.5rem, 1rem + 5vw, 6.5rem);
  line-height: 1.1;
  letter-spacing: 0.04em;
}
.ed .cta-banner p {
  grid-area: 2 / 1;
  max-width: 48ch;
  margin: clamp(2rem, 4vw, 3.5rem) 0 0;
  padding-top: var(--space-6);
  font-size: 1rem;
  line-height: 1.65;
  color: hsla(24, 8%, 13%, 0.78);
}
.ed .cta-banner__actions { display: contents; }
.ed main .cta-banner .btn:first-child {
  grid-area: 1 / 2;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: var(--space-2);
  width: clamp(9rem, 14vw, 12rem);
  max-width: none;
  aspect-ratio: 1;
  padding: var(--space-4);
  border-radius: 50%;
  background: var(--ink-500);
  color: var(--cream-50);
  line-height: 1.35;
  letter-spacing: 0.14em;
  text-align: center;
  white-space: normal;
}
.ed main .cta-banner .btn:first-child::after { content: none; }
.ed main .cta-banner .btn:first-child svg {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
}
.ed main .cta-banner .btn:first-child:hover,
.ed main .cta-banner .btn:first-child:focus-visible {
  transform: scale(1.07) rotate(-6deg);
  background: var(--cream-50);
  color: var(--ink-500);
}
.ed main .cta-banner .btn:first-child:focus-visible { outline-color: var(--ink-500); outline-offset: 6px; }
.ed main .cta-banner .btn + .btn {
  grid-area: 2 / 2;
  justify-self: end;
  align-self: start;
  width: auto;
  max-width: none;
  margin-top: calc(clamp(2rem, 4vw, 3.5rem) + var(--space-6));
  color: var(--ink-500);
  white-space: nowrap;
}
.ed main .article-card {
  gap: var(--space-3);
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--ed-ink);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
.ed main .article-card:hover {
  transform: none;
  box-shadow: none;
  color: var(--ed-ink);
}
.ed main .article-card:focus-visible {
  outline: 2px solid var(--ed-ink);
  outline-offset: 6px;
}
.ed main .article-card__media {
  aspect-ratio: 4 / 3;
  margin-bottom: var(--space-2);
  background: var(--cream-200);
}
.ed main .article-card__photo {
  filter: var(--ed-warm);
  transition: transform 0.9s var(--ease-out), filter var(--duration-slow) var(--ease-out);
}
.ed main .article-card:hover .article-card__photo,
.ed main .article-card:focus-visible .article-card__photo {
  transform: scale(1.06);
  filter: none;
}
.ed main .article-card__body {
  gap: 0.6rem;
  padding: 0;
}
.ed main .article-card__tag {
  padding: 0;
  border-radius: 0;
  background: none;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--ed-label);
}
.ed main .article-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.375rem, 1rem + 0.8vw, 1.75rem);
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--ed-ink);
  text-decoration: underline 1px transparent;
  text-underline-offset: 0.16em;
  transition: text-decoration-color var(--duration-slow) var(--ease-out);
}
.ed main .article-card:hover .article-card__title,
.ed main .article-card:focus-visible .article-card__title { text-decoration-color: currentColor; }
.ed main .article-card__title:lang(zh) { font-family: var(--font-display-zh); }
.ed main .article-card__excerpt {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--ed-ink-muted);
}
.ed main .article-card__meta {
  gap: var(--space-4);
  margin-top: var(--space-2);
  padding-top: 0.9rem;
  border-top: 1px solid var(--ed-rule);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ed-ink-muted);
}
.ed main .article-card__meta .read {
  flex: none;
  white-space: nowrap;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ed-ink);
}
.ed .ed-list {
  display: block;
  counter-reset: ed-row;
  border-bottom: 1px solid var(--ed-rule);
}
.ed .ed-list > .article-card {
  counter-increment: ed-row;
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr) 2.5rem;
  align-items: baseline;
  column-gap: clamp(1rem, 2.5vw, 2.5rem);
  padding: clamp(1.75rem, 3vw, 2.5rem) 0;
  border-top: 1px solid var(--ed-rule);
}
.ed .ed-list > .article-card::before {
  content: counter(ed-row, decimal-leading-zero);
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--ed-ink-muted);
}
.ed .ed-list > .article-card::after {
  content: '';
  justify-self: end;
  align-self: center;
  width: 1.5rem;
  height: 0.8rem;
  background: currentColor;
  -webkit-mask: var(--ed-arrow) center / contain no-repeat;
          mask: var(--ed-arrow) center / contain no-repeat;
  transition: transform var(--duration-slow) var(--ease-out);
}
.ed .ed-list > .article-card:hover::after,
.ed .ed-list > .article-card:focus-visible::after { transform: translateX(0.4rem); }
.ed .ed-list .article-card__body {
  display: grid;
  grid-template-columns: minmax(0, 13rem) minmax(0, 1fr);
  align-items: baseline;
  gap: 0.6rem clamp(1rem, 3vw, 3rem);
}
.ed .ed-list .article-card__tag { grid-area: 1 / 1 / 3 / 2; }
.ed .ed-list .article-card__title {
  grid-column: 2;
  font-size: clamp(1.5rem, 1rem + 1.4vw, 2.5rem);
  line-height: 1.1;
}
.ed .ed-list .article-card__excerpt {
  grid-column: 2;
  max-width: 60ch;
}
@media (hover: hover) and (pointer: fine) {
  .ed .ed-list:hover > .article-card:not(:hover) { opacity: 0.45; }
}
@media (max-width: 859px) {
  .ed .page-head:not([style*="--ph-image"]) .page-head__inner { grid-template-columns: minmax(0, 1fr); }
  .ed .page-head__lead { grid-area: 3 / 1; }
  .ed .page-head:not([style*="--ph-image"]) .page-head__inner::after { grid-area: 4 / 1; }
  .ed .page-head[style*="--ph-image"] > .container {
    grid-template-columns: minmax(0, 1fr);
    row-gap: clamp(2.5rem, 7vw, 3.5rem);
  }
  .ed .page-head[style*="--ph-image"] > .container::after { aspect-ratio: 4 / 3; }
  .ed .section__head { grid-template-columns: minmax(0, 1fr); }
  .ed .section__head > .section__lead {
    grid-area: 3 / 1;
    margin-top: var(--space-5);
  }
  .ed .cta-banner > .container { grid-template-columns: minmax(0, 1fr); }
  .ed main .cta-banner .btn:first-child {
    grid-area: 2 / 1;
    justify-self: start;
    margin-top: var(--space-8);
  }
  .ed .cta-banner > .container::before,
  .ed .cta-banner p { grid-area: 3 / 1; }
  .ed main .cta-banner .btn + .btn {
    grid-area: 4 / 1;
    justify-self: start;
    margin-top: var(--space-5);
  }
}
@media (max-width: 719px) {
  .ed .ed-list > .article-card { grid-template-columns: 2.25rem minmax(0, 1fr) 1.5rem; }
  .ed .ed-list .article-card__body { grid-template-columns: minmax(0, 1fr); }
  .ed .ed-list .article-card__tag,
  .ed .ed-list .article-card__title,
  .ed .ed-list .article-card__excerpt { grid-area: auto / 1; }
}
@media print {
  .ed .rise .rise-word,
  .ed .reveal,
  .ed .reveal-stagger > * {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ed .page-head .eyebrow,
  .ed .page-head__lead,
  .ed .page-head[style*="--ph-image"] > .container::after,
  .ed .page-head:not([style*="--ph-image"]) .page-head__inner::after { animation: none; }
  .ed main .cta-banner .btn:first-child:hover,
  .ed main .cta-banner .btn:first-child:focus-visible { transform: none; }
}
