:root {
    --ink: #27231f;
    --muted: #6f665e;
    --cream: #f6f1e9;
    --paper: #fffdf9;
    --rose: #8d5b62;
    --rose-dark: #6f4148;
    --line: #ded4c8;
    --max: 1160px;
}

/* Reset */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background: var(--paper);
    color: var(--ink);

    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.65;
}

img {
    max-width: 100%;
}

a {
    color: var(--rose-dark);
    text-underline-offset: 3px;
}

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

    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    line-height: 1.12;
}

h1 {
    font-size: clamp(2.6rem, 7vw, 5.7rem);
    letter-spacing: -0.04em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
    font-size: 1.5rem;
}

/* Page-load animation */

.reveal {
    opacity: 0;
    transform: translateY(28px);
}

body.page-loaded .reveal {
    animation: revealText 0.9s ease-out forwards;
}

body.page-loaded .reveal-delay-1 {
    animation-delay: 0.2s;
}

body.page-loaded .reveal-delay-2 {
    animation-delay: 0.4s;
}

body.page-loaded .reveal-delay-3 {
    animation-delay: 0.6s;
}

body.page-loaded .portrait-placeholder.reveal {
    animation-name: revealPortrait;
    animation-duration: 1.1s;
}

@keyframes revealText {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

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

@keyframes revealPortrait {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.92);
    }

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

/* Header */

.site-header {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;

    max-width: var(--max);
    margin: auto;
    padding: 1rem 2rem;

    border-bottom: 1px solid var(--line);
}

/* Logo */

