/* Drake Sailing Suppers: editorial homepage and suppers archive ("The Admiralty Mess Book").
   Design direction from Gemini, 24 Nov 2026. Scoped to body.drake-editorial so trip and
   BVI pages, which share styles.css, are untouched. */

body.drake-editorial {
  --ed-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --ed-sans: "Source Sans 3", system-ui, sans-serif;
  --ed-label: "Montserrat", system-ui, sans-serif;
  --ed-ink-2: rgba(14, 58, 92, 0.74);
  --ed-rule: rgba(14, 58, 92, 0.16);
  --ed-brass: rgba(232, 180, 72, 0.55);
  --ed-brass-soft: rgba(232, 180, 72, 0.22);
  font-family: var(--ed-sans);
  font-size: 17px;
  line-height: 1.62;
  color: var(--sc-navy);
  background: var(--sc-cream);
  border-top: 3px solid var(--sc-gold);
}
.drake-editorial img { max-width: 100%; }
.drake-editorial a:focus-visible,
.drake-editorial button:focus-visible { outline: 2px solid var(--sc-navy); outline-offset: 3px; }
.drake-editorial .on-navy a:focus-visible,
.drake-editorial .on-navy button:focus-visible { outline-color: var(--sc-gold); }

.ed-wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.ed-eyebrow {
  font-family: var(--ed-label);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--drake-blue);
  margin: 0 0 14px;
}
.on-navy .ed-eyebrow { color: var(--sc-gold); }
.ed-h2 {
  font-family: var(--ed-serif);
  font-weight: 600;
  font-size: 48px;
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin: 0 0 20px;
  color: inherit;
}
.on-navy { background: var(--sc-navy); color: var(--sc-cream); }

/* ===== 1. Masthead ===== */
.ed-masthead { background: var(--sc-cream); border-bottom: 1px solid var(--ed-rule); }
.ed-masthead .ed-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.ed-masthead .ed-logo { display: flex; align-items: center; gap: 12px; }
.ed-masthead .ed-logo .shield { height: 38px; width: auto; }
.ed-masthead .ed-logo .wordmark { height: 22px; width: auto; }
.ed-nav { display: flex; gap: 28px; }
.ed-nav a {
  font-family: var(--ed-label);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sc-navy);
  white-space: nowrap;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.ed-nav a:hover { color: var(--drake-blue); border-bottom-color: var(--sc-gold); }

/* ===== 2. Evening hero ===== */
.ed-hero { padding: 64px 0 72px; }
.ed-hero .ed-wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px; align-items: center; }
.ed-hero-text { grid-column: 1 / span 6; }
.ed-hero-plates { grid-column: 7 / span 6; }
.ed-hero h1 {
  font-family: var(--ed-serif);
  font-weight: 600;
  font-size: 72px;
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  color: var(--sc-cream);
}
.ed-hero h1 em { font-style: italic; color: var(--sc-gold); font-weight: 600; }
.ed-hero .ed-lede { font-size: 18px; max-width: 44ch; color: rgba(250, 248, 243, 0.86); margin: 0 0 32px; }
.ed-hero-links { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.ed-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ed-label); font-weight: 700; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 14px 20px; border: 1px solid var(--sc-gold); color: var(--sc-gold);
  transition: background 140ms ease, color 140ms ease;
}
.ed-btn:hover { background: var(--sc-gold); color: var(--sc-navy); }
.ed-textlink {
  font-family: var(--ed-label); font-weight: 700; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--sc-cream); border-bottom: 1px solid rgba(250, 248, 243, 0.5); padding-bottom: 3px;
}
.ed-textlink:hover { color: var(--sc-gold); border-bottom-color: var(--sc-gold); }

