/* Profile Sheet - A Free Design by Bryant Smith (bryantsmith.com)
   A tidy personal profile: a narrow facts column beside a longer
   biography, finished with a compact contact footer.
   Look for the section headings below to find what you want to change. */


/* ---- BODY: the desk the sheet of paper rests on ---- */

body {
    background: #eeeae1;
    background-image:
        radial-gradient(circle at 18% 8%, rgba(255, 255, 255, 0.55), transparent 42%),
        repeating-linear-gradient(0deg, rgba(60, 50, 30, 0.016) 0 1px, transparent 1px 4px);
    color: #3a3b35;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 16px;
    line-height: 1.7;
    padding: 48px 20px;
    text-align: center;
}

* {
    margin: 0;
    padding: 0;
}


/* ---- PAGE: the sheet itself ---- */

#page {
    background: #fffdf8;
    border: 1px solid #e3ddcf;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(35, 30, 20, 0.05), 0 18px 40px rgba(35, 30, 20, 0.10);
    margin: 0 auto;
    max-width: 900px;
    overflow: hidden;
    position: relative;
    text-align: left;
}

/* the thin coloured rule across the top of the sheet */
#page::before {
    background: linear-gradient(90deg, #1f6a5c 0%, #3f8f78 45%, #c08a45 100%);
    content: "";
    display: block;
    height: 6px;
}


/* ---- MASTHEAD: name, role and the menu row ---- */

#masthead {
    align-items: center;
    border-bottom: 1px solid #e6e0d2;
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    justify-content: space-between;
    padding: 36px 44px 26px;
}

#identity {
    align-items: center;
    display: flex;
    gap: 16px;
}

.monogram {
    align-items: center;
    background: linear-gradient(135deg, #1f6a5c, #2f8a76);
    border-radius: 14px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 4px 12px rgba(31, 106, 92, 0.28);
    color: #f6f3ea;
    display: flex;
    flex: 0 0 auto;
    font-size: 24px;
    height: 62px;
    justify-content: center;
    letter-spacing: 1px;
    width: 62px;
}

#masthead h1 {
    color: #1b1c17;
    font-size: 34px;
    font-weight: normal;
    letter-spacing: -0.5px;
    line-height: 1.05;
}

.role {
    color: #1f6a5c;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    letter-spacing: 2.5px;
    margin-top: 6px;
    text-transform: uppercase;
}

#menu {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

#menu a,
#menu a:visited {
    border-bottom: 2px solid transparent;
    color: #71706a;
    display: inline-block;
    margin-left: 20px;
    padding: 4px 0;
    text-decoration: none;
    transition: color 0.15s ease, border-color 0.15s ease;
}

#menu a:hover,
#menu a:focus {
    border-bottom-color: #1f6a5c;
    color: #1f6a5c;
}


/* ---- TWO COLUMNS: the facts rail and the biography ---- */

#sheet-body {
    align-items: stretch;
    display: flex;
}

#facts {
    background: #faf7f0;
    border-right: 1px solid #e8e3d6;
    flex: 0 0 250px;
    padding: 36px 30px 40px;
    position: relative;
    width: 250px;
}

/* the faint circular stamp that anchors the bottom of the rail */
#facts::after {
    border: 2px solid #e0d9c8;
    border-radius: 50%;
    bottom: 34px;
    box-shadow: inset 0 0 0 4px #faf7f0, inset 0 0 0 5px #e0d9c8;
    color: #b6b0a0;
    content: "PORTLAND";
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 9px;
    height: 80px;
    left: 50%;
    letter-spacing: 1.5px;
    line-height: 80px;
    position: absolute;
    text-align: center;
    transform: translateX(-50%) rotate(-8deg);
    width: 80px;
}

#bio {
    flex: 1 1 auto;
    padding: 36px 44px 44px;
}


/* ---- SECTION HEADINGS ---- */

h2 {
    color: #1b1c17;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 18px;
    padding-bottom: 10px;
    position: relative;
    text-transform: uppercase;
}

/* the short gradient underline under every heading */
h2::after {
    background: linear-gradient(90deg, #1f6a5c, #c08a45);
    bottom: 0;
    content: "";
    display: block;
    height: 2px;
    left: 0;
    position: absolute;
    width: 34px;
}


/* ---- FACTS RAIL: the status pill and the definition list ---- */

.status {
    align-items: center;
    color: #1f6a5c;
    display: flex;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 10px;
    gap: 8px;
    letter-spacing: 1.2px;
    margin-bottom: 26px;
    text-transform: uppercase;
}

.status .dot {
    background: #1f6a5c;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(31, 106, 92, 0.15);
    display: inline-block;
    height: 8px;
    width: 8px;
}

#facts dl {
    margin-top: 4px;
}

#facts dt {
    color: #8c8a80;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1.5px;
    margin-top: 18px;
    text-transform: uppercase;
}

#facts dt:first-child {
    margin-top: 0;
}

