:root {
    --ink: #fff6ea;
    --paper: #f2eadf;
    --muted: #b8afa4;
    --soft: rgba(255, 246, 234, 0.72);
    --black: #08090d;
    --panel: #11131a;
    --panel-2: #18151b;
    --line: rgba(255, 246, 234, 0.16);
    --amber: #f0a144;
    --red: #ca2f34;
    --green: #5dff48;
    --blue: #44c7de;
    --pink: #df7db0;
    --shadow: 0 26px 80px rgba(0, 0, 0, 0.42);
}

* {
    box-sizing: border-box;
}

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

body {
    min-width: 320px;
    margin: 0;
    color: var(--ink);
    background:
        linear-gradient(180deg, #08090d 0%, #121016 45%, #090a0e 100%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

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

a {
    color: inherit;
}

button,
input,
textarea {
    font: inherit;
}

.page-shell {
    width: min(100% - 40px, 1180px);
    margin: 0 auto;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 26px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    text-decoration: none;
}

.brand__mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(240, 161, 68, 0.78);
    background: rgba(240, 161, 68, 0.12);
    color: var(--amber);
    font-weight: 900;
    box-shadow: 0 0 34px rgba(240, 161, 68, 0.18);
}

.brand__text {
    font-weight: 900;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-nav a {
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid transparent;
    color: rgba(255, 246, 234, 0.74);
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    border-color: var(--line);
    color: var(--ink);
    background: rgba(255, 255, 255, 0.06);
}

.home-hero {
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    overflow: hidden;
}

.home-hero__image,
.home-hero__shade {
    position: absolute;
    inset: 0;
}

.home-hero__image {
    z-index: -3;
}

.home-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 72% 18%;
    transform: scale(1.02);
}

.home-hero__shade {
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(8, 9, 13, 0.98) 0%, rgba(8, 9, 13, 0.88) 34%, rgba(8, 9, 13, 0.42) 68%, rgba(8, 9, 13, 0.7) 100%),
        linear-gradient(0deg, rgba(8, 9, 13, 0.96) 0%, rgba(8, 9, 13, 0.08) 44%, rgba(8, 9, 13, 0.66) 100%);
}

.home-hero__inner {
    display: grid;
    min-height: 100vh;
    grid-template-rows: auto 1fr auto;
}

.home-hero__copy {
    align-self: center;
    width: min(690px, 100%);
    padding: 66px 0 54px;
}

.eyebrow {
    margin: 0 0 16px;
    color: var(--amber);
    font-size: 0.8rem;
    font-weight: 950;
    text-transform: uppercase;
}

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

h1,
h2 {
    color: #fff9ee;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 900;
    line-height: 0.94;
    text-wrap: balance;
}

h1 {
    max-width: 10.8ch;
    margin-bottom: 26px;
    font-size: clamp(4rem, 3.1rem + 4vw, 8.2rem);
    text-shadow: 0 22px 70px rgba(0, 0, 0, 0.5);
}

h2 {
    margin-bottom: 18px;
    font-size: clamp(2.4rem, 2rem + 1.7vw, 4.6rem);
}

.home-hero__copy p:not(.eyebrow),
.intro-band p,
.story-strip__copy p,
.about-hero__copy p,
.copy-panel p,
.contact-section__copy p {
    color: var(--soft);
    font-size: clamp(1.02rem, 0.98rem + 0.22vw, 1.18rem);
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 18px;
    border: 1px solid var(--line);
    font-weight: 900;
    text-decoration: none;
}

.button--primary {
    border-color: transparent;
    color: #180d08;
    background: linear-gradient(135deg, var(--amber), #ffd18c 60%, #d84e36);
    box-shadow: 0 14px 38px rgba(240, 161, 68, 0.22);
}

.button--ghost {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.06);
}

.button:hover {
    transform: translateY(-1px);
}

.launch-note {
    justify-self: end;
    width: min(320px, 100%);
    margin-bottom: 34px;
    padding: 22px;
    border: 1px solid var(--line);
    background: rgba(12, 13, 18, 0.74);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.launch-note span {
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 950;
    text-transform: uppercase;
}

.launch-note strong {
    display: block;
    margin: 8px 0;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.6rem;
    line-height: 1;
}

.launch-note p {
    margin: 0;
    color: var(--muted);
}

.intro-band,
.gallery-section,
.about-body,
.process-section {
    padding: 88px 0;
}

.intro-band {
    background:
        linear-gradient(90deg, rgba(202, 47, 52, 0.18), rgba(68, 199, 222, 0.1)),
        #100f14;
}

.intro-band__grid,
.about-body__grid,
.process-section__grid,
.contact-section {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 44px;
    align-items: start;
}

.section-heading {
    width: min(720px, 100%);
    margin-bottom: 30px;
}

.art-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 280px;
    gap: 14px;
}

