:root {
    color-scheme: light;
    --background: #fff;
    --surface: #f5f5f2;
    --surface-soft: #fafafa;
    --text: #050505;
    --muted: #666;
    --body-text: #252525;
    --line: #d9d9d4;
    --accent: #e03a3e;
    --page-pad: clamp(28px, 7.8vw, 108px);
    --content-max: 1344px;
    --gap: clamp(18px, 2vw, 30px);
    --small-text: clamp(13px, 1vw, 15px);
    --text-gradient: linear-gradient(-90deg, #61bb46 20%, #fdb827 30%, #f5821f 40%, #e03a3e 50%, #963d97 65%, #009ddc 80%);
}

* {
    box-sizing: border-box;
}

html {
    background: var(--background);
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--background);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.site-header {
    display: grid;
    grid-template-columns: minmax(0, auto) minmax(0, 1fr);
    align-items: center;
    gap: 28px;
    width: min(calc(100% - (var(--page-pad) * 2)), var(--content-max));
    margin: 0 auto;
    padding: clamp(36px, 7vw, 94px) 0 clamp(38px, 6vw, 82px);
}

.photo-hero-page .site-header {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 2;
    color: #fff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}

.brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.08em;
    justify-self: start;
}

.brand-name,
.main-nav a {
    font-size: clamp(22px, 2.3vw, 38px);
    font-weight: 800;
    line-height: 1.12;
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: clamp(18px, 3.2vw, 48px);
    align-items: center;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    color: #666;
}

.photo-hero-page .main-nav a:hover,
.photo-hero-page .main-nav a:focus-visible,
.photo-hero-page .main-nav a.is-active {
    color: #fff;
}

.main-nav a.is-active {
    color: var(--accent);
}

@supports ((background-clip: text) or (-webkit-background-clip: text)) {
    .main-nav a.is-active,
    .kicker {
        background-image: var(--text-gradient);
        background-size: 100vw 100vh;
        background-attachment: fixed;
        background-position: left top;
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .photo-hero-page .main-nav a.is-active,
    .photo-hero .kicker {
        background-image: none;
        -webkit-text-fill-color: currentColor;
    }
}

.section-band,
.site-footer {
    width: min(calc(100% - (var(--page-pad) * 2)), var(--content-max));
    margin: 0 auto;
}

.section-band {
    padding: 0 0 clamp(58px, 8vw, 118px);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: end;
}

.photo-hero {
    position: relative;
    display: grid;
    width: 100%;
    max-width: none;
    min-height: min(820px, 100vh);
    margin: 0 0 clamp(58px, 8vw, 118px);
    padding: clamp(180px, 17vw, 245px) var(--page-pad) clamp(62px, 8vw, 110px);
    overflow: hidden;
    background-color: #15170f;
    background-position: center;
    background-size: cover;
    color: #fff;
}

.photo-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.68) 0%, rgba(0, 0, 0, 0.36) 45%, rgba(0, 0, 0, 0.12) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0) 42%, rgba(0, 0, 0, 0.42) 100%);
}

.photo-hero .hero-copy {
    position: relative;
    z-index: 1;
    width: min(100%, var(--content-max));
    min-height: 0;
    margin: 0 auto;
    padding: 0;
}

.photo-hero .kicker,
.photo-hero .lead {
    color: #fff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.3);
}

.photo-hero .kicker {
    color: #38bdf8;
}

.photo-hero h1 {
    max-width: 780px;
    color: #fff;
    text-shadow: 0 3px 26px rgba(0, 0, 0, 0.35);
}

.photo-hero .lead {
    max-width: 700px;
}

.photo-hero .button {
    border-color: rgba(255, 255, 255, 0.78);
}

.photo-hero .button-primary {
    border-color: #fff;
    background: #fff;
    color: #050505;
}

.photo-hero .button-secondary {
    color: #fff;
}

.photo-hero .button:hover,
.photo-hero .button:focus-visible {
    transform: translateY(-1px);
}

.photo-hero .hero-image {
    display: none;
}

.hero-copy {
    display: grid;
    align-content: end;
    min-height: clamp(360px, 54vw, 650px);
    padding-bottom: clamp(10px, 3vw, 40px);
}

.kicker {
    margin: 0 0 14px;
    color: var(--accent);
    font-size: var(--small-text);
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

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

h1 {
    max-width: 820px;
    margin-bottom: 22px;
    font-size: clamp(36px, 4.2vw, 52px);
    line-height: 1.08;
    letter-spacing: 0;
}

h2 {
    margin-bottom: 0;
    font-size: clamp(28px, 3.8vw, 40px);
    line-height: 1.1;
    letter-spacing: 0;
}

h3 {
    margin-bottom: 18px;
    font-size: clamp(22px, 2.2vw, 32px);
    line-height: 1.12;
    letter-spacing: 0;
}

.lead,
.text-stack p,
.contact-details p,
.price-card span,
.empty-gallery {
    color: var(--body-text);
    font-size: clamp(17px, 1.45vw, 20px);
    line-height: 1.5;
}

.lead {
    max-width: 720px;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button,
.price-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 20px;
    border: 1px solid var(--text);
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
}

.button-primary,
.price-card a {
    background: var(--text);
    color: var(--background);
}

.button-secondary {
    color: var(--text);
}

.hero-image {
    margin: 0;
    background: var(--surface);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.12);
}

