:root {
    --black: #020202;
    --panel: #050505;
    --panel-soft: #0b0b0a;
    --line: #24211b;
    --text: #f5f0e7;
    --muted: #c8c0b2;
    --gold: #d8b35d;
    --gold-soft: #f0d58a;
    --page-max: 1600px;
    --content-max: 1320px;
    --page-pad: clamp(22px, 5vw, 56px);
    --content-left: clamp(22px, 5vw, 96px);
    --content-width: min(calc(100% - clamp(44px, 7.5vw, 96px)), var(--content-max));
    --notice-height: 36px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    overflow-x: hidden;
    background: var(--black);
    color: var(--text);
    scrollbar-color: #5d4b25 #050505;
    scrollbar-width: thin;
}

body {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body::-webkit-scrollbar {
    width: 12px;
}

body::-webkit-scrollbar-track {
    background: #050505;
}

body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #75602f, #302817);
    border: 3px solid #050505;
    border-radius: 999px;
}

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

a {
    color: inherit;
}

.site-notice {
    width: 100%;
    max-width: var(--page-max);
    min-height: var(--notice-height);
    margin-inline: auto;
    padding: 8px var(--page-pad);
    border-color: rgba(216, 179, 93, 0.32);
    color: #e7decf;
    background: linear-gradient(180deg, #090806 0%, #030303 100%);
    font-size: clamp(0.76rem, 1vw, 0.86rem);
    font-weight: 500;
    line-height: 1.35;
    text-align: center;
    letter-spacing: 0.01em;
}

.site-notice--top {
    border-bottom: 1px solid rgba(216, 179, 93, 0.32);
}

.site-notice--bottom {
    border-top: 1px solid rgba(216, 179, 93, 0.32);
}

body > .site-notice + .site-header--overlay {
    top: var(--notice-height) !important;
}

.site-header {
    width: 100%;
    max-width: var(--page-max);
    margin-inline: auto;
    padding: 28px var(--content-left);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.logo {
    display: block;
    width: clamp(76px, 9vw, 116px);
    height: auto;
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.46));
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: clamp(16px, 1.45vw, 20px);
    color: inherit;
    text-decoration: none;
    min-width: 0;
}

.brand-text {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.brand-name {
    color: #ddd6c9;
    font-family: "Playfair Display", serif;
    font-size: clamp(1.12rem, 1.25vw, 1.32rem);
    font-style: normal;
    font-weight: 500;
    line-height: 1.08;
}

.brand-subtitle {
    color: var(--gold-soft);
    font-size: clamp(0.58rem, 0.72vw, 0.68rem);
    font-weight: 600;
    letter-spacing: 0.18em;
    line-height: 1.2;
    text-transform: uppercase;
}

.menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(14px, 2.4vw, 34px);
    list-style: none;
    color: #fffaf0;
    font-size: clamp(0.94rem, 1.05vw, 1.08rem);
    font-weight: 500;
}

.menu a {
    text-decoration: none;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.86);
    transition: color 180ms ease;
}

.menu a:hover,
.menu a[aria-current="page"] {
    color: var(--gold-soft);
}

.section-label {
    color: var(--gold-soft);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.section-label {
    color: var(--gold);
    font-size: 0.78rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 14px 24px;
    border: 1px solid rgba(216, 179, 93, 0.74);
    color: #fff8e8;
    background: rgba(216, 179, 93, 0.12);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: "Inter", sans-serif;
    text-decoration: none;
    cursor: pointer;
    transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover {
    transform: translateY(-1px);
    border-color: var(--gold-soft);
    background: rgba(216, 179, 93, 0.2);
}

h1,
h2 {
    color: var(--text);
    font-family: "Playfair Display", serif;
    font-weight: 600;
}

.utility-page,
.utility-section,
.utility-footer {
    width: 100%;
    max-width: var(--page-max);
    margin-inline: auto;
    background: var(--black);
    border-bottom: 1px solid var(--line);
}

.utility-page {
    min-height: 100vh;
}

.utility-inner {
    width: var(--content-width);
    margin-inline: auto;
}

.utility-hero {
    padding: clamp(82px, 10vw, 136px) 0 clamp(58px, 7vw, 92px);
}

.utility-hero__content {
    max-width: 860px;
}

.utility-hero h1 {
    margin-top: 14px;
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 1.03;
}

.utility-lead {
    max-width: 780px;
    margin-top: 24px;
    color: var(--muted);
    font-size: clamp(1.02rem, 1.3vw, 1.18rem);
    line-height: 1.75;
}

.utility-section {
    padding: clamp(70px, 9vw, 116px) 0;
}

.utility-section h2 {
    margin-top: 14px;
    font-size: clamp(2.2rem, 3.4vw, 3.75rem);
    line-height: 1.08;
}

.utility-section__header {
    max-width: 820px;
    margin-bottom: clamp(34px, 5vw, 58px);
}

.utility-section__intro {
    margin-top: 18px;
    color: var(--muted);
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    line-height: 1.75;
}

.gallery-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(22px, 3vw, 34px);
}

.gallery-list--links {
    width: min(75%, 980px);
    grid-template-columns: 1fr;
    gap: 18px;
}

.gallery-link {
    display: flex;
    min-height: clamp(72px, 7vw, 88px);
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(216, 179, 93, 0.48);
    color: var(--text);
    background: rgba(255, 255, 255, 0.018);
    font-family: "Playfair Display", serif;
    font-size: clamp(1.35rem, 2vw, 2rem);
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.gallery-link:hover {
    transform: translateY(-1px);
    border-color: rgba(240, 213, 138, 0.82);
    color: var(--gold-soft);
    background: rgba(216, 179, 93, 0.08);
}

.gallery-link--pending {
    cursor: default;
}

.gallery-link--pending:hover {
    transform: none;
    color: var(--text);
}

.gallery-card,
.order-form,
.order-summary,
.step-card {
    border: 1px solid rgba(216, 179, 93, 0.28);
    background: linear-gradient(145deg, rgba(216, 179, 93, 0.07), rgba(255, 255, 255, 0.015));
}

.gallery-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: clamp(24px, 3vw, 34px);
}

.gallery-card h3,
.step-card h3 {
    color: var(--text);
    font-family: "Playfair Display", serif;
    font-size: clamp(1.45rem, 2vw, 2rem);
    font-weight: 600;
    line-height: 1.16;
}

.gallery-card h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 180ms ease;
}

