* {
    box-sizing:border-box
}

body {
    margin:0;
    --bg:#fbf5e9;
    --ink:#39272c;
    --accent:#80324b;
    --rule:#c8b5a1;
    --wash:#f2e9d9;
    --btn:#fffaf1;
    background:var(--bg);
    color:var(--ink);
    font:17px/1.6 "Avenir Next",Arial,sans-serif
}

a {
    color:inherit;
    text-underline-offset:.2em
}

a:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible {
    outline:3px solid currentColor;
    outline-offset:3px
}

header {
    position:relative;
    z-index:2;
    padding:14px max(5vw,calc((100vw - 1280px)/2));
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    border-bottom:1px solid var(--rule)
}

.brand {
    font:600 clamp(19px,2vw,27px) Georgia,serif;
    letter-spacing:-.045em;
    display:flex;
    align-items:center;
    gap:10px;
    text-decoration:none
}

.note {
    display:grid;
    place-items:center;
    width:40px;
    height:40px;
    border:1px solid var(--rule);
    border-radius:50%;
    color:var(--accent);
    font:25px Georgia
}

nav {
    display:flex;
    gap:clamp(12px,2vw,34px)
}

nav a,summary {
    font-size:15px;
    text-decoration:none;
    display:inline-flex;
    align-items:center;
    min-height:44px
}

nav a:hover {
    text-decoration:underline
}

details {
    display:none
}

section,footer {
    padding:clamp(44px,6vw,90px) max(5vw,calc((100vw - 1280px)/2))
}

h1,h2,h3,h4,p,figure {
    margin:0
}

h1,h2,h3,h4 {
    font-family:Georgia,serif;
    font-weight:400;
    line-height:1.08;
    letter-spacing:-.045em
}

.hero-image {
    grid-column:2;
    grid-row:1;
    position:relative;
    transform:perspective(1100px) rotateY(var(--tilt,0deg));
    transition:transform .3s ease-out
}

.hero-image img {
    display:block;
    width:100%;
    height:100%;
    object-fit:cover
}

.cta-button,button {
    display:inline-flex;
    align-items:center;
    gap:22px;
    text-decoration:none;
    background:var(--accent);
    color:var(--btn);
    border:0;
    padding:12px 20px;
    border-radius:3px;
    font:600 15px/1.5 "Avenir Next",Arial,sans-serif
}

.cta-button span {
    font-size:19px
}

section>h2 {
    font-size:clamp(34px,3.6vw,54px)
}

.section-subtitle {
    margin-top:10px
}

.services-grid,.resources-grid,.footer-content {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:clamp(22px,3vw,48px);
    margin-top:32px
}

.service-card {
    position:relative;
    border-top:1px solid var(--rule);
    padding:20px 0 0
}

.service-card h3,.resource-card h3 {
    font-size:clamp(25px,2.3vw,35px);
    margin-bottom:13px
}

.age-badge {
    display:inline-block;
    color:var(--accent);
    font-size:14px;
    font-weight:600;
    margin:12px 12px 0 0
}

.section-warm,footer {
    background:var(--wash)
}

.about-content {
    display:grid;
    grid-template-columns:1fr 1.4fr;
    align-items:start;
    gap:5%;
    margin-top:26px
}

.about-image,.resource-card img {
    width:100%;
    display:block
}

.about-figure+.about-image {
    margin-top:5%
}

.about-figure figcaption {
    margin-top:8px;
    font-size:14px;
    font-style:italic;
    color:var(--muted, #6b5a60)
}

.band-photo {
    margin-top:14px;
    width:62%
}

.about-text p+p {
    margin-top:14px
}

.quote {
    font:italic 24px/1.4 Georgia;
    margin:22px 0;
    border-left:2px solid var(--accent);
    padding-left:18px
}

.resource-card img {
    aspect-ratio:1.8;
    object-fit:cover;
    margin-bottom:18px
}

.read-more {
    display:inline-block;
    padding:12px 0;
    color:var(--accent)
}

#contact>p {
    margin:15px 0
}

form {
    max-width:650px
}

label {
    display:block;
    margin:10px 0 4px
}

input,textarea {
    width:100%;
    padding:11px;
    border:1px solid var(--rule);
    border-radius:3px;
    background:var(--wash);
    color:var(--ink);
    font:inherit
}

textarea {
    min-height:110px
}

input[type=checkbox],input[type=radio] {
    width:auto
}

.name-group,.checkbox-group {
    display:flex;
    gap:12px;
    flex-wrap:wrap
}

.checkbox-group {
    gap:6px 20px
}

.checkbox-item {
    margin:0
}

.form-group {
    flex:1 1 170px
}

button {
    margin-top:12px
}

.footer-bottom {
    font-size:14px;
    margin-top:16px
}

.footer-content {
    margin:0
}

.footer-col h4 {
    font-size:25px;
    margin-bottom:12px
}

.footer-col>a {
    display:block
}

.footer-bottom {
    border-top:1px solid var(--rule);
    padding-top:18px
}

@media(prefers-reduced-motion:reduce) {
    .hero .hero-image {
        transform:none;
        transition:none
    }
}

