/* Editorial (OrganizationSite::Looks::Editorial): a port of scratchpad/
   looks/Editorial.dc.html, the "Beacon Hill Homeschool" board. Every rule is
   scoped under .look-editorial (the hub layout's body class), so nothing
   here reaches another look or famlo.co, and every class is ed- prefixed so
   it never meets a Tailwind utility or an app component of the same name.

   Colours and fonts the hub may change are the --site-* variables
   (StorefrontHelper#storefront_theme_style): paper → --site-ground, paper2 →
   --site-soft, ink → --site-ink, green → --site-accent (fills:
   --site-accent-fill / --site-on-accent), ochre → --site-accent-2. The
   board's terracotta, cobalt, violet and marigold are decoration (the
   mosaic tiles and the category icons, never under words), kept as the
   board drew them; terracotta as text (the eyebrows) is a darker shade that
   reads at AA on both papers. Structure keeps the board's own values. */

.look-editorial {
  --ed-ink2: color-mix(in srgb, var(--site-ink) 76%, var(--site-ground));
  --ed-line: color-mix(in srgb, var(--site-ink) 12%, transparent);
  --ed-terra: #e2623a;
  --ed-terra-text: #b5431f;
  --ed-cobalt: #3a6fd8;
  --ed-violet: #8f6be0;
  --ed-mari: #e9a23b;
  --ed-pad: clamp(16px, 4vw, 56px);
  --ed-r: 18px;
  font-family: var(--site-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.look-editorial .ed-sec, .look-editorial .ed-hero { overflow-x: clip; }
.look-editorial .ed-wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--ed-pad); }
.look-editorial .ed-serif { font-family: var(--site-display); font-weight: 400; letter-spacing: -.015em; }
.look-editorial h1, .look-editorial h2, .look-editorial h3 { text-wrap: balance; overflow-wrap: anywhere; }
.look-editorial p { text-wrap: pretty; }
.look-editorial .ed-eyebrow { margin: 0; font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ed-terra-text); }
.look-editorial a:focus-visible, .look-editorial button:focus-visible, .look-editorial input:focus-visible,
.look-editorial textarea:focus-visible, .look-editorial select:focus-visible, .look-editorial summary:focus-visible {
  outline: 3px solid var(--site-accent-2); outline-offset: 3px; border-radius: 6px;
}

/* buttons and links */
.look-editorial .ed-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
  border-radius: var(--site-radius-button); font: 700 15.5px/1 var(--site-body); text-decoration: none; border: 0; cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.look-editorial .ed-btn--primary { background: var(--site-accent-fill); color: var(--site-on-accent); }
.look-editorial .ed-btn--primary:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--site-accent-fill) 70%, transparent); }
.look-editorial .ed-btn--ghost { background: var(--site-surface); color: var(--site-ink); box-shadow: inset 0 0 0 1px var(--ed-line); }
.look-editorial .ed-btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--site-ink); }
.look-editorial .ed-textlink { font-weight: 700; color: var(--site-ink); text-decoration: none; border-bottom: 1.5px solid var(--site-accent-2); padding: 10px 0 2px; }
.look-editorial .ed-textlink:hover { color: var(--site-accent); }
.look-editorial .ed-arrow { display: inline-block; transition: transform .2s; }
.look-editorial a:hover .ed-arrow { transform: translateX(3px); }
.look-editorial .ed-center-link { display: flex; justify-content: center; margin: 40px 0 0; }

/* the shared card action (storefront/classes/card_action): the green pill,
   or white with a hairline for "Join waitlist", as the board draws them */
.look-editorial .ed-card-act a { min-height: 44px; padding: 0 18px; border-radius: var(--site-radius-button); font-weight: 700; font-size: 14.5px; background: var(--site-accent-fill); color: var(--site-on-accent); }
.look-editorial .ed-card-act a[aria-label^="Join the waitlist"] { background: var(--site-surface); color: var(--site-ink); box-shadow: inset 0 0 0 1px var(--ed-line); }
.look-editorial .ed-card-act a:hover { filter: none; box-shadow: inset 0 0 0 1.5px var(--site-ink); }
.look-editorial .ed-card-act span[data-card-part="action"] { color: var(--site-accent); font-weight: 700; }

/* announcement + header */
.look-editorial .ed-announce { background: var(--site-accent-fill); color: var(--site-on-accent); font-size: 14px; font-weight: 600; }
.look-editorial .ed-announce .ed-wrap { display: flex; justify-content: center; align-items: center; gap: 10px; min-height: 42px; text-align: center; }
.look-editorial .ed-announce p { margin: 0; padding: 8px 0; line-height: 1.45; }
.look-editorial .ed-announce a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; margin-left: 6px; display: inline-block; padding: 10px 0; margin-block: -10px; }
.look-editorial .ed-announce-dot { width: 7px; height: 7px; border-radius: 9px; background: var(--site-accent-2); flex: none; }
.look-editorial .ed-header { border-bottom: 1px solid var(--ed-line); background: var(--site-ground); position: relative; z-index: 40; }
.look-editorial .ed-header .ed-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.look-editorial .ed-brand { display: inline-flex; min-width: 0; align-items: center; gap: 12px; text-decoration: none; color: var(--site-ink); }
.look-editorial .ed-brand-mark { width: 40px; height: 40px; border-radius: 12px; background: var(--site-accent-fill); color: var(--site-on-accent); display: grid; place-items: center; flex: none; font-family: var(--site-display); font-size: 24px; line-height: 1; }
.look-editorial .ed-logo { height: var(--site-logo-h, 44px); width: auto; max-width: var(--site-logo-w, 180px); object-fit: contain; flex: none; }
.look-editorial .ed-brand-name { min-width: 0; font-family: var(--site-display); font-size: 27px; line-height: 1.05; letter-spacing: -.01em; overflow-wrap: anywhere; }
.look-editorial .ed-brand-name small { display: block; font-family: var(--site-body); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ed-ink2); margin-top: 4px; }
.look-editorial .ed-nav { display: none; gap: 30px; }
.look-editorial .ed-nav a { text-decoration: none; font-weight: 600; font-size: 15.5px; padding: 10px 0 8px; color: var(--site-ink); border-bottom: 2px solid transparent; transition: border-color .2s; }
.look-editorial .ed-nav a:hover, .look-editorial .ed-nav a[aria-current="page"] { border-color: var(--site-accent-2); }
.look-editorial .ed-head-right { display: flex; align-items: center; gap: 14px; flex: none; }
.look-editorial .ed-account { display: none; min-height: 44px; align-items: center; padding: 0 4px; font-weight: 600; font-size: 15px; color: var(--site-ink); text-decoration: none; }
.look-editorial .ed-account:hover { text-decoration: underline; text-underline-offset: 4px; }
.look-editorial .ed-head-cta { display: none; min-height: 46px; padding: 0 22px; }
@media (min-width: 640px) { .look-editorial .ed-account, .look-editorial .ed-head-cta { display: inline-flex; } }
@media (min-width: 1025px) { .look-editorial .ed-nav { display: flex; } }
@media (max-width: 1180px) and (min-width: 1025px) { .look-editorial .ed-nav { gap: 20px; } }
/* The phone menu (storefront/chrome/_phone_menu, W2-1's): the board's
   rounded white square. */
.look-editorial .ed-header details > summary { width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--ed-line); background: var(--site-surface); color: var(--site-ink); }

/* hero */
.look-editorial .ed-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 104px); }
.look-editorial .ed-hero .ed-wrap { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.look-editorial .ed-hero--nophoto .ed-wrap { grid-template-columns: minmax(0, 1fr); }
.look-editorial .ed-hero-copy { position: relative; min-width: 0; }
.look-editorial .ed-pill { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 8px 16px; border-radius: 999px; background: var(--site-surface); box-shadow: inset 0 0 0 1px var(--ed-line); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; line-height: 1.4; }
.look-editorial .ed-pill i { width: 8px; height: 8px; border-radius: 9px; background: var(--ed-terra); flex: none; }
.look-editorial .ed-hero-h { font-size: clamp(46px, 7.4vw, 108px); line-height: .95; letter-spacing: -.025em; margin: 26px 0 28px; }
.look-editorial .ed-hero--long .ed-hero-h { font-size: clamp(38px, 5vw, 72px); line-height: 1; }
.look-editorial .ed-hero--nophoto .ed-hero-h { font-size: clamp(52px, 9vw, 136px); max-width: 13em; }
.look-editorial .ed-hero--nophoto.ed-hero--long .ed-hero-h { font-size: clamp(40px, 6vw, 88px); }
.look-editorial .ed-pill + .ed-hero-h { margin-top: 26px; }
.look-editorial .ed-hero-h:first-child { margin-top: 0; }
/* The emphasis: green italic over the board's ochre hand-drawn underline
   (a mask, so the line takes the hub's second accent). Swoosh and the other
   emphasis styles keep their own marks. */
.look-editorial .site-em--italic { font-style: italic; color: var(--site-accent); }
.look-editorial .ed-hero-h .site-em--italic { position: relative; display: inline-block; padding: 0 .04em; }
.look-editorial .ed-hero-h .site-em--italic::after {
  content: ""; position: absolute; left: -2%; bottom: -.1em; width: 104%; height: .26em; background: var(--site-accent-2);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M4 16 C 70 6, 160 4, 296 12' stroke='black' stroke-width='7' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M4 16 C 70 6, 160 4, 296 12' stroke='black' stroke-width='7' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  pointer-events: none;
}
.look-editorial .site-em--swoosh, .look-editorial .site-em--circle, .look-editorial .site-em--highlight { font-style: italic; color: var(--site-accent); }
.look-editorial .site-em--swoosh svg, .look-editorial .site-em--circle svg { color: var(--site-accent-2); }
.look-editorial .ed-lede { font-size: clamp(17px, 1.4vw, 20px); color: var(--ed-ink2); max-width: 33em; margin: 0; }
.look-editorial .ed-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 0; }
.look-editorial .ed-hero-spark { position: absolute; right: 0; top: -8px; width: clamp(56px, 7vw, 96px); height: auto; color: var(--site-accent-2); }

/* the mosaic: the hub's photos on the board's saturated tiles */
.look-editorial .ed-mosaic { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 560px; justify-self: end; width: 100%; padding-bottom: 44px; }
.look-editorial .ed-tile { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; background: var(--ed-terra); }
.look-editorial .ed-tile--2 { background: var(--ed-cobalt); }
.look-editorial .ed-tile--3 { background: var(--ed-violet); }
.look-editorial .ed-tile--4 { background: var(--ed-mari); }
.look-editorial .ed-mosaic--2 .ed-tile--2, .look-editorial .ed-mosaic--4 .ed-tile--2, .look-editorial .ed-mosaic--4 .ed-tile--4 { transform: translateY(44px); }
/* Three photos: one tall tile and two short ones beside it, staggered. */
.look-editorial .ed-mosaic--3 { grid-template-rows: auto auto; }
.look-editorial .ed-mosaic--3 .ed-tile--1 { grid-row: span 2; aspect-ratio: auto; }
.look-editorial .ed-mosaic--3 .ed-tile--2, .look-editorial .ed-mosaic--3 .ed-tile--3 { aspect-ratio: 5 / 4; transform: translateY(44px); }
/* One photo: a single tall tile. */
.look-editorial .ed-mosaic--1 { grid-template-columns: minmax(0, 1fr); max-width: 440px; padding-bottom: 0; }
/* A cut-out stands on its tile (its own transparency shows the colour); an
   ordinary photo sits inside the tile, the colour a mat around it. */