.gallery-card h3 a:hover {
    color: var(--gold-soft);
}

.gallery-meta,
.gallery-status {
    color: var(--muted);
    font-size: 0.95rem;
}

.gallery-meta {
    margin-top: 14px;
}

.gallery-status {
    margin-top: 18px;
    color: rgba(240, 213, 138, 0.86);
}

.gallery-card .button {
    align-self: flex-start;
    margin-top: 26px;
}

.button:disabled,
.button[aria-disabled="true"] {
    cursor: not-allowed;
    opacity: 0.62;
    transform: none;
}

.button:disabled:hover,
.button[aria-disabled="true"]:hover {
    border-color: rgba(216, 179, 93, 0.74);
    background: rgba(216, 179, 93, 0.12);
}

.instruction-section .utility-section__header {
    max-width: 900px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(28px, 4vw, 52px);
}

.step-card {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: clamp(22px, 3vw, 30px);
}

.step-card:not(:last-child)::after {
    content: "→";
    position: absolute;
    top: clamp(190px, 20vw, 260px);
    right: calc(clamp(28px, 4vw, 52px) / -1 + 8px);
    z-index: 2;
    color: var(--gold-soft);
    font-family: "Playfair Display", serif;
    font-size: clamp(1.8rem, 2.2vw, 2.55rem);
    line-height: 1;
    opacity: 0.72;
}