@media(max-width:760px) {
    header {
        padding:9px 5vw
    }
    .wide {
        display:none
    }
    details {
        display:block
    }
    summary {
        cursor:pointer;
        padding:0 6px
    }
    details nav {
        position:absolute;
        right:4vw;
        top:100%;
        background:var(--bg);
        border:1px solid var(--rule);
        padding:8px 20px;
        flex-direction:column;
        gap:0;
        min-width:160px
    }
    .services-grid,.resources-grid,.about-content,.footer-content {
        grid-template-columns:1fr
    }
    .about-image {
        max-height:420px;
        object-fit:contain;
        object-position:left
    }
    .about-content {
        gap:24px
    }
    .about-image-container {
        display:contents
    }
    .about-text {
        order:1
    }
    .about-figure {
        order:2
    }
    .about-figure+.about-image {
        margin-top:0
    }
    .band-photo {
        width:100%
    }
}

.sephras-welcome {
    --bg:#fff6e6;
    --ink:#352633;
    --accent:#74374b;
    --wash:#eee1d3;
    --rule:#c4ac99;
}

header {
    background:#f7ebd6;
}

.brand {
    line-height:1.08;
}

.note {
    flex:none;
    background:#64364b;
    color:#ffe7b9;
    border:0;
}

.hero {
    display:block;
    border:0;
    padding:0;
}

.introduction {
    background:radial-gradient(ellipse at 94% 20%,#6d4559,transparent 65%),#44273b;
    color:#fff2d9;
    padding:clamp(30px,4.2vw,68px) 7%;
}

.byline {
    display:flex;
    align-items:center;
    gap:13px;
    font-weight:650;
}

.byline img {
    width:58px;
    height:58px;
    object-fit:cover;
    border-radius:50%;
}

.byline small {
    display:block;
    font-size:14px;
    font-weight:400;
    color:#f1d7cd;
}

blockquote {
    margin:24px 0 0;
    font:400 clamp(35px,4.8vw,78px)/1.07 Georgia,serif;
    letter-spacing:-.045em;
    max-width:22ch;
    text-wrap:balance;
}

blockquote em {
    color:#ffc5aa;
}

.invitation {
    display:grid;
    grid-template-columns:1fr 1fr;
    background:#f6dccc;
}

.invitation .hero-image {
    grid-area:auto;
    overflow:hidden;
    min-height:250px;
}

.hero-image img {
    position:absolute;
    inset:0;
    object-position:50% 52%;
}

.lesson-intro {
    padding:clamp(26px,3.4vw,54px);
    align-self:center;
}

.hero h1 {
    font:500 clamp(27px,3.3vw,50px)/1.12 Georgia,serif;
    letter-spacing:-.045em;
    margin-bottom:14px;
}

.lesson-lead {
    max-width: 36ch;
    font-size: clamp(18px, 1.4vw, 21px);
    line-height: 1.45;
    text-wrap: pretty;
}

.lesson-detail {
    max-width: 42ch;
    margin: 8px 0 20px;
    font-size: 16px;
    line-height: 1.5;
    text-wrap: pretty;
}


.cta-button {
    border-radius:3px;
}

@media(min-width:960px) {
    body {
        padding-left:clamp(180px,16vw,245px);
    }
    header {
        position:fixed;
        inset:0 auto 0 0;
        width:clamp(180px,16vw,245px);
        padding:40px 24px;
        align-items:flex-start;
        justify-content:flex-start;
        flex-direction:column;
        gap:48px;
        border:0;
        border-right:1px solid var(--rule);
    }
    .brand {
        flex-direction:column;
        align-items:flex-start;
        gap:16px;
        font-size:32px;
    }
    .note {
        width:48px;
        height:48px;
    }
    nav.wide {
        flex-direction:column;
        width:100%;
        gap:0;
    }
    nav.wide a {
        border-top:1px solid var(--rule);
        padding:7px 0;
    }
    section:not(.hero),footer {
        padding-inline:7%;
    }
    .services-grid,.resources-grid {
        gap:24px;
    }
}

@media(max-width:760px) {
    .introduction {
        padding:28px 5vw;
    }
    blockquote {
        margin-top:18px;
        font-size:clamp(32px,7.8vw,48px);
    }
    .byline img {
        width:45px;
        height:45px;
    }
    .byline small {
        font-size:13px;
    }
    .invitation {
        display:flex;
        flex-direction:column-reverse;
    }
    .lesson-intro {
        padding:23px 5vw;
        width:100%;
    }
    .hero-image {
        width:100%;
    }
    .invitation .hero-image {
        min-height:clamp(160px,46vw,290px);
    }
}

header {
    overflow-y:visible
}

@media(min-width:960px) {
    header {
        overflow-y:auto
    }
}

fieldset {
    border:0;
    padding:0;
    margin:16px 0 0;
    min-width:0
}

legend {
    padding:0
}

button {
    cursor:pointer
}

button:disabled {
    opacity:.7;
    cursor:wait
}

#contact-status:not(:empty) {
    margin-top:12px
}

.article-page {
    padding:clamp(36px,6vw,84px) 7%
}

.article-page article {
    max-width:70ch;
    margin:auto
}

.article-page h1 {
    font-size:clamp(36px,4vw,60px);
    margin:20px 0
}

.article-page img {
    width:100%;
    height:clamp(170px,24vw,300px);
    object-fit:cover;
    margin-bottom:24px
}