.look-editorial .ed-tile--cut img { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); height: 92%; width: auto; max-width: 112%; object-fit: contain; object-position: bottom; }
.look-editorial .ed-tile--photo img { position: absolute; inset: 10px 10px 0; width: calc(100% - 20px); height: calc(100% - 10px); object-fit: cover; border-radius: 3px 3px 0 0; }
.look-editorial .ed-tag { position: absolute; z-index: 2; left: 12px; bottom: 12px; max-width: calc(100% - 24px); background: rgba(255, 255, 255, .94); color: #1c2b22; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; padding: 5px 10px; border-radius: 99px; text-transform: uppercase; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.look-editorial .ed-spark { position: absolute; z-index: 3; left: -34px; top: 46%; width: 60px; height: 60px; color: var(--site-accent-2); }
.look-editorial .ed-mosaic--1 .ed-spark { top: 18%; }

/* the category strip */
.look-editorial .ed-pillars { background: var(--site-surface); border-top: 1px solid var(--ed-line); border-bottom: 1px solid var(--ed-line); }
.look-editorial .ed-pillars ul { display: flex; justify-content: center; gap: clamp(28px, 6vw, 88px); padding: 26px 0; margin: 0; list-style: none; flex-wrap: wrap; }
.look-editorial .ed-pillar { display: flex; align-items: center; gap: 16px; min-height: 56px; color: var(--site-ink); text-decoration: none; }
.look-editorial .ed-pillar-ic { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; color: #fff; flex: none; background: var(--ed-terra); }
.look-editorial .ed-pillar-ic--2 { background: var(--ed-cobalt); }
.look-editorial .ed-pillar-ic--3 { background: var(--ed-violet); }
.look-editorial .ed-pillar-ic--4 { background: var(--ed-mari); }
.look-editorial .ed-pillar b { display: block; font-size: 32px; line-height: 1; }
.look-editorial .ed-pillar span span { display: block; margin-top: 4px; font-size: 14.5px; color: var(--ed-ink2); }
.look-editorial .ed-pillar:hover b { color: var(--site-accent); }

/* sections */
.look-editorial .ed-sec { padding-block: calc(clamp(72px, 9vw, 128px) * var(--site-space-scale, 1)); padding-inline: 0; }
.look-editorial .ed-sec:not(.ed-sec--soft):not(.ed-band) + .ed-sec:not(.ed-sec--soft):not(.ed-band),
.look-editorial .ed-sec--soft + .ed-sec--soft { padding-top: 0; }
.look-editorial .ed-sec--soft { background: var(--site-soft); }
.look-editorial .ed-sec--tight { padding-block: calc(32px * var(--site-space-scale, 1)); padding-inline: 0; }
.look-editorial .ed-sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: end; margin-bottom: clamp(36px, 4vw, 56px); }
.look-editorial .ed-sec-head--solo { grid-template-columns: minmax(0, 1fr); }
.look-editorial .ed-sec-head--solo > div { max-width: 900px; }
.look-editorial .ed-h2 { font-size: clamp(40px, 5.2vw, 74px); line-height: 1; letter-spacing: -.02em; margin: 14px 0 0; }
.look-editorial .ed-sec-head .ed-eyebrow + .ed-h2 { margin-top: 14px; }
.look-editorial .ed-sec-head .ed-h2:first-child { margin-top: 0; }
.look-editorial .ed-sec-aside { justify-self: end; }
.look-editorial .ed-sec-aside p { color: var(--ed-ink2); font-size: 18px; max-width: 34em; margin: 0; }
.look-editorial .ed-empty { margin: 0; padding: 40px 28px; border-radius: var(--ed-r); background: var(--site-surface); box-shadow: 0 0 0 1px var(--ed-line); text-align: center; font-family: var(--site-display); font-size: 28px; line-height: 1.2; }
.look-editorial .ed-prose { color: var(--ed-ink2); font-size: 18px; max-width: 40em; }
.look-editorial .ed-prose p { margin: 0 0 1em; }
.look-editorial .ed-prose p:last-child { margin-bottom: 0; }

/* class cards (detail) */
.look-editorial .ed-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.look-editorial .ed-card { position: relative; display: flex; flex-direction: column; height: 100%; background: var(--site-surface); color: var(--site-ink); border-radius: var(--ed-r); overflow: hidden; box-shadow: 0 0 0 1px var(--ed-line); }
.look-editorial .ed-card-ph { position: relative; background: var(--site-ground); }
.look-editorial .ed-card-frame { display: block; width: 100%; height: 100%; overflow: hidden; }
.look-editorial .ed-card-frame img { transition: transform .6s; }
.look-editorial .ed-card:hover .ed-card-frame img { transform: scale(1.04); }
.look-editorial .ed-tile-ic { width: 44px; height: 44px; }
.look-editorial .ed-when { position: absolute; left: 14px; top: 14px; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 62px; height: 66px; margin: 0; border-radius: 12px; background: #fff; color: #1c2b22; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .4); }
.look-editorial .ed-when small { font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--ed-terra-text); line-height: 1.2; }
.look-editorial .ed-when b { font-size: 30px; line-height: 1; }
.look-editorial .ed-card-bd { display: flex; flex-direction: column; gap: 12px; padding: 22px 24px 24px; flex-grow: 1; }
.look-editorial .ed-cat { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--site-accent); }
.look-editorial .ed-cat i { width: 7px; height: 7px; border-radius: 9px; background: var(--ed-terra); flex: none; }
.look-editorial .ed-card h3 { font-size: 30px; line-height: 1.05; margin: 0; }
.look-editorial .ed-card h3 a, .look-editorial .ed-row h3 a { color: inherit; text-decoration: none; }
.look-editorial .ed-card h3 a:hover, .look-editorial .ed-row h3 a:hover { text-decoration: underline; text-decoration-color: var(--site-accent-2); text-underline-offset: 4px; }
.look-editorial .ed-meta-ic { width: 17px; height: 17px; flex: none; margin-top: 2px; color: var(--site-ink); }
.look-editorial .ed-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--ed-line); flex-wrap: wrap; }
.look-editorial .ed-card-price { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.look-editorial .ed-price { font-weight: 800; font-size: 17px; }
.look-editorial .ed-seats { font-size: 13px; font-weight: 800; padding: 5px 10px; border-radius: 99px; background: var(--site-soft); line-height: 1.2; }
.look-editorial .ed-seats--urgent { background: #fbe3da; color: #a23a17; }
.look-editorial .ed-seats--full { background: var(--site-ink); color: var(--site-ground); }

/* dated rows (agenda) */
.look-editorial .ed-row { position: relative; display: grid; grid-template-columns: 90px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 14px 0; }
.look-editorial .ed-row h3 { font-size: 28px; line-height: 1.1; margin: 0; }
.look-editorial .ed-row .ed-card-price { align-items: flex-end; }

/* the deep-green band (about) */
.look-editorial .ed-band { background: var(--site-accent-fill); color: var(--site-on-accent); }
.look-editorial .ed-about { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.look-editorial .ed-band .ed-eyebrow { color: inherit; opacity: .9; }
.look-editorial .ed-band .ed-h2 { color: inherit; font-size: clamp(40px, 4.8vw, 68px); }
.look-editorial .ed-band .ed-prose { color: inherit; opacity: .9; font-size: 18px; }
.look-editorial .ed-about--long .ed-prose { columns: 2 22em; column-gap: 40px; max-width: none; }
.look-editorial .ed-about--long { grid-template-columns: minmax(0, 1fr); }
.look-editorial .ed-band a:focus-visible { outline-color: currentColor; }

/* teachers */
.look-editorial .ed-teacher-ph { display: grid; place-items: center; aspect-ratio: 4 / 5; border-radius: var(--ed-r); overflow: hidden; background: var(--site-soft); margin-bottom: 4px; }
.look-editorial .ed-teacher-ph.ed-tint-1 { background: var(--site-tint-1); }
.look-editorial .ed-teacher-ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .6s; }
.look-editorial .ed-initial { font-size: 120px; line-height: 1; color: var(--site-ink); }
.look-editorial .ed-role { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--site-accent); }

/* reviews */
.look-editorial .ed-reviews .ed-wrap { display: grid; grid-template-columns: 1fr 2.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.look-editorial .ed-reviews .ed-sec-head { grid-template-columns: minmax(0, 1fr); margin: 0; }
.look-editorial .ed-reviews .ed-h2 { font-size: clamp(40px, 4.6vw, 64px); }
.look-editorial .ed-quote-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.look-editorial .ed-quote { display: flex; flex-direction: column; gap: 18px; margin: 0; padding: 30px; border-radius: var(--ed-r); background: var(--site-surface); box-shadow: 0 0 0 1px var(--ed-line); }
.look-editorial .ed-quote--big { grid-column: span 2; background: var(--site-ground); box-shadow: none; }
.look-editorial .ed-quote--big > div { display: flex; flex-direction: column; gap: 16px; }
.look-editorial .ed-quote--photo { flex-direction: row; align-items: center; gap: 28px; }
.look-editorial .ed-quote--photo img { width: 200px; height: auto; border-radius: 12px; object-fit: cover; flex: none; }
.look-editorial .ed-quote-grid--odd .ed-quote:last-child { grid-column: span 2; }
.look-editorial .ed-quote blockquote { margin: 0; font-size: 25px; line-height: 1.22; letter-spacing: -.005em; }
.look-editorial .ed-quote blockquote p { margin: 0 0 .5em; }
.look-editorial .ed-quote blockquote p:last-child { margin: 0; }
.look-editorial .ed-quote--big blockquote { font-size: 30px; }
.look-editorial .ed-quote figcaption { font-size: 14px; color: var(--ed-ink2); }
.look-editorial .ed-quote figcaption b { color: var(--site-ink); }
.look-editorial .ed-quote figcaption a { color: inherit; text-underline-offset: 3px; }
.look-editorial .ed-qmark { display: block; font-family: var(--site-display); font-size: 64px; line-height: .4; height: 22px; color: var(--site-accent-2); }

/* price cards and files (the board's resource cards) */
.look-editorial .ed-res { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.look-editorial .ed-res > li { display: flex; }
.look-editorial .ed-res-card { display: flex; flex-direction: column; gap: 10px; width: 100%; padding: 28px; border-radius: var(--ed-r); background: var(--site-surface); color: var(--site-ink); box-shadow: 0 0 0 1px var(--ed-line); text-decoration: none; transition: box-shadow .2s; }
.look-editorial a.ed-res-card:hover { box-shadow: 0 0 0 1.5px var(--site-ink); }
.look-editorial .ed-res-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 4px; }
.look-editorial .ed-res-card h3 { font-size: 28px; line-height: 1.05; margin: 0; }
.look-editorial .ed-res-card p { margin: 0; font-size: 15px; color: var(--ed-ink2); }
.look-editorial .ed-tagp { flex: none; margin: 0; font-size: 13px; font-weight: 800; padding: 5px 11px; border-radius: 99px; background: var(--site-ink); color: var(--site-ground) !important; }
.look-editorial .ed-tagp small { font-weight: 600; font-size: 12px; }
.look-editorial .ed-res-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--site-accent-fill); color: var(--site-on-accent); margin-bottom: 8px; }
.look-editorial .ed-more { gap: 6px; margin-top: auto; padding-top: 12px; font-weight: 800; font-size: 14px; color: var(--site-accent); text-decoration: none; min-height: 44px; display: inline-flex; align-items: flex-end; }
.look-editorial .ed-res-note { margin: 28px 0 0; color: var(--ed-ink2); }

