/* Change the site's palette here. No other stylesheet is needed. */
:root {
    --paper: #f4eff4;
    --white: #fffaff;
    --ink: #211820;
    --muted: #5c4b59;
    --line: #c6b3c2;
    --berry: #a31550;
    --deep: #721037;
    --night: #241820;
    --mist: #eadce8;
    --yellow: #ffd744;
    --pink: #ff77b7;
    --art-ink: #211820;
    --shadow: #24182025;
    --width: 1250px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 16px/1.6 Arial, Helvetica, sans-serif
}

a {
    color: inherit
}

button,
input,
textarea {
    font: inherit
}

button {
    cursor: pointer
}

button:disabled {
    cursor: default
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--berry);
    outline-offset: 4px
}

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

p {
    color: var(--muted)
}

h1,
h2,
h3,
h4 {
    line-height: 1.02;
    letter-spacing: -.045em
}

h1,
h2.sec-title {
    font-size: clamp(2.55rem, 6vw, 5.35rem);
    font-weight: 850
}

h3 {
    font-size: clamp(1.7rem, 3.8vw, 3rem)
}

h4 {
    font-size: 1.2rem
}

.wrap {
    width: min(var(--width), calc(100% - 80px));
    margin-inline: auto
}

.section,
.svc-block,
.legal {
    padding-block: clamp(55px, 8vw, 110px)
}

.skip {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 20;
    padding: 12px;
    background: var(--white);
    transform: translateY(-150%)
}

.skip:focus {
    transform: none
}

.topbar {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px
}

header {
    background: var(--white);
    position: relative;
    z-index: 5;
    border-bottom: 1px solid var(--line)
}

.brand,
.logo {
    font-size: 1.15rem;
    font-weight: 900;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    white-space: nowrap
}

.brand>span,
.brand-icon {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--berry);
    color: var(--white);
    font-size: 1.4rem
}

nav {
    display: flex;
    align-items: center;
    gap: clamp(12px, 2vw, 29px)
}

nav>a {
    text-decoration: none;
    font-weight: 700;
    font-size: .87rem
}

nav>a:hover,
nav>a[aria-current=page] {
    color: var(--berry)
}

.nav-toggle {
    display: none;
    background: var(--mist);
    border: 0;
    border-radius: 99px;
    padding: .5rem 1rem;
    font-weight: 800
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .7rem;
    padding: .8rem 1.3rem;
    border: 1px solid transparent;
    background: var(--berry);
    color: var(--white);
    text-decoration: none;
    border-radius: 100px;
    font-weight: 800;
    transition: transform .2s, box-shadow .2s
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 0 var(--shadow)
}

nav>.nav-cta:hover,
nav>.nav-cta[aria-current=page] {
    color: var(--white)
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .72rem;
    font-weight: 900;
    margin-bottom: 20px
}

.eyebrow:before {
    content: '✳';
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--yellow);
    color: var(--ink);
    font-size: .9rem;
    letter-spacing: 0
}

.grad-text {
    color: var(--berry)
}

.sec-head {
    margin-bottom: 32px
}

.sec-head h1,
.sec-head h2 {
    max-width: 19ch
}

.sec-sub {
    margin-top: 18px;
    max-width: 68ch
}

.service-tiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px
}

.service-tiles a {
    min-height: 112px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-content: space-between;
    text-decoration: none;
    transition: transform .2s, background .2s
}

.service-tiles a:hover {
    transform: translateY(-4px);
    background: var(--yellow)
}

.service-tiles strong {
    grid-row: 2;
    font-size: 1.1rem
}

.number {
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .11em;
    color: var(--berry)
}

.home-about {
    background: var(--mist)
}

.about-preview,
.about-grid,
.contact-grid,
.news-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: clamp(25px, 5vw, 72px);
    align-items: center
}

.about-preview .btn {
    margin-top: 22px
}

.about-art {
    background: var(--yellow);
    border-radius: 18px;
    display: grid;
    place-items: center;
    min-height: 280px;
    font-size: clamp(7rem, 18vw, 16rem);
    line-height: 1;
    color: var(--deep);
    overflow: hidden
}

.about-grid {
    grid-template-columns: 1.15fr 1fr
}

.about-grid>.ab-mosaic {
    order: 2
}

.ab-mosaic,
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px
}

.ab-tile,
.why-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--white)
}

.ab-tile:nth-child(2),
.why-card:nth-child(4n+2) {
    background: var(--mist)
}