.hero-image img {
    width: 100%;
    height: clamp(340px, 50vw, 650px);
    object-fit: cover;
}

.split {
    display: grid;
    grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1fr);
    gap: clamp(28px, 6vw, 92px);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(34px, 7vw, 108px);
    align-items: start;
}

.audience-item {
    display: grid;
    gap: 22px;
    align-content: start;
}

.audience-item h2 {
    max-width: 560px;
}

.audience-item .text-stack {
    max-width: 620px;
}

.text-link {
    justify-self: start;
    color: var(--text);
    font-size: clamp(17px, 1.35vw, 20px);
    font-weight: 800;
    line-height: 1.2;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.subpage-hero .hero-copy {
    min-height: clamp(320px, 42vw, 560px);
}

.prose-section {
    max-width: 980px;
}

.prose-section h2 {
    max-width: 780px;
    margin-bottom: clamp(18px, 2.4vw, 28px);
}

.prose-section p:not(.kicker) {
    max-width: 880px;
    margin-bottom: 18px;
    color: var(--body-text);
    font-size: clamp(17px, 1.35vw, 20px);
    line-height: 1.5;
}

.prose-section p:last-child {
    margin-bottom: 0;
}

.media-prose.prose-section {
    display: grid;
    grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1fr);
    max-width: none;
    gap: clamp(34px, 6vw, 92px);
    align-items: center;
}

.prose-copy {
    max-width: 760px;
}

.prose-image {
    margin: 0;
    background: var(--surface);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.1);
}

.prose-image img {
    width: 100%;
    height: clamp(300px, 36vw, 520px);
    object-fit: cover;
}

.text-stack {
    max-width: 760px;
}

.text-stack p {
    margin-bottom: 16px;
}

.section-heading {
    max-width: 780px;
    margin-bottom: clamp(24px, 4vw, 48px);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--gap);
}

.price-card {
    display: grid;
    align-content: start;
    min-height: 410px;
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid var(--line);
    background: #f7f7f4;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.72),
        0 1px 0 rgba(0, 0, 0, 0.03);
}

.price-card p {
    margin-bottom: 16px;
    color: var(--muted);
    font-size: var(--small-text);
    font-weight: 800;
    line-height: 1.25;
    text-transform: uppercase;
}

.price-card h3 {
    margin-bottom: 6px;
    line-height: 1.04;
    text-wrap: balance;
}

.price-card strong {
    display: block;
    margin-bottom: 16px;
    font-size: clamp(25px, 2.5vw, 36px);
    line-height: 1.1;
}

.price-card span {
    display: block;
    max-width: 34ch;
    margin-bottom: 24px;
    font-size: clamp(15px, 1.15vw, 17px);
    line-height: 1.48;
}

.price-card a {
    align-self: end;
    justify-self: start;
    margin-top: auto;
    min-height: 44px;
    padding: 12px 18px;
}

.price-card-wide {
    max-width: 760px;
    min-height: 0;
}

.gallery-grid {
    column-count: 3;
    column-gap: var(--gap);
}

.gallery-grid-preview {
    margin-bottom: clamp(18px, 3vw, 34px);
}

.gallery-item {
    display: inline-block;
    width: 100%;
    margin: 0 0 var(--gap);
    background: var(--surface);
}

.gallery-item img {
    width: 100%;
    height: auto;
}

.empty-gallery code {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 800;
}

.teaser-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.contact {
    padding-top: clamp(36px, 6vw, 72px);
    border-top: 1px solid var(--line);
}

.contact-page {
    padding-top: 0;
    border-top: 0;
}

.contact-details {
    display: grid;
    gap: 8px;
    align-content: start;
    justify-items: start;
    margin-top: clamp(18px, 2.4vw, 28px);
}

.contact-details a {
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 800;
    line-height: 1.05;
}

.contact-details p {
    margin-bottom: 0;
}

.content-page {
    width: min(calc(100% - (var(--page-pad) * 2)), var(--content-max));
    margin: 0 auto;
    padding: 0 0 clamp(58px, 8vw, 118px);
}

.order-page {
    max-width: 980px;
}

.order-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px var(--gap);
}

.order-form h2 {
    grid-column: 1 / -1;
    margin: clamp(18px, 4vw, 42px) 0 0;
    padding-top: clamp(18px, 3vw, 34px);
    border-top: 1px solid var(--line);
}

