/* Craft Circle - A Free Design by Bryant Smith (bryantsmith.com)

   The whole palette is gathered here so it is easy to change:
   background    #faf4ef   warm cream paper
   surface       #ffffff   cards and panels
   accent        #8a4a61   dusty berry (headings, links)
   accent deep   #6d394c   berry for hover states
   rose          #f7d9e2   pastel rose tint
   sage          #dcebd6   pastel sage tint
   lilac         #e0dcf0   pastel lilac tint
   butter        #f7e7c6   pastel butter tint
   text          #3a3036   near-black warm grey
   muted         #7c6c73   secondary text

   Each section below has a short heading so you can jump straight to it. */


/* ---- BASE: page background, type and links ---- */

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

body {
    background: #faf4ef;
    color: #3a3036;
    font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    text-align: center;
}

h1,
h2,
h3 {
    font-family: Georgia, "Times New Roman", Times, serif;
}

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

a:hover,
a:focus {
    color: #6d394c;
    text-decoration: underline;
}

.wrap {
    margin: 0 auto;
    max-width: 940px;
    padding: 0 24px;
    text-align: left;
}


/* ---- HEADER: the full-width pastel band at the top ---- */

#header {
    background: linear-gradient(135deg, #fbe3e0 0%, #f7d9e8 55%, #e6dcf1 100%);
    overflow: hidden;
    padding: 64px 0 56px;
    position: relative;
}

#header::before,
#header::after {
    border-radius: 50%;
    content: "";
    position: absolute;
}

#header::before {
    background: rgba(255, 255, 255, 0.45);
    height: 320px;
    right: -90px;
    top: -140px;
    width: 320px;
}

#header::after {
    background: rgba(255, 255, 255, 0.30);
    bottom: -160px;
    height: 280px;
    left: -100px;
    width: 280px;
}

#header .wrap {
    position: relative;
    z-index: 1;
}

.kicker {
    color: #8a4a61;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 3px;
    text-transform: uppercase;
}

#header h1 {
    color: #4a2f3c;
    font-size: 52px;
    font-weight: normal;
    letter-spacing: -1px;
    line-height: 1.05;
    margin: 12px 0 0;
}

.tagline {
    color: #6d394c;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 19px;
    font-style: italic;
    margin-top: 10px;
}


/* ---- MENU: the row of links inside the header band ---- */

#menu {
    margin-top: 28px;
}

#menu a,
#menu a:visited {
    border-bottom: 2px dashed transparent;
    color: #5e3a48;
    display: inline-block;
    font-size: 12px;
    letter-spacing: 2px;
    margin: 0 20px 8px 0;
    padding-bottom: 3px;
    text-transform: uppercase;
}

#menu a:hover,
#menu a:focus {
    border-bottom-color: #8a4a61;
    color: #8a4a61;
    text-decoration: none;
}


/* ---- MAIN COLUMN: the centred reading area below the band ---- */

#main {
    padding-top: 56px;
    padding-bottom: 48px;
}

.lead {
    color: #4a3d43;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 21px;
    line-height: 1.65;
    margin-bottom: 8px;
    max-width: 66ch;
}

.lead::first-letter {
    color: #8a4a61;
    float: left;
    font-size: 3.2em;
    line-height: 0.8;
    padding: 6px 12px 0 0;
}

section {
    margin-top: 64px;
}

h2 {
    border-bottom: 3px dashed #ecd8dd;
    color: #4a2f3c;
    font-size: 30px;
    font-weight: normal;
    padding-bottom: 12px;
}

h2::before {
    background: #8a4a61;
    border-radius: 2px;
    content: "";
    display: inline-block;
    height: 10px;
    margin-right: 12px;
    vertical-align: middle;
    width: 10px;
}

.section-note {
    color: #7c6c73;
    margin: 14px 0 28px;
    max-width: 62ch;
}


