/* ============================================
   DEMAND DIGITAL REFORM — Editorial Theme
   Palette: Navy / Off-White / Warm Amber
   Tone: Credible, serious, journalistic
   ============================================ */

/* --- CSS Variables --- */
:root {
    --navy:        #1a2744;
    --navy-mid:    #243560;
    --navy-light:  #2e4280;
    --off-white:   #f7f4ef;
    --warm-white:  #fdfbf8;
    --ink:         #1c1c1c;
    --ink-light:   #444;
    --ink-faint:   #888;
    --amber:       #b8722a;
    --amber-light: #d4914a;
    --rule:        #ddd8d0;
    --rule-dark:   #c5bfb5;
}

/* ============================================
   Global Reset
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--warm-white);
    color: var(--ink);
    font-family: "Lora", "Georgia", serif;
    -webkit-font-smoothing: antialiased;
}

/* ============================================
   Typography Utilities
   ============================================ */
.text-xxl {
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.2;
    font-weight: 700;
    font-family: "Playfair Display", serif;
    margin: 0 20px;
    color: var(--navy);
}

.text-xl {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    line-height: 1.35;
    font-weight: 700;
    font-family: "Playfair Display", serif;
    margin: 0 20px;
    color: var(--navy);
}

.text-lg {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    line-height: 1.5;
    font-weight: 400;
    font-family: "Lora", serif;
    margin: 0 20px;
    color: var(--ink-light);
}

.text-md {
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
    font-family: "Lora", serif;
    margin: 0 20px;
}

/* ============================================
   Navigation
   ============================================ */
nav {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 64px;
    width: 100%;
    background-color: var(--warm-white);
    border-bottom: 1px solid var(--rule-dark);
    z-index: 1000;
    padding: 0 40px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

nav .left a {
    font-family: "Playfair Display", serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--navy);
    text-decoration: none;
}

nav .right {
    display: flex;
    gap: 32px;
}

nav .right a {
    font-family: "Lora", serif;
    font-size: 0.9rem;
    color: var(--ink-light);
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: color 0.2s ease;
    line-height: 64px;
}

nav .right a:hover {
    color: var(--navy);
    text-decoration: none;
    border-bottom: 2px solid var(--amber);
}

/* ============================================
   Header
   ============================================ */
header {
    background-color: var(--warm-white);
    padding: 60px 10% 40px;
    border-bottom: 1px solid var(--rule);
}

.lead {
    text-align: left;
    margin-bottom: 16px;
}

.lead h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(1rem, 2vw, 1.1rem);
    font-weight: 400;
    color: var(--amber);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-style: italic;
}

.prelim h3 {
    font-family: "Lora", serif;
    font-size: clamp(1.1rem, 2.5vw, 1.45rem);
    font-weight: 400;
    line-height: 1.65;
    color: var(--ink-light);
    max-width: 800px;
}

/* ============================================
   Panel 1 — Articles Grid
   ============================================ */
.panel1 {
    background-color: var(--navy);
    padding: 80px 10%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

.text1 {
    text-align: center;
    width: 90%;
}

.text1 h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 400;
    color: var(--off-white);
    line-height: 1.4;
    opacity: 0.9;
}

.articles-grid {
    display: flex;
    gap: 28px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.article-card {
    width: 300px;
    text-decoration: none;
    color: var(--off-white);
    transition: transform 0.25s ease;
    border-top: 2px solid transparent;
}

.article-card:hover {
    transform: translateY(-5px);
    border-top-color: var(--amber);
}

.article-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.article-card:hover img {
    filter: grayscale(0%);
}

.article-card p {
    margin-top: 12px;
    font-family: "Lora", serif;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #b0bdd4;
}

/* ============================================
   Panel 2 — Quotes / Arguments
   ============================================ */
.panel2 {
    background-color: var(--warm-white);
    padding: 100px 10%;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}

.panel2-container {
    max-width: 800px;
    color: var(--ink);
    font-family: "Lora", serif;
    line-height: 1.7;
}

.panel2-container h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 32px;
    line-height: 1.3;
}