.ab-tile:nth-child(3),
.why-card:nth-child(4n+3) {
    background: var(--pink)
}

.ab-tile p,
.why-card p {
    margin-top: 10px
}

.about-feats {
    margin-top: 24px
}

.about-feat {
    border-top: 1px solid var(--line);
    padding: 12px 0
}

.why-grid {
    grid-template-columns: repeat(4, 1fr);
    counter-reset: why
}

.why-card:before {
    counter-increment: why;
    content: '0' counter(why);
    display: block;
    color: var(--berry);
    font-size: .75rem;
    font-weight: 900;
    margin-bottom: 18px
}

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

#testimonials {
    background: var(--night);
    color: var(--white)
}

#testimonials .grad-text {
    color: var(--yellow)
}

#testimonials .sec-sub {
    color: var(--mist)
}

.reviews figure {
    background: var(--white);
    color: var(--ink);
    border-radius: 16px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 12px
}

.stars {
    color: var(--berry);
    letter-spacing: .15em
}

.reviews figcaption {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: auto
}

.initials {
    background: var(--mist);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: .75rem
}

.reviews small {
    display: block;
    color: var(--muted)
}

details {
    border-top: 1px solid var(--line);
    padding: 16px 0
}

details:last-child {
    border-bottom: 1px solid var(--line)
}

summary {
    cursor: pointer;
    font-weight: 800
}

details p {
    padding: 12px 0 0;
    max-width: 75ch
}

.page-services #services {
    padding-bottom: 28px
}

.cat-nav-inner {
    width: min(var(--width), calc(100% - 80px));
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-bottom: 28px
}

.cat-pill {
    display: inline-block;
    background: var(--mist);
    color: var(--ink);
    border-radius: 30px;
    padding: 7px 14px;
    font-size: .83rem;
    font-weight: 800;
    text-decoration: none
}

.cat-pill:hover:is(a) {
    background: var(--yellow)
}

.svc-block {
    border-top: 1px solid var(--line);
    scroll-margin-top: 12px
}

.svc-block:nth-of-type(even) {
    background: var(--white)
}

.svc-block>.wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
    gap: clamp(22px, 6vw, 90px)
}

.svc-cat-title {
    margin-top: 18px
}

.svc-cat-sub {
    margin-top: 14px
}

.service-list {
    border-top: 1px solid var(--line)
}

.service-list article {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 10px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line)
}

.service-list p {
    margin-top: 8px
}

.contact-grid,
.news-grid {
    align-items: start
}

.contact-info,
.contact-card,
.news-form,
.unsub-card {
    padding: clamp(20px, 4vw, 40px);
    border-radius: 20px
}

.contact-info {
    background: var(--mist)
}

.contact-info p {
    margin: 12px 0 20px
}

.ci-item {
    padding: 10px 0;
    border-top: 1px solid var(--line);
    overflow-wrap: anywhere
}

.contact-card,
.news-form,
.unsub-card {
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: 6px 6px var(--mist)
}

.field {
    margin-bottom: 14px
}

.field label {
    display: block;
    font-size: .88rem;
    font-weight: 800;
    margin-bottom: 5px
}

.field input:not([type=checkbox]),
.field textarea {
    display: block;
    width: 100%;
    min-height: 44px;
    background: var(--paper);
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px 12px
}

.field textarea {
    resize: vertical
}

.field .check-row {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-weight: 500
}

.check-row input {
    margin-top: .3em;
    accent-color: var(--berry)
}

.check-row a,
.news-grid a {
    color: var(--deep)
}

.news-grid .btn {
    color: var(--white)
}

.news-grid h1 {
    font-size: clamp(2.6rem, 5.75vw, 5rem)
}

.news-grid>div:first-child>div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px
}

.news-grid>div:first-child>div>span {
    padding: 5px 10px;
    border-radius: 30px;
    background: var(--mist);
    font-size: .84rem;
    font-weight: 700
}

.news-grid>div>p:last-of-type:not(.sec-sub) {
    margin-top: 16px
}

.unsub-card {
    max-width: 620px
}

.unsub-card p {
    margin: 14px 0 20px
}

.inline-unsub .section {
    padding: 20px 0 0
}

.inline-unsub .wrap {
    width: 100%
}

.inline-unsub:not([hidden]) {
    animation: rise .35s ease-out both
}

.legal {
    max-width: 820px
}

.legal h1 {
    margin-bottom: 28px
}

.legal h4 {
    font-size: 1.35rem;
    margin: 30px 0 8px
}