/* Admiralty double-hairline brass frame with corner crosshairs */
.ed-frame {
  position: relative;
  border: 1px solid var(--ed-brass);
  padding: 6px;
}
.ed-frame-inner { border: 1px solid var(--ed-brass-soft); padding: 12px; }
.ed-frame .tick { position: absolute; width: 14px; height: 14px; color: var(--sc-gold); }
.ed-frame .tick.tl { top: -7px; left: -7px; }
.ed-frame .tick.tr { top: -7px; right: -7px; }
.ed-frame .tick.bl { bottom: -7px; left: -7px; }
.ed-frame .tick.br { bottom: -7px; right: -7px; }
.ed-plates { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ed-plates img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.ed-plates .lead { grid-column: 1 / -1; }
.ed-plate-cap {
  margin: 12px 0 0;
  font-family: var(--ed-label); font-weight: 600; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(250, 248, 243, 0.8);
}

/* ===== 3. Fact strip ===== */
.ed-facts { background: var(--sc-cream); border-top: 1px solid var(--sc-gold); border-bottom: 1px solid var(--ed-rule); }
.ed-facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ed-facts li { padding: 28px 32px; border-left: 1px solid var(--ed-rule); }
.ed-facts li:first-child { border-left: 0; }
.ed-facts .v { display: block; font-family: var(--ed-serif); font-weight: 600; font-size: 44px; line-height: 1; margin-bottom: 8px; }
.ed-facts .c { display: block; font-family: var(--ed-label); font-weight: 700; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--drake-blue); }

/* ===== 4. Ethos spread ===== */
.ed-ethos { padding: 84px 0; }
.ed-ethos .ed-wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 56px; }
.ed-ethos-left { grid-column: 1 / span 5; }
.ed-ethos-right { grid-column: 6 / span 7; }
.ed-mat { margin: 28px 0 0; background: #fff; padding: 8px; border: 1px solid var(--ed-rule); }
.ed-mat img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.ed-mat figcaption { font-size: 13px; color: var(--ed-ink-2); padding: 8px 4px 2px; font-style: italic; }
.ed-pull {
  font-family: var(--ed-serif); font-style: italic; font-weight: 500; font-size: 28px; line-height: 1.25;
  border-left: 3px solid var(--sc-gold); padding-left: 20px; margin: 0 0 36px;
}
.ed-ledger { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ed-rule); }
.ed-ledger li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--ed-rule); }
.ed-ledger .num { font-family: var(--ed-serif); font-style: italic; font-weight: 600; font-size: 28px; line-height: 1; color: var(--drake-blue); }
.ed-ledger h3 { font-family: var(--ed-serif); font-weight: 600; font-size: 24px; line-height: 1.15; margin: 0 0 6px; }
.ed-ledger p { margin: 0; color: var(--ed-ink-2); max-width: 60ch; }
.ed-ledger a { color: var(--drake-blue); border-bottom: 1px solid currentColor; }

/* ===== 5. Galleries (darkroom plates) ===== */
.ed-galleries { padding: 88px 0; }
.ed-gal-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; border-bottom: 1px solid rgba(232, 180, 72, 0.35); padding-bottom: 24px; margin-bottom: 40px; }
.ed-gal-head .ed-h2 { margin: 0; }
.ed-gal-head .aside { max-width: 380px; color: rgba(250, 248, 243, 0.84); margin: 0; }
.ed-gal-head .aside a { display: inline-block; margin-top: 10px; color: var(--sc-gold); border-bottom: 1px solid var(--sc-gold); font-family: var(--ed-label); font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.ed-gal-row { display: grid; gap: 24px; margin-bottom: 24px; }
.ed-gal-row.two { grid-template-columns: 1fr 1fr; }
.ed-gal-row.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ed-plate { display: block; color: var(--sc-cream); border: 1px solid rgba(250, 248, 243, 0.18); background: #0b2f4b; transition: border-color 160ms ease; }
.ed-plate:hover { border-color: var(--sc-gold); color: var(--sc-cream); }
.ed-plate .ph { overflow: hidden; }
.ed-plate img { display: block; width: 100%; height: auto; object-fit: cover; object-position: center 30%; transition: transform 400ms ease; }
.ed-gal-row.two .ed-plate img { aspect-ratio: 16 / 10; }
.ed-gal-row.three .ed-plate img { aspect-ratio: 4 / 3; }
.ed-plate:hover img { transform: scale(1.03); }
.ed-plate .ft { padding: 18px 20px 20px; }
.ed-plate .meta { font-family: var(--ed-label); font-weight: 700; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sc-gold); margin: 0 0 6px; }
.ed-plate h3 { font-family: var(--ed-serif); font-weight: 600; font-size: 26px; line-height: 1.1; margin: 0 0 10px; }
.ed-gal-row.three .ed-plate h3 { font-size: 22px; }
.ed-plate .go { font-family: var(--ed-label); font-weight: 700; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; }
.ed-plate:hover .go { color: var(--sc-gold); }

/* ===== 6. The supper log ===== */
.ed-log { padding: 88px 0 64px; }
.ed-log .ed-inner { max-width: 1100px; margin: 0 auto; }
.ed-log .intro { max-width: 60ch; color: var(--ed-ink-2); margin: 0 0 36px; }
.ed-log-head, .ed-log-row {
  display: grid; grid-template-columns: 56px 210px minmax(0, 1fr) 190px; gap: 16px; align-items: center;
}
.ed-log-head {
  border-top: 2px solid var(--sc-navy); border-bottom: 1px solid var(--ed-rule); padding: 12px 8px;
  font-family: var(--ed-label); font-weight: 700; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ed-ink-2);
}
.ed-log ol { list-style: none; margin: 0; padding: 0; }
.ed-log li { border-bottom: 1px solid var(--ed-rule); }
.ed-log-row { padding: 14px 8px; color: var(--sc-navy); border-left: 3px solid transparent; }
a.ed-log-row:hover { background: rgba(232, 180, 72, 0.12); border-left-color: var(--sc-gold); color: var(--sc-navy); }
.ed-log .no { font-family: var(--ed-serif); font-style: italic; font-weight: 600; font-size: 20px; color: var(--drake-blue); font-variant-numeric: tabular-nums; }
.ed-log .date { font-family: var(--ed-serif); font-weight: 600; font-size: 21px; line-height: 1.2; }
.ed-log .venue { line-height: 1.35; }
.ed-log .tag { display: inline-block; margin-left: 8px; font-style: italic; font-size: 14px; color: var(--ed-ink-2); }
.ed-log .arch { display: flex; align-items: center; gap: 10px; justify-content: flex-start; }
.ed-log .arch img { width: 44px; height: 30px; object-fit: cover; flex: none; }
.ed-log .arch .lbl { white-space: nowrap; font-family: var(--ed-label); font-weight: 700; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--drake-blue); }
.ed-log .arch .none { font-style: italic; font-size: 14px; color: rgba(14, 58, 92, 0.7); }

