/* ──────────────────────────────────────────────────────────
   INFO PAGE TEMPLATE
   /templates/info.css

   For pages that exist to convey information rather than sell a
   program — Careers, Store, Contact, Locations, Partnerships,
   Founder, etc. Less dramatic than program.css: smaller hero, no
   full-bleed photo, prose-optimised typography, generous spacing.

   To use:
       <body class="info-page">
       <link rel="stylesheet" href="../templates/info.css">

   Per-page colour overrides go in a small <style> block AFTER the
   link, exactly like program.css.

   Design philosophy: editorial. Long-form content lives or dies
   on rhythm, line length, and silence around the type. Border
   weights are hairline; cards are transparent frames; images
   (when added later) sit naturally in the flow without competing
   with the text.
   ────────────────────────────────────────────────────────── */

/* HERO — small banner, not a full-bleed visual moment.
   Cream canvas, hairline rule, eyebrow + title + subtitle.
   Sits below the nav with enough top padding that the nav
   never overlaps content (the chrome's nav is fixed). */
.info-hero {
    padding: 140px 0 var(--sp-7);
    background: var(--cream);
    border-bottom: 1px solid rgba(31, 47, 38, 0.08);
    position: relative;
}
@media (max-width: 700px) {
    .info-hero { padding: 110px 0 var(--sp-6); }
}
.info-hero-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--ink-mute);
    margin-bottom: var(--sp-5);
    transition: gap var(--t), color var(--t);
}
.info-hero-back:hover {
    gap: 12px;
    color: var(--blue-deep);
}
.info-hero-eyebrow {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-bottom: var(--sp-4);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.info-hero-eyebrow::before {
    content: "";
    width: 32px;
    height: 1px;
    background: currentColor;
    opacity: 0.7;
}
.info-hero-title {
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    font-weight: 400;
    line-height: 1.0;
    letter-spacing: -0.03em;
    margin: 0 0 var(--sp-4);
    font-variation-settings: "opsz" 144, "SOFT" 80;
    max-width: 18ch;
}
.info-hero-subtitle {
    font-family: 'Fraunces', Georgia, serif;
    font-style: italic;
    font-weight: 300;
    font-size: clamp(1.1rem, 1.7vw, 1.4rem);
    color: var(--ink-soft);
    max-width: 36em;
    line-height: 1.5;
    margin: 0;
}

/* SECTION — repeating content block with optional left-rail
   eyebrow + title and a right-side body. Hairline divider
   separates consecutive sections. */
.info-section {
    padding: var(--sp-8) 0;
    background: var(--cream);
}
.info-section + .info-section,
.info-hero + .info-section {
    border-top: 1px solid rgba(31, 47, 38, 0.08);
}
.info-section-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--sp-7);
    align-items: start;
}
@media (max-width: 880px) {
    .info-section-grid { grid-template-columns: 1fr; gap: var(--sp-5); }
}
.info-section-header .eyebrow {
    margin-bottom: var(--sp-3);
}
.info-section-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    margin: 0;
    line-height: 1.1;
    max-width: 14ch;
}
.info-section-header h2 .serif-italic {
    color: var(--blue);
}

/* ARTICLE — prose body. Optimised line-length, generous leading. */
.info-article p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--ink-soft);
    margin-bottom: var(--sp-4);
    max-width: 38em;
}
.info-article p:last-child { margin-bottom: 0; }
.info-article p strong { color: var(--ink); font-weight: 600; }
.info-article p em {
    font-family: 'Fraunces', Georgia, serif;
    font-style: italic;
    color: var(--blue-deep);
    font-weight: 400;
}
.info-article h3 {
    font-size: 1.5rem;
    margin: var(--sp-6) 0 var(--sp-3);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
.info-article h3:first-child { margin-top: 0; }
.info-article ul,
.info-article ol {
    margin: 0 0 var(--sp-4);
    padding-left: 1.5em;
    max-width: 38em;
}
.info-article li {
    font-size: 1.02rem;
    line-height: 1.65;
    color: var(--ink-soft);
    margin-bottom: var(--sp-2);
}
.info-article li::marker { color: var(--blue-deep); }
.info-article a {
    color: var(--blue-deep);
    border-bottom: 1px solid currentColor;
    transition: color var(--t);
}
.info-article a:hover { color: var(--ink); }

/* CARD GRID — for things like job listings, location cards,
   partner blocks, store items. Bordered, transparent fill, hover
   nudges the border toward blue. */
.info-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-4);
    margin-top: var(--sp-5);
}
.info-card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 880px) {
    .info-card-grid,
    .info-card-grid.cols-3 { grid-template-columns: 1fr; }
}
.info-card {
    padding: var(--sp-5);
    background: transparent;
    border: 1px solid rgba(31, 47, 38, 0.15);
    border-radius: var(--r-lg);
    transition: border-color var(--t), background var(--t),
                transform var(--t);
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
}
.info-card:hover {
    border-color: var(--blue-warm);
    background: rgba(124, 196, 240, 0.04);
    transform: translateY(-2px);
}
.info-card-eyebrow {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--blue-deep);
}
.info-card h4 {
    font-size: 1.25rem;
    margin: 0;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.02em;
}
.info-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--ink-soft);
    margin: 0;
    flex: 1;
}
.info-card-meta {
    font-size: 0.85rem;
    color: var(--ink-mute);
    margin-top: var(--sp-2);
    padding-top: var(--sp-3);
    border-top: 1px solid rgba(31, 47, 38, 0.08);
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-3);
}
.info-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* DETAIL LIST — for pages that present structured pairs of
   labels and values (Contact: phone, email, hours; Locations:
   address, programs, hours per location). */
