/* Structure for btf4e.com. Colors, fonts and hero art come from theme.css. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-text);
    font-size: 20px;
    line-height: 1.55;
}
a { color: inherit; }
a:hover { color: var(--c2); }
.wrap { max-width: 1376px; margin-inline: auto; padding-inline: 32px; }

.nav {
    display: flex; justify-content: space-between; align-items: center; gap: 24px;
    padding-top: 24px; padding-bottom: 24px;
    font-family: var(--font-display);
}
.nav a { text-decoration: none; }
.nav__brand { font-size: 26px; font-weight: 800; letter-spacing: -0.01em; }
.nav__links { display: flex; flex-wrap: wrap; gap: 8px 32px; font-size: 17px; font-weight: 700; }

.hero {
    position: relative; overflow: hidden;
    border-radius: 8px; background: var(--surface);
    min-height: 600px; display: flex; align-items: flex-end;
}
.hero__art {
    position: absolute; inset: 0;
    background-position: right center; background-size: cover; background-repeat: no-repeat;
}
.hero__text { position: relative; max-width: 640px; padding: 64px 56px; }
.eyebrow {
    font-family: var(--font-display); font-size: 14px; font-weight: 700;
    letter-spacing: 0.14em; text-transform: uppercase; color: var(--c1);
    margin: 0 0 20px;
}
.hero h1 {
    margin: 0 0 20px; font-family: var(--font-display);
    font-size: clamp(56px, 8vw, 104px); line-height: 0.9;
    font-weight: 800; letter-spacing: -0.03em;
}
.hero__sub { margin: 0; font-size: 24px; line-height: 1.4; font-style: italic; }

.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: 28px; padding-bottom: 24px; }
.tile { display: flex; flex-direction: column; gap: 6px; border-top: 2px solid var(--ink); padding-top: 14px; text-decoration: none; }
.tile__label { font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; }
.tile__title { font-family: var(--font-display); font-size: 24px; font-weight: 800; line-height: 1.1; }
.tile:nth-child(1) .tile__label { color: var(--c2); }
.tile:nth-child(2) .tile__label { color: var(--c1); }
.tile:nth-child(3) .tile__label { color: var(--c3-ink); }

section { padding-top: 72px; }
h2 {
    font-family: var(--font-display); font-size: clamp(36px, 5vw, 56px);
    line-height: 1; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 28px;
}
.prose { max-width: 720px; }
.prose p { margin: 0 0 20px; }

.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { background: var(--surface); border-radius: 8px; padding: 28px; }
.card h3 { font-family: var(--font-display); font-size: 26px; font-weight: 800; line-height: 1.1; margin: 0 0 10px; }
.card p { margin: 0; }
.card:nth-child(1) { border-top: 6px solid var(--c1); }
.card:nth-child(2) { border-top: 6px solid var(--c2); }
.card:nth-child(3) { border-top: 6px solid var(--c3); }

.list { list-style: none; margin: 0; padding: 0; max-width: 880px; }
.list li { border-top: 2px solid var(--ink); padding: 16px 0; }
.list a { font-family: var(--font-display); font-size: 24px; font-weight: 800; line-height: 1.15; text-decoration: none; }
.list span { display: block; margin-top: 4px; }
.more { display: inline-block; margin-top: 12px; font-family: var(--font-display); font-weight: 700; }

.footer {
    margin-top: 96px; padding-bottom: 48px;
    font-family: var(--font-display); font-size: 16px;
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
}
.footer::before { content: ""; flex-basis: 100%; border-top: 2px solid var(--ink); margin-bottom: 12px; }
.footer p { margin: 0; }
.wearing::after { content: var(--theme-name, ""); }

@media (max-width: 800px) {
    body { font-size: 18px; }
    .wrap { padding-inline: 16px; }
    .hero { display: block; min-height: 0; }
    .hero__art { position: static; height: 220px; background-position: 78% center; }
    .hero__text { padding: 28px 24px 36px; }
    .hero__sub { font-size: 20px; }
    .tiles, .three { grid-template-columns: 1fr; }
    section { padding-top: 56px; }
}