.panel2-container h1 a {
    color: var(--navy);
    text-decoration: underline;
    text-decoration-color: var(--amber);
    text-underline-offset: 4px;
    transition: opacity 0.2s;
}

.panel2-container h1 a:hover {
    opacity: 0.75;
}

.panel2-container blockquote {
    font-style: italic;
    font-size: 1.25rem;
    margin: 0 0 40px;
    padding: 24px 32px;
    border-left: 3px solid var(--amber);
    background-color: var(--off-white);
    color: var(--ink-light);
}

.panel2-container blockquote footer {
    margin-top: 12px;
    font-size: 0.85rem;
    font-style: normal;
    color: var(--ink-faint);
}

.panel2-container blockquote footer a {
    color: var(--navy-mid);
    text-decoration: underline;
}

.panel2-container a {
    color: var(--navy);
    text-decoration: underline;
    text-decoration-color: var(--amber);
    text-underline-offset: 3px;
    transition: opacity 0.2s;
}

.panel2-container a:hover {
    opacity: 0.7;
}

/* ============================================
   Panel 3 — Statistics / Images
   ============================================ */
.panel3 {
    background-color: var(--off-white);
    padding: 80px 10%;
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.panel3-item {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.panel3 .text-md a {
    color: var(--navy);
    text-decoration: underline;
    text-decoration-color: var(--amber);
    text-underline-offset: 3px;
}

.panel3 .text-md a:hover {
    opacity: 0.7;
}

.panel3 .text-md h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.35;
}

.panel3-item figcaption {
    font-family: "Lora", serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.35;
}

.panel3-item img {
    width: 260px;
    height: auto;
    border-radius: 4px;
    border: 2px solid var(--rule-dark);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.panel3-item img:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 28px rgba(26, 39, 68, 0.15);
}

.panel3-item:nth-of-type(2) img {
    width: 560px;
}

/* ============================================
   Panel 4 — Dark Call to Awareness
   ============================================ */
.panel4 {
    background-color: var(--navy);
    border-bottom: 3px solid var(--amber);
    padding: 80px 10%;
}

.text4 {
    color: var(--off-white);
}

.text4 h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 500;
    line-height: 1.5;
    color: var(--off-white);
    margin-bottom: 28px;
}

.text4 a {
    color: var(--amber-light);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.2s;
}

.text4 a:hover {
    opacity: 0.8;
}

/* ============================================
   Panel 5 — History of Boycotts
   ============================================ */
.panel5 {
    background-color: var(--warm-white);
    padding: 80px 10%;
    border-bottom: 1px solid var(--rule);
}

.text5 h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 20px;
    line-height: 1.35;
}

.panel5 h4 {
    font-family: "Lora", serif;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.75;
    color: var(--ink-light);
    text-indent: 0;
    max-width: 800px;
    margin-left: 20px;
}

/* ============================================
   Panel 6 — Goals
   ============================================ */
.panel6 {
    background-color: var(--off-white);
    padding: 100px 10%;
    display: flex;
    justify-content: flex-start;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}

.text6 {
    max-width: 800px;
    width: 100%;
}

.text6 h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--navy);
    border-left: 4px solid var(--amber);
    padding-left: 20px;
    margin-bottom: 32px;
    line-height: 1.3;
}

.text6 h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.45;
    margin-bottom: 28px;
}

.text6 p {
    font-family: "Lora", serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--ink-light);
    margin-bottom: 32px;
    max-width: 680px;
}

.panel6 ul {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 20px;
}

.panel6 li {
    font-family: "Lora", serif;
    font-size: 1.05rem;
    padding: 14px 0 14px 32px;
    border-bottom: 1px solid var(--rule);
    position: relative;
    color: var(--ink);
    transition: padding-left 0.25s ease;
}

.panel6 li:last-child {
    border-bottom: none;
}

.panel6 li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--amber);
    font-weight: 700;
    top: 14px;
}