/* Compass-star divider */
.ed-divider { display: flex; align-items: center; justify-content: center; gap: 16px; color: var(--sc-gold); padding: 0 32px; }
.ed-divider::before, .ed-divider::after { content: ""; height: 1px; width: 80px; background: var(--ed-brass); }

/* ===== 7. Why Drake note card ===== */
.ed-origin { padding: 40px 0 88px; }
.ed-note {
  max-width: 960px; margin: 0 auto; background: #fff; border: 1px solid rgba(14, 58, 92, 0.22); padding: 5px;
}
.ed-note-inner {
  border: 1px solid var(--ed-brass); padding: 44px 48px;
  display: grid; grid-template-columns: 200px 1fr; gap: 44px; align-items: center;
}
.ed-note .seal { text-align: center; }
.ed-note .seal img { height: 112px; width: auto; display: block; margin: 0 auto 10px; }
.ed-note .seal span { font-family: var(--ed-label); font-weight: 700; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--drake-blue); }
.ed-note h2 { font-family: var(--ed-serif); font-weight: 600; font-size: 36px; line-height: 1.1; margin: 0 0 14px; }
.ed-note p { margin: 0 0 12px; max-width: 62ch; }
.ed-note p:last-child { margin-bottom: 0; }

/* ===== 8. Trips, lower down ===== */
.ed-trips { background: var(--sc-light); border-top: 2px solid var(--sc-navy); padding: 72px 0 88px; }
.ed-trips-head { max-width: 760px; margin: 0 0 32px; }
.ed-trips-head p { color: var(--ed-ink-2); margin: 0; }
.ed-trips .filter-pills { justify-content: flex-start; gap: 0; margin-bottom: 32px; }
.ed-trips .filter-pill {
  border-radius: 0; opacity: 1; background: #fff; color: var(--sc-navy);
  border: 1px solid rgba(14, 58, 92, 0.3); margin-left: -1px; padding: 10px 18px;
  font-family: var(--ed-label); font-size: 11px; letter-spacing: 0.18em;
}
.ed-trips .filter-pill:first-child { margin-left: 0; }
.ed-trips .filter-pill[aria-pressed="true"] { background: var(--sc-navy); color: var(--sc-cream); border-color: var(--sc-navy); box-shadow: inset 0 -2px 0 var(--sc-gold); }
.ed-trips .trips { max-width: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ed-trips .trip-card { border-radius: 0; box-shadow: none; border: 1px solid rgba(14, 58, 92, 0.18); }
.ed-trips .trip-card:hover { transform: none; box-shadow: none; border-color: var(--sc-gold); }
.ed-trips .trip-card .badge { border-radius: 0; }
.ed-trips .trip-card h3 { font-family: var(--ed-serif); font-weight: 600; font-size: 28px; color: var(--sc-navy); letter-spacing: -0.01em; }
.ed-trips .trip-card .where { font-family: var(--ed-label); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; opacity: 1; color: var(--drake-blue); }
.ed-trips .trip-card .arrow { font-family: var(--ed-label); color: var(--drake-blue); }
.ed-trips .trip-card-hero { background: var(--sc-navy) url('/logo/drake-shield.png') center / 72px auto no-repeat; }

/* ===== 9. Footer ===== */
.ed-footer { background: var(--sc-navy); color: rgba(250, 248, 243, 0.84); border-top: 3px solid var(--sc-gold); }
.ed-footer .ed-wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 36px; padding-bottom: 36px; }
.ed-footer .name { font-family: var(--ed-serif); font-weight: 600; font-size: 22px; color: var(--sc-cream); margin: 0 0 4px; }
.ed-footer p { margin: 0; font-size: 15px; }
.ed-footer nav { display: flex; flex-wrap: wrap; gap: 14px 28px; }
.ed-footer nav a { font-family: var(--ed-label); font-weight: 700; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sc-cream); }
.ed-footer nav a:hover { color: var(--sc-gold); }

