/*
Dave Abbott's Music
Main Website Stylesheet
Dave Abbott's Music Web 1.0
Developed by South Seas Tech™ · Developer: Grant Abbott
*/

* { margin: 0; padding: 0; box-sizing: border-box; }
img { max-width: 100%; display: block; }

:root {
    --night: #0b0b0e;
    --smoke: #141419;
    --panel: #1c1c23;
    --panel-2: #24242c;
    --line: #2f2f38;
    --text: #e9e7e4;
    --muted: #a6a3a8;
    --silver: #d6d6dc;
    --ember: #e0612a;
    --ember-soft: #f08a50;
    --red: #b3262a;
    --display: "Cinzel", "Trajan Pro", Georgia, serif;
    --body: "Inter", "Segoe UI", system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
    background: var(--night);
    color: var(--text);
    font-family: var(--body);
    font-size: 17px;
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main { flex: 1; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.2; color: var(--silver); letter-spacing: .02em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1rem; }
h3 { font-size: 1.2rem; margin-bottom: .45rem; }
p { margin-bottom: 1rem; }

a { color: var(--ember-soft); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--silver); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; border-radius: 4px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(1140px, 92%); margin: 0 auto; }

.eyebrow {
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--ember);
    margin-bottom: .6rem;
}

.lead { font-size: 1.12rem; color: var(--muted); max-width: 46rem; }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 20;
    background: rgba(11, 11, 14, .92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 0; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--silver); }
.brand img { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-family: var(--display); font-size: 1.15rem; letter-spacing: .04em; }
.brand-text small { font-size: .72rem; color: var(--muted); letter-spacing: .08em; }

.site-nav { display: flex; gap: .3rem; flex-wrap: wrap; }
.site-nav a { color: var(--text); font-size: .95rem; padding: .45rem .75rem; border-radius: 6px; }
.site-nav a:hover { background: var(--panel); color: var(--silver); }
.site-nav a[aria-current="page"] { color: var(--ember-soft); box-shadow: inset 0 -2px 0 var(--ember); }

.nav-toggle {
    display: none; background: var(--panel); color: var(--text);
    border: 1px solid var(--line); border-radius: 6px; padding: .45rem .9rem; font: inherit; cursor: pointer;
}

