/* ─────────────────────────────────────────────────────────────────────────────
   Cardigan editorial layer
   ─────────────────────────────────────────────────────────────────────────────
   One sheet, three surfaces: the station page, the Showroom page, and a business
   page. Jason, 2026-11-01: "pour on some design flair… AI antiseptic boring…
   hotel-grade flair… eye pop a bit while maintaining absolute gold standard
   professionalism."

   The house answers to that, in this order:
     - the house faces only: Limerick Serial for display, Libre Baskerville for
       body. Never a system sans, which is the tell that nobody chose anything.
     - paper cream and navy, not white and grey. A pharmacy-white page reads as a
       product dashboard.
     - gold used once per screen. Gold everywhere is a casino.
     - hairlines, not shadows. A shadow on every card is the AI look he rejects.
     - generous vertical rhythm: sections breathe at 96 to 120px, and the first
       section after a hero carries more weight than the rest.
     - photographs full-bleed with a directional wash, never a centred glow.
     - figures set in DSEG on a navy plate, shaped like a readout.

   Nothing here is decoration for its own sake. If a block does not hold content,
   it does not ship.
   ──────────────────────────────────────────────────────────────────────────── */

:root {
    --ed-paper: #faf3e8;
    --ed-paper-deep: #f3eadb;
    --ed-navy: #16263d;
    --ed-navy-deep: #0b1524;
    --ed-gold: #a9832a;
    --ed-gold-light: #d4af37;
    --ed-ink: #101820;
    --ed-muted: #5f6b7a;
    --ed-line: #e3dfd6;
    --ed-dial: #7fd4e6;
    --ed-display: 'Limerick Serial', 'Libre Baskerville', Georgia, serif;
    --ed-body: 'Libre Baskerville', Georgia, serif;
    --ed-rhythm: clamp(64px, 8vw, 116px);
}

/* ── Section rhythm ───────────────────────────────────────────────────────── */

.ed-section { background: var(--ed-paper); padding: var(--ed-rhythm) 24px; }
.ed-section--tight { padding-top: clamp(40px, 5vw, 64px); }
.ed-section--paper { background: var(--ed-paper-deep); }
.ed-section--navy { background: var(--ed-navy); color: var(--ed-paper); }
.ed-inner { max-width: 1120px; margin: 0 auto; }

/* A section label is a block head, never a kicker floating above a headline. */
.ed-label {
    font-family: var(--ed-display);
    font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: var(--ed-gold); display: block; margin-bottom: 14px;
}
.ed-section--navy .ed-label { color: var(--ed-gold-light); }

/* ── Display type ─────────────────────────────────────────────────────────── */

.ed-h1 {
    font-family: var(--ed-display);
    font-size: clamp(2.4rem, 5.2vw, 4.2rem);
    line-height: 1.02; letter-spacing: -.025em;
    color: var(--ed-ink); margin: 0 0 18px;
    text-wrap: balance;
}
.ed-h2 {
    font-family: var(--ed-display);
    font-size: clamp(1.7rem, 2.9vw, 2.5rem);
    line-height: 1.1; letter-spacing: -.018em;
    color: var(--ed-ink); margin: 0 0 14px;
    text-wrap: balance;
}
.ed-section--navy .ed-h1, .ed-section--navy .ed-h2 { color: var(--ed-paper); }

/* The lede is the one place an italic is allowed: it is a sentence, not a slogan. */
.ed-lede {
    font-family: var(--ed-body); font-style: italic;
    font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.62;
    color: var(--ed-muted); max-width: 62ch; margin: 0 0 30px;
}
.ed-section--navy .ed-lede { color: rgba(250, 243, 232, .82); }

.ed-copy { font-family: var(--ed-body); font-size: 1rem; line-height: 1.72; color: var(--ed-ink); }
.ed-copy p + p { margin-top: 1em; }

/* ── Hairlines ────────────────────────────────────────────────────────────── */

/* A rule with one gold segment: the cheapest way to look deliberate. */
.ed-rule { position: relative; height: 1px; background: var(--ed-line); margin: 0 0 30px; }
.ed-rule::before { content: ""; position: absolute; left: 0; top: -1px; width: 56px; height: 3px; background: var(--ed-gold); }
.ed-section--navy .ed-rule { background: rgba(250, 243, 232, .22); }

/* ── Photograph with a wash ───────────────────────────────────────────────── */

