/* Mrs. Wobbles & the Tangerine House — Shared Site Stylesheet */
/* Used by all static pages. Undum landing page uses undum_landdown.css + mrsw-topnav.css */

@import url('https://fonts.googleapis.com/css2?family=Tangerine:wght@400;700&display=swap');

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

/* ── Body ──────────────────────────────────────────────── */
body {
    background: #170804 url("../img/page_bg7.png") left top fixed;
    font-family: Palatino, Times, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1.6em;
    color: #210;
}

/* ── Top Nav ───────────────────────────────────────────── */
#topnav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(23, 8, 4, 0.96);
    border-bottom: 1px solid rgba(206, 195, 174, 0.25);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5em;
    height: 3em;
}

#topnav .site-title {
    font-family: Palatino, Times, "Times New Roman", serif;
    font-size: 1.05em;
    font-style: italic;
    color: #e6e6c6;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
    letter-spacing: 0.02em;
}
#topnav .site-title:hover { color: #fff; }

#topnav nav {
    display: flex;
    align-items: center;
    gap: 1.3em;
    flex-wrap: wrap;
}

#topnav nav a {
    color: #cec3ae;
    font-size: 0.82em;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s;
}
#topnav nav a:hover { color: #fff; }

#topnav nav a.active { color: #fff; border-bottom: 1px solid rgba(206,195,174,0.5); }

/* ── Page Layout ───────────────────────────────────────── */
#page-wrap {
    max-width: 46em;
    margin: 0 auto;
    padding: 5em 1.5em 3em;
}

/* ── Fade-in Animation ─────────────────────────────────── */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Content Area (parchment) ──────────────────────────── */
.content-area {
    background: #e6e6c6 url("../img/text_bg9f.jpg") repeat left top;
    padding: 2.8em 3em;
    border-radius: 2px;
    animation: fadeIn 0.8s ease forwards;
    opacity: 0;
}

/* ── Typography ────────────────────────────────────────── */
h1.page-title {
    font-family: Palatino, Times, "Times New Roman", serif;
    font-size: 1.6em;
    font-weight: normal;
    color: #210;
    text-align: center;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 0.4em;
}

h1.section-head {
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #321;
    text-align: center;
    margin: 2em 0 1em 0;
    border-bottom: 1px solid rgba(135,102,86,0.4);
    padding-bottom: 0.5em;
}

h2 {
    font-size: 1.05em;
    color: #321;
    font-style: italic;
    font-weight: normal;
    margin: 1.5em 0 0.4em 0;
}

p { line-height: 1.6em; }
p + p { text-indent: 1.6em; }