/* questions */
.look-editorial .ed-faq { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.look-editorial .ed-faq--nohead { grid-template-columns: minmax(0, 1fr); max-width: 900px; }
.look-editorial .ed-faq .ed-h2 { font-size: clamp(40px, 4.6vw, 64px); margin: 14px 0 18px; }
.look-editorial .ed-faq-call { margin: 0; color: var(--ed-ink2); }
.look-editorial .ed-faq-call .ed-textlink { padding-top: 0; }
.look-editorial .ed-faq-list details { border-top: 1px solid var(--ed-line); }
.look-editorial .ed-faq-list details:last-child { border-bottom: 1px solid var(--ed-line); }
.look-editorial .ed-faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 72px; padding: 12px 0; cursor: pointer; font-weight: 700; font-size: 18px; line-height: 1.35; list-style: none; }
.look-editorial .ed-faq-list summary::-webkit-details-marker { display: none; }
.look-editorial .ed-pm { flex: none; width: 34px; height: 34px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--ed-line); display: grid; place-items: center; transition: transform .25s; }
.look-editorial .ed-faq-list details[open] .ed-pm { transform: rotate(45deg); background: var(--site-accent-fill); color: var(--site-on-accent); box-shadow: none; }
.look-editorial .ed-faq-a { padding: 0 56px 24px 0; color: var(--ed-ink2); }

/* gallery (the board's photo cards: rows of three, the last row shared) */
.look-editorial .ed-gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.look-editorial .ed-gallery > li { grid-column: span 2; }
.look-editorial .ed-gallery > li.ed-gallery-wide { grid-column: span 3; }
.look-editorial .ed-gallery--one > li.ed-gallery-wide { grid-column: span 6; }
.look-editorial .ed-gallery button { display: block; width: 100%; padding: 0; border: 0; background: var(--site-soft); border-radius: var(--ed-r); overflow: hidden; cursor: zoom-in; box-shadow: 0 0 0 1px var(--ed-line); }
.look-editorial .ed-gallery img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s; }
.look-editorial .ed-gallery .ed-gallery-wide img { aspect-ratio: 16 / 8; }
.look-editorial .ed-gallery--one .ed-gallery-wide img { aspect-ratio: 16 / 7; }
.look-editorial .ed-gallery button:hover img { transform: scale(1.03); }
.look-editorial .ed-gallery--whole { display: block; columns: 3 240px; column-gap: 22px; }
.look-editorial .ed-gallery--whole > li { break-inside: avoid; margin-bottom: 22px; }
.look-editorial .ed-gallery--whole img, .look-editorial .ed-gallery--whole .ed-gallery-wide img { aspect-ratio: auto; }

/* text and photo */
.look-editorial .ed-pt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.look-editorial .ed-pt--left > :first-child { order: 2; }
.look-editorial .ed-pt .ed-sec-head { margin-bottom: 24px; }
.look-editorial .ed-pt-photo button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--ed-r); overflow: hidden; }
.look-editorial .ed-pt-photo img { display: block; width: 100%; }
.look-editorial .ed-pt-landscape { aspect-ratio: 16 / 10; object-fit: cover; }
.look-editorial .ed-pt-square { aspect-ratio: 1; object-fit: cover; }
.look-editorial .ed-pt-noimg { display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: var(--ed-r); background: var(--site-tint-4); }
.look-editorial .ed-pt-spark { width: 72px; height: 72px; color: var(--site-accent-2); }
/* The hub's frame for a text-and-photo photo (website builder Wave 3,
   wave3.md §6.2; Looks::Editorial#photo_controls honours "frame" here and
   nowhere else). Automatic ("look") adds no class, so nothing below applies
   and the photo keeps the look's rounded button. A chosen frame takes the
   rounding off the button, so the frame's own shape (application.css
   .site-frame-*) is what shows: a tile in this look's radius; an arch, a
   dome as wide as the photo (the shared rule's 9999px radii are scaled
   down to near-flat on a wide photo); a circle, square whatever the
   photo's shape; a blob; square corners for none; and a cut-out held
   whole with its shadow. */
.look-editorial .ed-pt-photo button:has(> img[class*="site-frame-"]) { border-radius: 0; overflow: visible; }
.look-editorial .ed-pt-photo img.site-frame-tile { border-radius: var(--ed-r); }
.look-editorial .ed-pt-photo img.site-frame-arch { border-radius: 50% 50% var(--ed-r) var(--ed-r) / 50% 50% var(--ed-r) var(--ed-r); }
.look-editorial .ed-pt-photo img.site-frame-circle { aspect-ratio: 1 / 1; object-fit: cover; }
.look-editorial .ed-pt-photo img.site-frame-cutout { object-fit: contain; }

/* button, contact */
.look-editorial .ed-contact > * { border-radius: 24px; }

/* footer: the ink signup card, then the columns on paper */
.look-editorial .ed-footer { color: var(--site-ink); }
.look-editorial .ed-news-wrap { padding: 0 0 clamp(56px, 7vw, 96px); }
.look-editorial main + .ed-footer .ed-news-wrap, .look-editorial .ed-footer:first-child .ed-news-wrap { padding-top: clamp(56px, 7vw, 96px); }
.look-editorial .ed-news { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: 28px; background: var(--site-ink); color: var(--site-ground); }
.look-editorial .ed-news h2 { margin: 0; font-size: clamp(36px, 4.2vw, 58px); line-height: 1; letter-spacing: -.02em; }
.look-editorial .ed-news h2 em { color: var(--site-accent-2); }
.look-editorial .ed-news p { margin: 14px 0 0; opacity: .85; }
.look-editorial .ed-news-form form { width: 100%; }
.look-editorial .ed-news-form label { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; flex: 1; }
.look-editorial .ed-news-form input[type="email"] { min-height: 54px; height: 54px; border-radius: 999px; padding: 0 22px; font: 500 16px var(--site-body); width: 100%; background: #fff; }
.look-editorial .ed-news-form button[type="submit"] { min-height: 54px; padding: 0 26px; border-radius: var(--site-radius-button); background: var(--site-accent-2); color: var(--site-ink); font-weight: 700; }
.look-editorial .ed-news-form button[type="submit"]:hover { filter: brightness(1.06); }
.look-editorial .ed-news-form p { margin: 0; font-size: 13px; opacity: .8; }
.look-editorial .ed-news a:focus-visible, .look-editorial .ed-news button:focus-visible, .look-editorial .ed-news input:focus-visible { outline-color: var(--site-accent-2); }
.look-editorial .ed-foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 36px; padding: 24px 0 48px; border-bottom: 1px solid var(--ed-line); }
.look-editorial .ed-foot-grid--short { grid-template-columns: 1.4fr 2.2fr; }
.look-editorial .ed-foot-grid h3 { margin: 0 0 16px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ed-ink2); }
.look-editorial .ed-foot-grid ul { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; }
.look-editorial .ed-foot-grid nav a, .look-editorial .ed-foot-contact a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; font-weight: 600; color: var(--site-ink); }
.look-editorial .ed-foot-grid nav a:hover, .look-editorial .ed-foot-contact a:hover { color: var(--site-accent); }
.look-editorial .ed-foot-about { color: var(--ed-ink2); font-size: 15px; max-width: 26em; margin: 16px 0 0; }
.look-editorial .ed-foot-contact { display: flex; flex-direction: column; gap: 2px; font-style: normal; font-weight: 600; }
.look-editorial .ed-foot-contact a { min-height: 32px; overflow-wrap: anywhere; }
.look-editorial .ed-socials { flex-direction: row !important; flex-wrap: wrap; gap: 10px !important; margin-top: 14px !important; }
.look-editorial .ed-socials a { width: 46px; height: 46px; border-radius: 99px; display: grid; place-items: center; color: var(--site-ink); box-shadow: inset 0 0 0 1px var(--ed-line); transition: background .2s, color .2s; }
.look-editorial .ed-socials a:hover { background: var(--site-accent-fill); color: var(--site-on-accent); box-shadow: none; }
.look-editorial .ed-foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 26px 0 36px; font-size: 13.5px; color: var(--ed-ink2); }
.look-editorial .ed-foot-bottom p { margin: 0; }
.look-editorial .ed-foot-bottom a { font-weight: 700; color: var(--site-ink); text-decoration: none; }
.look-editorial .ed-foot-bottom a:hover { text-decoration: underline; }