.brand {
    color: var(--ink);
    text-decoration: none;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    flex: 0 1 auto;

    width: fit-content;
    max-width: min(470px, 100%);

    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.brand-logo img {
    display: block;

    width: clamp(310px, 34vw, 440px);
    max-width: 100%;
    height: auto;

    object-fit: contain;
    object-position: left center;
}

/* Main navigation */

.primary-navigation {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.primary-navigation a {
    padding: 0.55rem 0.9rem;

    border: 1px solid transparent;
    border-radius: 999px;

    color: var(--ink);
    text-decoration: none;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.primary-navigation a:hover {
    border-color: var(--line);
    background: var(--cream);
    transform: translateY(-1px);
}

.primary-navigation a.active,
.primary-navigation a[aria-current="page"] {
    border-color: var(--rose-dark);
    background: var(--rose-dark);
    color: #ffffff;
}

/* Hamburger button */

.menu-toggle {
    display: none;
    flex: 0 0 auto;

    width: 44px;
    height: 44px;
    padding: 9px;

    border: 1px solid var(--line);
    border-radius: 12px;
    background: transparent;

    color: var(--ink);
    cursor: pointer;
}

.menu-toggle span {
    display: block;

    width: 100%;
    height: 2px;
    margin: 5px 0;

    border-radius: 999px;
    background: currentColor;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.menu-toggle:focus-visible {
    outline: 3px solid rgba(141, 91, 98, 0.2);
    outline-offset: 3px;
}

/* Main content */

main {
    min-height: 70vh;
}

/* Homepage hero */

.hero {
    display: block;

    max-width: var(--max);
    margin: auto;
    padding: clamp(5rem, 10vw, 8.5rem) 2rem;
}

.hero-wide {
    display: block;
}

.hero-copy {
    max-width: 1040px;
}

.hero-copy h1 {
    max-width: 1000px;
    margin-bottom: 1.75rem;
}

.hero-copy .lead {
    max-width: 820px;

    font-size: clamp(1.15rem, 2vw, 1.4rem);
    line-height: 1.7;
}

.hero-copy .actions {
    margin-top: 2.25rem;
}

.eyebrow {
    margin-bottom: 1rem;

    color: var(--rose);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.lead {
    max-width: 700px;

    color: var(--muted);
    font-size: 1.2rem;
}

/* Legacy portrait styling */

.portrait-placeholder {
    width: min(100%, 430px);
    aspect-ratio: 1 / 1;
    margin-inline: auto;

    overflow: hidden;

    border: 8px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    background: var(--cream);

    box-shadow:
        0 24px 55px rgba(39, 35, 31, 0.18),
        0 8px 20px rgba(39, 35, 31, 0.1);
}

.portrait-placeholder img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center 18%;
}

/* Heart images */

.intro-heading-with-heart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.intro-heart {
    width: 28px;
    height: auto;

    object-fit: contain;
    flex: 0 0 auto;
    transform: translateY(2px);
}

.heading-heart-below {
    display: flex;
    flex-direction: column;
    align-items: center;

    width: fit-content;
}

.heading-heart-below .intro-heart {
    display: block;
    margin-top: 0.55rem;
}

/* Buttons */

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;

    margin-top: 2rem;
}

.button {
    display: inline-block;
    padding: 0.9rem 1.3rem;

    border: 1px solid var(--rose-dark);
    border-radius: 999px;
    background: var(--rose-dark);

    color: #ffffff;
    cursor: pointer;

    font: inherit;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.button:hover {
    border-color: var(--ink);
    background: var(--ink);
    color: #ffffff;

    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(39, 35, 31, 0.14);
}

.button.secondary {
    border-color: var(--rose-dark);
    background: transparent;
    color: var(--rose-dark);
}

.button.secondary:hover {
    background: var(--rose-dark);
    color: #ffffff;
}

/* Sections */

.section {
    max-width: var(--max);
    margin: auto;
    padding: 5rem 2rem;
}

.intro {
    max-width: 850px;
    text-align: center;
}

.page-hero {
    max-width: var(--max);
    margin: auto;
    padding: 6rem 2rem 3rem;
}

.page-hero.narrow {
    max-width: 900px;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;

    margin-bottom: 2rem;
}

.section-heading h2 {
    margin-bottom: 0;
}

/* Cards */

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

.card {
    padding: 1.7rem;

    border: 1px solid var(--line);
    border-radius: 20px;
    background: #ffffff;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.card:hover {
    border-color: #cbbcb0;

    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(39, 35, 31, 0.09);
}

.card p {
    color: var(--muted);
}

/* Callout */

.callout {
    margin: 4rem auto 0;
    padding: 5rem 2rem;

    background: var(--cream);
    text-align: center;
}

.callout p {
    max-width: 680px;
    margin-right: auto;
    margin-left: auto;
}

/* Text content */

.prose {
    max-width: 820px;
    font-size: 1.08rem;
}

.note {
    padding: 1rem;

    border-left: 4px solid var(--rose);
    background: var(--cream);
}

.service-description strong {
    font-weight: 700;
}

.service-description em {
    font-style: italic;
}

/* Forms */

.form-wrap {
    max-width: 760px;
}

.form-wrap.compact {
    max-width: 520px;
}

.form-card {
    display: grid;
    gap: 1.15rem;

    padding: 2rem;

    border: 1px solid var(--line);
    border-radius: 22px;
    background: #ffffff;
}

.form-card label {
    display: grid;
    gap: 0.35rem;

    font-weight: 700;
}

.form-card input,
.form-card select,
.form-card textarea {
    width: 100%;
    padding: 0.85rem;

    border: 1px solid #bcb1a6;
    border-radius: 10px;
    background: #ffffff;

    color: var(--ink);
    font: inherit;
}

.form-card textarea {
    resize: vertical;
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
    border-color: var(--rose);
    outline: 3px solid rgba(141, 91, 98, 0.15);
}

.checkbox {
    display: flex !important;
    grid-template-columns: auto 1fr !important;
    align-items: center;
    gap: 0.6rem;
}

.checkbox input {
    width: auto;
}

.honeypot {
    position: absolute;
    left: -9999px;
}

/* Admin formatting help */

.form-help {
    margin: -0.35rem 0 1.25rem;

    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

.formatting-help {
    margin: -0.35rem 0 1.5rem;
    padding: 1rem 1.15rem;

    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--cream);

    color: var(--muted);
    font-size: 0.88rem;
}

.formatting-help strong {
    display: block;
    margin-bottom: 0.55rem;

    color: var(--ink);
}

.formatting-help p {
    margin: 0.35rem 0;
}

.formatting-help code {
    padding: 0.12rem 0.35rem;

    border-radius: 5px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--rose-dark);
}

.formatting-example code {
    display: block;

    margin-top: 0.4rem;
    padding: 0.65rem 0.75rem;

    white-space: normal;
}

/* Alerts */

.alert {
    margin-bottom: 1rem;
    padding: 1rem 1.2rem;

    border-radius: 12px;
}

.alert.success {
    background: #e8f2e9;
}

.alert.error {
    background: #f8e6e3;
}

/* Footer */

.quiet-admin-link {
    color: inherit;
    text-decoration: none;
}

.quiet-admin-link:hover,
.quiet-admin-link:focus {
    color: inherit;
    text-decoration: none;
}

.site-footer {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;

    max-width: var(--max);
    margin: auto;
    padding: 3rem 2rem;

    border-top: 1px solid var(--line);
    color: var(--muted);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
}

.site-footer small {
    grid-column: 1 / -1;
}

/* Tables */

.table-wrap {
    overflow: auto;
}

table {
    width: 100%;

    border-collapse: collapse;
    background: #ffffff;
}

th,
td {
    padding: 1rem;

    border-bottom: 1px solid var(--line);
    text-align: left;
}

/* Admin */

.admin-grid .linked {
    display: flex;
    flex-direction: column;

    color: var(--ink);
    text-decoration: none;
}

.admin-grid strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 3rem;
}

.inquiry-list {
    display: grid;
    gap: 1rem;
}

.unread {
    border-left: 5px solid var(--rose);
}

/* Inline code */

code {
    padding: 0.15rem 0.35rem;

    border-radius: 5px;
    background: var(--cream);
}

/* About page */

.about-intro {
    display: grid;
    grid-template-columns: minmax(260px, 390px) minmax(0, 1fr);
    align-items: center;
    gap: clamp(2.5rem, 7vw, 6rem);
}

.about-portrait {
    position: relative;

    width: 100%;
    max-width: 390px;
    aspect-ratio: 1 / 1;
    margin-inline: auto;
}

.about-portrait::before {
    position: absolute;
    inset: 8% -8% -8% 8%;
    z-index: 0;

    border-radius: 50%;
    background: var(--cream);

    content: "";
}

.about-portrait img {
    position: relative;
    z-index: 1;

    display: block;

    width: 100%;
    height: 100%;

    border: 8px solid rgba(255, 255, 255, 0.92);
    border-radius: 50%;

    box-shadow:
        0 28px 65px rgba(39, 35, 31, 0.18),
        0 8px 22px rgba(39, 35, 31, 0.1);

    object-fit: cover;
    object-position: center 18%;
}

.about-intro-copy {
    max-width: 650px;
}

.about-opening {
    color: var(--ink);

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.25rem, 2.2vw, 1.65rem);
    line-height: 1.5;
}

.about-story h2 {
    margin-top: 4rem;
}

.about-story h2:first-child {
    margin-top: 0;
}

.about-quote {
    margin: 3.5rem 0;
    padding: 2rem 2.5rem;

    border-left: 5px solid var(--rose);
    background: var(--cream);

    color: var(--rose-dark);

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-style: italic;
    line-height: 1.5;
}

/* Artwork administration */

.artwork-admin-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.artwork-admin-card {
    overflow: hidden;
    padding: 0;
}

.artwork-admin-card img {
    display: block;

    width: 100%;
    aspect-ratio: 4 / 3;

    object-fit: cover;
}

.artwork-admin-card > div {
    padding: 1.4rem;
}

.artwork-admin-card h3 {
    margin-bottom: 0.5rem;
}

.artwork-admin-card p {
    margin: 0.25rem 0;
}

.artwork-status {
    color: var(--rose-dark) !important;
    font-size: 0.9rem;
    font-weight: 700;
}

.form-card small {
    color: var(--muted);
    font-weight: 400;
}

.artwork-admin-link {
    display: block;

    color: var(--ink);
    text-decoration: none;
}

.artwork-admin-link:hover {
    color: var(--ink);
}

.artwork-edit-label {
    display: inline-block;
    margin-top: 0.75rem;

    color: var(--rose-dark);
    font-weight: 700;
}

/* Homepage lifestyle image */

.home-story-image {
    position: relative;

    max-width: 1020px;
    min-height: 520px;
    margin: 1rem auto 5rem;

    overflow: hidden;
    border-radius: 28px;

    box-shadow:
        0 28px 65px rgba(39, 35, 31, 0.15),
        0 8px 24px rgba(39, 35, 31, 0.08);
}

.home-story-image img {
    display: block;

    width: 100%;
    height: 100%;
    min-height: 520px;

    object-fit: cover;
    object-position: center 42%;
}

.home-story-image::after {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(28, 24, 21, 0.68) 0%,
        rgba(28, 24, 21, 0.34) 42%,
        rgba(28, 24, 21, 0.02) 72%
    );

    content: "";
}