#facts dd {
    border-bottom: 1px dashed #e4dece;
    color: #3a3b35;
    font-size: 15px;
    padding: 3px 0 9px;
}

#facts dd:last-child {
    border-bottom: none;
    padding-bottom: 0;
}


/* ---- BIOGRAPHY TEXT ---- */

#bio p {
    color: #43443d;
    margin-bottom: 18px;
}

.lead {
    color: #2f302a;
    font-size: 19px;
    line-height: 1.65;
    margin-bottom: 24px;
}

#bio h2 {
    margin-top: 34px;
}

#bio h2:first-child {
    margin-top: 0;
}

#bio a,
#bio a:visited {
    border-bottom: 1px solid #a9cdc4;
    color: #1f6a5c;
    text-decoration: none;
    transition: color 0.15s ease, border-color 0.15s ease;
}

#bio a:hover,
#bio a:focus {
    border-bottom-color: #154c40;
    color: #154c40;
}

#bio strong {
    color: #26271f;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 13px;
}


/* ---- SERVICES: a second, roomier definition list ---- */

.services {
    margin: 4px 0;
}

.services dt {
    color: #1b1c17;
    font-weight: bold;
    margin-top: 16px;
}

.services dt:first-child {
    margin-top: 0;
}

.services dd {
    border-left: 2px solid #d8d2c2;
    color: #5a5b53;
    font-size: 15px;
    margin: 4px 0 0;
    padding-left: 14px;
}


/* ---- PULL QUOTE ---- */

blockquote {
    background: #f7f4ec;
    border-left: 3px solid #c08a45;
    border-radius: 0 6px 6px 0;
    color: #5a5b53;
    font-size: 17px;
    font-style: italic;
    margin: 26px 0;
    padding: 16px 22px;
}

blockquote p {
    margin: 0;
}


/* ---- CONTACT: the compact dark footer band ---- */

#contact {
    align-items: center;
    background: #1f3b34;
    background-image: linear-gradient(135deg, #1f3b34, #254a41);
    color: #e9e6dc;
    display: flex;
    flex-wrap: wrap;
    gap: 18px 32px;
    justify-content: space-between;
    padding: 26px 44px;
}

#contact h2 {
    color: #ffffff;
    margin-bottom: 6px;
    padding-bottom: 0;
}

#contact h2::after {
    display: none;
}

.contact-intro p {
    color: #b9cec6;
    font-size: 14px;
    margin: 0;
}

.contact-list {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 34px;
    list-style: none;
}

.contact-list li {
    color: #ffffff;
    font-size: 15px;
}

.contact-list span {
    color: #8fb8ac;
    display: block;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 9px;
    letter-spacing: 1.5px;
    margin-bottom: 3px;
    text-transform: uppercase;
}

.contact-list a,
.contact-list a:visited {
    border-bottom: 1px solid #4f7c70;
    color: #ffffff;
    text-decoration: none;
    transition: border-color 0.15s ease;
}

.contact-list a:hover,
.contact-list a:focus {
    border-bottom-color: #c08a45;
}


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

#footer {
    border-top: 1px solid #e6e0d2;
    color: #9a978d;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 10px;
    letter-spacing: 1.5px;
    padding: 20px 44px 26px;
    text-align: center;
    text-transform: uppercase;
}

#footer a,
#footer a:visited {
    border-bottom: none;
    color: #7c7a71;
    text-decoration: none;
}

#footer a:hover {
    color: #1f6a5c;
}


/* ---- SMALL SCREENS: stack the columns on phones ---- */

@media (max-width: 640px) {
    body {
        padding: 20px 12px;
    }

    #masthead {
        align-items: flex-start;
        flex-direction: column;
        padding: 28px 24px 20px;
    }

    #masthead h1 {
        font-size: 28px;
    }

    #menu a {
        margin: 0 18px 0 0;
    }

    #sheet-body {
        flex-direction: column;
    }

    #facts {
        border-bottom: 1px solid #e8e3d6;
        border-right: none;
        flex: none;
        padding: 28px 24px 30px;
        width: auto;
    }

    #facts::after {
        display: none;
    }

    #bio {
        padding: 28px 24px 34px;
    }

    .lead {
        font-size: 17px;
    }

    #contact {
        padding: 22px 24px;
    }

    #footer {
        padding: 18px 24px 22px;
    }
}


/* ---- PRINT: a clean sheet with the menu removed ---- */

@media print {
    body {
        background: #ffffff;
        padding: 0;
    }

    #page {
        border: none;
        box-shadow: none;
        max-width: 100%;
    }

    #page::before {
        display: none;
    }

    #facts::after,
    #menu {
        display: none;
    }

    #contact {
        background: #ffffff;
        background-image: none;
        border-top: 1px solid #cccccc;
        color: #000000;
    }

    #contact h2,
    .contact-intro p,
    .contact-list li,
    .contact-list a {
        color: #000000;
    }
}