/* ---------- tablet ---------- */
@media (max-width: 1024px) {
  .look-editorial .ed-hero .ed-wrap { grid-template-columns: minmax(0, 1fr); }
  .look-editorial .ed-mosaic { justify-self: stretch; max-width: none; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .look-editorial .ed-mosaic--1 { grid-template-columns: minmax(0, 1fr); max-width: 420px; }
  .look-editorial .ed-mosaic--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 560px; }
  .look-editorial .ed-mosaic--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto; }
  .look-editorial .ed-mosaic--3 .ed-tile--1 { grid-row: auto; aspect-ratio: 4 / 5; }
  .look-editorial .ed-mosaic--3 .ed-tile--2, .look-editorial .ed-mosaic--3 .ed-tile--3 { aspect-ratio: 4 / 5; }
  .look-editorial .ed-mosaic--3 .ed-tile--3 { transform: none; }
  .look-editorial .ed-spark { display: none; }
  .look-editorial .ed-sec-head { grid-template-columns: minmax(0, 1fr); }
  .look-editorial .ed-sec-aside { justify-self: start; }
  .look-editorial .ed-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .look-editorial .ed-cards--odd > li:last-child { grid-column: span 2; }
  .look-editorial .ed-cards--odd > li:last-child .ed-card { flex-direction: row; }
  .look-editorial .ed-cards--odd > li:last-child .ed-card-ph { width: 50%; flex: none; align-self: center; }
  .look-editorial .ed-about { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .look-editorial .ed-reviews .ed-wrap, .look-editorial .ed-faq { grid-template-columns: minmax(0, 1fr); }
  .look-editorial .ed-res { gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .look-editorial .ed-res--odd > li:last-child { grid-column: span 2; }
  .look-editorial .ed-res-card { padding: 22px; }
  .look-editorial .ed-res-card h3 { font-size: 24px; }
  .look-editorial .ed-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .look-editorial .ed-gallery > li, .look-editorial .ed-gallery > li.ed-gallery-wide { grid-column: span 1; }
  .look-editorial .ed-gallery--odd > li:last-child { grid-column: span 2; }
  .look-editorial .ed-gallery .ed-gallery-wide img { aspect-ratio: 16 / 10; }
  .look-editorial .ed-gallery--odd > li:last-child img { aspect-ratio: 16 / 8; }
  .look-editorial .ed-pt { grid-template-columns: minmax(0, 1fr); }
  .look-editorial .ed-pt--left > :first-child { order: 0; }
  .look-editorial .ed-news { grid-template-columns: minmax(0, 1fr); }
  .look-editorial .ed-foot-grid, .look-editorial .ed-foot-grid--short { grid-template-columns: 1fr 1fr; }
  .look-editorial .ed-foot-grid > div:first-child { grid-column: span 2; }
}

/* ---------- phone ---------- */
@media (max-width: 700px) {
  .look-editorial { font-size: 16px; }
  .look-editorial .ed-announce { font-size: 13px; }
  .look-editorial .ed-header .ed-wrap { min-height: 70px; gap: 12px; }
  .look-editorial .ed-brand-name { font-size: 23px; }
  .look-editorial .ed-brand-name small { display: none; }
  .look-editorial .ed-brand-mark { width: 36px; height: 36px; }
  .look-editorial .ed-pill { font-size: 10.5px; letter-spacing: .1em; padding: 7px 12px; }
  .look-editorial .ed-hero { padding-top: 36px; }
  .look-editorial .ed-hero-h { margin: 20px 0; }
  .look-editorial .ed-hero-ctas .ed-btn { width: 100%; }
  .look-editorial .ed-hero-ctas { margin: 26px 0 0; }
  .look-editorial .ed-mosaic, .look-editorial .ed-mosaic--3 { grid-template-columns: 1fr 1fr; gap: 12px; padding-bottom: 26px; }
  .look-editorial .ed-mosaic--1 { grid-template-columns: minmax(0, 1fr); padding-bottom: 0; }
  .look-editorial .ed-mosaic--2 .ed-tile--2, .look-editorial .ed-mosaic--4 .ed-tile--2, .look-editorial .ed-mosaic--4 .ed-tile--4 { transform: translateY(26px); }
  .look-editorial .ed-mosaic--3 { grid-template-rows: auto auto; }
  .look-editorial .ed-mosaic--3 .ed-tile--1 { grid-row: span 2; aspect-ratio: auto; }
  .look-editorial .ed-mosaic--3 .ed-tile--2, .look-editorial .ed-mosaic--3 .ed-tile--3 { aspect-ratio: 5 / 4; transform: translateY(26px); }
  .look-editorial .ed-tag { font-size: 10px; left: 8px; bottom: 8px; max-width: calc(100% - 16px); }
  .look-editorial .ed-tile--photo img { inset: 7px 7px 0; width: calc(100% - 14px); height: calc(100% - 7px); }
  .look-editorial .ed-pillars ul { flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px 0; }
  .look-editorial .ed-pillar b { font-size: 28px; }
  .look-editorial .ed-sec { padding: 64px 0; }
  .look-editorial .ed-sec--tight { padding: 24px 0; }
  .look-editorial .ed-cards { grid-template-columns: minmax(0, 1fr); }
  .look-editorial .ed-cards--odd > li:last-child { grid-column: span 1; }
  .look-editorial .ed-cards--odd > li:last-child .ed-card { flex-direction: column; }
  .look-editorial .ed-cards--odd > li:last-child .ed-card-ph { width: auto; align-self: stretch; }
  .look-editorial .ed-card-foot { flex-wrap: wrap; }
  .look-editorial .ed-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .look-editorial .ed-row .ed-card-price { align-items: flex-start; }
  .look-editorial .ed-quote-grid { grid-template-columns: minmax(0, 1fr); }
  .look-editorial .ed-quote--big, .look-editorial .ed-quote-grid--odd .ed-quote:last-child { grid-column: span 1; }
  .look-editorial .ed-quote--photo { flex-direction: column; align-items: flex-start; }
  .look-editorial .ed-quote--photo img { width: 100%; height: auto; }
  .look-editorial .ed-quote--big blockquote { font-size: 25px; }
  .look-editorial .ed-quote { padding: 24px; }
  .look-editorial .ed-res { grid-template-columns: minmax(0, 1fr); }
  .look-editorial .ed-res--odd > li:last-child { grid-column: span 1; }
  .look-editorial .ed-gallery { grid-template-columns: minmax(0, 1fr); }
  .look-editorial .ed-gallery--odd > li:last-child { grid-column: span 1; }
  .look-editorial .ed-gallery img, .look-editorial .ed-gallery--odd > li:last-child img { aspect-ratio: 16 / 10; }
  .look-editorial .ed-faq-list summary { font-size: 16.5px; min-height: 64px; }
  .look-editorial .ed-faq-a { padding-right: 0; }
  .look-editorial .ed-news-form button[type="submit"] { width: 100%; }
  .look-editorial .ed-foot-grid, .look-editorial .ed-foot-grid--short { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .look-editorial .ed-foot-grid > div:last-child:not(:nth-child(2)) { grid-column: span 2; }
  .look-editorial .ed-foot-bottom { flex-direction: column; }
}

/* ==========================================================================
   Phase 2 (wave2.md §5.3): the W2-1 section types, the class and teacher
   pages, the shop, the phone menu and the brand-new hub, in the board's
   idiom. Column counts come from the partials as .ed-cN (chosen so no card
   is alone on a row) and .ed-odd (an odd count's last card takes the row).
   ========================================================================== */

.look-editorial {
  --ed-mari-text: #a06a10;
  --ed-on-band: var(--site-on-accent);
  --ed-on-band-2: color-mix(in srgb, var(--site-on-accent) 84%, var(--site-accent-fill));
}

/* Every hero tile fills its coloured mat to the bottom edge (a cut-out
   stands on the colour; an ordinary WebP/PNG photo fills the frame):
   nothing records whether an image has transparency. */
.look-editorial .ed-tile--cut img { inset: 10px 10px 0; left: 10px; transform: none; width: calc(100% - 20px); height: calc(100% - 10px); max-width: none; object-fit: cover; object-position: 50% 100%; border-radius: 3px 3px 0 0; }
/* Four long category names stay on one line of the strip on a desktop. */
@media (min-width: 1025px) {
  .look-editorial .ed-pillars ul { flex-wrap: nowrap; gap: clamp(24px, 3.4vw, 72px); }
  .look-editorial .ed-pillar { min-width: 0; }
  .look-editorial .ed-pillar b { font-size: clamp(24px, 2.2vw, 32px); text-wrap: balance; }
}

.look-editorial .ed-btn--sm { min-height: 44px; padding: 0 18px; font-size: 14.5px; gap: 8px; }
.look-editorial .ed-btn--light { background: var(--site-surface); color: var(--site-ink); }
.look-editorial .ed-btn--light:hover { box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .5); }
.look-editorial .ed-btn--ochre { background: var(--site-accent-2); color: var(--site-ink); }
.look-editorial .ed-btn--ochre:hover { filter: brightness(1.06); }
.look-editorial .ed-band .ed-btn:focus-visible, .look-editorial .ed-news .ed-btn:focus-visible { outline-color: var(--site-accent-2); }
.look-editorial .ed-center-head { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 900px; margin: 0 auto clamp(36px, 4vw, 56px); }
.look-editorial .ed-center-head .ed-h2 { margin-top: 14px; }
.look-editorial .ed-center-lede { margin: 16px 0 0; color: var(--ed-ink2); font-size: 18px; max-width: 36em; }
.look-editorial .ed-sec-aside > p { color: var(--ed-ink2); font-size: 18px; max-width: 34em; margin: 0; }
.look-editorial .ed-sec + .ed-band, .look-editorial .ed-band + .ed-sec:not(.ed-band) { padding-top: clamp(72px, 9vw, 128px); }

/* values, grid: the deep-green "why" band */
.look-editorial .ed-why-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.look-editorial .ed-why-wrap--solo { grid-template-columns: minmax(0, 1fr); }
.look-editorial .ed-why .ed-eyebrow { color: var(--ed-on-band-2); opacity: 1; }
.look-editorial .ed-why .ed-h2 { margin: 16px 0 0; }
.look-editorial .ed-why .ed-h2 .site-em--italic { color: var(--site-accent-2); }
.look-editorial .ed-why-lede { margin: 22px 0 0; color: var(--ed-on-band-2); font-size: 18px; max-width: 30em; }
.look-editorial .ed-why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.look-editorial .ed-why-grid--one { grid-template-columns: minmax(0, 1fr); }
.look-editorial .ed-why-grid--wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.look-editorial .ed-why-grid.ed-odd > li:last-child { grid-column: 1 / -1; }
.look-editorial .ed-why-grid--wide.ed-odd > li:last-child { grid-column: auto; }
.look-editorial .ed-why-card { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--ed-r); background: color-mix(in srgb, var(--site-on-accent) 7%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--site-on-accent) 16%, transparent); }
.look-editorial .ed-why-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--site-accent-2); color: var(--site-ink); flex: none; }
.look-editorial .ed-why-card h2, .look-editorial .ed-why-card h3 { margin: 6px 0 0; font-family: var(--site-body); font-size: 19px; font-weight: 700; line-height: 1.3; color: var(--ed-on-band); }
.look-editorial .ed-why-card .site-em--italic { color: inherit; }
.look-editorial .ed-why-card p { margin: 0; font-size: 15px; color: var(--ed-on-band-2); }

/* values, row: "How it works" */
.look-editorial .ed-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.look-editorial .ed-step { padding: 30px 26px; border-radius: var(--ed-r); background: var(--site-surface); color: var(--site-ink); box-shadow: 0 0 0 1px var(--ed-line); }
.look-editorial .ed-step-n { display: block; font-size: 56px; line-height: 1; color: var(--ed-terra-text); }
.look-editorial .ed-step--2 .ed-step-n { color: var(--ed-cobalt); }
.look-editorial .ed-step--3 .ed-step-n { color: var(--ed-violet); }
.look-editorial .ed-step--4 .ed-step-n { color: var(--ed-mari-text); }
.look-editorial .ed-step h2, .look-editorial .ed-step h3 { margin: 18px 0 8px; font-family: var(--site-body); font-size: 19px; font-weight: 700; line-height: 1.3; }
.look-editorial .ed-step p { margin: 0; font-size: 15.5px; color: var(--ed-ink2); }

/* shared column counts */
.look-editorial .ed-c1 { grid-template-columns: minmax(0, 1fr); }
.look-editorial .ed-c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.look-editorial .ed-c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.look-editorial .ed-c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.look-editorial .ed-steps.ed-c1, .look-editorial .ed-stats.ed-c1 { max-width: 420px; margin-inline: auto; }

/* programs by age: the board's columns between hairlines */
.look-editorial .ed-ages { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ed-line); }
.look-editorial .ed-ages > li { display: flex; border-bottom: 1px solid var(--ed-line); }
.look-editorial .ed-age { display: flex; flex-direction: column; gap: 10px; width: 100%; padding: 28px 28px 30px; color: var(--site-ink); text-decoration: none; border-left: 1px solid var(--ed-line); }
.look-editorial .ed-c1 > li > .ed-age { border-left: 0; padding-left: 0; }
.look-editorial .ed-c2 > li:nth-child(2n+1) > .ed-age, .look-editorial .ed-c3 > li:nth-child(3n+1) > .ed-age,
.look-editorial .ed-c4 > li:nth-child(4n+1) > .ed-age { border-left: 0; padding-left: 0; }
.look-editorial .ed-age-num { font-size: 58px; line-height: 1; letter-spacing: -.02em; }
.look-editorial .ed-age b { font-size: 17px; line-height: 1.35; }
.look-editorial .ed-age-blurb { color: var(--ed-ink2); font-size: 15px; }
.look-editorial .ed-age-go { margin-top: auto; padding-top: 8px; font-weight: 800; font-size: 14px; color: var(--site-accent); display: inline-flex; align-items: center; gap: 6px; }
.look-editorial .ed-age:hover b { color: var(--site-accent); }
.look-editorial .ed-age:hover .ed-arrow { transform: translateX(3px); }