.home-story-overlay {
    position: absolute;
    top: 50%;
    left: clamp(2rem, 6vw, 5rem);
    z-index: 1;

    width: min(520px, calc(100% - 4rem));

    color: #ffffff;
    transform: translateY(-50%);
}

.home-story-overlay .eyebrow {
    color: rgba(255, 255, 255, 0.82);
}

.home-story-overlay h2 {
    margin-bottom: 0;

    font-size: clamp(2rem, 4.5vw, 4rem);
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.28);
}

/* Contact page */

.contact-layout {
    display: grid;
    grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
    align-items: start;
    gap: clamp(2.5rem, 6vw, 5rem);
}

.contact-photo-column {
    position: sticky;
    top: 2rem;
}

.contact-photo {
    overflow: hidden;

    border: 7px solid rgba(255, 255, 255, 0.9);
    border-radius: 28px;
    background: var(--cream);

    box-shadow:
        0 24px 55px rgba(39, 35, 31, 0.16),
        0 8px 20px rgba(39, 35, 31, 0.08);
}

.contact-photo img {
    display: block;

    width: 100%;
    aspect-ratio: 4 / 5;

    object-fit: cover;
    object-position: center top;
}

.contact-photo-copy {
    margin-top: 2rem;
}

.contact-photo-copy h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.contact-photo-copy p:last-child {
    color: var(--muted);
}

