/*
    Six Word Memoir — Page Styles
    sixWordMemoirStyles.css
    Created: 2026-10-25  |  Updated: 2026-10-26
    Companion: sixWordMemoir.html
    Extracted from inline <style> block; hero updated with background image.
    CSS de-minified for readability — separation of concerns applied.
*/

/* ── Design Tokens ────────────────────────────────────────── */
:root {
    --ink:   #203137;
    --muted: #52656a;
    --paper: #fbfaf6;
    --teal:  #15665e;
    --line:  #d5dfda;
    --gold:  #e3b65e;
}

/* ── Reset / Base ─────────────────────────────────────────── */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 18px/1.7 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ── Links ────────────────────────────────────────────────── */
a { color: var(--teal); text-underline-offset: 4px; }
a:hover { color: #863d17; }

a:focus-visible,
button:focus-visible,
textarea:focus-visible {
    outline: 3px solid #bc6819;
    outline-offset: 4px;
}

/* ── Layout ───────────────────────────────────────────────── */
.wrap {
    max-width: 1000px;
    margin: auto;
    padding: 0 32px;
}

/* ── Hero — background image with teal gradient overlay ──── */
.hero {
    background:
        linear-gradient(rgba(23, 61, 58, 0.80), rgba(23, 61, 58, 0.68)),
        url('../images/healingLightMosaic.jpeg') center / cover no-repeat;
    color: #fff;
    padding: 70px 0 54px;
    border-bottom: 7px solid var(--gold);
}

.eyebrow {
    font-size: .78rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-weight: 700;       /* was 750 — rounded to valid CSS keyword-level value */
    color: #e9ca8b;
}

/* ── Headings ─────────────────────────────────────────────── */
h1, h2, h3 { line-height: 1.18; }

h1 {
    font-family: Georgia, serif;
    font-size: clamp(2.8rem, 7vw, 4.7rem);
    font-weight: 400;
    margin: 14px 0 22px;
    max-width: 800px;
}

h2 {
    font-family: Georgia, serif;
    font-size: 2rem;
    font-weight: 400;
    margin: 0 0 24px;
}

h3 { font-size: 1.1rem; margin: 0 0 10px; }

/* ── Hero text ────────────────────────────────────────────── */
.dek {
    max-width: 720px;
    color: #e1efea;
    font-size: 1.16rem;
}

.meta {
    font-size: .8rem;
    color: #b9d3ce;
    margin-top: 26px;
}

/* ── Navigation ───────────────────────────────────────────── */
nav {
    display: flex;
    gap: 12px 24px;
    flex-wrap: wrap;
    padding: 23px 0;
    border-bottom: 1px solid var(--line);
    font-size: .88rem;
}

/* ── Main sections ────────────────────────────────────────── */
main section {
    padding: 44px 0;
    border-bottom: 1px solid var(--line);
    scroll-margin-top: 20px;
}

p { margin: 0 0 18px; }

/* ── Callout notes ────────────────────────────────────────── */
.note {
    border-left: 4px solid var(--gold);
    background: #f4efdf;
    padding: 20px 24px;
    margin: 25px 0;
    font-size: .95rem;
}

.note p:last-child { margin-bottom: 0; }

/* ── Tables ───────────────────────────────────────────────── */
.table-scroll { overflow: auto; }

table {
    width: 100%;
    border-collapse: collapse;
    font-size: .94rem;
    margin: 24px 0;
}

th, td {
    text-align: left;
    padding: 15px 16px;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

th { background: #eaf0ec; font-size: .85rem; }

/* ── Blockquote ───────────────────────────────────────────── */
blockquote {
    margin: 30px 0;
    padding: 20px 26px;
    border-left: 4px solid var(--teal);
    font: 1.6rem/1.4 Georgia, serif;
    background: #edf3ee;
}

blockquote small {
    display: block;
    font: .83rem/1.6 system-ui, sans-serif;
    margin-top: 10px;
    color: var(--muted);
}

/* ── Step list ────────────────────────────────────────────── */
ol.steps { padding-left: 28px; }
.steps li { padding: 0 0 21px 10px; }
.steps strong { display: block; }

/* ── Three-column card grid ───────────────────────────────── */
.three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 24px 0;
}

.card {
    padding: 23px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 8px;
}

.card p { font-size: .95rem; margin: 0; }

/* ── Utility labels ───────────────────────────────────────── */
.label {
    font-size: .73rem;
    text-transform: uppercase;
    letter-spacing: .09em;
    color: var(--teal);
    font-weight: 700;       /* was 750 */
}

/* ── References list ──────────────────────────────────────── */
.refs { padding-left: 24px; }
.refs li { padding: 0 0 23px 8px; }
.refs p { font-size: .94rem; margin: 7px 0 0; color: var(--muted); }

.url {
    display: block;
    font-size: .75rem;
    overflow-wrap: break-word;  /* replaced 'anywhere' — broader validator support */
    color: var(--muted);
    margin-top: 5px;
}

.small { font-size: .88rem; color: var(--muted); }

/* ── Draft / writing tool ─────────────────────────────────── */
textarea {
    width: 100%;
    resize: vertical;
    min-height: 110px;
    border: 1px solid #8da7a0;
    border-radius: 6px;
    padding: 16px;
    font: 1.2rem/1.5 Georgia, serif;
    background: #fff;
    color: var(--ink);
}

.tools {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 12px;
}

button {
    border: 0;
    border-radius: 5px;
    background: var(--teal);
    color: white;
    font: 600 .9rem system-ui, sans-serif;
    padding: 11px 18px;
    cursor: pointer;
}

output {
    font-weight: bold;      /* was 650 — replaced with keyword for validity */
    font-size: .9rem;
}

footer {
    padding: 28px 0 45px;
    font-size: .82rem;
    color: var(--muted);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 650px) {
    .wrap   { padding: 0 22px; }
    .hero   { padding: 45px 0 35px; }
    .three  { grid-template-columns: 1fr; }
    h2      { font-size: 1.75rem; }
    th, td  { padding: 12px; }
    body    { font-size: 17px; }
}

/* ── Print ────────────────────────────────────────────────── */
@media print {
    body    { background: white; color: #111; font-size: 11pt; }
    .wrap   { max-width: none; padding: 0; }
    .hero   { background: white; color: #111; padding: 0 0 20px; border-bottom: 2px solid #777; }
    .eyebrow, .dek, .meta { color: #333; }
    h1      { font-size: 34pt; }
    h2      { font-size: 22pt; }
    nav, .tools, .drafting { display: none; }
    main section { padding: 22px 0; }
    a       { color: #111; }
    h2, h3  { break-after: avoid; }
    .card, blockquote, .refs li, .steps li { break-inside: avoid; }
    .three  { gap: 10px; }
    .note   { background: #f5f5f5; }
    footer  { padding-bottom: 0; }
}