/* ===== Suppers archive page title ===== */
.ed-pagehead { padding: 64px 0 56px; }
.ed-pagehead h1 { font-family: var(--ed-serif); font-weight: 600; font-size: 72px; line-height: 0.98; letter-spacing: -0.02em; margin: 0 0 20px; }
.ed-pagehead .ed-lede { font-size: 18px; max-width: 60ch; color: rgba(250, 248, 243, 0.86); margin: 0; }

/* ===== Tablet ===== */
@media (max-width: 1080px) {
  .ed-trips .trips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ed-log-head, .ed-log-row { grid-template-columns: 48px 170px minmax(0, 1fr) 150px; }
  .ed-log .arch img { display: none; }
}
@media (max-width: 900px) {
  .ed-hero .ed-wrap, .ed-ethos .ed-wrap { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .ed-hero-text, .ed-hero-plates, .ed-ethos-left, .ed-ethos-right { grid-column: auto; }
  .ed-hero h1 { font-size: 56px; }
  .ed-facts ul { grid-template-columns: 1fr 1fr; }
  .ed-facts li { padding: 22px 24px; border-left: 0; }
  .ed-facts li:nth-child(odd) { padding-left: 0; }
  .ed-facts li:nth-child(even) { border-left: 1px solid var(--ed-rule); }
  .ed-facts li:nth-child(n+3) { border-top: 1px solid var(--ed-rule); }
  .ed-mat img { aspect-ratio: 3 / 2; object-position: center 55%; }
}

/* ===== Mobile ===== */
@media (max-width: 700px) {
  body.drake-editorial { font-size: 16px; line-height: 1.6; }
  .ed-wrap { padding: 0 20px; }
  .ed-eyebrow { font-size: 10px; letter-spacing: 0.18em; }
  .ed-h2 { font-size: 34px; line-height: 1.08; }

  .ed-masthead .ed-wrap { min-height: 60px; }
  .ed-masthead .ed-logo .shield { height: 30px; }
  .ed-masthead .ed-logo .wordmark { display: none; }
  .ed-nav { gap: 14px; }
  .ed-nav a { font-size: 10px; letter-spacing: 0.14em; padding: 14px 0; }
  .ed-nav .wide { display: none; }

  .ed-hero { padding: 36px 0 44px; }
  .ed-hero h1 { font-size: 42px; line-height: 1.0; letter-spacing: -0.015em; }
  .ed-hero .ed-lede { font-size: 16px; margin-bottom: 24px; }
  .ed-frame-inner { padding: 8px; }
  .ed-plates { gap: 6px; }

  .ed-facts ul { grid-template-columns: 1fr 1fr; }
  .ed-facts li { padding: 20px; border-left: 0; }
  .ed-facts li:nth-child(even) { border-left: 1px solid var(--ed-rule); }
  .ed-facts li:nth-child(n+3) { border-top: 1px solid var(--ed-rule); }
  .ed-facts .v { font-size: 32px; }
  .ed-facts .c { font-size: 10px; letter-spacing: 0.12em; }

  .ed-ethos { padding: 52px 0; }
  .ed-ethos-left { display: contents; }
  .ed-ethos .ed-wrap { display: flex; flex-direction: column; gap: 0; }
  .ed-ethos-head { order: 1; }
  .ed-ethos-right { order: 2; }
  .ed-mat { order: 3; margin-top: 32px; }
  .ed-mat img { aspect-ratio: 4 / 3; object-position: center 55%; }
  .ed-pull { font-size: 22px; margin-bottom: 24px; }
  .ed-ledger li { grid-template-columns: 34px 1fr; gap: 12px; padding: 18px 0; }
  .ed-ledger .num { font-size: 24px; }
  .ed-ledger h3 { font-size: 22px; }

  .ed-galleries { padding: 56px 0; }
  .ed-gal-head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 28px; }
  .ed-gal-row, .ed-gal-row.two, .ed-gal-row.three { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-bottom: 18px; }
  .ed-gal-row.three .ed-plate img, .ed-gal-row.two .ed-plate img { aspect-ratio: 16 / 10; }
  .ed-plate h3, .ed-gal-row.three .ed-plate h3 { font-size: 24px; }

  .ed-log { padding: 56px 0 44px; }
  .ed-log-head { display: none; }
  .ed-log ol { border-top: 2px solid var(--sc-navy); }
  .ed-log-row {
    grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 14px 4px;
    grid-template-areas: "date arch" "venue venue";
  }
  .ed-log .no { display: none; }
  .ed-log .date { grid-area: date; font-size: 19px; }
  .ed-log .venue { grid-area: venue; font-size: 15px; }
  .ed-log .arch { grid-area: arch; }
  .ed-log .arch img { display: none; }
  .ed-log .tag { display: block; margin: 2px 0 0; }

  .ed-origin { padding: 24px 0 56px; }
  .ed-note-inner { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 28px 20px; }
  .ed-note .seal img { height: 76px; }
  .ed-note h2 { font-size: 30px; text-align: center; }
  .ed-note .eyebrow-c { text-align: center; }

  .ed-trips { padding: 52px 0 60px; }
  .ed-trips .trips { grid-template-columns: minmax(0, 1fr); }
  .ed-trips .filter-pill { padding: 10px 14px; }

  .ed-footer .ed-wrap { flex-direction: column; align-items: flex-start; gap: 18px; padding-top: 28px; padding-bottom: 32px; }
  .ed-footer nav { flex-direction: column; gap: 0; }
  .ed-footer nav a { padding: 12px 0; }

  .ed-pagehead { padding: 40px 0 40px; }
  .ed-pagehead h1 { font-size: 44px; }
  .ed-pagehead .ed-lede { font-size: 16px; }
}