/* ---- CARDS: the project idea columns ----
   Three equal columns on a wide screen. Each card is a white panel
   with a pastel "photo" block on top and a small materials list. */

.cards {
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(3, 1fr);
}

.card {
    background: #ffffff;
    border: 1px solid #f0e2e4;
    border-radius: 18px;
    box-shadow: 0 2px 4px rgba(122, 76, 92, 0.05),
                0 14px 30px rgba(122, 76, 92, 0.08);
    overflow: hidden;
    padding: 14px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    box-shadow: 0 4px 8px rgba(122, 76, 92, 0.08),
                0 20px 40px rgba(122, 76, 92, 0.12);
    transform: translateY(-4px);
}

.card-body {
    padding: 20px 10px 10px;
}

.card h3 {
    color: #4a2f3c;
    font-size: 21px;
    font-weight: normal;
    line-height: 1.25;
    margin: 6px 0 10px;
}

.card p {
    color: #5a4c52;
    font-size: 15px;
    margin-bottom: 16px;
}

.tag {
    color: #8a4a61;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 0;
    text-transform: uppercase;
}

.materials {
    border-top: 1px dashed #ecd8dd;
    list-style: none;
    padding-top: 12px;
}

.materials li {
    color: #5a4c52;
    font-size: 14px;
    padding: 3px 0 3px 20px;
    position: relative;
}

.materials li::before {
    color: #c58ba0;
    content: "\2726";
    left: 2px;
    position: absolute;
}


/* ---- CARD PHOTOS: CSS tiles that stand in for pictures ----
   These keep their 4:3 shape with aspect-ratio, so no image files
   are needed. Swap a span for an <img> and add object-fit: cover. */

.card-photo,
.member-photo {
    align-items: center;
    display: flex;
    justify-content: center;
    position: relative;
}

.card-photo {
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    overflow: hidden;
}