/* numbers */
.look-editorial .ed-stats-sec { padding: clamp(40px, 5vw, 72px) 0; }
.look-editorial .ed-stats { display: grid; margin: 0; border-top: 1px solid var(--ed-line); border-bottom: 1px solid var(--ed-line); }
.look-editorial .ed-stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; padding: 26px 28px; border-left: 1px solid var(--ed-line); }
.look-editorial .ed-stats.ed-c1 .ed-stat, .look-editorial .ed-stats.ed-c2 .ed-stat:nth-child(2n+1),
.look-editorial .ed-stats.ed-c3 .ed-stat:nth-child(3n+1), .look-editorial .ed-stats.ed-c4 .ed-stat:nth-child(4n+1) { border-left: 0; padding-left: 0; }
.look-editorial .ed-stat dd { margin: 0; font-size: clamp(48px, 5vw, 72px); line-height: .95; letter-spacing: -.02em; }
.look-editorial .ed-stat dt { font-size: 15px; color: var(--ed-ink2); }
.look-editorial .ed-stats--cards { gap: 18px; border: 0; }
.look-editorial .ed-stats--cards .ed-stat, .look-editorial .ed-stats--cards .ed-stat:nth-child(n) { padding: 28px; border: 0; border-radius: var(--ed-r); background: var(--site-surface); box-shadow: 0 0 0 1px var(--ed-line); }

/* resources: the board's white resource cards */
.look-editorial .ed-prod-ic--2 { background: var(--ed-terra); color: #fff; }
.look-editorial .ed-prod-ic--3 { background: var(--ed-cobalt); color: #fff; }

/* contact details: the board's "Visit" card */
.look-editorial .ed-visit { display: grid; grid-template-columns: minmax(0, 1fr); border-radius: 24px; overflow: hidden; background: var(--site-surface); color: var(--site-ink); box-shadow: 0 0 0 1px var(--ed-line); }
.look-editorial .ed-visit--map { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.look-editorial .ed-visit-info { display: flex; flex-direction: column; gap: 24px; padding: clamp(28px, 4vw, 52px); min-width: 0; }
.look-editorial .ed-visit-info .ed-h2 { font-size: clamp(38px, 4vw, 56px); margin-top: 12px; }
.look-editorial .ed-visit-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; margin: 0; }
.look-editorial .ed-visit-list.ed-c3, .look-editorial .ed-visit-list.ed-c4 { grid-template-columns: repeat(var(--ed-cols, 4), minmax(0, 1fr)); }
.look-editorial .ed-visit-list.ed-c3 { --ed-cols: 3; }
.look-editorial .ed-visit-list > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.look-editorial .ed-visit-list dt { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ed-ink2); }
.look-editorial .ed-visit-list dd { margin: 0; font-weight: 600; font-size: 16px; overflow-wrap: anywhere; }
.look-editorial .ed-visit-list a { color: inherit; text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; margin-block: -10px; }
.look-editorial .ed-visit-list a:hover { color: var(--site-accent); text-decoration: underline; text-underline-offset: 3px; }
.look-editorial .ed-visit-socials { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.look-editorial .ed-visit-socials a { width: 46px; height: 46px; border-radius: 99px; display: grid; place-items: center; color: var(--site-ink); box-shadow: inset 0 0 0 1px var(--ed-line); transition: background .2s, color .2s; }
.look-editorial .ed-visit-socials a:hover { background: var(--site-accent-fill); color: var(--site-on-accent); box-shadow: none; }
.look-editorial .ed-visit-map { position: relative; min-height: 360px; background: #eae3d4; }
.look-editorial .ed-visit-map img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.look-editorial .ed-visit-dir { position: absolute; left: 20px; bottom: 20px; min-height: 46px; padding: 0 18px; font-size: 14.5px; }

/* the mailing list in a page (the footer's ink card) */
.look-editorial .ed-news-sec .ed-news h2 { margin: 0; }
.look-editorial .ed-news h2 .site-em--italic { color: var(--site-accent-2); }

/* call to action */
.look-editorial .ed-cta-sec--band { padding: clamp(56px, 7vw, 96px) 0; }
.look-editorial .ed-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px 48px; flex-wrap: wrap; }
.look-editorial .ed-cta-t { min-width: 0; max-width: 46em; flex: 1 1 420px; }
.look-editorial .ed-cta h2, .look-editorial .ed-cta h1 { margin: 0; font-size: clamp(36px, 4.4vw, 60px); line-height: 1; letter-spacing: -.02em; }
.look-editorial .ed-cta-sec--band .site-em--italic { color: var(--site-accent-2); }
.look-editorial .ed-cta p { margin: 14px 0 0; font-size: 18px; color: var(--ed-on-band-2); }
.look-editorial .ed-cta--split { padding: clamp(28px, 4vw, 52px); border-radius: 24px; background: var(--site-surface); color: var(--site-ink); box-shadow: 0 0 0 1px var(--ed-line); }
.look-editorial .ed-cta--split p { color: var(--ed-ink2); }
.look-editorial .ed-cta .ed-btn { flex: none; }

/* pull quote */
.look-editorial .ed-pull { margin: 0 auto; max-width: 980px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.look-editorial .ed-pull-mark { font-size: 120px; height: 44px; line-height: .75; }
.look-editorial .ed-pull blockquote { margin: 0; font-size: clamp(32px, 4.2vw, 56px); line-height: 1.1; letter-spacing: -.015em; }
.look-editorial .ed-pull blockquote p { margin: 0 0 .4em; }
.look-editorial .ed-pull blockquote p:last-child { margin: 0; }
.look-editorial .ed-pull figcaption { font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ed-ink2); }
.look-editorial .ed-pull--plain { margin: 0; max-width: 900px; text-align: left; align-items: flex-start; padding-left: clamp(20px, 3vw, 36px); border-left: 4px solid var(--site-accent-2); gap: 16px; }
.look-editorial .ed-pull--plain blockquote { font-size: clamp(28px, 3.2vw, 42px); }

/* scholarship badges */
.look-editorial .ed-badges-wrap { display: flex; align-items: center; gap: 16px 28px; flex-wrap: wrap; }
.look-editorial .ed-badges-h { margin: 0; font-size: 30px; line-height: 1.1; }
.look-editorial .ed-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.look-editorial .ed-badges li { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px 0 8px; border-radius: 999px; background: var(--site-surface); color: var(--site-ink); box-shadow: inset 0 0 0 1px var(--ed-line); font-weight: 700; font-size: 15px; }
.look-editorial .ed-badge-tick { width: 32px; height: 32px; border-radius: 99px; display: grid; place-items: center; background: var(--site-accent-fill); color: var(--site-on-accent); flex: none; }

/* next class: one wide card */
.look-editorial .ed-next { display: grid; align-items: center; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); border-radius: var(--ed-r); overflow: hidden; background: var(--site-surface); color: var(--site-ink); box-shadow: 0 0 0 1px var(--ed-line); }
.look-editorial .ed-next-ph { position: relative; padding: 14px; }
.look-editorial .ed-next-ph .ed-card-frame { position: relative; border-radius: calc(var(--ed-r) - 8px); background: var(--site-ground); }
.look-editorial .ed-next-ph img { width: 100%; height: 100%; object-fit: cover; }
.look-editorial .ed-next-bd { display: flex; flex-direction: column; gap: 16px; padding: clamp(24px, 3.4vw, 44px); min-width: 0; }
.look-editorial .ed-next h2, .look-editorial .ed-next h3 { margin: 0; font-size: clamp(34px, 3.6vw, 52px); line-height: 1; letter-spacing: -.02em; }
.look-editorial .ed-next h2 a, .look-editorial .ed-next h3 a { color: inherit; text-decoration: none; }
.look-editorial .ed-next h2 a:hover, .look-editorial .ed-next h3 a:hover { text-decoration: underline; text-decoration-color: var(--site-accent-2); text-underline-offset: 5px; }
.look-editorial .ed-next-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; margin: 4px 0 0; padding: 18px 0 0; border-top: 1px solid var(--ed-line); }
.look-editorial .ed-next-facts dt { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ed-ink2); }
.look-editorial .ed-next-facts dd { margin: 2px 0 0; font-weight: 600; }
.look-editorial .ed-next-price { font-size: 22px; }

/* the brand-new hub: "classes are coming soon" */
.look-editorial .ed-soon { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border-radius: 24px; overflow: hidden; background: var(--site-surface); color: var(--site-ink); box-shadow: 0 0 0 1px var(--ed-line); }
.look-editorial .ed-soon-t { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(28px, 4vw, 52px); }
.look-editorial .ed-soon-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--site-accent-fill); color: var(--site-on-accent); }
.look-editorial .ed-soon-h { margin: 6px 0 0; font-size: clamp(36px, 4vw, 54px); line-height: 1; letter-spacing: -.02em; }
.look-editorial .ed-soon-p { margin: 0; color: var(--ed-ink2); font-size: 18px; max-width: 26em; }
.look-editorial .ed-soon-form { display: flex; align-items: center; padding: clamp(28px, 4vw, 52px); background: var(--site-ink); color: var(--site-ground); }
.look-editorial .ed-soon-form a:focus-visible, .look-editorial .ed-soon-form button:focus-visible, .look-editorial .ed-soon-form input:focus-visible { outline-color: var(--site-accent-2); }

/* ---- the class page ---- */
.look-editorial [data-class-page] > .grid { max-width: 1280px; padding-left: var(--ed-pad); padding-right: var(--ed-pad); padding-top: clamp(28px, 3vw, 44px); padding-bottom: clamp(56px, 7vw, 96px); gap: clamp(48px, 5vw, 64px); }
@media (min-width: 1024px) { .look-editorial [data-class-page] > .grid { grid-template-columns: minmax(0, 1fr) 380px; column-gap: clamp(40px, 5vw, 80px); } }
.look-editorial [data-class-page] > .grid > div:first-child { gap: clamp(48px, 5vw, 64px); }
.look-editorial .ed-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--ed-ink2); }
.look-editorial .ed-crumbs a { color: inherit; text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; margin-block: -12px; }
.look-editorial .ed-crumbs a:hover { color: var(--site-ink); text-decoration: underline; text-decoration-color: var(--site-accent-2); text-underline-offset: 4px; }
.look-editorial .ed-crumbs [aria-current] { color: var(--site-ink); font-weight: 600; max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.look-editorial .ed-cls-head { padding: clamp(24px, 3vw, 40px) 0 0; overflow-x: clip; }
.look-editorial .ed-cls-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: clamp(24px, 3vw, 36px) 0 clamp(28px, 3vw, 40px); }
.look-editorial .ed-cls-title-t { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; min-width: 0; }
.look-editorial .ed-cls-h { margin: 0; font-size: clamp(46px, 6.4vw, 96px); line-height: .95; letter-spacing: -.025em; }
.look-editorial .ed-cls-head--long .ed-cls-h { font-size: clamp(38px, 4.6vw, 66px); line-height: 1; }
.look-editorial .ed-share { flex: none; }
.look-editorial .ed-cls-photos { display: grid; grid-template-columns: minmax(0, 1fr) calc(33.333% - 14px); grid-template-rows: auto auto; align-items: start; gap: 14px; max-width: 1140px; }
.look-editorial .ed-cls-photos--1 { grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr; max-width: 760px; }
.look-editorial .ed-cls-photos--2 { grid-template-rows: auto auto; }
.look-editorial .ed-cls-photos figure { position: relative; margin: 0; overflow: hidden; border-radius: 6px; }
.look-editorial .ed-cls-photos img { width: 100%; height: 100%; object-fit: cover; display: block; }
.look-editorial .ed-cls-cover { grid-row: 1 / -1; border-radius: var(--ed-r) !important; }
.look-editorial .ed-cls-side { background: var(--ed-cobalt); padding: 10px 10px 0; }
.look-editorial .ed-cls-side--2 { background: var(--ed-mari); }
.look-editorial .ed-cls-side img { position: absolute; inset: 10px 10px 0; width: calc(100% - 20px); height: calc(100% - 10px); border-radius: 3px 3px 0 0; }
.look-editorial .ed-cls-tile { display: flex; align-items: center; gap: 22px; min-height: clamp(200px, 22vw, 300px); padding: clamp(28px, 4vw, 56px); border-radius: var(--ed-r); background: var(--site-tint-1); color: var(--site-ink); }
.look-editorial .ed-cls-tile .ed-pillar-ic { width: 76px; height: 76px; border-radius: 22px; }
.look-editorial .ed-cls-tile .ed-serif { font-size: clamp(44px, 6vw, 88px); line-height: 1; letter-spacing: -.02em; overflow-wrap: anywhere; min-width: 0; }
/* The photos open the main column, beside the booking panel
   (class_page/_photos); on a phone the wrapper is trimmed so they sit
   where they did when the head drew them. */