.contact-form-column {
    min-width: 0;
}

.contact-form-column .form-card {
    width: 100%;
}

/* Select clients */

.clients-intro {
    max-width: 760px;
    margin-bottom: 2.5rem;

    color: var(--muted);
    font-size: 1.08rem;
}

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

    overflow: hidden;

    border: 1px solid var(--line);
    border-radius: 22px;
    background: #ffffff;
}

.client-name {
    padding: 0.9rem 1.1rem;

    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.client-name:nth-child(3n) {
    border-right: 0;
}

.client-disclaimer {
    margin-top: 1.25rem;

    color: var(--muted);
    font-size: 0.82rem;
}

/* Testimonials */

.testimonials-section {
    position: relative;
}

.testimonials-intro {
    max-width: 760px;
    margin-bottom: 2.5rem;

    color: var(--muted);
    font-size: 1.08rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 1.5rem;
}

.testimonial-card {
    position: relative;

    overflow: hidden;
    padding: 2rem;

    border: 1px solid var(--line);
    border-radius: 24px;

    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.96),
        rgba(250, 244, 238, 0.9)
    );

    box-shadow: 0 14px 34px rgba(39, 35, 31, 0.07);
}

.testimonial-mark {
    position: absolute;
    top: 0.35rem;
    right: 1.25rem;

    color: rgba(150, 69, 73, 0.13);

    font-family: Georgia, serif;
    font-size: 6rem;
    line-height: 1;
}

.testimonial-card blockquote {
    position: relative;
    z-index: 1;

    margin: 0;
    padding: 0;
    border: 0;

    color: var(--ink);
    font-style: normal;
}

.testimonial-card blockquote p {
    margin: 0 0 1rem;
    line-height: 1.72;
}

.testimonial-card blockquote p:last-child {
    margin-bottom: 0;
}

.testimonial-attribution {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;

    margin-top: 1.5rem;
    padding-top: 1.1rem;

    border-top: 1px solid var(--line);

    color: var(--muted);
    font-size: 0.93rem;
}

.testimonial-attribution strong {
    color: var(--rose-dark);
    font-size: 1rem;
}

.testimonial-profession {
    font-style: italic;
}

.testimonial-disclaimer {
    max-width: 850px;
    margin: 3rem auto 0;
    padding: 1.75rem 2rem;

    border-left: 4px solid var(--rose-dark);
    border-radius: 0 18px 18px 0;
    background: var(--cream);
}

.testimonial-disclaimer h2 {
    margin-top: 0;
    font-size: 1.25rem;
}

.testimonial-disclaimer p {
    margin-bottom: 0.8rem;

    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.65;
}

.testimonial-disclaimer p:last-child {
    margin-bottom: 0;
}

.testimonial-actions {
    justify-content: center;
    margin-top: 2rem;
}

/* Experience page */

.experience-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    align-items: center;
    gap: 3rem;
}

.experience-intro-copy {
    max-width: 720px;
}