/* ============================================
   Panel 7 — How to Join
   ============================================ */
.panel7 {
    background-color: var(--navy);
    color: var(--off-white);
    padding: 100px 10%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.text7 {
    max-width: 680px;
    width: 100%;
    text-align: left;
}

.text7 h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    text-align: center;
    color: var(--off-white);
    margin-bottom: 48px;
    letter-spacing: -0.01em;
}

.text7 p {
    font-family: "Lora", serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #b0bdd4;
    margin-bottom: 20px;
}

.text7 ul {
    list-style: none;
    padding: 0;
    margin: 16px 0 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.text7 li {
    font-family: "Lora", serif;
    font-size: 1.1rem;
    color: var(--off-white);
    padding: 12px 0 12px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    position: relative;
}

.text7 li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--amber);
    font-weight: 700;
}

.text7 a {
    color: var(--amber-light);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.2s;
}

.text7 a:hover {
    opacity: 0.75;
}

/* ============================================
   Signup Page
   ============================================ */
.counter-container {
    flex: 1;
    background-color: var(--navy);
    color: var(--off-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
    text-align: center;
    min-height: 600px;
}

.counter-display {
    font-family: "Playfair Display", serif;
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 700;
    color: var(--off-white);
    line-height: 1;
    margin: 20px 0;
    letter-spacing: -0.03em;
}

.counter-label {
    font-family: "Lora", serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--amber);
}

form[name='fmSignup'] input[type='submit'] {
    background-color: var(--navy);
    color: var(--off-white);
    font-family: "Lora", serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 16px 48px;
    border: 2px solid var(--amber);
    border-radius: 0;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease;
    -webkit-appearance: none;
}

form[name='fmSignup'] input[type='submit']:hover {
    background-color: var(--amber);
    color: var(--warm-white);
}

/* ============================================
   Contact Page
   ============================================ */
.contact-container {
    flex: 1;
    background-color: var(--navy);
    color: var(--off-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 10%;
    min-height: 500px;
}

.contact-container h1,
.contact-container p,
.contact-container ul {
    width: 100%;
    max-width: 780px;
    text-align: left;
}

.contact-container h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.25;
}

.contact-container p {
    font-family: "Lora", serif;
    font-size: 1.05rem;
    line-height: 1.75;
    color: #b0bdd4;
    margin-bottom: 16px;
}

.contact-container ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.contact-container li {
    font-family: "Lora", serif;
    font-size: 1rem;
    color: #b0bdd4;
    padding: 12px 0 12px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    position: relative;
}

.contact-container li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--amber);
}

/* ============================================
   Reading Page
   ============================================ */
.reading-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 72px 10%;
    max-width: 900px;
    margin: 0 auto;
}

.reading-container h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: var(--navy);
    align-self: flex-start;
    margin-bottom: 40px;
    border-bottom: 2px solid var(--amber);
    padding-bottom: 16px;
}

.reading-container p {
    font-family: "Lora", serif;
    text-indent: 0;
    line-height: 1.8;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--ink-light);
    margin-bottom: 24px;
}

.reading-container a {
    color: var(--navy);
    text-decoration: underline;
    text-decoration-color: var(--amber);
    text-underline-offset: 3px;
    transition: opacity 0.2s ease;
}

.reading-container a:hover {
    opacity: 0.7;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background-color: var(--ink);
    color: var(--off-white);
    padding: 80px 10% 40px;
    border-top: 3px solid var(--navy);
    font-family: "Lora", serif;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand h1 {
    font-family: "Playfair Display", serif;
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--off-white);
}

.footer-brand p {
    color: var(--ink-faint);
    max-width: 280px;
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 72px;
}

.footer-col h4 {
    font-family: "Lora", serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--amber);
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    color: #8a96aa;
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--off-white);
}

.footer-bottom {
    padding-top: 28px;
    border-top: 1px solid #2a2a2a;
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #555;
    font-family: "Lora", serif;
}