@font-face {
    font-family: "Berlin Display";
    src: url("./assets/fonts/Berlin X-Bold.ttf") format("truetype");
    font-style: normal;
    font-weight: 900;
    font-display: swap;
}

@font-face {
    font-family: "Berlin";
    src: url("./assets/fonts/Berlin.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

:root {
    color-scheme: light;
    --background: #ffffff;
    --foreground: #191919;
    --muted: #666666;
    --rule: #e7e7e7;
    --page-gutter: clamp(24px, 5vw, 84px);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--background);
    color: var(--foreground);
    font-family: Arial, Helvetica, sans-serif;
}

header {
    min-height: 310px;
    display: flex;
    align-items: center;
    gap: clamp(48px, 8vw, 140px);
    padding: 34px var(--page-gutter);
}

.site-logo {
    flex: 0 0 auto;
    display: block;
    width: clamp(126px, 13.5vw, 191px);
    transform: translateX(clamp(12px, 1.5vw, 24px));
    line-height: 0;
}

.site-logo img {
    display: block;
    width: 100%;
    height: auto;
}

.site-logo {
    color: var(--foreground);
    text-decoration: none;
}

.logo-name {
    display: block;
    margin-top: 0.45em;
    font-family: "Berlin", Arial, Helvetica, sans-serif;
    font-size: clamp(11.2px, 1.2vw, 17px);
    font-weight: 400;
    letter-spacing: 0.08em;
    line-height: 1.1;
    text-align: center;
    white-space: nowrap;
}

nav {
    flex: 1 1 auto;
    min-width: 0;
    transform: translateX(clamp(-84px, -5vw, -48px));
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: center;
    justify-items: center;
    gap: 12px;
}

nav a {
    color: var(--foreground);
    font-size: clamp(0.68rem, 0.86vw, 0.86rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}

nav a:hover {
    color: var(--muted);
}

a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 5px;
}

section {
    padding: clamp(88px, 12vw, 176px) var(--page-gutter);
    border-bottom: 1px solid var(--rule);
    scroll-margin-top: 16px;
}

#home {
    min-height: calc(100svh - 310px);
    padding: clamp(38px, 6vh, 64px) clamp(24px, 8vw, 140px) 56px;
}

.hero-content {
    width: min(100%, calc(var(--hero-title-size) * 3.8));
    margin-right: auto;
    margin-left: auto;
    --hero-title-size: clamp(8.58rem, 26.4vw, 27.72rem);
    --hero-intro-gap: 24px;
    --hero-outro-gap: clamp(-56px, -2.8vw, -28px);
}

.eyebrow {
    width: 100%;
    max-width: none;
    margin: 0 0 var(--hero-intro-gap);
    color: var(--foreground);
    font-size: clamp(1.2rem, 4.05vw, 4.2rem);
    font-weight: 500;
    letter-spacing: 0.12em;
    line-height: 1;
    text-align: center;
    text-align-last: center;
}

h1,
h2,
p {
    margin-top: 0;
}

h1 {
    width: fit-content;
    max-width: 100%;
    margin-right: auto;
    margin-bottom: 0;
    margin-left: auto;
    font-family: "Berlin Display", Arial, Helvetica, sans-serif;
    font-size: var(--hero-title-size);
    font-weight: 900;
    letter-spacing: -0.055em;
    line-height: 0.76;
}

/* DR UMS: tight letters inside each group, a visible gap between R and U.
   Change --drums-gap to make the gap bigger or smaller. */
h1 {
    --drums-gap: 0.07em;
    white-space: nowrap;
}

.drums-ums {
    margin-left: var(--drums-gap);
}

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

.hero-statement {
    width: 100%;
    max-width: 100%;
    margin-top: var(--hero-outro-gap);
    margin-right: auto;
    margin-bottom: 0;
    margin-left: auto;
    font-size: clamp(1rem, 1.9vw, 2rem);
    letter-spacing: 0.11em;
    line-height: 1.25;
    text-align: center;
    text-align-last: center;
}

section:not(#home) {
    display: grid;
    grid-template-columns: minmax(150px, 1fr) minmax(0, 2fr);
    gap: clamp(32px, 8vw, 140px);
}