.step-number {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border: 1px solid rgba(216, 179, 93, 0.72);
    border-radius: 999px;
    color: var(--gold-soft);
    background: radial-gradient(circle, rgba(216, 179, 93, 0.2), rgba(216, 179, 93, 0.06));
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.step-card h3 {
    margin-top: 18px;
}

.step-card p {
    margin-top: 18px;
    color: var(--muted);
    line-height: 1.68;
}

.step-card .step-number {
    margin-top: 0;
    color: var(--gold-soft);
    line-height: 1;
}

.step-media {
    position: relative;
    overflow: hidden;
    margin: 24px 0 0;
    border: 1px solid rgba(216, 179, 93, 0.22);
    background: #050505;
}

.step-media img {
    display: block;
    width: 100%;
    height: auto;
}

.media-highlight {
    position: absolute;
    pointer-events: none;
    border: 2px solid var(--gold-soft);
    box-shadow: 0 0 0 5px rgba(216, 179, 93, 0.16), 0 0 22px rgba(216, 179, 93, 0.28);
}

.media-highlight--info {
    top: 8.2%;
    left: 66.2%;
    width: 5.7%;
    aspect-ratio: 1;
    border-radius: 999px;
}

.step-media--info::before,
.step-media--info::after {
    content: "";
    position: absolute;
    pointer-events: none;
    background: var(--gold-soft);
}

.step-media--info::before {
    top: 14%;
    left: 53%;
    width: 12%;
    height: 1px;
    transform: rotate(-12deg);
    transform-origin: right center;
    box-shadow: 0 0 14px rgba(216, 179, 93, 0.34);
}

.step-media--info::after {
    top: 11.9%;
    left: 64.3%;
    width: 10px;
    height: 10px;
    border-top: 1px solid var(--gold-soft);
    border-right: 1px solid var(--gold-soft);
    background: transparent;
    transform: rotate(34deg);
}

.media-highlight--filename {
    top: 50%;
    left: 61.5%;
    display: grid;
    width: 36%;
    min-height: 10.5%;
    gap: 3px;
    align-content: center;
    padding: 7px 8px;
    border-radius: 8px;
    color: var(--text);
    background: rgba(3, 3, 3, 0.9);
    font-size: clamp(0.4rem, 0.7vw, 0.68rem);
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.media-highlight--filename strong {
    color: var(--gold-soft);
    font-weight: 700;
}

.media-highlight--filename small {
    color: rgba(240, 213, 138, 0.86);
    font-size: 0.82em;
    font-weight: 500;
}

.filename-example {
    display: grid;
    gap: 7px;
    margin-top: 16px;
    padding: 14px 16px;
    border: 1px solid rgba(216, 179, 93, 0.36);
    color: rgba(245, 240, 231, 0.86);
    background: rgba(255, 255, 255, 0.025);
    font-size: 0.9rem;
}

.filename-example strong {
    color: var(--text);
    font-family: "Inter", sans-serif;
    font-size: clamp(1rem, 1.1vw, 1.12rem);
    font-weight: 600;
}

.filename-example mark {
    padding: 0 4px;
    color: #020202;
    background: var(--gold-soft);
}

.filename-example small {
    color: var(--gold-soft);
    font-size: 0.86rem;
    line-height: 1.45;
}

.step-tip {
    padding: 14px 16px;
    border-left: 2px solid var(--gold-soft);
    color: rgba(245, 240, 231, 0.86) !important;
    background: rgba(216, 179, 93, 0.1);
    font-size: 0.94rem;
}

.instruction-note {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    margin-top: clamp(30px, 5vw, 54px);
    padding: clamp(20px, 3vw, 28px);
    border: 1px solid rgba(216, 179, 93, 0.34);
    color: rgba(245, 240, 231, 0.86);
    background: linear-gradient(145deg, rgba(216, 179, 93, 0.11), rgba(255, 255, 255, 0.018));
    line-height: 1.65;
}

.instruction-note strong {
    color: var(--gold-soft);
    font-family: "Playfair Display", serif;
    font-size: 1.2rem;
    font-weight: 600;
}

@media (max-width: 1100px) {
    .steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .step-card::after {
        display: none;
    }
}

.order-layout {
    display: block;
    width: min(100%, 860px);
}

.order-form,
.order-summary,
.order-confirmation {
    padding: clamp(20px, 2.4vw, 28px);
}

.order-form {
    display: grid;
    gap: 18px;
    border-color: rgba(188, 155, 82, 0.22);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.026), rgba(255, 255, 255, 0.006));
}

.order-form__fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(16px, 2.6vw, 24px);
    align-items: start;
}

.order-form__column {
    display: grid;
    gap: 15px;
}

.order-form label,
.order-summary__row {
    display: grid;
    gap: 7px;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
}

.order-form input,
.order-form select,
.order-form textarea,
.order-summary output {
    width: 100%;
    border: 1px solid rgba(186, 158, 91, 0.24);
    color: var(--text);
    background: #030303;
    font: inherit;
}

.order-form input,
.order-form select,
.order-summary output {
    min-height: 42px;
    padding: 9px 12px;
}

.order-form select {
    border-radius: 0;
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, rgba(196, 164, 91, 0.86) 50%), linear-gradient(135deg, rgba(196, 164, 91, 0.86) 50%, transparent 50%);
    background-position: calc(100% - 17px) 50%, calc(100% - 11px) 50%;
    background-repeat: no-repeat;
    background-size: 6px 6px, 6px 6px;
}

.order-form textarea {
    min-height: 98px;
    resize: vertical;
    padding: 10px 12px;
}

.order-form input::placeholder,
.order-form textarea::placeholder {
    color: rgba(198, 192, 180, 0.46);
}

.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus {
    border-color: rgba(205, 174, 101, 0.58);
    outline: 1px solid rgba(205, 174, 101, 0.36);
    outline-offset: 2px;
}