body.drake-editorial .ed-plate .venue-line { margin: 0 0 12px; font-size: 15px; color: rgba(250, 248, 243, 0.84); }
body.drake-editorial { font-variant-numeric: lining-nums; }
.ed-facts li:first-child { padding-left: 0; }
@media (max-width: 700px) { .ed-facts li:first-child { padding-left: 0; } .ed-facts li:nth-child(3) { padding-left: 0; } }

/* Round 2 (Gemini): badges hold up on navy, sign-off line, /suppers/ orientation */
.ed-trips .trip-card .badge { backdrop-filter: none; border: 1px solid rgba(250, 248, 243, 0.35); }
.ed-trips .trip-card .badge-past { background: var(--sc-navy); color: var(--sc-cream); }
.ed-trips .trip-card .badge-soon { background: var(--sc-gold); color: var(--sc-navy); border-color: var(--sc-gold); }
.ed-note p.sig { margin-top: 4px; font-family: var(--ed-serif); font-size: 22px; }
.ed-pagehead { border-bottom: 1px solid var(--sc-gold); }
.ed-nav a[aria-current="page"] { border-bottom-color: var(--sc-gold); }
@media (max-width: 700px) {
  .ed-masthead.is-suppers .ed-logo .wordmark { display: block; height: 16px; }
  .ed-masthead.is-suppers .ed-logo { gap: 8px; }
}
/* Round 3 (Gemini, non-blocking): tags stack under the venue on narrower widths; footer links do not wrap */
@media (max-width: 1080px) { .ed-log .tag { display: block; margin: 2px 0 0; } }
.ed-footer nav a { white-space: nowrap; }
.ed-trips .trip-card.no-link:hover { border-color: rgba(14, 58, 92, 0.18); }
.ed-trips .trip-card.no-link:hover .trip-card-hero img { transform: none; }