a {
    color: #900;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.15s;
}
a:hover { border-bottom: 1px dotted #900; }

ul { padding-left: 1.4em; }
li { margin-bottom: 0.4em; }

hr {
    border: none;
    border-top: 1px solid rgba(135,102,86,0.35);
    margin: 2em 0;
}

/* ── Story Listings (Read page) ────────────────────────── */
.story-list { list-style: none; padding: 0; }

.story-entry {
    padding: 1.4em 0;
    border-bottom: 1px solid rgba(135,102,86,0.3);
}
.story-entry:last-child { border-bottom: none; }

.story-num {
    font-size: 0.75em;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #765;
    display: block;
    margin-bottom: 0.15em;
}

.story-entry .story-title {
    font-family: Palatino, Times, "Times New Roman", serif;
    font-size: 1.1em;
    font-style: italic;
    color: #321;
    display: block;
    margin-bottom: 0.1em;
    line-height: 1.3;
    border: none;
}
.story-entry .story-title:hover { color: #900; border: none; }

.story-meta {
    font-size: 0.8em;
    color: #654;
    margin-bottom: 0.5em;
    font-style: italic;
}

.story-desc {
    font-size: 0.95em;
    text-indent: 0 !important;
    margin-bottom: 0.6em;
}

.story-links { font-size: 0.85em; }
.story-links a { margin-right: 1.2em; }

.coming-soon {
    font-style: italic;
    color: #876;
    font-size: 0.85em;
}

/* ── Award Badge ───────────────────────────────────────── */
.award-badge {
    background: rgba(135,102,86,0.12);
    border: 1px solid rgba(135,102,86,0.5);
    border-radius: 2px;
    padding: 0.7em 1.2em;
    font-size: 0.85em;
    color: #321;
    text-align: center;
    font-style: italic;
    margin: 1.5em 0;
}
.award-badge strong { font-style: normal; display: block; margin-bottom: 0.2em; }

/* ── Mailing List / Signup ─────────────────────────────── */
.signup-section {
    margin-top: 2.5em;
    padding-top: 1.5em;
    border-top: 1px solid rgba(135,102,86,0.4);
    text-align: center;
}
.signup-section p {
    font-style: italic;
    text-indent: 0 !important;
    margin-bottom: 0.8em;
    color: #432;
}
.signup-section iframe {
    border: none;
    width: 100%;
    max-width: 480px;
    height: 420px;
}

/* ── Undum-style choice list (used on landing page nav) ── */
ul.options {
    border: 1px solid #876;
    list-style: none;
    padding: 0;
    border-radius: 3px;
    margin: 1.2em 0;
}
ul.options li {
    border-bottom: 1px solid rgba(135,102,86,0.4);
    padding: 0.6em 0.8em;
    margin: 0;
}
ul.options li:last-child { border-bottom: none; }
ul.options li:hover { background: rgba(135,102,86,0.12); cursor: pointer; }
ul.options li a {
    color: #900;
    display: block;
    border: none;
}
ul.options li a:hover { border: none; }

/* ── Blurb / Pull Quote ────────────────────────────────── */
blockquote.blurb {
    border-left: 2px solid rgba(135,102,86,0.5);
    margin: 1em 0 0.6em 0;
    padding: 0.4em 0 0.4em 1em;
}
blockquote.blurb p {
    font-style: italic;
    font-size: 0.9em;
    color: #321;
    text-indent: 0 !important;
    margin-bottom: 0.3em;
}
blockquote.blurb cite {
    font-size: 0.8em;
    color: #654;
    font-style: normal;
}

/* ── Responsive Video Embed ────────────────────────────── */
.video-wrap {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    margin: 1.4em 0 1.8em;
    border-radius: 2px;
}
.video-wrap iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}

/* ── Contact Form ──────────────────────────────────────── */
.contact-form {
    margin-top: 1.4em;
}

.form-field {
    margin-bottom: 1.2em;
}

.form-field label {
    display: block;
    font-size: 0.82em;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #543;
    margin-bottom: 0.3em;
}

.form-field .optional {
    text-transform: none;
    letter-spacing: 0;
    font-style: italic;
    color: #876;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field select,
.form-field textarea {
    width: 100%;
    font-family: Palatino, Times, "Times New Roman", serif;
    font-size: 0.95em;
    color: #210;
    background: rgba(255,255,255,0.55);
    border: 1px solid rgba(135,102,86,0.5);
    border-radius: 2px;
    padding: 0.5em 0.7em;
    line-height: 1.5em;
    box-sizing: border-box;
    transition: border-color 0.2s, background 0.2s;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #876;
    background: rgba(255,255,255,0.8);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #aa9;
    font-style: italic;
}

.form-field textarea {
    resize: vertical;
}

.form-submit {
    margin-top: 1.4em;
    text-align: right;
}

.form-submit button {
    font-family: Palatino, Times, "Times New Roman", serif;
    font-size: 0.95em;
    background: #876;
    color: #e6e6c6;
    border: none;
    padding: 0.55em 1.8em;
    border-radius: 2px;
    cursor: pointer;
    letter-spacing: 0.05em;
    transition: background 0.2s;
}

.form-submit button:hover {
    background: #765;
}

/* ── Footer ────────────────────────────────────────────── */
#site-footer {
    color: rgba(255,255,255,0.45);
    text-align: center;
    font-size: 0.68em;
    line-height: 1.6em;
    padding: 2em 1em 3em;
    max-width: 46em;
    margin: 0 auto;
}
#site-footer a { color: rgba(255,255,255,0.55); border: none; }
#site-footer a:hover { color: #fff; border: none; }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 640px) {
    #topnav {
        height: auto;
        flex-direction: column;
        align-items: flex-start;
        padding: 0.6em 1em;
        gap: 0.4em;
    }
    #topnav nav { gap: 0.7em; padding-bottom: 0.4em; }
    #page-wrap { padding: 8em 0.8em 2em; }
    .content-area { padding: 1.5em 1.2em; }
    h1.page-title { font-size: 2em; }
}