.art-card {
    position: relative;
    overflow: hidden;
    min-height: 0;
    border: 1px solid rgba(255, 246, 234, 0.14);
    background: var(--panel);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

.art-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 420ms ease;
}

.art-card:hover img {
    transform: scale(1.035);
}

.art-card__caption {
    position: absolute;
    right: 12px;
    bottom: 12px;
    left: 12px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    color: var(--ink);
    background: rgba(8, 9, 13, 0.72);
    backdrop-filter: blur(12px);
}

.art-card__caption span {
    font-weight: 900;
}

.art-card__caption small {
    color: var(--muted);
}

.art-card--green,
.art-card--flame,
.art-card--wide {
    grid-column: span 2;
    grid-row: span 2;
}

.art-card--panorama {
    grid-column: span 2;
}

.art-card--red img {
    object-position: 56% 8%;
}

.art-card--green img {
    object-position: 58% 26%;
}

.art-card--flame img {
    object-position: 48% 22%;
}

.art-card--blue img {
    object-position: 50% 50%;
}

.art-card--wide img {
    object-position: 50% 46%;
}

.art-card--profile img {
    object-position: 70% 12%;
}

.art-card--master img {
    object-position: 54% 15%;
}

.art-card--panorama img {
    object-position: 50% 42%;
}

.story-strip {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    min-height: 560px;
    background: var(--paper);
    color: #161217;
}

.story-strip__image {
    min-height: 420px;
}

.story-strip__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 42%;
}

.story-strip__copy {
    align-self: center;
    padding: 54px max(28px, calc((100vw - 1180px) / 2)) 54px 44px;
}

.story-strip__copy h2,
.story-strip__copy p {
    color: #161217;
}

.story-strip__copy .eyebrow {
    color: #9f2b35;
}

.text-link {
    color: #9f2b35;
    font-weight: 950;
}

.contact-section {
    margin: 88px 0 46px;
    padding: 34px;
    border: 1px solid var(--line);
    background:
        linear-gradient(135deg, rgba(68, 199, 222, 0.1), rgba(202, 47, 52, 0.12)),
        var(--panel);
    box-shadow: var(--shadow);
}

.contact-form {
    display: grid;
    gap: 16px;
}

.field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.contact-form label {
    display: grid;
    gap: 8px;
    color: var(--ink);
    font-weight: 850;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(255, 246, 234, 0.18);
    border-radius: 0;
    padding: 13px 14px;
    outline: 0;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.07);
}

.contact-form textarea {
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: rgba(68, 199, 222, 0.9);
    box-shadow: 0 0 0 3px rgba(68, 199, 222, 0.14);
}

.contact-form button {
    justify-self: start;
    min-height: 50px;
    border: 0;
    padding: 12px 20px;
    color: #180d08;
    background: linear-gradient(135deg, var(--amber), #ffd18c 60%, #d84e36);
    cursor: pointer;
    font-weight: 950;
}

.form-message {
    margin: 0;
    font-weight: 850;
}

.form-message--ok {
    color: #9af5a5;
}

.form-message--error {
    color: #ffad98;
}

.contact-form__trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 26px;
    padding: 30px 0 34px;
    border-top: 1px solid var(--line);
    color: rgba(255, 246, 234, 0.55);
    font-size: 0.78rem;
}

.site-footer p {
    margin: 0;
}

.legal-links {
    display: flex;
    justify-content: flex-end;
    gap: 14px;
    min-width: 128px;
    font-weight: 850;
}

.legal-links a {
    color: rgba(255, 246, 234, 0.78);
    text-decoration: none;
}

.legal-links a:hover {
    color: var(--ink);
    text-decoration: underline;
}

