/*
 * ============================================================
 * Bright Horizon Solar — public site.
 *
 * ---- Three drafts, and what each one got wrong ----
 *
 * ============================================================
 */

:root {
    --navy:    #10243D;
    --navy-2:  #1B3555;
    --blue:    #1A5FB4;
    --blue-2:  #3F82D6;

    --gold:    #B08D1E;
    --gold-2:  #E9C55A;
    --gold-bg: #FCF4E0;

    --wash:    #EDF3FA;
    --wash-2:  #F6F9FD;

    --ink:     #16202E;
    --ink-2:   #4A5A6E;
    --muted:   #8494A6;

    --rule:    #E1E8F1;
    --rule-2:  #EEF2F7;

    --wrap:    1140px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: #fff;
    color: var(--ink);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }

h1, h2, h3 {
    font-family: Fraunces, Georgia, serif;
    margin: 0;
    color: var(--navy);
    letter-spacing: -.02em;
    line-height: 1.08;
    font-weight: 600;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 26px; }

.label {
    margin: 0 0 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold);
}

/* A short gold rule opens every section. Small, but it is what stops the
   page reading as one long column of grey text. */
.rule-head {
    margin-bottom: 44px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 44px;
    align-items: end;
}
.rule-head h2 { font-size: clamp(30px, 4.2vw, 46px); position: relative; padding-top: 26px; }
.rule-head h2::before {
    content: "";
    position: absolute; top: 0; left: 0;
    width: 54px; height: 4px;
    background: var(--gold-2);
}
.rule-head p { margin: 0; color: var(--ink-2); font-size: 15.5px; max-width: 52ch; }