@media (max-width: 1023.98px) { .look-editorial [data-class-page-photos] { margin: -28px 0 -20px; } }

.look-editorial .ed-facts { display: grid; margin: 0; border-top: 1px solid var(--ed-line); border-bottom: 1px solid var(--ed-line); }
.look-editorial .ed-fact { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 22px 22px 24px; border-left: 1px solid var(--ed-line); }
.look-editorial .ed-facts .ed-fact:first-child { border-left: 0; padding-left: 0; }
.look-editorial .ed-fact dt { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ed-terra-text); }
.look-editorial .ed-fact-v { margin: 4px 0 0; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.05; overflow-wrap: break-word; }
.look-editorial .ed-fact-d { margin: 0; font-size: 14px; color: var(--ed-ink2); }

.look-editorial .ed-part { display: flex; flex-direction: column; min-width: 0; }
.look-editorial .ed-part-h { margin: 12px 0 24px; font-size: clamp(36px, 3.8vw, 52px); line-height: 1; letter-spacing: -.02em; }
.look-editorial .ed-part-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.look-editorial .ed-part-head .ed-textlink { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px; }
.look-editorial .ed-cls-prose { color: var(--ed-ink2); font-size: 18px; line-height: 1.7; max-width: 40em; }
.look-editorial .ed-cls-prose p { margin: 0 0 1em; }
.look-editorial .ed-cls-prose p:last-child { margin-bottom: 0; }
.look-editorial .ed-cls-prose ul, .look-editorial .ed-cls-prose ol { margin: 0 0 1em; padding-left: 1.3em; }
.look-editorial .ed-cls-prose li { margin: .25em 0; }
.look-editorial .ed-cls-prose li::marker { color: var(--site-accent); }
.look-editorial .ed-cls-prose .activity-description-heading { margin: 1.3em 0 .4em; font-family: var(--site-display); font-weight: 400; font-size: 28px; line-height: 1.1; color: var(--site-ink); }
.look-editorial .ed-access h3 { margin: 0 0 14px; font-family: var(--site-body); font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ed-ink2); }
.look-editorial .ed-access { margin-top: 32px; }
.look-editorial .ed-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; padding: 0; list-style: none; }
.look-editorial .ed-chips li { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 99px; background: var(--site-surface); box-shadow: inset 0 0 0 1px var(--ed-line); font-size: 14.5px; font-weight: 600; }
.look-editorial .ed-access-note { margin: 0; color: var(--ed-ink2); white-space: pre-line; }

.look-editorial .ed-dates { display: grid; grid-template-columns: repeat(var(--ed-dw, 4), minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.look-editorial .ed-dates--w1 { --ed-dw: 1; max-width: 160px; } .look-editorial .ed-dates--w2 { --ed-dw: 2; max-width: 320px; } .look-editorial .ed-dates--w3 { --ed-dw: 3; max-width: 480px; }
.look-editorial .ed-dates--w5 { --ed-dw: 5; } .look-editorial .ed-dates--w6 { --ed-dw: 6; }
.look-editorial .ed-date { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 10px 16px; border-radius: 14px; background: var(--site-surface); color: var(--site-ink); box-shadow: 0 0 0 1px var(--ed-line); text-align: center; }
.look-editorial .ed-date small { font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--ed-terra-text); line-height: 1.3; }
.look-editorial .ed-date b { font-size: 40px; line-height: 1; }
.look-editorial .ed-date span { font-size: 13.5px; color: var(--ed-ink2); }
.look-editorial .ed-date--next { box-shadow: 0 0 0 2px var(--site-accent); }
.look-editorial .ed-date--next span { color: var(--site-accent); font-weight: 800; }
.look-editorial .ed-date--past { opacity: .55; }

.look-editorial .ed-schol { display: flex; align-items: flex-start; gap: 18px; padding: 26px 28px; border-radius: var(--ed-r); background: var(--site-soft); color: var(--site-ink); }
.look-editorial .ed-schol .ed-res-ic { margin: 0; flex: none; }
.look-editorial .ed-schol h2 { margin: 2px 0 6px; font-size: 28px; line-height: 1.1; }
.look-editorial .ed-schol p { margin: 0; color: var(--ed-ink2); }

.look-editorial .ed-cls-teachers { display: flex; flex-direction: column; gap: 28px; margin: 0; padding: 0; list-style: none; }
.look-editorial .ed-cls-teacher { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 28px; align-items: center; }
.look-editorial .ed-cls-teacher .ed-teacher-ph { margin: 0; }
.look-editorial .ed-cls-teacher .ed-initial { font-size: 96px; }
.look-editorial .ed-cls-teacher > div { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; }
.look-editorial .ed-cls-teacher h3 { margin: 0; font-size: 36px; line-height: 1; }
.look-editorial .ed-cls-teacher h3 a { color: inherit; text-decoration: none; }
.look-editorial .ed-cls-teacher h3 a:hover { color: var(--site-accent); }
.look-editorial .ed-cls-teacher p { margin: 0; color: var(--ed-ink2); max-width: 36em; }
.look-editorial .ed-cls-teacher .ed-textlink { margin-top: 4px; }

.look-editorial .ed-where .ed-visit-info { gap: 18px; }
.look-editorial .ed-where-place { display: flex; gap: 12px; margin: 0; }
.look-editorial .ed-where-place .ed-meta-ic { width: 20px; height: 20px; margin-top: 3px; color: var(--site-accent); }
.look-editorial .ed-where-place > span { display: flex; flex-direction: column; }
.look-editorial .ed-where-place b { font-size: 18px; }
.look-editorial .ed-where-place > span > span { color: var(--ed-ink2); }
.look-editorial .ed-where-note { margin: 0; font-size: 14px; color: var(--ed-ink2); }
.look-editorial .ed-where .ed-visit-map { min-height: 300px; }

.look-editorial .ed-cls-quotes { margin: 0; padding: 0; list-style: none; }
.look-editorial .ed-cls-quotes--one { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
.look-editorial .ed-cls-quotes blockquote { font-size: 23px; }
.look-editorial .ed-quote-by { margin: 0; font-size: 14px; color: var(--ed-ink2); }
.look-editorial .ed-quote-by b { color: var(--site-ink); }

/* The booking panel (storefront/class_page/_book_panel, shared — W2-4 wires
   it to ActivityBookingHelper): styled only through its data attributes,
   its utility classes and the button's aria-label, never by hiding or
   reordering its children, so lines it gains (refunds, the session
   summary, sign in) show as written. A white card on a hairline, the price
   large in the serif, the seats bar green, the button the green pill. */
.look-editorial [data-class-page-part="book_panel"] { border: 0; border-radius: 22px; background: var(--site-surface); color: var(--site-ink); box-shadow: 0 0 0 1px var(--ed-line), 0 30px 60px -40px rgba(28, 43, 34, .35); padding: 28px; }
.look-editorial [data-class-page-part="book_panel"] [data-price] { font-family: var(--site-display); font-weight: 400; font-size: 56px; letter-spacing: -.02em; line-height: .95; }
.look-editorial [data-class-page-part="book_panel"] [data-book-part="seats-meter"] { background: var(--ed-line); }
.look-editorial [data-class-page-part="book_panel"] [data-book-part="seats-fill"] { background: var(--site-accent-fill); }
.look-editorial [data-class-page-part="book_panel"] [data-book-part="seats-label"] { color: var(--ed-terra-text); }
.look-editorial [data-class-page-part="book_panel"] [data-book-part="options"] { border-top-color: var(--ed-line); }
.look-editorial [data-class-page-part="book_panel"] a[data-book-part="cta"],
.look-editorial [data-class-page-bar] a { min-height: 54px; border-radius: var(--site-radius-button); background: var(--site-accent-fill); color: var(--site-on-accent); font-weight: 700; font-size: 16px; }
.look-editorial [data-class-page-part="book_panel"] a[data-book-part="cta"]:hover { filter: none; box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--site-accent-fill) 70%, transparent); }
.look-editorial [data-class-page-part="book_panel"] [data-book-part="action"] button[disabled] { width: 100%; justify-content: center; min-height: 54px; }
.look-editorial [data-class-page-bar] { border-top-color: var(--ed-line); }
.look-editorial [data-class-page-bar] [data-book-part="price"] { font-family: var(--site-display); font-weight: 400; font-size: 26px; }

.look-editorial .ed-related { margin-top: 0; }

/* ---- the teacher page ---- */
.look-editorial [data-teacher-page] { max-width: 1280px; padding-left: var(--ed-pad); padding-right: var(--ed-pad); }
.look-editorial .ed-tp-head { padding: clamp(24px, 3vw, 40px) 0 clamp(56px, 7vw, 104px); }
.look-editorial .ed-tp-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; margin-top: clamp(28px, 3vw, 44px); }
.look-editorial .ed-tp-fig { position: relative; max-width: 480px; width: 100%; }
.look-editorial .ed-tp-tile { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; background: var(--ed-terra); }
.look-editorial .ed-tp-tile img { object-position: 50% 28%; }
.look-editorial .ed-tp-initial { display: grid; place-items: center; background: var(--site-tint-1); border-radius: var(--ed-r); }
.look-editorial .ed-tp-initial span { font-size: clamp(140px, 18vw, 240px); line-height: 1; color: var(--site-ink); }
.look-editorial .ed-tp-spark { left: auto; right: -30px; top: -26px; }
.look-editorial .ed-tp-t { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; min-width: 0; }
.look-editorial .ed-tp-h { margin: 0; font-size: clamp(48px, 6.6vw, 100px); line-height: .95; letter-spacing: -.025em; }
.look-editorial .ed-tp-h--long { font-size: clamp(40px, 5vw, 72px); }
.look-editorial .ed-tp-t .ed-hero-ctas { margin-top: 6px; }
.look-editorial .ed-tp-story { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid var(--ed-line); }
.look-editorial .ed-tp-story .ed-part-h { margin-bottom: 0; }
.look-editorial .ed-tp-prose { font-size: clamp(17px, 1.4vw, 19px); }
.look-editorial .ed-tp-classes { padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid var(--ed-line); }
.look-editorial .ed-tp-empty { font-size: 22px; }
.look-editorial .ed-tp-empty .ed-textlink { font-family: var(--site-body); font-size: 16px; }
.look-editorial .ed-tp-msg { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 40px); padding: clamp(28px, 4vw, 52px); border-radius: 24px; background: var(--site-soft); color: var(--site-ink); }
.look-editorial .ed-tp-msg h2 { margin: 0; font-size: clamp(34px, 4vw, 56px); line-height: 1; max-width: 16ch; }

/* ---- the shop (/shop) ---- */
/* /shop on the look's own container, so the heading lines up with the
   header (the shared page is 1240px with a 32px gutter). */
