/* Warm Clay - A Free Design by Bryant Smith (bryantsmith.com)
   An earthy personal homepage built from full-width colour bands.
   Every colour and space on the page is set below. Look for the
   section headings to find the part you want to change. */


/* ---- BODY: the warm cream base the whole page sits on ---- */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: #f6ecdd;
    color: #35291f;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 17px;
    line-height: 1.7;
}

/* ---- LAYOUT HELPERS: the centred column inside each band ---- */

.wrap {
    margin: 0 auto;
    max-width: 880px;
    padding: 0 28px;
}

.band {
    padding: 64px 0;
}

.band-cream {
    background: #fbf4e8;
    color: #35291f;
}

/* the clay bands carry a faint dotted texture over a warm gradient */
.band-clay {
    background-color: #a44f33;
    background-image:
        radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(135deg, #a44f33, #b25a3b);
    background-size: 14px 14px, auto;
    color: #f7e9df;
}


/* ---- TOP LINK ROW: the slim bar of links at the very top ---- */

#toplinks {
    background: #fbf4e8;
    border-bottom: 3px solid #a44f33;
    padding: 16px 0;
}

#toplinks .wrap {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    justify-content: space-between;
}

.brand {
    color: #8f4327;
    font-size: 22px;
    font-weight: bold;
    letter-spacing: -0.3px;
}

#menu a,
#menu a:visited {
    color: #4a3b30;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.15s ease;
}

#menu a {
    margin-left: 20px;
}

#menu a:hover {
    color: #a44f33;
}

#menu a:focus-visible,
a:focus-visible {
    outline: 2px solid #a44f33;
    outline-offset: 2px;
}


/* ---- HERO: the title inside the first clay band ---- */

.hero {
    padding: 80px 28px 72px 28px;
    text-align: center;
}

.eyebrow {
    color: #fbe2d2;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    letter-spacing: 3px;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.hero h1 {
    color: #fff8f0;
    font-size: 60px;
    font-weight: normal;
    letter-spacing: -1px;
    line-height: 1.05;
}

.tagline {
    color: #fae4d6;
    font-size: 19px;
    line-height: 1.6;
    margin: 20px auto 0 auto;
    max-width: 540px;
}


/* ---- HEADINGS: small, spaced labels above each section ---- */

h2 {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2.5px;
    margin-bottom: 18px;
    text-transform: uppercase;
}

h2::before {
    content: "";
    display: inline-block;
    height: 10px;
    margin-right: 10px;
    vertical-align: middle;
    width: 10px;
}

.band-cream h2 {
    color: #8f4327;
}

.band-cream h2::before {
    background: #a44f33;
}

.band-clay h2 {
    color: #fdf0e6;
}

.band-clay h2::before {
    background: #e8b295;
}


/* ---- TEXT: paragraphs, links and the intro line ---- */

.band p {
    margin-bottom: 18px;
}

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

a,
a:visited {
    color: #8f4327;
    text-decoration: none;
    transition: color 0.15s ease;
}

a:hover {
    color: #5f2c17;
    text-decoration: underline;
}

.band-clay a,
.band-clay a:visited {
    color: #fdf1e7;
}

.band-clay a:hover {
    color: #ffd9c2;
}

.lead {
    color: #4a3b30;
    font-size: 20px;
    line-height: 1.65;
}


/* ---- JOURNAL: the dated list on the clay band ---- */

.journal {
    list-style: none;
    margin-top: 8px;
}

.journal li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    gap: 16px;
    padding: 16px 0;
}

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

.journal .date {
    color: #fbe2d2;
    flex: 0 0 160px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    letter-spacing: 1.5px;
    padding-top: 5px;
    text-transform: uppercase;
}

.journal a {
    font-size: 20px;
}


/* ---- SPLIT: two simple columns inside the cream band ---- */

.split {
    display: flex;
    gap: 48px;
}

.column {
    flex: 1;
}

.column p {
    margin-bottom: 16px;
}


/* ---- TAGS: a dotted list used in the two columns ---- */

.tags {
    list-style: none;
}

.tags li {
    border-bottom: 1px solid #eadfce;
    padding: 9px 0 9px 26px;
    position: relative;
}

.tags li::before {
    background: #bd6144;
    border-radius: 50%;
    content: "";
    height: 9px;
    left: 0;
    position: absolute;
    top: 18px;
    width: 9px;
}


/* ---- QUOTE: a centred pause on the clay band ---- */

blockquote {
    border-left: 4px solid #e8b295;
    margin: 0 auto;
    max-width: 680px;
    padding: 6px 0 6px 28px;
}

blockquote p {
    color: #fdf0e6;
    font-size: 25px;
    font-style: italic;
    line-height: 1.5;
}

blockquote cite {
    color: #fae4d6;
    display: block;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-style: normal;
    letter-spacing: 1.5px;
    margin-top: 16px;
    text-transform: uppercase;
}


/* ---- STEPS: numbered list in the how-to section ---- */

.steps {
    counter-reset: step;
    list-style: none;
    margin: 8px 0 28px 0;
}

.steps li {
    border-bottom: 1px dashed #e3d6c3;
    padding: 14px 0 14px 52px;
    position: relative;
}

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

.steps li::before {
    background: #a44f33;
    border-radius: 50%;
    color: #fff6ee;
    content: counter(step);
    counter-increment: step;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 14px;
    height: 32px;
    left: 0;
    line-height: 32px;
    position: absolute;
    text-align: center;
    top: 12px;
    width: 32px;
}


/* ---- NOTE: the highlighted tip box ---- */

.note {
    background: #fff8ee;
    border: 1px solid #e7d8c4;
    border-left: 5px solid #a44f33;
    border-radius: 6px;
    padding: 22px 26px;
}

.signoff {
    margin-top: 28px;
}


/* ---- FOOTER: the required credit link ---- */

#footer {
    background: #efe2cd;
    border-top: 3px double #d8c4a8;
    color: #8a7666;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    letter-spacing: 1px;
    padding: 26px 28px;
    text-align: center;
    text-transform: uppercase;
}

#footer a,
#footer a:visited {
    color: #8f4327;
    text-decoration: none;
}

#footer a:hover {
    color: #5f2c17;
    text-decoration: underline;
}


/* ---- SMALL SCREENS: stack the columns and ease the type ---- */

@media (max-width: 640px) {
    body {
        font-size: 16px;
    }

    .band {
        padding: 44px 0;
    }

    .wrap {
        padding: 0 20px;
    }

    .hero {
        padding: 56px 20px 48px 20px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .tagline {
        font-size: 17px;
    }

    #menu a {
        margin-left: 0;
        margin-right: 16px;
    }

    .split {
        flex-direction: column;
        gap: 36px;
    }

    .journal li {
        display: block;
    }

    .journal .date {
        display: block;
        margin-bottom: 4px;
        padding-top: 0;
    }

    blockquote p {
        font-size: 20px;
    }
}


/* ---- PRINT: drop the colour bands for a clean page ---- */

@media print {
    body {
        background: #ffffff;
        color: #000000;
    }

    .band,
    .band-clay {
        background: #ffffff;
        color: #000000;
        padding: 12px 0;
    }

    .band-clay::after,
    #toplinks {
        display: none;
    }

    a,
    a:visited {
        color: #000000;
    }
}