/* ------------------------------------------------------------ buttons */

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 26px;
    border: 1.5px solid transparent;
    font-weight: 600; font-size: 14.5px;
    transition: background .16s, color .16s, border-color .16s;
    white-space: nowrap;
}
.btn-solid { background: var(--gold-2); color: var(--navy); }
.btn-solid:hover { background: #fff; }
.btn-line { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-line:hover { border-color: var(--gold-2); color: var(--gold-2); }

/* ---------------------------------------------------------- masthead */

.masthead {
    position: sticky; top: 0; z-index: 40;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--rule);
}
.masthead-in {
    display: flex; align-items: center; justify-content: space-between;
    gap: 22px; height: 72px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 36px; height: 36px; object-fit: contain; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.22; min-width: 0; }
.brand-name {
    font-family: Fraunces, Georgia, serif;
    font-size: 17px; font-weight: 600; color: var(--navy);
    white-space: nowrap;
}
.brand-sub { font-size: 9.5px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }

.menu { display: flex; align-items: center; gap: 28px; }
.menu a { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.menu a:hover { color: var(--blue); }
.menu-call {
    color: var(--navy) !important; font-weight: 700 !important;
    border-left: 1px solid var(--rule); padding-left: 28px;
}
.menu-call:hover { color: var(--gold) !important; }

/* The staff door. */
.menu .menu-staff {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 7px 14px; border-radius: 999px;
    border: 1px solid var(--rule);
    font-size: 13px; color: var(--muted);
}
.menu .menu-staff svg { width: 14px; height: 14px; }
.menu .menu-staff:hover { border-color: var(--navy); color: var(--navy); }

.menu-toggle {
    display: none; width: 42px; height: 42px;
    border: 1px solid var(--rule); background: #fff; cursor: pointer; padding: 0;
}
.menu-toggle span { display: block; height: 1.5px; background: var(--navy); width: 18px; margin: 4px auto; }

/* ----------------------------------------------------------- opening */

.open { padding: 76px 0 84px; }
.open-in {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
    gap: 60px; align-items: center;
}
.open h1 {
    font-size: clamp(38px, 6vw, 68px);
    font-weight: 600;
    max-width: 13ch;
}
.open-lede { margin: 26px 0 0; max-width: 44ch; font-size: 17.5px; color: var(--ink-2); }

/* The photograph gets a gold edge on two sides — a frame costs nothing and
   stops the image floating on white. */
.open-photo { margin: 0; position: relative; }
.open-photo::after {
    content: "";
    position: absolute; right: -14px; bottom: -14px;
    width: 62%; height: 62%;
    border-right: 5px solid var(--gold-2);
    border-bottom: 5px solid var(--gold-2);
    pointer-events: none;
}
.open-photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }

/* ---------------------------------------------------------- estimate */

.estimate { padding: 76px 0; background: var(--wash-2); border-block: 1px solid var(--rule); }

/* The one block that is not white. It is the reason anyone stays on the
   page, so it is allowed to shout. */
.dial {
    display: grid;
    grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
    gap: 0;
    background: var(--navy);
    overflow: hidden;
}

.dial-set { padding: 38px 36px; border-right: 1px solid rgba(255,255,255,.1); }
.dial-set label {
    display: block; font-size: 11px; font-weight: 700;
    letter-spacing: .18em; text-transform: uppercase;
    color: var(--gold-2); margin-bottom: 16px;
}
.dial-amount {
    display: flex; align-items: baseline; gap: 10px;
    border-bottom: 2px solid var(--gold-2);
    padding-bottom: 12px; margin-bottom: 24px;
}
.dial-amount > span { font-size: 15px; color: #8AA3C0; font-weight: 600; }

/* The figure is the input: what you read is what you edit. */
.dial-amount input {
    flex: 1; min-width: 0;
    background: none; border: 0; padding: 0; color: #fff;
    font-family: Fraunces, Georgia, serif;
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 600; letter-spacing: -.02em;
}
.dial-amount input:focus { outline: none; }
.dial-amount input::-webkit-outer-spin-button,
.dial-amount input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.dial-amount input[type=number] { -moz-appearance: textfield; }

input[type=range] {
    -webkit-appearance: none; appearance: none;
    width: 100%; height: 3px; background: rgba(255,255,255,.2); outline: none;
}
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none;
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--gold-2); cursor: grab;
    box-shadow: 0 0 0 5px rgba(233,197,90,.2);
}
input[type=range]::-webkit-slider-thumb:active { cursor: grabbing; }
input[type=range]::-moz-range-thumb {
    width: 20px; height: 20px; border: 0; border-radius: 50%;
    background: var(--gold-2); cursor: grab;
}
.dial-ends {
    display: flex; justify-content: space-between;
    font-size: 11.5px; color: #6E86A4; margin-top: 12px;
}