/* ===== Next supper and sign-up (24 Nov 2026) ===== */
.ed-btn-solid {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--ed-label); font-weight: 700; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 15px 26px; min-height: 48px; border: 1px solid var(--sc-navy); background: var(--sc-navy); color: var(--sc-cream);
  cursor: pointer; transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}
.ed-btn-solid:hover { background: var(--sc-gold); border-color: var(--sc-gold); color: var(--sc-navy); }
.ed-btn-solid[disabled] { opacity: 0.6; cursor: progress; }
.ed-link { color: var(--drake-blue); font-weight: 600; border-bottom: 1px solid currentColor; }
.ed-link:hover { color: var(--sc-navy); }

/* Homepage card: white mat with a brass hairline, like the Why Drake note */
.ed-next { padding: 0 0 84px; }
.ed-next-card { background: #fff; border: 1px solid rgba(14, 58, 92, 0.22); padding: 5px; }
.ed-next-inner {
  border: 1px solid var(--ed-brass); padding: 36px 44px;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) auto; gap: 40px; align-items: center;
}
.ed-next-head .ed-h2 { margin-bottom: 10px; }
.ed-next-head p:last-child { margin: 0; color: var(--ed-ink-2); max-width: 42ch; }
.ed-next-event { border-left: 1px solid var(--ed-rule); padding-left: 40px; min-height: 120px; }
.ed-next-event p, .ed-signup .ed-next-event p { margin: 0; }
.ed-next-event .when { font-family: var(--ed-serif); font-weight: 600; font-size: 30px; line-height: 1.1; margin-bottom: 6px; }
.ed-next-event .title { font-family: var(--ed-label); font-weight: 700; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--drake-blue); margin-bottom: 8px; }
.ed-next-event .venue { color: var(--ed-ink-2); }
.ed-next-event .price { margin-top: 10px; font-weight: 600; }
.ed-next-event .left { margin-top: 10px; display: inline-block; font-family: var(--ed-label); font-weight: 700; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; background: var(--sc-gold); color: var(--sc-navy); padding: 6px 10px; }
.ed-next-event .left.is-full { background: transparent; border: 1px solid var(--sc-navy); }
.ed-next-none { margin: 0; grid-column: 2 / -1; color: var(--ed-ink-2); }