.experience-highlight {
    position: relative;

    overflow: hidden;
    padding: 2.25rem;

    border: 1px solid var(--line);
    border-radius: 24px;

    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.96),
        rgba(250, 244, 238, 0.92)
    );

    box-shadow: 0 16px 38px rgba(39, 35, 31, 0.08);
}

.experience-highlight-mark {
    position: absolute;
    top: 0.2rem;
    right: 1rem;

    color: rgba(150, 69, 73, 0.14);

    font-family: Georgia, serif;
    font-size: 7rem;
    line-height: 1;
}

.experience-highlight p {
    position: relative;
    z-index: 1;

    margin: 0 0 1.25rem;

    font-family: Georgia, serif;
    font-size: 1.25rem;
    line-height: 1.6;
}

.experience-highlight strong {
    color: var(--rose-dark);
}

.experience-testimonials,
.experience-clients {
    border-top: 1px solid var(--line);
}

.text-link {
    flex-shrink: 0;

    color: var(--rose-dark);
    font-weight: 600;
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
}

.experience-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.experience-testimonial-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-height: 100%;
    overflow: hidden;
    padding: 1.75rem;

    border: 1px solid var(--line);
    border-radius: 22px;
    background: #ffffff;

    box-shadow: 0 12px 30px rgba(39, 35, 31, 0.06);
}

.experience-quote-mark {
    position: absolute;
    top: 0.1rem;
    right: 0.9rem;

    color: rgba(150, 69, 73, 0.12);

    font-family: Georgia, serif;
    font-size: 5.5rem;
    line-height: 1;
}

.experience-testimonial-card blockquote {
    position: relative;
    z-index: 1;

    flex: 1;

    margin: 0;
    padding: 0;
    border: 0;

    color: var(--ink);
    font-style: normal;
    line-height: 1.7;
}

.experience-testimonial-card footer {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;

    margin-top: 1.4rem;
    padding-top: 1rem;

    border-top: 1px solid var(--line);

    color: var(--muted);
    font-size: 0.9rem;
}

.experience-testimonial-card footer strong {
    color: var(--rose-dark);
}

.experience-clients-copy {
    max-width: 760px;
    margin-bottom: 2rem;

    color: var(--muted);
    font-size: 1.05rem;
}

.experience-client-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));

    overflow: hidden;

    border: 1px solid var(--line);
    border-radius: 22px;
    background: #ffffff;
}

.experience-client-name {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 76px;
    padding: 1rem;

    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);

    text-align: center;
    font-weight: 600;
}

.experience-client-name:nth-child(5n) {
    border-right: 0;
}

.experience-client-name:nth-last-child(-n + 5) {
    border-bottom: 0;
}

.experience-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;

    border: 1px solid var(--line);
    border-radius: 26px;
    background: var(--cream);
}

.experience-cta > div:first-child {
    max-width: 650px;
}

.experience-cta h2 {
    margin-bottom: 0.7rem;
}

.experience-cta p {
    margin-bottom: 0;
    color: var(--muted);
}

.experience-cta .actions {
    flex-shrink: 0;
    margin-top: 0;
}

/* Tablet */