.dial-read { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dial-read > div {
    padding: 20px 24px;
    border-top: 1px solid rgba(255,255,255,.1);
}
.dial-read > div:nth-child(even) { border-left: 1px solid rgba(255,255,255,.1); }
.dial-read dt {
    font-size: 10.5px; font-weight: 700;
    letter-spacing: .16em; text-transform: uppercase;
    color: #7B93B1; margin-bottom: 6px;
}
.dial-read dd {
    margin: 0;
    font-family: Fraunces, Georgia, serif;
    font-size: 22px; font-weight: 600; color: #fff;
    font-variant-numeric: tabular-nums;
    display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
}
.dial-read dd small {
    font-family: Inter, sans-serif; font-size: 12px;
    font-weight: 400; color: #7B93B1; letter-spacing: 0;
}

/* The saving is the answer to the only question asked. Gold, and large. */
.dial-hero {
    grid-column: 1 / -1;
    border-top: 0 !important;
    background: rgba(233,197,90,.08);
    border-bottom: 1px solid rgba(233,197,90,.25);
    padding: 26px 24px !important;
}
.dial-hero dt { color: var(--gold-2) !important; }
.dial-hero dd { font-size: clamp(38px, 6vw, 58px); color: var(--gold-2); line-height: 1.02; }

/* --------------------------------------------------------- the chart */

.gap-sec { padding: 88px 0; }

.plot { margin: 0; }
.plot-keys {
    display: flex; gap: 26px; flex-wrap: wrap;
    font-size: 12.5px; color: var(--ink-2); margin-bottom: 20px;
}
.k { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.k::before { content: ""; width: 22px; height: 3px; }
.k-without::before { background: var(--navy); }
.k-with::before    { background: var(--blue-2); }
.k-gap::before     { background: var(--gold-bg); height: 12px; border: 1px solid var(--gold-2); }

.plot-svg { width: 100%; height: clamp(240px, 32vw, 330px); display: block; overflow: visible; }
.plot-axis {
    display: flex; justify-content: space-between;
    margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--rule);
    font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums;
}
.plot figcaption {
    margin-top: 22px; font-size: 12.5px; color: var(--muted);
    max-width: 80ch; line-height: 1.7;
}

/* Drawn by landing.js; the palette stays here. The gain is gold because it
   is money, and because it is the one thing on the chart worth looking at. */
.plot-svg .gap-area     { fill: var(--gold-bg); }
.plot-svg .line-without { fill: none; stroke: var(--navy);   stroke-width: 2.5; stroke-linejoin: round; }
.plot-svg .line-with    { fill: none; stroke: var(--blue-2); stroke-width: 2.5; stroke-linejoin: round; }
.plot-svg .grid-line    { stroke: var(--rule-2); stroke-width: 1; }
.plot-svg .dot-without  { fill: var(--navy); }
.plot-svg .dot-with     { fill: var(--blue-2); }
.plot-svg .chart-tag {
    font-family: Inter, sans-serif; font-size: 12px; font-weight: 700; fill: var(--gold);
}
.plot-svg .chart-tag.on-navy { fill: var(--navy); }
.plot-svg .chart-tag.on-blue { fill: var(--blue-2); }

/* ------------------------------------------------------- the catalog */

.kit { padding: 88px 0; background: var(--navy); }
.kit .rule-head h2 { color: #fff; }
.kit .rule-head p  { color: #9DB2C9; }

.kit-block + .kit-block { margin-top: 44px; }

.kit-cat {
    display: flex; align-items: baseline; gap: 14px;
    padding-bottom: 14px; margin-bottom: 22px;
    border-bottom: 1px solid rgba(255,255,255,.14);
}
.kit-cat h3 {
    font-family: Inter, sans-serif;
    font-size: 12px; font-weight: 700;
    letter-spacing: .18em; text-transform: uppercase;
    color: var(--gold-2);
}
.kit-cat span { font-size: 11.5px; color: #6E86A4; }

/* A rail, not a grid: it scrolls sideways on a phone instead of stacking
   into a column six items deep that nobody reaches the bottom of. */
.kit-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(238px, 1fr);
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}
.kit-rail::-webkit-scrollbar { height: 5px; }
.kit-rail::-webkit-scrollbar-thumb { background: rgba(255,255,255,.18); }

.kit-item {
    background: var(--navy-2);
    border: 1px solid rgba(255,255,255,.08);
    display: flex; flex-direction: column;
    scroll-snap-align: start;
    transition: border-color .18s, transform .18s;
}
.kit-item:hover { border-color: var(--gold-2); transform: translateY(-2px); }

.kit-shot {
    aspect-ratio: 4 / 3;
    background: #fff;
    display: grid; place-items: center;
    overflow: hidden;
}
.kit-shot img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }

/* No photograph for this line yet — the rating carries the tile instead.
   An honest number beats a stock image of somebody else's hardware. */
.kit-shot.is-plain {
    background: linear-gradient(150deg, #16304F 0%, #0E2138 100%);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.kit-figure {
    font-family: Fraunces, Georgia, serif;
    font-size: 30px; font-weight: 600;
    color: var(--gold-2);
    font-variant-numeric: tabular-nums;
}

.kit-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.kit-brand {
    font-size: 10.5px; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase;
    color: var(--blue-2); margin-bottom: 5px;
}
.kit-model { font-size: 14.5px; font-weight: 600; color: #fff; line-height: 1.35; }
.kit-summary { margin: 8px 0 0; font-size: 12.5px; color: #8AA3C0; line-height: 1.55; }

.kit-foot {
    margin-top: auto; padding-top: 14px;
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.kit-chip {
    background: var(--gold-2); color: var(--navy);
    font-size: 11.5px; font-weight: 700; padding: 3px 9px;
    font-variant-numeric: tabular-nums;
}
.kit-warranty { font-size: 11px; color: #6E86A4; line-height: 1.4; }

/* ---------------------------------------------------------- the work */

.work { padding: 88px 0; }
.work-grid {
    display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    gap: 52px; align-items: start;
}
.work-photo { margin-bottom: 22px; }
.work-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.work-lead h3 { font-size: 26px; }
.work-where { font-size: 13px; color: var(--muted); margin-top: 6px; }
.work-spec {
    margin-top: 12px; font-size: 13.5px; font-weight: 600; color: var(--gold);
    font-variant-numeric: tabular-nums;
}

.work-rest { list-style: none; margin: 0; padding: 0; }
.work-rest li {
    padding: 18px 0 18px 18px;
    border-top: 1px solid var(--rule);
    border-left: 3px solid transparent;
    transition: border-left-color .18s, background .18s;
}
.work-rest li:hover { border-left-color: var(--gold-2); background: var(--wash-2); }
.work-rest li:last-child { border-bottom: 1px solid var(--rule); }
.work-rest-head { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.work-rest h3 { font-family: Inter, sans-serif; font-size: 15.5px; font-weight: 600; }
.work-rest-head span { font-size: 12.5px; color: var(--muted); white-space: nowrap; }

/* -------------------------------------------------------- the steps */

.steps { padding: 88px 0; background: var(--wash); border-block: 1px solid var(--rule); }
.steps-list {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(212px, 1fr)); gap: 32px;
}
.steps-list li { border-top: 3px solid var(--navy); padding-top: 20px; }
.steps-list li:nth-child(even) { border-top-color: var(--gold-2); }
.steps-list span {
    display: block;
    font-family: Fraunces, Georgia, serif;
    font-size: 22px; font-weight: 600; color: var(--gold);
    margin-bottom: 10px;
}
.steps-list h3 { font-family: Inter, sans-serif; font-size: 16.5px; font-weight: 600; margin-bottom: 7px; }
.steps-list p  { margin: 0; font-size: 14.5px; color: var(--ink-2); }

/* ------------------------------------------------------- the voices */

.voices { padding: 88px 0; }
.voices-grid {
    display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 52px; align-items: start;
}
.voice-lead { margin: 0; background: var(--gold-bg); padding: 34px 34px 30px; }
.voice-lead blockquote {
    margin: 0;
    font-family: Fraunces, Georgia, serif;
    font-size: clamp(21px, 2.7vw, 30px);
    font-weight: 500; line-height: 1.36; color: var(--navy);
    text-indent: -.4em;
}
.voice-lead blockquote::before { content: "\201C"; }
.voice-lead blockquote::after  { content: "\201D"; }
.voice-lead figcaption {
    display: flex; align-items: center; gap: 13px;
    margin-top: 26px; padding-top: 20px;
    border-top: 1px solid rgba(176,141,30,.28);
}
.voice-lead figcaption strong { display: block; font-size: 14.5px; color: var(--navy); }
.voice-lead figcaption em { font-style: normal; font-size: 12.5px; color: var(--gold); }

.face {
    width: 46px; height: 46px; flex: none; border-radius: 50%;
    background: var(--navy); color: var(--gold-2);
    display: grid; place-items: center;
    font-weight: 600; font-size: 14px; overflow: hidden;
}
.face img { width: 100%; height: 100%; object-fit: cover; }

.voice-rest { list-style: none; margin: 0; padding: 0; }
.voice-rest li { padding: 18px 0; border-top: 1px solid var(--rule); }
.voice-rest li:last-child { border-bottom: 1px solid var(--rule); }
.voice-rest p { margin: 0 0 7px; font-size: 14.5px; color: var(--ink-2); }
.voice-rest span { font-size: 12.5px; color: var(--muted); }
.voice-rest strong { color: var(--navy); font-weight: 600; }

/* --------------------------------------------------------- the close */

.ask { padding: 88px 0; background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.ask::before {
    content: "";
    position: absolute; left: 0; top: 0; bottom: 0;
    width: 6px; background: var(--gold-2);
}
.ask-in { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.ask h2 { color: #fff; font-size: clamp(28px, 3.8vw, 42px); max-width: 17ch; padding-top: 0; }
.ask h2::before { display: none; }
.ask p { margin: 14px 0 0; color: #9DB2C9; max-width: 44ch; font-size: 15.5px; }
.ask-actions { display: flex; gap: 11px; flex-wrap: wrap; }

/* ---------------------------------------------------------- colophon */

.colophon { background: #fff; border-top: 1px solid var(--rule); padding: 56px 0 0; font-size: 14px; }
.colophon-in { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 44px; padding-bottom: 42px; }
.colophon-name {
    font-family: Fraunces, Georgia, serif;
    font-size: 18px; font-weight: 600; color: var(--navy); margin-bottom: 5px;
}
.colophon-label {
    font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
    color: var(--gold); font-weight: 700; margin-bottom: 13px;
}
.colophon-line { display: block; color: var(--ink-2); margin-bottom: 7px; }
a.colophon-line:hover { color: var(--blue); }
.colophon-slogan { margin: 14px 0 0; max-width: 34ch; font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.colophon-base {
    border-top: 1px solid var(--rule); padding: 18px 26px;
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    font-size: 12px; color: var(--muted);
}

/* -------------------------------------------------------- responsive */

@media (max-width: 1000px) {
    .rule-head   { grid-template-columns: 1fr; gap: 18px; align-items: start; }
    .open-in     { grid-template-columns: 1fr; gap: 44px; }
    .open-photo  { order: -1; }
    .open-photo img { aspect-ratio: 16 / 9; }
    .open-photo::after { display: none; }
    .dial        { grid-template-columns: 1fr; }
    .dial-set    { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
    .work-grid, .voices-grid { grid-template-columns: 1fr; gap: 40px; }
    .colophon-in { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
    .menu {
        position: absolute; top: 72px; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: #fff; border-bottom: 1px solid var(--rule);
        padding: 4px 26px 16px;
    }
    .menu:not(.is-open) { display: none; }
    .menu a { padding: 13px 0; border-bottom: 1px solid var(--rule-2); }
    .menu-call { border-left: 0; padding-left: 0; }
    .menu-toggle { display: block; }

    /* In the drawer the pill becomes the last row's own button, wide enough
       for a thumb — this is the phone the staff actually open it on. */
    .menu .menu-staff {
        justify-content: center;
        margin-top: 12px; padding: 13px 0;
        border: 1px solid var(--rule); border-radius: 8px;
        font-size: 14px;
    }

    .open { padding: 44px 0 56px; }
    .estimate, .gap-sec, .kit, .work, .steps, .voices, .ask { padding: 58px 0; }
    .dial-set { padding: 28px 22px; }
    .dial-read { grid-template-columns: 1fr; }
    .dial-read > div:nth-child(even) { border-left: 0; }
    .voice-lead { padding: 26px 24px; }
    .colophon-in { grid-template-columns: 1fr; gap: 30px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}

/*
 * ============================================================
 * WHAT THE OFFICE WRITES Updates, articles and questions — App\Core\Content,
 * migration 032.
 *
 * ============================================================
 */

/* ------------------------------------------------------------- updates */

/* A dated list rather than cards. */
.news { padding: 88px 0; background: var(--wash-2); border-top: 1px solid var(--rule); }
.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 28px;
    padding: 26px 0;
    border-top: 1px solid var(--rule);
}
.news-list li:last-child { border-bottom: 1px solid var(--rule); }

.news-list time {
    display: block;
    padding-top: 2px;
    line-height: 1.15;
}
.news-list time .d {
    display: block;
    font-family: "Fraunces", Georgia, serif;
    font-size: 34px; font-weight: 600;
    color: var(--navy);
}
.news-list time .m {
    display: block;
    font-size: 11.5px; font-weight: 600;
    letter-spacing: .1em; text-transform: uppercase;
    color: var(--muted);
    margin-top: 2px;
}
.news-list h3 { font-size: 19px; margin: 0 0 5px; }
.news-list p { margin: 0; color: var(--ink-2); font-size: 15px; max-width: 68ch; }
.news-list a { color: var(--blue); font-weight: 600; font-size: 14px; }

/* ------------------------------------------------------------ articles */

.reads { padding: 88px 0; }
.reads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 26px;
}
.read-card {
    display: flex; flex-direction: column;
    background: #fff;
    border: 1px solid var(--rule);
    color: inherit; text-decoration: none;
    transition: border-color .16s, transform .16s, box-shadow .16s;
}
.read-card:hover {
    border-color: var(--gold-2);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(16, 36, 61, .08);
}
.read-img { background: var(--wash); }
.read-img img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/*
 * No cover photograph is a normal state, not a broken one — the office will
 * publish before it finds a picture.
 */
.read-img.is-empty {
    aspect-ratio: 16 / 10;
    display: grid; place-items: center;
    background: linear-gradient(140deg, var(--wash) 0%, var(--gold-bg) 100%);
}
.read-img.is-empty svg { width: 54px; height: 54px; color: var(--gold); opacity: .5; }

.read-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.read-date {
    font-size: 11.5px; font-weight: 600;
    letter-spacing: .09em; text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
}
.read-body h3 { font-size: 20px; margin: 0 0 8px; line-height: 1.3; }
.read-body p { margin: 0 0 18px; color: var(--ink-2); font-size: 14.5px; flex: 1; }
.read-more {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 14px; font-weight: 600; color: var(--blue);
}
.read-more svg { width: 16px; height: 16px; transition: transform .16s; }
.read-card:hover .read-more svg { transform: translateX(3px); }

/* ----------------------------------------------------------- questions */

.qa { padding: 88px 0; background: var(--navy); color: #fff; }
.qa-in {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 56px;
    align-items: start;
}
.qa .rule-head { display: block; margin-bottom: 18px; }
.qa .rule-head h2 { color: #fff; }
.qa-intro p { color: rgba(255,255,255,.7); font-size: 15.5px; margin: 0 0 22px; }

/* <details>, not a JavaScript accordion. */
.qa-list details {
    border-bottom: 1px solid rgba(255,255,255,.14);
}
.qa-list details:first-child { border-top: 1px solid rgba(255,255,255,.14); }
.qa-list summary {
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    padding: 20px 0;
    cursor: pointer;
    font-size: 17px; font-weight: 600;
    list-style: none;
    transition: color .14s;
}
.qa-list summary::-webkit-details-marker { display: none; }
.qa-list summary:hover { color: var(--gold-2); }
.qa-list summary svg {
    width: 20px; height: 20px; flex: 0 0 20px;
    color: var(--gold-2);
    transition: transform .18s;
}
.qa-list details[open] summary svg { transform: rotate(180deg); }
.qa-answer { padding: 0 0 22px; max-width: 66ch; }
.qa-answer p { margin: 0 0 12px; color: rgba(255,255,255,.76); font-size: 15.5px; }
.qa-answer p:last-child { margin-bottom: 0; }
.qa-answer a { color: var(--gold-2); font-weight: 600; }

/* ------------------------------------------------------ one article */

.post { padding-bottom: 80px; }
.post-cover { background: var(--wash); }
.post-cover img {
    display: block; width: 100%;
    max-height: 460px; object-fit: cover;
}
.post-wrap { max-width: 760px; }

.post-back { padding: 34px 0 0; }
.post-back a {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13.5px; font-weight: 600; color: var(--ink-2);
}
.post-back a:hover { color: var(--blue); }
.post-back svg { width: 16px; height: 16px; }

.post-head { padding: 26px 0 30px; border-bottom: 1px solid var(--rule); }
.post-meta {
    display: flex; gap: 16px;
    font-size: 11.5px; font-weight: 600;
    letter-spacing: .09em; text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 14px;
}
.post-head h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.15; margin: 0; }
.post-stand {
    margin: 18px 0 0;
    font-size: 19px; line-height: 1.55; color: var(--ink-2);
}

/* Measure is the whole design of a reading page. 66 characters is where the
   eye stops having to hunt for the start of the next line. */
.post-body { padding: 30px 0 0; font-size: 17.5px; line-height: 1.72; }
.post-body p { margin: 0 0 22px; max-width: 66ch; }
.post-body ul { margin: 0 0 22px; padding-left: 22px; max-width: 64ch; }
.post-body li { margin-bottom: 9px; }
.post-empty { color: var(--muted); font-style: italic; }

.post-out { margin: 0 0 26px; }
.post-out a {
    display: inline-flex; align-items: center; gap: 7px;
    font-weight: 600; color: var(--blue);
}
.post-out svg { width: 15px; height: 15px; }

/*
 * Somebody who read to the bottom of an article about solar is the warmest
 * lead this site produces.
 */
.post-cta {
    display: flex; align-items: center; justify-content: space-between;
    gap: 28px; flex-wrap: wrap;
    margin: 12px 0 0;
    padding: 30px 32px;
    background: var(--navy); color: #fff;
}
/* Explicitly white. Headings carry the page's navy by default, which on a
   navy panel is a heading nobody can see. */
.post-cta h2 { font-size: 24px; margin: 0 0 6px; color: #fff; }
.post-cta p { margin: 0; color: rgba(255,255,255,.72); font-size: 15px; }
.post-cta .btn-solid {
    display: inline-flex; align-items: center;
    padding: 14px 26px;
    background: var(--gold-2); color: var(--navy);
    font-weight: 600; font-size: 14.5px;
}
.post-cta .btn-solid:hover { background: #fff; }

.post-more { margin-top: 56px; }
.post-more h2 { font-size: 22px; margin: 0 0 20px; }
.post-more-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 20px;
}
.post-card {
    display: block;
    border: 1px solid var(--rule);
    color: inherit; text-decoration: none;
    transition: border-color .16s;
}
.post-card:hover { border-color: var(--gold-2); }
.post-card-img img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card-body { padding: 16px 18px 18px; }
.post-card-date {
    font-size: 11px; font-weight: 600;
    letter-spacing: .08em; text-transform: uppercase;
    color: var(--muted); margin-bottom: 6px;
}
.post-card-body h3 { font-size: 16px; margin: 0 0 6px; line-height: 1.32; }
.post-card-body p { margin: 0; font-size: 13.5px; color: var(--ink-2); }

/* ------------------------------------------------------------- narrow */

@media (max-width: 860px) {
    .news, .reads, .qa { padding: 60px 0; }

    /* The date stops being a column and becomes a line above the headline. */
    .news-list li { grid-template-columns: 1fr; gap: 10px; }
    .news-list time { display: flex; align-items: baseline; gap: 8px; padding-top: 0; }
    .news-list time .d { font-size: 22px; }
    .news-list time .m { margin-top: 0; }

    .qa-in { grid-template-columns: 1fr; gap: 32px; }
    .qa-list summary { font-size: 16px; }

    .post-cta { flex-direction: column; align-items: flex-start; padding: 26px 24px; }
    .post-body { font-size: 16.5px; }
}