.field-hint,
.form-note,
.form-message {
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.55;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.order-summary {
    display: grid;
    gap: 0;
    margin-top: 4px;
    padding: 18px 0 0;
    border: 0;
    border-top: 1px solid rgba(186, 158, 91, 0.24);
    background: transparent;
}

.order-summary__row {
    grid-template-columns: minmax(180px, 0.38fr) minmax(0, 1fr);
    align-items: center;
    padding: 11px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    color: rgba(245, 240, 231, 0.9);
}

.order-summary h3 {
    color: var(--text);
    font-family: "Playfair Display", serif;
    font-size: clamp(1.35rem, 1.7vw, 1.72rem);
    line-height: 1.15;
    margin-bottom: 6px;
}

.order-summary output {
    display: block;
    min-height: auto;
    padding: 0;
    border: 0;
    color: var(--muted);
    background: transparent;
}

.order-summary__total {
    display: flex;
    gap: 18px;
    align-items: baseline;
    justify-content: space-between;
    margin-top: 4px;
    padding-top: 16px;
}

.order-summary__total span {
    color: rgba(245, 240, 231, 0.92);
    font-size: 0.95rem;
    font-weight: 600;
}

.order-summary__total output {
    color: var(--gold-soft);
    font-family: "Playfair Display", serif;
    font-size: clamp(2rem, 3.4vw, 2.85rem);
    font-weight: 600;
    line-height: 1;
    text-align: right;
}

#summary-details {
    color: rgba(245, 240, 231, 0.86);
    line-height: 1.65;
}

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

.order-actions {
    margin-top: 2px;
}

.order-actions .button {
    min-height: 43px;
    padding: 10px 18px;
    border-color: rgba(205, 174, 101, 0.52);
    background: rgba(216, 179, 93, 0.045);
    font-size: 0.9rem;
}

.order-actions .button:hover {
    border-color: rgba(240, 213, 138, 0.78);
    background: rgba(216, 179, 93, 0.095);
}

.order-confirmation[hidden] {
    display: none;
}

.order-confirmation {
    display: grid;
    gap: 26px;
    margin-top: 32px;
    border: 1px solid rgba(216, 179, 93, 0.34);
    background: linear-gradient(145deg, rgba(216, 179, 93, 0.1), rgba(255, 255, 255, 0.018));
}

.order-confirmation h3,
.payment-box h4 {
    color: var(--text);
    font-family: "Playfair Display", serif;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 1.08;
}

.confirmation-list {
    display: grid;
    gap: 12px;
}

.confirmation-list div {
    display: grid;
    grid-template-columns: minmax(170px, 0.35fr) minmax(0, 1fr);
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(216, 179, 93, 0.16);
}

.confirmation-list dt {
    color: var(--text);
    font-weight: 600;
}

.confirmation-list dd {
    color: var(--muted);
}

.payment-box {
    display: grid;
    gap: 18px;
}

.payment-option {
    display: grid;
    gap: 8px;
    color: var(--muted);
    line-height: 1.65;
}

.payment-option strong {
    color: var(--gold-soft);
}

.copy-line {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    align-items: center;
    color: var(--text);
}

.copy-button {
    min-height: 38px;
    padding: 8px 14px;
    border: 1px solid rgba(216, 179, 93, 0.55);
    color: var(--text);
    background: rgba(216, 179, 93, 0.08);
    font: inherit;
    font-size: 0.9rem;
    cursor: pointer;
}

.copy-button:hover {
    border-color: var(--gold-soft);
    background: rgba(216, 179, 93, 0.14);
}

.utility-footer {
    padding: 28px 0;
}

.utility-footer__inner {
    width: var(--content-width);
    margin-inline: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    align-items: center;
    justify-content: space-between;
    color: var(--muted);
    font-size: 0.95rem;
}

.utility-footer a {
    text-decoration: none;
}

@media (max-width: 900px) {
    .site-header {
        padding: 18px var(--content-left);
        align-items: flex-start;
    }

    .logo {
        width: 74px;
    }

    .brand-name {
        font-size: 1.02rem;
    }

    .brand-subtitle {
        font-size: 0.56rem;
        letter-spacing: 0.15em;
    }

    .menu {
        gap: 16px;
        padding-top: 4px;
        font-size: 0.95rem;
    }

    .gallery-list,
    .order-layout {
        grid-template-columns: 1fr;
    }

    .gallery-list--links {
        width: 100%;
    }

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

    .order-summary__row,
    .confirmation-list div {
        grid-template-columns: 1fr;
    }

    .utility-hero {
        padding-top: clamp(58px, 12vw, 84px);
    }
}

@media (max-width: 540px) {
    :root {
        --notice-height: 42px;
    }

    body > .site-notice + .site-header--mobile-flow {
        top: auto !important;
    }

    .site-header {
        gap: 12px;
        flex-direction: column;
        align-items: flex-start;
    }

    .brand-link {
        gap: 12px;
    }

    .brand-name {
        font-size: 0.98rem;
        white-space: nowrap;
    }

    .menu {
        flex-wrap: wrap;
        row-gap: 6px;
        width: 100%;
        max-width: none;
        justify-content: flex-start;
        column-gap: 18px;
    }

    .button {
        width: 100%;
        padding-inline: 18px;
    }

    .gallery-card .button,
    .order-actions .button {
        width: 100%;
    }

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

    .instruction-note {
        grid-template-columns: 1fr;
    }

    .utility-footer__inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