.legal p+p {
    margin-top: 12px
}

.legal a {
    overflow-wrap: anywhere
}

footer {
    background: var(--night);
    color: var(--white);
    padding: 54px 0 18px
}

.foot-grid {
    display: grid;
    grid-template-columns: 1.45fr repeat(3, 1fr);
    gap: 22px
}

.foot-col h4 {
    margin-bottom: 12px
}

.foot-col>a:not(.logo) {
    display: block;
    font-size: .9rem;
    text-decoration: none;
    color: var(--mist);
    margin: .33rem 0
}

.foot-col>a:hover:not(.logo) {
    text-decoration: underline
}

.foot-col p {
    color: var(--mist);
    margin-top: 12px;
    max-width: 32ch;
    font-size: .9rem
}

.foot-bottom {
    border-top: 1px solid var(--mist);
    margin-top: 30px;
    padding-top: 12px;
    color: var(--mist);
    font-size: .8rem
}

.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10;
    width: min(400px, calc(100% - 40px));
    background: var(--night);
    color: var(--white);
    border: 1px solid var(--mist);
    border-left: 5px solid var(--yellow);
    padding: 14px 18px;
    border-radius: 10px;
    box-shadow: 0 6px 24px var(--shadow)
}

.toast:empty {
    visibility: hidden
}

.toast.show {
    animation: rise .25s ease-out both
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(16px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@media(max-width:880px) {

    .wrap,
    .cat-nav-inner {
        width: calc(100% - 44px)
    }

    .topbar {
        flex-wrap: wrap;
        padding: 12px 0;
        min-height: 65px
    }

    .nav-toggle:not([hidden]) {
        display: block
    }

    nav {
        width: 100%;
        flex-wrap: wrap;
        padding: 5px 0 10px
    }

    nav[hidden] {
        display: none
    }

    .hero-grid {
        grid-template-columns: 1fr 1fr
    }

    .service-tiles,
    .why-grid,
    .reviews {
        grid-template-columns: repeat(2, 1fr)
    }

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

@media(min-width:881px) {
    .topbar nav[hidden] {
        display: flex
    }
}

@media(max-width:640px) {

    .wrap,
    .cat-nav-inner {
        width: calc(100% - 32px)
    }

    .hero-grid,
    .about-preview,
    .about-grid,
    .contact-grid,
    .news-grid,
    .svc-block>.wrap {
        grid-template-columns: 1fr
    }

    .hero-art {
        width: min(100%, 390px);
        margin: auto
    }

    .hero h1 {
        font-size: clamp(2.75rem, 10vw, 4rem)
    }

    .stat {
        flex-direction: column;
        text-align: center;
        gap: 5px;
        padding-inline: 4px
    }

    .stat span {
        font-size: .72rem
    }

    .hero-stats {
        padding-inline: 8px
    }

    .about-art {
        min-height: 150px
    }

    .reviews {
        grid-template-columns: 1fr
    }

    .why-card,
    .ab-tile,
    .reviews figure {
        padding: 16px
    }

    .service-tiles a {
        min-height: 90px
    }

    .foot-grid {
        gap: 22px 14px
    }

    .foot-col:first-child {
        grid-column: 1/-1
    }
}

@media(prefers-reduced-motion:reduce) {

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important
    }
}

/* Offbeat Ledger — editorial layout */
body {
    font-family: Arial, Helvetica, sans-serif
}

header {
    background: var(--paper);
    border-bottom: 2px solid var(--ink)
}

.topbar {
    min-height: 70px
}

.brand>span,
.brand-icon {
    border-radius: 0;
    background: var(--pink);
    color: var(--ink);
    rotate: -8deg
}

.btn,
.nav-toggle {
    border-radius: 0;
    border: 1px solid var(--ink);
    background: var(--ink);
    color: var(--white)
}

.btn:hover {
    box-shadow: 4px 4px var(--pink)
}

.eyebrow {
    font-family: monospace;
    letter-spacing: .14em
}

.eyebrow:before {
    border-radius: 0;
    background: var(--yellow)
}

.hero {
    background: var(--paper);
    overflow: hidden
}

.hero-grid {
    display: block;
    text-align: center;
    padding: clamp(52px, 8vw, 112px) 0 42px
}

.hero-grid>div {
    animation: rise .55s both
}

.hero h1 {
    font-size: clamp(2.8rem, 8.9vw, 8rem);
    letter-spacing: -.089em;
    line-height: .88
}

.hero h1 br {
    display: block
}

.hero .grad-text {
    color: var(--berry);
    font-family: Georgia, serif;
    font-weight: 400;
    font-style: italic;
    letter-spacing: -.09em
}

.lead {
    max-width: 62ch;
    margin: 26px auto 0
}

.hero-cta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 23px 0 0
}

.hero .btn-primary {
    background: var(--yellow);
    color: var(--ink)
}

.hero .btn-ghost {
    background: transparent;
    color: var(--ink)
}

.ticker {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    transform: rotate(-2deg) scale(1.02);
    background: var(--pink);
    border-block: 2px solid var(--ink);
    margin: 15px 0 28px
}

.art-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 17px 8px;
    line-height: 1.25;
    border-right: 1px solid var(--ink)
}