.photo-rose   { background: linear-gradient(135deg, #fbe0e7, #f3c3d3); }
.photo-sage   { background: linear-gradient(135deg, #e6f1de, #c9e0c0); }
.photo-lilac  { background: linear-gradient(135deg, #e8e2f6, #d2c9ec); }
.photo-butter { background: linear-gradient(135deg, #fbf0d6, #f2ddac); }


/* ---- SHAPES: simple CSS motifs drawn on the card photos ---- */

.shape {
    display: block;
    position: relative;
}

.shape-heart {
    background: rgba(255, 255, 255, 0.75);
    height: 54px;
    transform: rotate(-45deg);
    width: 54px;
}

.shape-heart::before,
.shape-heart::after {
    background: inherit;
    border-radius: 50%;
    content: "";
    height: 54px;
    position: absolute;
    width: 54px;
}

.shape-heart::before { top: -27px; left: 0; }
.shape-heart::after  { top: 0; left: 27px; }

.shape-leaf {
    background: rgba(255, 255, 255, 0.72);
    border-radius: 0 60% 0 60%;
    height: 64px;
    width: 64px;
}

.shape-ball {
    background: rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    height: 58px;
    width: 58px;
}

.shape-ball::before {
    background: rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    content: "";
    height: 22px;
    left: 18px;
    position: absolute;
    top: 18px;
    width: 22px;
}


/* ---- MEETINGS: the two-column split panel ---- */

.split {
    display: grid;
    gap: 28px;
    grid-template-columns: 1.1fr 1fr;
}

.panel {
    background: #ffffff;
    border: 1px solid #f0e2e4;
    border-radius: 18px;
    padding: 30px 32px;
}

.panel h3 {
    color: #4a2f3c;
    font-size: 20px;
    font-weight: normal;
    margin-bottom: 16px;
}

.panel-tint {
    background: linear-gradient(135deg, #fbeff2 0%, #f4e7f1 100%);
    border-color: #eedbe6;
}

.details dt {
    color: #8a4a61;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1.5px;
    margin-top: 14px;
    text-transform: uppercase;
}

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

.details dd {
    color: #4a3d43;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 18px;
}

.fine {
    border-top: 1px dashed #ecd8dd;
    color: #7c6c73;
    font-size: 13px;
    margin-top: 22px;
    padding-top: 16px;
}

.steps {
    counter-reset: step;
    list-style: none;
}

.steps li {
    color: #4a3d43;
    counter-increment: step;
    padding: 9px 0 9px 42px;
    position: relative;
}

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


/* ---- MEMBERS: the grid of circular portrait tiles ---- */

.members {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, 1fr);
    list-style: none;
    margin-top: 8px;
}

.member {
    background: #ffffff;
    border: 1px solid #f0e2e4;
    border-radius: 18px;
    padding: 24px 16px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.member:hover {
    box-shadow: 0 14px 28px rgba(122, 76, 92, 0.10);
    transform: translateY(-3px);
}

.member-photo {
    border: 4px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px #eedbe6, 0 6px 14px rgba(122, 76, 92, 0.12);
    color: #6d394c;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 26px;
    font-weight: bold;
    height: 92px;
    margin: 0 auto 14px;
    width: 92px;
}

.member-name {
    color: #4a2f3c;
    display: block;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 18px;
}

.member-craft {
    color: #8a4a61;
    display: block;
    font-size: 11px;
    letter-spacing: 2px;
    margin-top: 4px;
    text-transform: uppercase;
}


/* ---- HOW TO: the closing note section ---- */

.howto {
    background: #ffffff;
    border: 1px solid #f0e2e4;
    border-radius: 18px;
    padding: 34px 38px;
}

.howto h2 {
    margin-top: 0;
}

.howto p {
    color: #5a4c52;
    margin-top: 16px;
    max-width: 72ch;
}

.remember {
    border-top: 1px dashed #ecd8dd;
    list-style: none;
    margin-top: 24px;
    padding-top: 16px;
}

.remember li {
    color: #4a3d43;
    padding: 5px 0 5px 26px;
    position: relative;
}

.remember li::before {
    color: #8a4a61;
    content: "\2713";
    font-weight: bold;
    left: 2px;
    position: absolute;
}


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

#footer {
    background: #4a2f3c;
    color: #d8c3cd;
    font-size: 11px;
    letter-spacing: 1px;
    padding: 26px 24px;
    text-align: center;
    text-transform: uppercase;
}

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

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


/* ---- TABLET: two project columns, two member columns ---- */

@media (max-width: 860px) {
    #header h1 {
        font-size: 44px;
    }

    .cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .split {
        grid-template-columns: 1fr;
    }

    .members {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ---- SMALL SCREENS: one column, tighter padding ---- */

@media (max-width: 640px) {
    #header {
        padding: 44px 0 38px;
    }

    #header h1 {
        font-size: 34px;
    }

    .tagline {
        font-size: 17px;
    }

    #menu a {
        margin-right: 14px;
    }

    .wrap {
        padding: 0 18px;
    }

    #main {
        padding-top: 40px;
        padding-bottom: 32px;
    }

    section {
        margin-top: 48px;
    }

    h2 {
        font-size: 24px;
    }

    .lead {
        font-size: 18px;
    }

    .cards,
    .members {
        gap: 18px;
        grid-template-columns: 1fr;
    }

    .panel,
    .howto {
        padding: 24px 22px;
    }
}


/* ---- PRINT: flatten the pastels onto plain paper ---- */

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

    #header {
        background: #ffffff;
        padding: 0 0 24px;
    }

    #header::before,
    #header::after,
    #menu {
        display: none;
    }

    .card,
    .panel,
    .panel-tint,
    .member,
    .howto {
        background: #ffffff;
        border: 1px solid #cccccc;
        box-shadow: none;
        transform: none;
    }

    .card:hover,
    .member:hover {
        transform: none;
    }

    #footer {
        background: #ffffff;
        color: #555555;
    }
}