.field {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.field-full {
    grid-column: 1 / -1;
}

.field > span,
.checkbox-field span {
    color: var(--muted);
    font-size: var(--small-text);
    font-weight: 800;
    line-height: 1.25;
    text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 0;
    background: var(--surface-soft, #fafafa);
    color: var(--text);
    font: inherit;
    font-size: clamp(17px, 1.4vw, 21px);
    line-height: 1.35;
    padding: 14px 15px;
}

.field textarea {
    resize: vertical;
}

.checkbox-field {
    display: flex;
    align-items: center;
    gap: 12px;
}

.checkbox-field input {
    width: 22px;
    height: 22px;
    accent-color: var(--text);
}

.delivery-fields {
    display: contents;
}

.delivery-fields[hidden] {
    display: none;
}

.field-error,
.form-error {
    color: #b00020;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
}

.form-error {
    margin-bottom: 24px;
}

.notice {
    display: grid;
    gap: 18px;
    padding: clamp(24px, 4vw, 44px);
    border: 1px solid var(--line);
    background: var(--surface);
}

.notice h2,
.notice p {
    margin-bottom: 0;
}

.notice .button {
    justify-self: start;
}

.admin-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 14px;
    margin-bottom: 24px;
}

.admin-filters .field {
    min-width: min(240px, 100%);
}

.admin-filters .button {
    min-height: 51px;
}

.admin-message {
    margin-bottom: 18px;
    color: var(--body-text);
    font-size: var(--small-text);
    font-weight: 800;
}

.orders-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    background: var(--surface-soft, #fafafa);
}

.orders-table {
    width: 100%;
    min-width: 1280px;
    border-collapse: collapse;
    font-size: 14px;
    line-height: 1.35;
}

.orders-table th,
.orders-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.orders-table th {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.orders-table tbody tr:last-child td {
    border-bottom: 0;
}

.orders-table a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.order-row {
    cursor: pointer;
}

.order-row:hover td {
    background: #fff;
}

.admin-detail-heading {
    display: grid;
    gap: 24px;
    margin-bottom: clamp(28px, 4vw, 52px);
}

.admin-detail-heading .button {
    justify-self: start;
}

.admin-order-form {
    margin-bottom: var(--gap);
}

.admin-panel {
    display: grid;
    gap: 18px;
    padding: clamp(20px, 2.5vw, 30px);
    border: 1px solid var(--line);
    background: var(--surface-soft, #fafafa);
}

.admin-panel h2 {
    font-size: clamp(22px, 2vw, 28px);
}

.admin-panel p {
    margin-bottom: 0;
    color: var(--body-text);
    font-size: clamp(16px, 1.25vw, 19px);
    line-height: 1.5;
}

.admin-panel pre {
    overflow-x: auto;
    margin: 0;
    font: 14px/1.45 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.admin-form-grid,
.admin-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--gap);
}

.admin-detail-grid {
    align-items: start;
}

.admin-panel-wide {
    grid-column: 1 / -1;
}

.admin-data-list {
    display: grid;
    gap: 14px;
    margin: 0;
}

.admin-data-list div {
    display: grid;
    gap: 4px;
}

.admin-data-list dt {
    color: var(--muted);
    font-size: var(--small-text);
    font-weight: 800;
    text-transform: uppercase;
}

.admin-data-list dd {
    margin: 0;
    color: var(--body-text);
    font-size: clamp(16px, 1.25vw, 19px);
    line-height: 1.4;
}

.site-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 24px;
    padding: 0 0 70px;
    color: var(--muted);
    font-size: var(--small-text);
    line-height: 1;
}

.site-footer p {
    margin: 0;
}

@media (max-width: 980px) {
    .hero,
    .audience-grid,
    .split,
    .media-prose.prose-section,
    .contact {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        min-height: 0;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .order-form {
        grid-template-columns: 1fr;
    }

    .admin-form-grid,
    .admin-detail-grid {
        grid-template-columns: 1fr;
    }

    .price-card {
        min-height: 0;
    }

    .media-prose .prose-copy {
        order: 1;
    }

    .media-prose .prose-image {
        order: 2;
    }
}

@media (max-width: 760px) {
    .site-header {
        grid-template-columns: 1fr;
        padding-top: 30px;
    }

    .photo-hero {
        min-height: 100svh;
        padding-top: clamp(220px, 52vw, 320px);
    }

    .main-nav {
        justify-content: flex-start;
    }

    .main-nav a {
        font-size: clamp(20px, 7vw, 30px);
    }

    .hero-image img {
        height: auto;
    }

    .gallery-grid {
        column-count: 2;
    }
}

@media (max-width: 520px) {
    :root {
        --page-pad: 24px;
    }

    .gallery-grid {
        column-count: 1;
    }

    .contact-details a {
        overflow-wrap: anywhere;
    }
}