/* Sign-up page */
.ed-signup { padding: 56px 0 84px; }
.ed-signup-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.ed-signup .ed-next-event { border-left: 0; padding: 28px 0 0; border-top: 3px solid var(--sc-gold); position: sticky; top: 24px; }
.ed-signup .ed-next-event .ed-eyebrow { margin-bottom: 10px; }
.ed-signup .ed-next-event .when { font-size: 34px; }
.ed-card { background: #fff; border: 1px solid rgba(14, 58, 92, 0.22); padding: 36px 40px; }
.ed-card form { display: grid; gap: 22px; }
.ed-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.ed-field { display: grid; gap: 6px; align-content: start; }
.ed-field > label { font-family: var(--ed-label); font-weight: 700; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sc-navy); }
.ed-field input:not([type=checkbox]), .ed-field select, .ed-field textarea {
  font: inherit; font-size: 17px; color: var(--sc-navy); background: var(--sc-cream);
  border: 1px solid rgba(14, 58, 92, 0.35); border-radius: 0; padding: 12px 14px; min-height: 48px; width: 100%; box-sizing: border-box;
}
.ed-field textarea { min-height: 76px; resize: vertical; }
.ed-field input:focus, .ed-field select:focus, .ed-field textarea:focus { outline: 2px solid var(--sc-navy); outline-offset: 1px; border-color: var(--sc-navy); background: #fff; }
.ed-field [aria-invalid="true"] { border-color: #a4262c; }
.ed-hint { margin: 0; font-size: 14px; color: var(--ed-ink-2); }
.ed-err, .ed-status { margin: 0; font-size: 15px; font-weight: 600; color: #a4262c; }
.ed-status { padding: 12px 14px; border-left: 3px solid #a4262c; background: #fbf1f1; }
.ed-check { grid-template-columns: 24px 1fr; column-gap: 14px; align-items: start; background: var(--sc-cream); border: 1px solid var(--ed-brass); padding: 16px; }
.ed-check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--sc-navy); }
.ed-check label { font-family: var(--ed-sans); font-weight: 600; font-size: 16px; letter-spacing: 0; text-transform: none; line-height: 1.45; }
.ed-check .ed-err { grid-column: 2; }
.ed-card button[type=submit] { justify-self: start; min-width: 200px; }
.ed-privacy { margin: 24px 0 0; padding-top: 18px; border-top: 1px solid var(--ed-rule); font-size: 14px; color: var(--ed-ink-2); }
.ed-privacy a, .ed-check a, .ed-none a, .ed-next-none a { color: var(--drake-blue); }
.ed-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ed-full-note { margin: 0 0 20px; padding: 12px 14px; background: var(--sc-cream); border-left: 3px solid var(--sc-gold); font-weight: 600; }
.ed-loading { margin: 0; min-height: 1px; }
.ed-none .ed-h2 { font-size: 40px; }

/* Done state: the reference reads like a ticket stub */
.ed-done .ed-h2 { font-size: 40px; margin-bottom: 12px; }
.ed-done > p { margin: 0 0 12px; max-width: 58ch; }
.ed-done .repeat { color: var(--ed-ink-2); font-size: 15px; }
.ed-ref { margin: 24px 0; padding: 20px 22px; border: 1px dashed rgba(14, 58, 92, 0.4); background: var(--sc-cream); }
.ed-ref .ed-eyebrow { margin-bottom: 6px; }
.ed-ref .ref { margin: 0 0 4px; font-family: var(--ed-label); font-weight: 800; font-size: 30px; letter-spacing: 0.08em; color: var(--sc-navy); }
.ed-pay { border-top: 1px solid var(--ed-rule); padding-top: 20px; }
.ed-pay .amount { font-family: var(--ed-serif); font-weight: 600; font-size: 34px; line-height: 1.1; margin: 0 0 8px; }
.ed-pay p { margin: 0 0 12px; }
.ed-pay .pending { margin: 0; color: var(--ed-ink-2); }
.ed-pay-row { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 8px; }
.ed-qr { margin: 0; text-align: center; }
.ed-qr div { width: 168px; height: 168px; background: #fff; border: 1px solid var(--ed-rule); padding: 6px; box-sizing: border-box; }
.ed-qr svg { width: 100%; height: 100%; display: block; }
.ed-qr figcaption { font-size: 13px; color: var(--ed-ink-2); margin-top: 6px; }
.ed-again { margin: 24px 0 0; font-size: 15px; }
.ed-confirm { max-width: 720px; margin: 0 auto; }
.ed-confirm .ed-card > p { margin: 0 0 20px; }

@media (max-width: 1080px) {
  .ed-next-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ed-next-go { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .ed-signup-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .ed-signup .ed-next-event { position: static; }
}
@media (max-width: 700px) {
  .ed-next { padding: 0 0 52px; }
  .ed-next-inner { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 26px 20px; }
  .ed-next-event { border-left: 0; padding-left: 0; border-top: 1px solid var(--ed-rule); padding-top: 20px; min-height: 0; }
  .ed-next-event .when { font-size: 26px; }
  .ed-next-none { grid-column: auto; }
  .ed-next-go .ed-btn-solid { width: 100%; }
  .ed-signup { padding: 28px 0 56px; }
  .ed-signup .ed-next-event { padding-top: 18px; }
  .ed-signup .ed-next-event .when { font-size: 28px; }
  .ed-card { padding: 24px 18px; }
  .ed-row.two { grid-template-columns: minmax(0, 1fr); }
  .ed-card button[type=submit] { width: 100%; justify-self: stretch; }
  .ed-done .ed-h2 { font-size: 32px; }
  .ed-ref .ref { font-size: 26px; }
  .ed-pay-row { flex-direction: column; align-items: stretch; }
  .ed-pay-row .ed-btn-solid { width: 100%; }
}
.ed-qr { display: inline-flex; flex-direction: column; align-items: center; align-self: flex-start; }

/* Round 1 (Gemini, 24 Nov): e-mail step first, copy button, QR only where it can be scanned,
   errors that survive focus, hover only on hover devices and kept in the navy family */
.ed-step { margin: 0 0 18px; padding: 16px 18px; background: var(--sc-cream); border: 1px solid var(--ed-brass); border-left: 4px solid var(--sc-gold); }
.ed-step p { margin: 0; }
.ed-step .lead { font-family: var(--ed-label); font-weight: 800; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 6px; }
.ed-ref .ref-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 0 0 4px; }
.ed-ref .ref { margin: 0; }
.ed-copy {
  font-family: var(--ed-label); font-weight: 700; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  min-height: 40px; padding: 8px 14px; background: #fff; color: var(--sc-navy); border: 1px solid var(--sc-navy); cursor: pointer;
}
.ed-again { margin: 28px 0 0; padding-top: 18px; border-top: 1px solid var(--ed-rule); }
.ed-field [aria-invalid="true"], .ed-field [aria-invalid="true"]:focus { border-color: #a4262c; outline-color: #a4262c; }
.ed-check:has([aria-invalid="true"]) { border-color: #a4262c; }
.ed-field select { appearance: none; -webkit-appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230e3a5c' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; }
.ed-btn-solid:hover { background: var(--sc-navy); border-color: var(--sc-navy); color: var(--sc-cream); }
@media (hover: hover) {
  .ed-btn-solid:hover { background: #082a44; border-color: var(--sc-gold); color: var(--sc-cream); }
  .ed-copy:hover { background: var(--sc-cream); }
}
.cf-turnstile:empty { display: none; }
@media (max-width: 700px), (pointer: coarse) { .ed-qr { display: none; } }
@media (max-width: 700px) { .ed-signup-page .ed-pagehead, main[data-signup-page] .ed-pagehead { padding: 28px 0 28px; } }
.ed-done > p.ed-again { max-width: none; }

/* Round 2 (Gemini, 24 Nov): specificity fixes and phone nav */
.ed-field input[aria-invalid="true"]:not([type=checkbox]), .ed-field select[aria-invalid="true"], .ed-field textarea[aria-invalid="true"] { border-color: #a4262c; }
.ed-field input[aria-invalid="true"]:not([type=checkbox]):focus, .ed-field textarea[aria-invalid="true"]:focus { outline: 1px solid #a4262c; outline-offset: 0; }
.ed-done > p.ed-again { margin: 28px 0 0; }
.ed-signup .ed-next-event .when { margin-bottom: 8px; }
.ed-signup .ed-next-event .title { margin-bottom: 10px; }
.ed-signup .ed-next-event .price, .ed-signup .ed-next-event .left { margin-top: 12px; }
@media (max-width: 700px) {
  .ed-ref { padding: 16px 14px; }
  .ed-ref .ref { font-size: 22px; letter-spacing: 0.05em; }
  .ed-nav a[href="#galleries"] { display: none; }
  .ed-nav a.wide[href="#next-supper"] { display: inline; }
}


/* Photo heroes (3 Dec 2026): a real supper photo fills the right of the home hero and the supper
   page heads and fades into the navy behind the heading. On phones the photo sits above the text instead. */
.ed-photohero { position: relative; isolation: isolate; overflow: hidden; }
.ed-photohero > .ed-hero-photo { position: absolute; inset: 0 0 0 36%; z-index: -2; display: block; }
.ed-photohero > .ed-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-pos, center); display: block; }
.ed-photohero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, #0e3a5c 0%, #0e3a5c 38%, rgba(14, 58, 92, 0.8) 46%, rgba(14, 58, 92, 0.3) 56%, rgba(14, 58, 92, 0) 66%);
}
.ed-hero.ed-photohero { min-height: clamp(540px, 76vh, 780px); display: flex; align-items: center; }
.ed-hero.ed-photohero > .ed-wrap { width: 100%; }
.ed-pagehead.ed-photohero { padding-top: 96px; padding-bottom: 80px; }
.ed-pagehead.ed-photohero .ed-wrap > * { max-width: 560px; }
.ed-photohero h1, .ed-photohero .ed-lede { text-shadow: 0 1px 18px rgba(8, 30, 48, 0.45); }
@media (max-width: 760px) {
  .ed-photohero { display: block; padding-top: 0; }
  .ed-photohero::before { display: none; }
  .ed-photohero > .ed-hero-photo { position: relative; inset: auto; z-index: auto; aspect-ratio: 4 / 3; margin-bottom: 28px; }
  .ed-hero.ed-photohero { min-height: 0; display: block; padding-top: 0; }
  .ed-pagehead.ed-photohero, main[data-signup-page] .ed-pagehead.ed-photohero { padding-top: 0; padding-bottom: 36px; }
  .ed-photohero h1, .ed-photohero .ed-lede { text-shadow: none; }
}