.legal-hero {
    padding-bottom: 72px;
    background:
        radial-gradient(circle at 84% 18%, rgba(68, 199, 222, 0.16), transparent 30%),
        linear-gradient(180deg, #090a0e 0%, #151217 100%);
}

.legal-hero h1 {
    max-width: 12ch;
    margin-bottom: 24px;
}

.legal-hero p:not(.eyebrow) {
    max-width: 680px;
    color: var(--soft);
    font-size: clamp(1.02rem, 0.98rem + 0.22vw, 1.18rem);
}

.legal-body {
    padding: 74px 0;
}

.legal-body__content {
    display: grid;
    gap: 18px;
    width: min(100% - 40px, 860px);
}

.legal-body article {
    padding: 28px;
    border: 1px solid rgba(22, 18, 23, 0.12);
    color: #171218;
    background: var(--paper);
}

.legal-body h2 {
    margin-bottom: 12px;
    color: #171218;
    font-size: clamp(2rem, 1.6rem + 1vw, 3rem);
}

.legal-body p {
    margin-bottom: 0;
    color: #3d3431;
}

.about-hero {
    min-height: 760px;
    background:
        radial-gradient(circle at 80% 20%, rgba(240, 161, 68, 0.18), transparent 34%),
        linear-gradient(180deg, #090a0e 0%, #151217 100%);
}

.about-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 48px;
    align-items: center;
    padding: 70px 0 96px;
}

.about-hero__copy h1 {
    max-width: 12ch;
    font-size: clamp(3.5rem, 2.8rem + 3vw, 6.8rem);
}

.portrait-stack {
    display: grid;
    grid-template-columns: 0.7fr 1fr;
    gap: 16px;
    align-items: end;
}

.portrait-stack figure {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--panel);
    box-shadow: var(--shadow);
}

.portrait-stack img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portrait-stack__large {
    height: 620px;
}

.portrait-stack__large img {
    object-position: 55% 16%;
    transform: scale(1.32);
    transform-origin: 50% 68%;
}

.portrait-stack figure:not(.portrait-stack__large) {
    height: 430px;
}

.portrait-stack figure:not(.portrait-stack__large) img {
    object-position: 68% 8%;
}

.copy-panel {
    padding: 34px;
    border: 1px solid rgba(22, 18, 23, 0.12);
    color: #171218;
    background: var(--paper);
}

.copy-panel h2,
.copy-panel p {
    color: #171218;
}

.copy-panel .eyebrow {
    color: #9f2b35;
}

.copy-panel--dark {
    color: var(--ink);
    background:
        linear-gradient(135deg, rgba(240, 161, 68, 0.16), rgba(68, 199, 222, 0.1)),
        var(--panel-2);
}

.copy-panel--dark h2,
.copy-panel--dark p {
    color: var(--ink);
}

.copy-panel--dark p {
    color: var(--soft);
}

.process-section {
    background:
        linear-gradient(90deg, rgba(240, 161, 68, 0.14), rgba(223, 125, 176, 0.12)),
        #100f14;
}

.process-list {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.process-list li {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid var(--line);
}

.process-list strong {
    color: var(--ink);
    font-size: 1.04rem;
}

.process-list span {
    color: var(--soft);
}

@media (max-width: 960px) {
    .home-hero__image img {
        object-position: 76% 12%;
    }

    .launch-note {
        justify-self: start;
    }

    .intro-band__grid,
    .about-body__grid,
    .process-section__grid,
    .contact-section,
    .about-hero__grid,
    .story-strip {
        grid-template-columns: 1fr;
    }

    .art-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 250px;
    }

    .story-strip__copy {
        padding: 46px 28px;
    }

    .portrait-stack {
        grid-template-columns: 1fr 0.75fr;
    }
}

@media (max-width: 640px) {
    .page-shell {
        width: min(100% - 28px, 100%);
    }

    .site-header {
        align-items: flex-start;
        flex-direction: column;
        padding-top: 18px;
    }

    .site-nav {
        width: 100%;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .site-nav a {
        padding: 8px 9px;
        font-size: 0.84rem;
    }

    .home-hero__copy {
        padding-top: 48px;
    }

    h1 {
        max-width: 9ch;
        font-size: clamp(3rem, 13vw, 4.2rem);
    }

    h2 {
        font-size: clamp(2.2rem, 12vw, 3.6rem);
    }

    .hero-actions,
    .button {
        width: 100%;
    }

    .art-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 330px;
    }

    .art-card,
    .art-card--green,
    .art-card--flame,
    .art-card--wide,
    .art-card--panorama {
        grid-column: span 1;
        grid-row: span 1;
    }

    .contact-section,
    .copy-panel {
        padding: 24px;
    }

    .field-grid,
    .portrait-stack,
    .process-list li,
    .site-footer {
        grid-template-columns: 1fr;
    }

    .site-footer {
        display: grid;
    }

    .legal-links {
        justify-content: flex-start;
    }

    .portrait-stack__large,
    .portrait-stack figure:not(.portrait-stack__large) {
        height: 430px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }

    .button:hover {
        transform: none;
    }
}