.art-tag>span {
    font-size: 1.6rem
}

.art-tag small {
    display: block;
    font-family: monospace
}

.hero-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px 35px;
    padding: 19px 16px 29px;
    border-bottom: 2px solid var(--ink)
}

.stat {
    display: flex;
    align-items: center;
    gap: 7px
}

.stat b {
    font-size: 1.45rem;
    line-height: 1
}

.stat span {
    font: .8rem monospace
}

.home-services {
    background: var(--ink);
    color: var(--white)
}

.home-services .grad-text {
    color: var(--pink)
}

.home-services p {
    color: var(--mist)
}

.service-tiles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 36px
}

.service-tiles a {
    color: var(--white);
    background: none;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    display: grid;
    grid-template-columns: 35px 1fr auto;
    min-height: 0;
    align-items: center;
    padding: 16px 4px
}

.service-tiles a:hover {
    transform: none;
    background: var(--pink);
    color: var(--ink)
}

.service-tiles strong {
    grid-row: auto;
    font-size: clamp(.95rem, 2.3vw, 1.75rem);
    letter-spacing: -.04em
}

.service-tiles .number {
    color: var(--yellow)
}

.service-tiles a:hover .number {
    color: var(--ink)
}

.home-about {
    background: var(--yellow);
    border-bottom: 2px solid var(--ink)
}

.about-preview {
    display: block;
    max-width: 1000px
}

.about-preview>div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 50px;
    align-items: start
}

.about-preview .eyebrow {
    grid-column: 1/-1
}

.about-preview .eyebrow:before {
    background: var(--pink)
}

.about-preview .sec-sub {
    margin-top: 0;
    color: var(--ink)
}

.about-preview .btn {
    justify-self: start
}

.about-preview h2 {
    font-size: clamp(2.4rem, 5vw, 4.8rem)
}

.ab-tile,
.why-card,
.reviews figure,
.contact-info,
.contact-card,
.news-form,
.unsub-card {
    border-radius: 0;
    border: 1px solid var(--ink)
}

.why-grid {
    gap: 0;
    grid-template-columns: repeat(4, 1fr)
}

.why-card:nth-child(4n+3) {
    background: var(--yellow)
}

#testimonials {
    background: var(--pink);
    color: var(--ink);
    border-block: 2px solid var(--ink)
}

#testimonials .grad-text {
    color: var(--deep)
}

#testimonials .sec-sub {
    color: var(--ink)
}

.reviews figure:nth-child(3n+2) {
    background: var(--yellow)
}

.reviews {
    gap: 14px
}

.contact-info {
    background: var(--yellow)
}

.page-newsletter main {
    background: var(--pink)
}

.page-newsletter .grad-text {
    color: var(--deep)
}

.legal {
    border-left: 2px solid var(--ink);
    padding-left: clamp(16px, 5vw, 70px)
}

.cat-pill {
    border-radius: 0
}

.svc-block:nth-of-type(even) {
    background: var(--mist)
}

.toast {
    border-radius: 0
}

footer {
    border-top: 4px solid var(--pink)
}

@media(max-width:880px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:640px) {
    .hero h1 {
        font-size: clamp(2.45rem, 9vw, 4rem)
    }

    .ticker {
        grid-template-columns: repeat(2, 1fr);
        transform: none;
        margin-bottom: 7px
    }

    .art-tag:nth-child(-n+2) {
        border-bottom: 1px solid var(--ink)
    }

    .hero-stats {
        gap: 8px 14px
    }

    .stat {
        flex-direction: column
    }

    .stat span {
        font-size: .65rem
    }

    .service-tiles {
        grid-template-columns: 1fr
    }

    .about-preview>div {
        display: block
    }

    .about-preview .sec-sub {
        margin-top: 15px
    }
}