.ed-photo { position: relative; overflow: hidden; background: var(--ed-navy-deep); }
.ed-photo > .ed-photo-img {
    position: absolute; inset: 0;
    background-size: cover; background-position: center 55%;
    transform: scale(1.02);
}
.ed-photo > .ed-photo-wash {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(11,21,36,.88), rgba(22,38,61,.66) 48%, rgba(8,16,28,.9));
}
.ed-photo > .ed-photo-body { position: relative; z-index: 2; padding: calc(var(--ed-rhythm) * .9) 24px; }
.ed-photo .ed-h1, .ed-photo .ed-h2 { color: var(--ed-paper); }
.ed-photo .ed-lede { color: rgba(250, 243, 232, .86); }

/* ── Figures: a readout, not a font choice ───────────────────────────────── */

.ed-plate {
    display: inline-flex; align-items: baseline; gap: 10px;
    background: var(--ed-navy-deep); border-radius: 3px; padding: 10px 14px;
    font-family: 'DSEG7', monospace; color: var(--ed-dial); line-height: .95;
}
.ed-plate .ed-plate-figure { font-size: 1.5rem; letter-spacing: .02em; }
.ed-plate .ed-plate-note {
    font-family: var(--ed-body); font-size: 11.5px; font-weight: 700; letter-spacing: .07em;
    text-transform: uppercase; color: rgba(127, 212, 230, .72);
}

/* A column of figures is how a statement is set. Never a band of giant numbers. */
.ed-figures { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.ed-figure .n {
    display: block; font-family: var(--ed-display);
    font-size: clamp(1.9rem, 3.2vw, 2.6rem); line-height: 1; color: var(--ed-ink);
}
.ed-figure .c { display: block; margin-top: 7px; font-family: var(--ed-body); font-size: .92rem; line-height: 1.5; color: var(--ed-muted); }
.ed-section--navy .ed-figure .n { color: var(--ed-paper); }
.ed-section--navy .ed-figure .c { color: rgba(250, 243, 232, .74); }

/* ── A quote is a voice, and it gets one rule and no quotation mark graphic ─ */

.ed-quote {
    font-family: var(--ed-display);
    font-size: clamp(1.35rem, 2.4vw, 1.95rem); line-height: 1.32; letter-spacing: -.01em;
    color: var(--ed-ink); margin: 0 0 18px; max-width: 34ch;
}
.ed-quote-attr { font-family: var(--ed-body); font-size: .95rem; color: var(--ed-muted); }

/* ── Buttons: one filled, one ruled. No gradient, no glow. ───────────────── */

.ed-btn {
    display: inline-flex; align-items: center; gap: 10px; min-height: 46px;
    padding: 0 22px; border-radius: 2px;
    font-family: var(--ed-display); font-size: .95rem; font-weight: 700; letter-spacing: .02em;
    text-decoration: none; transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.ed-btn--solid { background: var(--ed-navy); color: var(--ed-paper); border: 1px solid var(--ed-navy); }
.ed-btn--solid:hover { background: var(--ed-navy-deep); border-color: var(--ed-navy-deep); }
.ed-btn--rule { background: transparent; color: var(--ed-ink); border: 1px solid var(--ed-line); }
.ed-btn--rule:hover { border-color: var(--ed-gold); color: var(--ed-gold); }
.ed-photo .ed-btn--rule, .ed-section--navy .ed-btn--rule { color: var(--ed-paper); border-color: rgba(250, 243, 232, .38); }
.ed-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── The number that follows a sentence, set like a footnote ─────────────── */

.ed-note { font-family: var(--ed-body); font-size: .86rem; line-height: 1.6; color: var(--ed-muted); }
.ed-section--navy .ed-note { color: rgba(250, 243, 232, .66); }

@media (max-width: 720px) {
    .ed-photo > .ed-photo-body { padding: 64px 20px; }
    .ed-actions .ed-btn { width: 100%; justify-content: center; }
}


/* ── Full-bleed photograph between sections ────────────────────────────────
   The strongest move available, and the cheapest: a picture that runs edge to
   edge and breaks the column rhythm. One per page, never two. */

.ed-bleed { position: relative; overflow: hidden; min-height: clamp(300px, 42vh, 460px); display: flex; align-items: flex-end; background: var(--ed-navy-deep); }
.ed-bleed > .ed-bleed-img { position: absolute; inset: 0; background-size: cover; background-position: center 55%; }
.ed-bleed > .ed-bleed-wash { position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,21,36,.9), rgba(11,21,36,.26) 52%, rgba(11,21,36,.12)); }
.ed-bleed > .ed-bleed-body { position: relative; z-index: 2; width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px 30px; }
.ed-bleed .ed-bleed-line { font-family: var(--ed-display); font-size: clamp(1.1rem, 1.9vw, 1.5rem); line-height: 1.3; color: var(--ed-paper); max-width: 40ch; margin: 0; }
.ed-bleed .ed-bleed-cap { font-family: var(--ed-body); font-style: italic; font-size: .82rem; color: rgba(250,243,232,.72); margin: 8px 0 0; }