.look-editorial [data-part="shop-page"] { max-width: 1280px; padding-inline: var(--ed-pad); }
.look-editorial .ed-shop-head { display: flex; flex-direction: column; }
.look-editorial .ed-shop-head .ed-h2 { margin-top: 14px; }
.look-editorial .ed-shop-sub { margin: 16px 0 0; color: var(--ed-ink2); font-size: 18px; }
.look-editorial .ed-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.look-editorial .ed-filters a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--site-surface); color: var(--site-ink); box-shadow: inset 0 0 0 1px var(--ed-line); font-weight: 700; font-size: 14.5px; text-decoration: none; }
.look-editorial .ed-filters a:hover { box-shadow: inset 0 0 0 1.5px var(--site-ink); }
.look-editorial .ed-filters a[aria-current="page"] { background: var(--site-ink); color: var(--site-ground); box-shadow: none; }

/* ---- the phone menu (storefront/chrome/_phone_menu, shared): the sheet on
   the paper, the links in the serif between hairlines, the current one in
   the green italic, the main button the green pill, the call row a white
   card with the green tile. ---- */
.look-editorial [data-phone-menu-target="sheet"] { background: var(--site-ground); color: var(--site-ink); }
.look-editorial [data-phone-menu][open] > summary { position: fixed; top: 14px; right: var(--ed-pad); }
.look-editorial [data-phone-menu-target="sheet"] > div:first-child { min-height: 76px; padding-right: 84px; border-bottom-color: var(--ed-line); }
.look-editorial [data-phone-menu-target="sheet"] > div:first-child span { font-family: var(--site-display); font-weight: 400; font-size: 24px; }
.look-editorial [data-phone-menu-target="sheet"] nav a { min-height: 64px; border-bottom-color: var(--ed-line); font-family: var(--site-display); font-weight: 400; font-size: 32px; letter-spacing: -.01em; }
.look-editorial [data-phone-menu-target="sheet"] nav a[aria-current="page"] { color: var(--site-accent); font-style: italic; }
.look-editorial [data-phone-menu-target="sheet"] > div:nth-child(3) > a:not([data-phone-menu-call]) { min-height: 54px; border-radius: var(--site-radius-button); font-weight: 700; }
.look-editorial [data-phone-menu-target="sheet"] > div:nth-child(3) > a:not(:first-child):not([data-phone-menu-call]) { border: 0; background: var(--site-surface); box-shadow: inset 0 0 0 1px var(--ed-line); }
.look-editorial [data-phone-menu-call] { border-color: var(--ed-line); background: var(--site-surface); border-radius: var(--ed-r); }
.look-editorial [data-phone-menu-target="sheet"] ul a { border-color: var(--ed-line); border-radius: 99px; }

/* phase 2: tablet */
@media (max-width: 1024px) {
  .look-editorial .ed-why-wrap { grid-template-columns: minmax(0, 1fr); }
  .look-editorial .ed-why-grid--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .look-editorial .ed-why-grid--wide.ed-odd > li:last-child { grid-column: 1 / -1; }
  .look-editorial .ed-steps.ed-c4, .look-editorial .ed-ages.ed-c4, .look-editorial .ed-stats.ed-c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .look-editorial .ed-ages.ed-c4 > li:nth-child(4n+1) > .ed-age { border-left: 0; padding-left: 0; }
  .look-editorial .ed-ages.ed-c4 > li:nth-child(2n+1) > .ed-age { border-left: 0; padding-left: 0; }
  .look-editorial .ed-ages.ed-c4 > li:nth-child(2n) > .ed-age { border-left: 1px solid var(--ed-line); padding-left: 28px; }
  .look-editorial .ed-stats.ed-c4 .ed-stat:nth-child(2n+1) { border-left: 0; padding-left: 0; }
  .look-editorial .ed-stats.ed-c4 .ed-stat:nth-child(2n) { border-left: 1px solid var(--ed-line); padding-left: 28px; }
  .look-editorial .ed-stats.ed-c4 .ed-stat:nth-child(n+3) { border-top: 1px solid var(--ed-line); }
  .look-editorial .ed-stats--cards.ed-c4 .ed-stat:nth-child(n) { border: 0; padding: 28px; }
  .look-editorial .ed-visit--map { grid-template-columns: minmax(0, 1fr); }
  .look-editorial .ed-visit-map { min-height: 300px; }
  .look-editorial .ed-visit-list.ed-c3, .look-editorial .ed-visit-list.ed-c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .look-editorial .ed-visit-list.ed-c3 > div:last-child { grid-column: 1 / -1; }
  .look-editorial .ed-next { grid-template-columns: minmax(0, 1fr); }
  .look-editorial .ed-soon { grid-template-columns: minmax(0, 1fr); }
  .look-editorial .ed-tp-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .look-editorial .ed-tp-story { grid-template-columns: minmax(0, 1fr); }
  .look-editorial .ed-tp-spark { display: none; }
}