h2 {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.section-content {
    max-width: 720px;
}

.section-content p {
    margin-bottom: 0;
    font-size: clamp(1.65rem, 3.25vw, 3.7rem);
    letter-spacing: -0.055em;
    line-height: 1.03;
}

.section-content .pull-quote {
    margin-top: clamp(54px, 8vw, 120px);
    color: var(--muted);
    font-size: clamp(1.2rem, 2vw, 2.1rem);
    letter-spacing: -0.035em;
    line-height: 1.12;
}

.performing-image {
    display: block;
    width: 100%;
    height: auto;
}

.performing-statement {
    margin-top: clamp(24px, 4vw, 48px);
}

.pillar-link {
    display: inline-block;
    margin-top: clamp(20px, 3vw, 32px);
    color: var(--foreground);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    line-height: 1.4;
    text-decoration: none;
}

.pillar-link:hover {
    color: var(--muted);
}

nav a[aria-current="page"] {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 6px;
}

/* Subpages (performing.html, recording.html, teaching.html) */

.subpage .page-label {
    width: auto;
    margin: 0;
    color: var(--muted);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    line-height: 1.4;
}

.section-content .story-lead {
    margin-bottom: clamp(48px, 7vw, 96px);
}

.section-content .story-body p {
    max-width: 38em;
    margin-bottom: 1.25em;
    font-size: clamp(1.05rem, 1.25vw, 1.25rem);
    letter-spacing: normal;
    line-height: 1.65;
}

.section-content .story-body p:last-child {
    margin-bottom: 0;
}

#recording {
    min-height: 64vh;
    align-content: center;
}

#recording .section-content p {
    font-size: clamp(2.4rem, 5.4vw, 6.5rem);
    line-height: 0.93;
}

#contact {
    min-height: 30vh;
}

/* Contact heading: "Let's talk drums." */
.section-content .contact-title {
    font-family: "Berlin Display", Arial, Helvetica, sans-serif;
    font-size: clamp(2.4rem, 5.4vw, 6.5rem);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 0.95;
}

.section-content .contact-intro {
    margin-top: clamp(20px, 3vw, 36px);
    font-size: clamp(1.15rem, 1.8vw, 2rem);
    letter-spacing: -0.02em;
    line-height: 1.25;
}

/* Contact form */

.contact-form {
    margin-top: clamp(40px, 6vw, 72px);
}

.form-field {
    margin-bottom: 32px;
}

.form-field label {
    display: block;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.13em;
}

.form-field input,
.form-field textarea {
    display: block;
    width: 100%;
    padding: 8px 0;
    border: 0;
    border-bottom: 1px solid var(--foreground);
    border-radius: 0;
    background: transparent;
    color: var(--foreground);
    font: inherit;
    font-size: 1.1rem;
    line-height: 1.5;
}

.form-field textarea {
    resize: vertical;
}

.form-field input:focus-visible,
.form-field textarea:focus-visible {
    outline: none;
    border-bottom-width: 2px;
}

.form-trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-submit {
    margin-top: 8px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

.form-submit:disabled {
    color: var(--muted);
    cursor: default;
}

.section-content .form-status {
    min-height: 1.5em;
    margin-top: 20px;
    font-size: 1rem;
    letter-spacing: normal;
    line-height: 1.5;
}

@media (max-width: 900px) {
    header {
        min-height: 250px;
        gap: clamp(28px, 5vw, 56px);
    }

    .site-logo {
        width: clamp(113px, 16.875vw, 155px);
    }

    .logo-name {
        font-size: clamp(10px, 1.5vw, 13.8px);
    }

    nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 22px;
    }

    #home {
        min-height: calc(100svh - 250px);
        padding: clamp(38px, 6vh, 58px) 7vw 48px;
    }

    .eyebrow {
        font-size: clamp(1.5rem, 4vw, 2.25rem);
    }

    .hero-content {
        --hero-title-size: clamp(7.92rem, 26.4vw, 15.84rem);
    }

    .hero-statement {
        font-size: clamp(0.9rem, 1.7vw, 1.3rem);
    }
}

@media (max-width: 600px) {
    header {
        min-height: auto;
        display: block;
        padding: 28px 24px 24px;
    }

    .site-logo {
        width: 112px;
        margin-bottom: 26px;
    }

    .logo-name {
        font-size: 10px;
    }

    nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        transform: none;
        justify-items: start;
        gap: 16px 8px;
    }

    nav a {
        font-size: 0.68rem;
        letter-spacing: 0.07em;
    }

    #home {
        min-height: 68svh;
        padding: 7vh 24px 9vh;
    }

    .eyebrow {
        font-size: clamp(0.9rem, 4.3vw, 1.6rem);
    }

    .hero-content {
        --hero-title-size: clamp(6.6rem, 29.04vw, 10.56rem);
        --hero-intro-gap: 18px;
        --hero-outro-gap: -28px;
    }

    h1 {
        letter-spacing: -0.055em;
        line-height: 0.8;
    }

    .hero-statement {
        font-size: clamp(1rem, 4.5vw, 1.2rem);
        line-height: 1.4;
        text-align-last: center;
    }

    section:not(#home) {
        display: block;
    }

    h2 {
        margin-bottom: 42px;
    }

    #recording {
        min-height: 55vh;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