/* ── Asymmetric spread ─────────────────────────────────────────────────────
   A narrow text column against a wide one is what makes a page read as edited
   rather than generated. Never equal halves. */

.ed-spread { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.ed-spread--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.ed-spread-rule { border-top: 1px solid var(--ed-line); padding-top: 22px; }
.ed-section--navy .ed-spread-rule { border-color: rgba(250,243,232,.2); }

/* A drop cap is a printed-page signal, not a decoration. One per page at most. */
.ed-drop::first-letter {
    font-family: var(--ed-display); float: left; font-size: 3.35rem; line-height: .82;
    padding: 4px 10px 0 0; color: var(--ed-gold);
}

/* ── The station page: the first card is the anchor, not one of six equal tiles ── */
.card-grid > .engage-card:first-child { grid-column: span 2; }
.card-grid > .engage-card:first-child .card-image { height: 190px; }
.card-grid > .engage-card:first-child .card-title { font-size: 1.45rem; }

/* ── A business page hero carries the business, at display weight ─────────── */
.hero { min-height: clamp(320px, 40vh, 430px); }
.hero-content h1 { font-family: 'Limerick Serial', 'Libre Baskerville', Georgia, serif;
                   font-size: clamp(2.1rem, 4vw, 3.3rem); line-height: 1.04; letter-spacing: -.022em; }
.hero-overlay { background: linear-gradient(to top, rgba(11,21,36,.9), rgba(11,21,36,.34) 58%, rgba(11,21,36,.16)); }

@media (max-width: 900px) {
    .ed-spread, .ed-spread--flip { grid-template-columns: 1fr; }
    .card-grid > .engage-card:first-child { grid-column: span 1; }
}


/* ── The layer must survive whatever wrapper it is dropped into ────────────
   The product layout holds its content in a flex row, so a section written as a
   bare <section> becomes a flex item and collapses to its intrinsic width. Every
   block in this layer therefore claims the full row explicitly. Measured failure,
   2026-11-01: .ed-inner widths of 48px and 108px, a 3514px tall section. */
.ed-section, .ed-photo, .ed-bleed { width: 100%; flex: 1 1 100%; min-width: 0; box-sizing: border-box; }
.ed-inner { width: 100%; box-sizing: border-box; }
.ed-spread { width: 100%; }


/* The product layout holds its content in a flex row, so the page is wrapped in one block
   child and every section inside it is ordinary flow again. Without this the sections were
   flex items measured at 48px wide and 3514px tall (2026-11-01). */
.ed-page { display: block; flex: 1 1 100%; width: 100%; min-width: 100%; }
.ed-page > section { display: block; width: 100%; box-sizing: border-box; }


/* ── Limerick on a business page, and it is the right call ─────────────────
   Jason, 2026-11-01: "I like the Limerick Font for business." So the display face
   carries the whole surface, not only the h1: section heads, card titles, and the
   hours table's row heads all set in Limerick, with the body staying Baskerville so
   the page still has two voices rather than none. */
.business h1, .business h2, .business h3, .business h4,
.card h3, .card h4,
.hours-table .day-name,
.section-title, .block-title {
    font-family: 'Limerick Serial', 'Libre Baskerville', Georgia, serif;
    letter-spacing: -.012em;
}
.business h2, .section-title { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.12; }
.card h3 { font-size: 1.12rem; line-height: 1.2; }
.hours-table .day-name { font-weight: 700; }
/* The hours block reads as a printed table, not a widget: hairlines and tabular figures. */
.hours-table td, .hours-table th { border-color: var(--ed-line); font-variant-numeric: tabular-nums; }


/* ── The business hero is .business-hero, not .hero ────────────────────────
   The first pass styled a class that does not exist on this page, so the hero
   measured 0px tall and nothing changed. Named correctly, and the wash is now
   directional rather than a black box. */
.business-hero { height: clamp(320px, 42vh, 440px) !important; }
.business-hero .hero-overlay { background: linear-gradient(to top, rgba(11,21,36,.9), rgba(11,21,36,.34) 55%, rgba(11,21,36,.16)) !important; }
.business-hero h1 { color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.35); }

/* Card heads read as content, so they take the display face too. */
.page-container h4, .card h4 { font-family: 'Limerick Serial', 'Libre Baskerville', Georgia, serif; letter-spacing: -.01em; }