@media (max-width: 900px) {
    .experience-intro {
        grid-template-columns: 1fr;
    }

    .experience-highlight {
        max-width: 620px;
    }

    .experience-testimonial-grid {
        grid-template-columns: 1fr;
    }

    .experience-client-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .experience-client-name:nth-child(5n) {
        border-right: 1px solid var(--line);
    }

    .experience-client-name:nth-child(3n) {
        border-right: 0;
    }

    .experience-client-name:nth-last-child(-n + 5) {
        border-bottom: 1px solid var(--line);
    }

    .experience-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 800px) {
    .hero {
        padding-top: 4rem;
        padding-bottom: 4.5rem;
    }

    .hero-copy {
        max-width: 100%;
    }

    .portrait-placeholder {
        width: 100%;
        max-width: 360px;
    }

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

    .section-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer {
        grid-template-columns: 1fr;
    }

    .about-intro {
        grid-template-columns: 1fr;
    }

    .about-portrait {
        max-width: 330px;
    }

    .about-intro-copy {
        max-width: none;
    }

    .about-quote {
        padding: 1.5rem;
    }

    .artwork-admin-grid {
        grid-template-columns: 1fr;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-photo-column {
        position: static;

        display: grid;
        grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
        align-items: center;
        gap: 2rem;
    }

    .contact-photo-copy {
        margin-top: 0;
    }

    .client-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .client-name:nth-child(3n) {
        border-right: 1px solid var(--line);
    }

    .client-name:nth-child(2n) {
        border-right: 0;
    }

    h1 {
        font-size: clamp(2.5rem, 13vw, 4.3rem);
    }
}

/* Hamburger navigation */

@media (max-width: 700px) {
    .site-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;

        padding: 0.8rem 1.25rem;
    }

    .brand-logo {
        flex: 1 1 auto;

        width: auto;
        min-width: 0;
        max-width: calc(100% - 56px);
    }

    .brand-logo img {
        width: min(330px, 100%);
        max-width: 100%;
        max-height: 62px;
        height: auto;
    }

    .menu-toggle {
        display: block;
    }

    .primary-navigation {
        position: absolute;
        top: calc(100% + 1px);
        right: 1.25rem;
        left: 1.25rem;
        z-index: 1000;

        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;

        width: auto;
        padding: 0.75rem;

        border: 1px solid var(--line);
        border-radius: 16px;
        background: var(--paper);

        box-shadow: 0 16px 36px rgba(39, 35, 31, 0.16);
    }

    .primary-navigation.is-open {
        display: flex;
    }

    .primary-navigation a {
        display: block;
        flex: none;

        width: 100%;
        padding: 0.7rem 0.85rem;

        border-radius: 10px;
        text-align: left;
    }

    .menu-toggle.is-open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

@media (max-width: 620px) {
    .section-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .experience-client-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .experience-client-name:nth-child(3n) {
        border-right: 1px solid var(--line);
    }

    .experience-client-name:nth-child(2n) {
        border-right: 0;
    }

    .experience-highlight {
        padding: 1.6rem;
    }

    .experience-highlight p {
        font-size: 1.1rem;
    }
}

@media (max-width: 600px) {
    .home-story-image {
        min-height: 580px;
        margin-right: 1.25rem;
        margin-left: 1.25rem;

        border-radius: 22px;
    }

    .home-story-image img {
        min-height: 580px;
        object-position: 56% center;
    }

    .home-story-image::after {
        background: linear-gradient(
            0deg,
            rgba(28, 24, 21, 0.78) 0%,
            rgba(28, 24, 21, 0.18) 58%,
            transparent 82%
        );
    }

    .home-story-overlay {
        top: auto;
        right: 1.5rem;
        bottom: 2rem;
        left: 1.5rem;

        width: auto;
        transform: none;
    }
}

@media (max-width: 580px) {
    .contact-photo-column {
        grid-template-columns: 1fr;
    }

    .contact-photo {
        width: 100%;
        max-width: 340px;
        margin-inline: auto;
    }

    .contact-photo-copy {
        text-align: center;
    }
}

/* Small phones */

@media (max-width: 520px) {
    .hero,
    .section,
    .page-hero,
    .site-footer {
        padding-right: 1.25rem;
        padding-left: 1.25rem;
    }

    .hero {
        padding-top: 3.25rem;
        padding-bottom: 4rem;
    }

    .hero-copy h1 {
        margin-bottom: 1.35rem;
    }

    .hero-copy .lead {
        font-size: 1.08rem;
    }

    .actions {
        flex-direction: column;
    }

    .actions .button {
        width: 100%;
        text-align: center;
    }

    .form-card {
        padding: 1.35rem;
    }

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

    .client-name,
    .client-name:nth-child(2n),
    .client-name:nth-child(3n) {
        border-right: 0;
    }

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

    .testimonial-card {
        padding: 1.35rem;
        border-radius: 20px;
    }

    .testimonial-mark {
        right: 0.8rem;
        font-size: 4.5rem;
    }

    .testimonial-disclaimer {
        padding: 1.35rem;
    }
}

@media (max-width: 420px) {
    .experience-client-grid {
        grid-template-columns: 1fr;
    }

    .experience-client-name,
    .experience-client-name:nth-child(2n),
    .experience-client-name:nth-child(3n),
    .experience-client-name:nth-child(5n) {
        border-right: 0;
    }
}

/* Accessibility: reduced motion */

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

    .reveal,
    .reveal-delay-1,
    .reveal-delay-2,
    .reveal-delay-3,
    .portrait-placeholder.reveal {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .primary-navigation a,
    .menu-toggle span,
    .button,
    .card {
        transition: none;
    }
}