.info-detail-list {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
}
.info-detail-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: var(--sp-4);
    padding: var(--sp-4) 0;
    border-bottom: 1px solid rgba(31, 47, 38, 0.08);
    align-items: start;
}
.info-detail-row:last-child { border-bottom: none; }
@media (max-width: 600px) {
    .info-detail-row {
        grid-template-columns: 1fr;
        gap: var(--sp-1);
    }
}
.info-detail-label {
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-mute);
    font-weight: 600;
    padding-top: 4px;
}
.info-detail-value {
    font-size: 1.05rem;
    color: var(--ink);
    line-height: 1.55;
}
.info-detail-value a {
    color: var(--blue-deep);
    transition: color var(--t);
}
.info-detail-value a:hover { color: var(--ink); }
.info-detail-value-secondary {
    display: block;
    font-size: 0.92rem;
    color: var(--ink-mute);
    margin-top: 4px;
}

/* CALLOUT — pulled out paragraph for emphasis. Used sparingly. */
.info-callout {
    padding: var(--sp-6);
    background: rgba(124, 196, 240, 0.08);
    border-left: 3px solid var(--blue);
    border-radius: 0 var(--r-md) var(--r-md) 0;
    margin: var(--sp-6) 0;
    max-width: 40em;
}
.info-callout p {
    font-family: 'Fraunces', Georgia, serif;
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.55;
    color: var(--ink);
    margin: 0;
    font-weight: 300;
}
.info-callout-attribution {
    display: block;
    margin-top: var(--sp-3);
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-mute);
}

/* CTA at end of info page — restrained, not the dramatic deep-
   blue CTA panel that program pages use. Centred prompt with a
   pair of buttons against a hairline-bordered band. */
.info-cta {
    padding: var(--sp-8) 0;
    text-align: center;
    background: var(--cream-deep);
    border-top: 1px solid rgba(31, 47, 38, 0.08);
}
.info-cta .eyebrow {
    margin-bottom: var(--sp-3);
}
.info-cta h2 {
    font-size: clamp(1.8rem, 3.8vw, 2.6rem);
    margin: 0 auto var(--sp-4);
    max-width: 18ch;
    line-height: 1.1;
}
.info-cta h2 .serif-italic { color: var(--blue); }
.info-cta p {
    color: var(--ink-soft);
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 40em;
    margin: 0 auto var(--sp-6);
}
.info-cta-actions {
    display: inline-flex;
    gap: var(--sp-3);
    flex-wrap: wrap;
    justify-content: center;
}

/* IMAGE PLACEHOLDER — same neutral treatment as program pages.
   Per-page classes (eg. .info-image-founder, -store, etc) stay
   empty and are populated with `background-image` when real
   photos arrive. */
.info-image {
    aspect-ratio: 16/9;
    background: var(--cream-deep);
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(31, 47, 38, 0.08);
    border-radius: var(--r-lg);
    position: relative;
    margin: var(--sp-5) 0;
}
.info-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--blue);
    opacity: 0.45;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
}
/* Per-page image slots — assign background-image when ready */
.info-image-founder,
.info-image-careers,
.info-image-store,
.info-image-contact,
.info-image-locations,
.info-image-partnerships,
.info-image-galactic1,
.info-image-galactic2 {
    /* intentionally empty — ready for background-image */
}