/* Banner */
.banner { background: #000; border-bottom: 1px solid var(--line); }
.banner img { width: 100%; height: auto; }

/* Hero */
.hero { padding: 3.5rem 0 3rem; background: radial-gradient(ellipse at 80% 0%, rgba(224, 97, 42, .14), transparent 60%), var(--night); }
.hero h1 { max-width: 46rem; }

.page-hero {
    padding: 4rem 0 3rem;
    background:
        radial-gradient(ellipse at 85% 10%, rgba(224, 97, 42, .18), transparent 55%),
        radial-gradient(ellipse at 10% 100%, rgba(179, 38, 42, .14), transparent 55%),
        var(--smoke);
    border-bottom: 1px solid var(--line);
}

/* Buttons */
.btn-row { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.4rem; }
.btn {
    display: inline-block; padding: .75rem 1.4rem; border-radius: 6px;
    font-weight: 600; font-size: .98rem; transition: all .2s ease; border: 1px solid transparent;
}
.btn-primary { background: linear-gradient(180deg, var(--ember-soft), var(--ember)); color: #140a05; }
.btn-primary:hover { color: #140a05; filter: brightness(1.08); box-shadow: 0 0 22px rgba(224, 97, 42, .45); }
.btn-ghost { border-color: var(--silver); color: var(--silver); }
.btn-ghost:hover { background: var(--silver); color: var(--night); }

/* Sections */
.section { padding: 4rem 0; }
.section.tint { background: var(--smoke); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 44rem; margin-bottom: 2rem; }
.section-head p:last-child { color: var(--muted); }

.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
    background: linear-gradient(180deg, var(--panel-2), var(--panel));
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 1.6rem;
    transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: rgba(224, 97, 42, .55); transform: translateY(-2px); }
.card p { color: var(--muted); }
.card ul { padding-left: 1.1rem; color: var(--text); }
.card li { margin-bottom: .3rem; }
.card li::marker { color: var(--ember); }

.checks { list-style: none; padding-left: 0 !important; }
.checks li { position: relative; padding-left: 1.6rem; }
.checks li::before { content: "♪"; position: absolute; left: 0; color: var(--ember); }

.icon {
    width: 52px; height: 52px; border-radius: 50%;
    display: grid; place-items: center; margin-bottom: 1rem;
    background: radial-gradient(circle, rgba(224, 97, 42, .22), rgba(224, 97, 42, .05));
    border: 1px solid rgba(224, 97, 42, .45);
}
.icon svg { width: 26px; height: 26px; fill: none; stroke: var(--ember-soft); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: step; }
.steps-5 { grid-template-columns: repeat(5, 1fr); }
.step {
    counter-increment: step; position: relative;
    background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 1.4rem 1.2rem 1.2rem;
}
.step::before {
    content: counter(step, decimal-leading-zero);
    font-family: var(--display); font-size: 1.6rem; color: var(--ember); display: block; margin-bottom: .4rem;
}
.step p { color: var(--muted); margin-bottom: 0; font-size: .96rem; }

/* Listen band */
.listen-band { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.listen-band > div:first-child { max-width: 36rem; }
.listen-band p { color: var(--muted); }

.note { color: var(--muted); font-size: .92rem; margin-top: 1.4rem; }

/* Band CTA */
.band {
    position: relative; overflow: hidden;
    border: 1px solid rgba(224, 97, 42, .45); border-radius: 14px; padding: 2.6rem;
    background:
        radial-gradient(ellipse at 100% 0%, rgba(224, 97, 42, .25), transparent 60%),
        radial-gradient(ellipse at 0% 100%, rgba(179, 38, 42, .22), transparent 60%),
        var(--panel);
}
.band p { color: var(--muted); max-width: 40rem; }

/* About feature */
.feature { display: grid; grid-template-columns: 1fr 1.3fr; gap: 2.5rem; align-items: center; }
.portrait img { border-radius: 12px; border: 1px solid var(--line); width: 100%; height: auto; }

/* Footer */
.site-footer { background: #070709; border-top: 1px solid var(--line); padding: 2.2rem 0; color: var(--muted); font-size: .9rem; }
.site-footer p { margin-bottom: .35rem; }
.footer-links { display: flex; gap: 1.2rem; margin-bottom: 1rem; }
.foot-link { color: var(--silver); font-weight: 600; }

/* Responsive */
@media (max-width: 980px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .steps, .steps-5 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
    .nav-toggle { display: block; }
    .site-nav { display: none; width: 100%; flex-direction: column; padding-bottom: .6rem; }
    .site-nav.open { display: flex; }
    .grid-2, .grid-3, .steps, .steps-5, .feature { grid-template-columns: 1fr; }
    .section { padding: 3rem 0; }
    .page-hero { padding: 3rem 0 2.2rem; }
    .hero { padding: 2.4rem 0 2.2rem; }
    .band { padding: 1.8rem; }
    .brand-text small { display: none; }
}

.credit { font-size: .72rem; opacity: .6; letter-spacing: .02em; }

/* Tighter spacing for a more professional look */
body { line-height: 1.55; }
p { margin-bottom: .7rem; }
h2 { margin-bottom: .7rem; }
.section { padding: 2.8rem 0; }
.page-hero { padding-top: 3rem; padding-bottom: 3.2rem; }
.hero { padding-top: 2.6rem; padding-bottom: 2.6rem; }
.section-head { margin-bottom: 1.4rem; }
.card { padding: 1.25rem 1.35rem; }
.card li { margin-bottom: .15rem; }
.grid { gap: 1.1rem; }
.btn-row { margin-top: 1rem; }

/* Our faith */
.faith-inner { max-width: 860px; }
.faith-mission { font-size: 1.05rem; border-left: 3px solid currentColor; padding-left: 1rem; margin: 1rem 0 1.4rem; }
.faith-list { display: grid; gap: .8rem; margin-top: .6rem; }
.faith-list dt { font-weight: 700; }
.faith-list dd { margin: .1rem 0 0; opacity: .85; }
.faith-note { margin-top: 1.2rem; font-style: italic; opacity: .85; }