/* phase 2: phone */
@media (max-width: 700px) {
  .look-editorial .ed-why-grid, .look-editorial .ed-why-grid--wide { grid-template-columns: minmax(0, 1fr); }
  .look-editorial .ed-why-grid.ed-odd > li:last-child { grid-column: auto; }
  .look-editorial .ed-why-card { padding: 22px; }
  .look-editorial .ed-steps, .look-editorial .ed-steps.ed-c2, .look-editorial .ed-steps.ed-c3, .look-editorial .ed-steps.ed-c4 { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .look-editorial .ed-step { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 14px; padding: 22px; }
  .look-editorial .ed-step-n { grid-row: span 2; font-size: 46px; }
  .look-editorial .ed-step h2, .look-editorial .ed-step h3 { margin: 4px 0 6px; }
  .look-editorial .ed-ages, .look-editorial .ed-ages.ed-c2, .look-editorial .ed-ages.ed-c3, .look-editorial .ed-ages.ed-c4 { grid-template-columns: minmax(0, 1fr); }
  .look-editorial .ed-ages > li > .ed-age, .look-editorial .ed-ages.ed-c4 > li:nth-child(n) > .ed-age { border-left: 0; padding: 22px 0; }
  .look-editorial .ed-age-num { font-size: 48px; }
  .look-editorial .ed-stats, .look-editorial .ed-stats.ed-c3, .look-editorial .ed-stats.ed-c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .look-editorial .ed-stats.ed-c1 { grid-template-columns: minmax(0, 1fr); }
  .look-editorial .ed-stat, .look-editorial .ed-stats .ed-stat:nth-child(n) { border-left: 0; padding: 20px 12px 20px 0; border-top: 0; }
  .look-editorial .ed-stats .ed-stat:nth-child(n+3) { border-top: 1px solid var(--ed-line); }
  .look-editorial .ed-stats.ed-c3 .ed-stat:last-child { grid-column: 1 / -1; }
  .look-editorial .ed-stats--cards .ed-stat:nth-child(n) { padding: 20px; border: 0; }
  .look-editorial .ed-stats--cards { gap: 12px; }
  .look-editorial .ed-stat dd { font-size: 44px; }
  .look-editorial .ed-visit-list, .look-editorial .ed-visit-list.ed-c3, .look-editorial .ed-visit-list.ed-c4 { grid-template-columns: minmax(0, 1fr); }
  .look-editorial .ed-visit-list.ed-c3 > div:last-child { grid-column: auto; }
  .look-editorial .ed-visit-map { min-height: 240px; }
  .look-editorial .ed-cta .ed-btn { width: 100%; }
  .look-editorial .ed-cta-t { flex-basis: 100%; }
  .look-editorial .ed-pull-mark { font-size: 96px; height: 34px; }
  .look-editorial .ed-badges-h { font-size: 26px; }
  .look-editorial .ed-badges li { min-height: 48px; }
  .look-editorial .ed-next-facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .look-editorial .ed-soon-t, .look-editorial .ed-soon-form { padding: 24px; }

  .look-editorial .ed-cls-title { flex-direction: column; align-items: flex-start; gap: 18px; }
  .look-editorial .ed-cls-h { font-size: clamp(40px, 11vw, 56px); }
  .look-editorial .ed-cls-head--long .ed-cls-h { font-size: clamp(32px, 8.4vw, 44px); }
  .look-editorial .ed-cls-photos { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto; height: auto; gap: 10px; }
  .look-editorial .ed-cls-photos--1 { grid-template-columns: minmax(0, 1fr); }
  .look-editorial .ed-cls-cover { grid-column: 1 / -1; grid-row: auto; }
  .look-editorial .ed-cls-side { display: none; }
  .look-editorial .ed-cls-tile { gap: 16px; }
  .look-editorial .ed-cls-tile .ed-pillar-ic { width: 56px; height: 56px; border-radius: 16px; }
  .look-editorial .ed-facts.ed-c3, .look-editorial .ed-facts.ed-c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .look-editorial .ed-fact { padding: 18px 12px 18px 16px; }
  .look-editorial .ed-facts.ed-c3 .ed-fact:nth-child(odd), .look-editorial .ed-facts.ed-c4 .ed-fact:nth-child(odd) { border-left: 0; padding-left: 0; }
  .look-editorial .ed-facts.ed-c3 .ed-fact:nth-child(n+3), .look-editorial .ed-facts.ed-c4 .ed-fact:nth-child(n+3) { border-top: 1px solid var(--ed-line); }
  .look-editorial .ed-facts.ed-c3 .ed-fact:last-child { grid-column: 1 / -1; }
  .look-editorial .ed-dates { grid-template-columns: repeat(var(--ed-dn, 3), minmax(0, 1fr)); gap: 8px; }
  .look-editorial .ed-dates--n1 { --ed-dn: 1; } .look-editorial .ed-dates--n2 { --ed-dn: 2; } .look-editorial .ed-dates--n4 { --ed-dn: 4; }
  .look-editorial .ed-date b { font-size: 34px; }
  .look-editorial .ed-schol { padding: 22px; gap: 14px; }
  .look-editorial .ed-schol h2 { font-size: 24px; }
  .look-editorial .ed-cls-teacher { grid-template-columns: 112px minmax(0, 1fr); gap: 18px; align-items: start; }
  .look-editorial .ed-cls-teacher .ed-initial { font-size: 64px; }
  .look-editorial .ed-cls-teacher h3 { font-size: 28px; }
  .look-editorial [data-class-page-part="book_panel"] { padding: 22px; }

  .look-editorial .ed-tp-grid { grid-template-columns: minmax(0, 1fr); }
  .look-editorial .ed-tp-fig { max-width: 340px; }
  .look-editorial .ed-tp-h { font-size: clamp(44px, 12vw, 60px); }
  .look-editorial .ed-tp-h--long { font-size: clamp(36px, 9.4vw, 48px); }
  .look-editorial .ed-tp-t .ed-hero-ctas .ed-btn { width: 100%; }
  .look-editorial .ed-tp-msg .ed-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .look-editorial *, .look-editorial *::before, .look-editorial *::after { transition: none !important; animation: none !important; }
  .look-editorial .ed-card:hover .ed-card-frame img, .look-editorial .ed-gallery button:hover img, .look-editorial .ed-btn--primary:hover { transform: none; }
}

/* Phones see three classes (shared, W2-5): the band already ends on its own
   "See all N classes", so the shared link under the cards stays hidden. */
.look-editorial .ed-classes [data-phone-more] { display: none; }

/* W2.1/W2.2 — the booking panel's field group, and the class page's
   highlights. The shared panel (storefront/class_page/_book_panel, board 15
   option B) draws one bordered [data-book-part="fields"]: the Session, then
   the Option and Hours cells, each a label[data-book-field] with
   a [data-book-part="choice-label"] caption over its native
   [data-book-part="select"] (the select's padding is the cell's tap target:
   colour and type it, never pad it). Hours is [data-book-part="hours"]
   (never set its display: the `hidden` class shows and hides it). Children is the
   [data-book-part="children"] stepper (its buttons "step"). The rule over
   "If you cancel" is [data-book-part="refund"]'s. The highlights part
   (storefront/class_page/_highlights) is [data-class-page-part="highlights"]
   with data-highlight-part icon, title and body. */
.look-editorial [data-class-page-part="book_panel"] [data-book-part="fields"] { border: 1px solid var(--ed-line); border-radius: 14px; background: var(--site-ground); }
.look-editorial [data-class-page-part="book_panel"] [data-book-part="fields"] :is([data-book-part="sessions"], [data-book-field]) { border-color: var(--ed-line); }
.look-editorial [data-class-page-part="book_panel"] [data-book-part="fields"] [data-book-part="select"] { font: 500 16px var(--site-body); color: var(--site-ink); }
.look-editorial [data-class-page-part="book_panel"] [data-book-part="fields"] [data-book-part="chevron"] { color: var(--site-ink); opacity: .7; }
.look-editorial [data-class-page-part="book_panel"] [data-book-part="refund"] { border-color: var(--ed-line); }
.look-editorial [data-class-page-part="highlights"] [data-highlight-part="icon"] { border-radius: 999px; background: transparent; border: 1px solid var(--ed-line); color: var(--site-accent); }
.look-editorial [data-class-page-part="highlights"] [data-highlight-part="title"] { font-family: var(--site-display); font-weight: 400; font-size: 21px; letter-spacing: -.01em; }
.look-editorial [data-class-page-part="highlights"] [data-highlight-part="body"] { opacity: 1; color: var(--ed-ink2); }

/* ---- members-only pages (website builder Wave 4) ----
   The teaser (looks/editorial/members/_locked, board r5-members-02) and the
   strip over a page a member opens (members/_strip, board 03's top row).
   The peek is grey shapes under a fade, never the page; the lock card sits
   over it. On a phone the join card follows the peek. */
.look-editorial .ed-mem-head { padding: clamp(48px, 6vw, 84px) 0 clamp(32px, 4vw, 48px); }
.look-editorial .ed-mem-crumbs { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0; padding: 0; list-style: none; font-size: 14px; font-weight: 600; color: var(--ed-ink2); }
.look-editorial .ed-mem-crumbs a { color: inherit; text-decoration: none; }
.look-editorial .ed-mem-crumbs a:hover { color: var(--site-accent); }
.look-editorial .ed-mem-pillrow { margin: 22px 0 0; }
.look-editorial .ed-mem-lockpill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 11px; border-radius: 999px; background: var(--site-surface); box-shadow: inset 0 0 0 1px var(--ed-line); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--site-accent); }
.look-editorial .ed-mem-head h1 { margin: 22px 0 20px; font-size: clamp(46px, 6.4vw, 92px); line-height: .98; letter-spacing: -.025em; }
.look-editorial .ed-mem-lede { margin: 0; max-width: 36em; font-size: clamp(17px, 1.35vw, 20px); color: var(--ed-ink2); }
.look-editorial .ed-mem-body { padding-bottom: clamp(72px, 9vw, 120px); }
.look-editorial .ed-mem-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.look-editorial .ed-mem-grid--solo { grid-template-columns: minmax(0, 1fr); max-width: calc(860px + 2 * var(--ed-pad)); margin-left: 0; }
.look-editorial .ed-mem-peek { position: relative; min-height: 460px; border-radius: 24px; overflow: hidden; background: var(--site-surface); box-shadow: 0 0 0 1px var(--ed-line); }
.look-editorial .ed-mem-peek-inner { display: flex; flex-direction: column; gap: 18px; padding: clamp(22px, 3vw, 36px); filter: blur(2px); opacity: .9; user-select: none; pointer-events: none; }
.look-editorial .ed-mem-bar { display: block; height: 12px; border-radius: 9px; background: color-mix(in srgb, var(--site-ink) 11%, var(--site-surface)); }
.look-editorial .ed-mem-bar--head { width: 34%; height: 26px; margin-top: 6px; background: color-mix(in srgb, var(--site-ink) 18%, var(--site-surface)); }
.look-editorial .ed-mem-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.look-editorial .ed-mem-file { display: block; height: 70px; border-radius: 14px; background: linear-gradient(color-mix(in srgb, var(--ed-terra) 55%, var(--site-ground)), color-mix(in srgb, var(--ed-terra) 55%, var(--site-ground))) 16px 50% / 38px 38px no-repeat, var(--site-ground); }
.look-editorial .ed-mem-tile { display: block; aspect-ratio: 16 / 10; border-radius: 14px; background: color-mix(in srgb, var(--site-ink) 12%, var(--site-surface)); }
.look-editorial .ed-mem-fade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--site-surface) 25%, transparent) 40%, color-mix(in srgb, var(--site-ground) 85%, transparent) 100%); }
.look-editorial .ed-mem-card { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(440px, calc(100% - 40px)); display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 30px; border-radius: 20px; background: var(--site-surface); text-align: center; box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--site-ink) 45%, transparent), 0 0 0 1px var(--ed-line); }
.look-editorial .ed-mem-lk { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--site-accent-fill); color: var(--site-on-accent); }
.look-editorial .ed-mem-card h2 { margin: 0; font-size: 32px; line-height: 1.05; }
.look-editorial .ed-mem-card p { margin: 0; font-size: 15.5px; color: var(--ed-ink2); }
.look-editorial .ed-mem-btn-sm { min-height: 44px; margin-top: 6px; padding: 0 18px; font-size: 14.5px; }
.look-editorial .ed-mem-already { margin: 0; text-align: center; font-size: 15px; color: var(--ed-ink2); }
.look-editorial .ed-mem-already a { font-weight: 800; color: var(--site-accent); text-decoration: none; border-bottom: 1.5px solid var(--site-accent-2); }
.look-editorial .ed-mem-join { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 20px; padding: clamp(26px, 3vw, 36px); border-radius: 22px; background: var(--site-surface); box-shadow: 0 0 0 1px var(--ed-line); }
.look-editorial .ed-mem-join h2 { margin: -6px 0 0; font-size: clamp(34px, 3.2vw, 44px); line-height: 1; letter-spacing: -.015em; }
.look-editorial .ed-mem-price { display: flex; align-items: baseline; gap: 8px; margin: 0; }
.look-editorial .ed-mem-price b { font-size: 64px; line-height: 1; letter-spacing: -.02em; }
.look-editorial .ed-mem-price span { font-weight: 600; color: var(--ed-ink2); }
.look-editorial .ed-mem-perks { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; font-size: 16px; font-weight: 600; }
.look-editorial .ed-mem-perks li { display: flex; gap: 12px; align-items: flex-start; }
.look-editorial .ed-mem-tk { flex: none; width: 26px; height: 26px; margin-top: 1px; border-radius: 99px; display: grid; place-items: center; background: color-mix(in srgb, var(--site-accent) 10%, var(--site-surface)); color: var(--site-accent); }
.look-editorial .ed-mem-join .ed-btn { width: 100%; }
.look-editorial .ed-mem-note { margin: -10px 0 0; text-align: center; font-size: 13.5px; color: var(--ed-ink2); }
.look-editorial .ed-mem-shut { display: flex; align-items: center; justify-content: center; min-height: 52px; margin: 0; padding: 0 20px; border-radius: var(--site-radius-button); border: 1.5px dashed color-mix(in srgb, var(--site-ink) 35%, transparent); text-align: center; font-weight: 700; font-size: 15px; color: var(--ed-ink2); }
.look-editorial .ed-mem-ask { align-self: center; margin-top: -8px; font-weight: 800; font-size: 15px; color: var(--site-accent); text-decoration: none; border-bottom: 1.5px solid var(--site-accent-2); }
.look-editorial .ed-mem-fine { display: flex; gap: 10px; margin: 0; padding-top: 16px; border-top: 1px solid var(--ed-line); font-size: 13.5px; color: var(--ed-ink2); }
.look-editorial .ed-mem-fine svg { flex: none; margin-top: 3px; color: var(--site-accent); }
.look-editorial .ed-mem-strip { padding-top: clamp(28px, 4vw, 56px); }
.look-editorial .ed-mem-strip .ed-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: 14px; font-weight: 600; color: var(--ed-ink2); }
.look-editorial .ed-mem-memberpill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 9px; border-radius: 999px; background: color-mix(in srgb, var(--site-accent) 9%, var(--site-surface)); color: var(--site-accent); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.look-editorial .ed-mem-visnote { display: inline-flex; align-items: center; gap: 6px; }
.look-editorial .ed-mem-who { margin-left: auto; }
.look-editorial .ed-mem-strip + .site-flow { padding-top: 0; }
.look-editorial .ed-mem-strip + .site-flow > .ed-sec:first-child:not(.ed-sec--soft):not(.ed-band) { padding-top: clamp(28px, 3vw, 44px); }
@media (max-width: 1024px) {
  .look-editorial .ed-mem-grid { grid-template-columns: minmax(0, 1fr); }
  .look-editorial .ed-mem-join { position: static; }
  .look-editorial .ed-mem-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .look-editorial .ed-mem-tiles > :nth-child(3) { display: none; }
}
@media (max-width: 700px) {
  .look-editorial .ed-mem-head h1 { margin: 18px 0 16px; }
  .look-editorial .ed-mem-tiles { grid-template-columns: minmax(0, 1fr); }
  .look-editorial .ed-mem-tiles > :nth-child(2) { display: none; }
  .look-editorial .ed-mem-peek { min-height: 440px; }
  .look-editorial .ed-mem-card { padding: 24px 20px; }
  .look-editorial .ed-mem-card h2 { font-size: 27px; }
  .look-editorial .ed-mem-price b { font-size: 52px; }
  .look-editorial .ed-mem-who { margin-left: 0; width: 100%; }
}

/* ---- The service card (services/_card) on /services --------------------- */
/* Book is this look's primary button and Request its outlined one; the
   "By request" line is the AA-safe accent (--site-accent-text) where the
   partial says blue. application.css draws Original's; every look redraws
   all three hooks (test/lint/look_service_hooks_test.rb). */
.look-editorial [data-service-book] { min-height: 44px; padding: 0 18px; border-radius: var(--site-radius-button); background: var(--site-accent-fill); color: var(--site-on-accent); font: 700 14.5px/1 var(--site-body); }
.look-editorial [data-service-book]:hover { background: var(--site-accent-fill); box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--site-accent-fill) 70%, transparent); }
.look-editorial [data-service-request] { min-height: 44px; padding: 0 18px; border: 0; border-radius: var(--site-radius-button); background: var(--site-surface); color: var(--site-ink); box-shadow: inset 0 0 0 1px var(--ed-line); font: 700 14.5px/1 var(--site-body); }
.look-editorial [data-service-request]:hover { background: var(--site-surface); box-shadow: inset 0 0 0 1.5px var(--site-ink); }
.look-editorial [data-service-status] { color: var(--site-accent-text); }

/* ---- A dark ground (body[data-ground="dark"]: a hub's own colours) ----
   The terracotta text step was darkened for a light page, and a class
   card's date badge is white. */
.look-editorial[data-ground="dark"] { --ed-terra-text: var(--site-accent); }
.look-editorial[data-ground="dark"] .ed-when { background: var(--site-dark-band); }
.look-editorial[data-ground="dark"] .ed-when b { color: var(--site-ink); }
