:root {
    --paper: #f6efe3;
    --paper-deep: #e9dcc9;
    --ivory: #fffaf1;
    --wine: #7a2635;
    --wine-deep: #3f171f;
    --forest: #243f36;
    --forest-deep: #172a24;
    --gold: #c89b5b;
    --gold-light: #e5c28d;
    --ink: #20231f;
    --muted: #6f7068;
    --line: rgba(59, 45, 35, 0.18);
    --serif: "Cormorant Garamond", Georgia, serif;
    --sans: "Be Vietnam Pro", Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--paper);
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

body.album-locked,
body.dialog-open {
    overflow: hidden;
}

button,
input,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    color: inherit;
    background: transparent;
    border: 0;
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

h1,
h2,
h3,
p,
blockquote,
figure {
    margin: 0;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

[hidden] {
    display: none !important;
}

.eyebrow {
    color: var(--wine);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.28em;
    line-height: 1.4;
    text-transform: uppercase;
}

.eyebrow--light {
    color: rgba(255, 250, 241, 0.8);
}

.eyebrow--gold {
    color: var(--gold-light);
}

.brand-mark {
    display: grid;
    flex: 0 0 41px;
    width: 41px;
    height: 41px;
    border: 1px solid currentColor;
    border-radius: 50% 50% 3px 3px;
    font-family: var(--serif);
    font-size: 24px;
    line-height: 1;
    place-items: center;
}

.brand-placeholder .brand-mark {
    border-style: dashed;
    font-family: var(--sans);
    font-size: 6px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.brand-placeholder strong {
    text-transform: uppercase;
}

.brand-placeholder small {
    opacity: 0.72;
}

.paper-texture {
    background:
        radial-gradient(circle at 8% 13%, rgba(122, 38, 53, 0.045) 0 1px, transparent 1.5px),
        radial-gradient(circle at 92% 81%, rgba(36, 63, 54, 0.045) 0 1px, transparent 1.5px),
        var(--paper);
    background-size: 19px 19px, 27px 27px, auto;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* Access gate */
.access-gate {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: grid;
    min-height: 620px;
    overflow: hidden;
    color: var(--ivory);
    place-items: center;
    isolation: isolate;
    transition: opacity 0.55s ease, visibility 0.55s ease;
}

.access-gate.is-leaving {
    visibility: hidden;
    opacity: 0;
}

.access-gate__media,
.access-gate__veil,
.access-gate__pattern {
    position: absolute;
    inset: 0;
}

.access-gate__media {
    z-index: -3;
}

.access-gate__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 51% 46%;
    transform: scale(1.025);
}

.access-gate__veil {
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(18, 25, 21, 0.86), rgba(32, 17, 20, 0.46) 50%, rgba(31, 14, 19, 0.75)),
        linear-gradient(0deg, rgba(35, 12, 18, 0.87), transparent 62%);
}

.access-gate__pattern {
    z-index: -1;
    opacity: 0.2;
    background-image:
        linear-gradient(45deg, transparent 46%, var(--gold-light) 47% 49%, transparent 50%),
        linear-gradient(-45deg, transparent 46%, var(--gold-light) 47% 49%, transparent 50%);
    background-position: 0 0, 15px 0;
    background-size: 30px 30px;
    mask-image: linear-gradient(90deg, #000, transparent 27%, transparent 73%, #000);
}

.access-gate::before,
.access-gate::after {
    position: absolute;
    z-index: 1;
    width: 210px;
    height: 210px;
    border: 1px solid rgba(229, 194, 141, 0.38);
    border-radius: 50% 50% 8px 8px;
    content: "";
    pointer-events: none;
    transform: rotate(45deg);
}

.access-gate::before {
    top: -125px;
    left: -100px;
}

.access-gate::after {
    right: -100px;
    bottom: -125px;
}

.access-gate__brand {
    position: absolute;
    top: 34px;
    left: 42px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.access-gate__brand > span:last-child,
.studio-brand > span:last-child {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.access-gate__brand strong,
.studio-brand strong {
    font-family: var(--serif);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.11em;
}

.access-gate__brand small,
.studio-brand small {
    margin-top: 4px;
    font-size: 6px;
    font-weight: 600;
    letter-spacing: 0.24em;
}

.access-gate__panel {
    width: min(460px, calc(100% - 40px));
    padding: 48px 48px 42px;
    background: rgba(38, 21, 24, 0.78);
    border: 1px solid rgba(229, 194, 141, 0.5);
    box-shadow: 0 28px 80px rgba(12, 6, 7, 0.35);
    text-align: center;
    backdrop-filter: blur(13px);
}

.access-monogram {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 78px;
    height: 78px;
    margin: 27px auto 26px;
    border: 1px solid var(--gold-light);
    border-radius: 50%;
    color: var(--gold-light);
    font-family: var(--serif);
    font-size: 29px;
}

.access-monogram i,
.studio-message__ornament i {
    width: 17px;
    height: 1px;
    margin: 0 2px;
    background: currentColor;
    transform: rotate(-58deg);
}

.access-gate__panel h1 {
    font-family: var(--serif);
    font-size: clamp(51px, 7vw, 66px);
    font-weight: 500;
    letter-spacing: -0.05em;
    line-height: 0.85;
}

.access-gate__panel h1 em {
    margin: 0 6px;
    color: var(--gold-light);
    font-weight: 400;
}

.access-gate__panel > p:not(.eyebrow) {
    max-width: 330px;
    margin: 24px auto 0;
    color: rgba(255, 250, 241, 0.68);
    font-size: 11px;
}

.access-form {
    margin-top: 34px;
    text-align: left;
}

.access-form label {
    display: block;
    margin-bottom: 9px;
    color: rgba(255, 250, 241, 0.68);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.access-form__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    border-bottom: 1px solid var(--gold-light);
}

.access-form input {
    width: 100%;
    padding: 12px 8px 13px 0;
    color: var(--ivory);
    background: transparent;
    border: 0;
    outline: 0;
    font-family: var(--serif);
    font-size: 29px;
    letter-spacing: 0.35em;
}

.access-form input::placeholder {
    color: rgba(255, 250, 241, 0.32);
}

.access-form button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 0 0 20px;
    color: var(--gold-light);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.access-form button svg {
    width: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.3;
}

.access-form small {
    display: block;
    margin-top: 10px;
    color: rgba(255, 250, 241, 0.45);
    font-size: 8px;
}

.access-form small strong {
    color: var(--gold-light);
}

.access-form__error {
    min-height: 18px;
    margin-top: 8px;
    color: #f1b6b6;
    font-size: 9px;
}

.access-form.is-shaking {
    animation: gate-shake 0.34s ease;
}

@keyframes gate-shake {
    25% { transform: translateX(-6px); }
    50% { transform: translateX(6px); }
    75% { transform: translateX(-3px); }
}

.access-gate__edition {
    position: absolute;
    right: 38px;
    bottom: 27px;
    color: rgba(255, 250, 241, 0.56);
    font-family: var(--serif);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.album-locked .album-app,
.album-locked .selection-tray {
    visibility: hidden;
}

/* Header */
.album-header {
    position: fixed;
    z-index: 50;
    top: 0;
    right: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 78px;
    padding: 12px clamp(20px, 4vw, 64px);
    color: var(--ivory);
    border-bottom: 1px solid rgba(255, 250, 241, 0.18);
    transition: color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.album-header.is-scrolled {
    color: var(--ink);
    background: rgba(246, 239, 227, 0.94);
    border-color: var(--line);
    box-shadow: 0 7px 30px rgba(50, 36, 27, 0.08);
    backdrop-filter: blur(12px);
}

.studio-brand {
    display: flex;
    align-items: center;
    justify-self: start;
    gap: 11px;
}

.album-header__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 7px;
    font-weight: 600;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.album-header__meta span {
    opacity: 0.56;
}

.album-header__meta strong {
    padding-left: 12px;
    border-left: 1px solid currentColor;
    font-weight: 600;
}

.album-header__actions {
    display: flex;
    justify-self: end;
    gap: 7px;
}

.album-header__actions button {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 13px;
    border: 1px solid rgba(255, 250, 241, 0.3);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.album-header.is-scrolled .album-header__actions button {
    border-color: rgba(32, 35, 31, 0.24);
}

.album-header__actions button:hover {
    color: var(--ivory);
    background: var(--wine);
    border-color: var(--wine);
}

.album-header__actions svg {
    width: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
}

/* Hero */
.album-hero {
    position: relative;
    min-height: 690px;
    height: 100svh;
    max-height: 920px;
    overflow: hidden;
    color: var(--ivory);
    isolation: isolate;
}

.album-hero__media,
.album-hero__veil,
.album-hero__frame {
    position: absolute;
    inset: 0;
}

.album-hero__media {
    z-index: -3;
}

.album-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 51% 46%;
    transform: scale(1.01);
    animation: hero-breathe 16s ease-in-out infinite alternate;
}

@keyframes hero-breathe {
    to { transform: scale(1.055); }
}

.album-hero__veil {
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(16, 28, 24, 0.74), rgba(26, 19, 18, 0.08) 55%, rgba(31, 14, 19, 0.42)),
        linear-gradient(0deg, rgba(31, 13, 18, 0.77), transparent 54%);
}

.album-hero__frame {
    z-index: -1;
    inset: 24px;
    border: 1px solid rgba(255, 250, 241, 0.35);
}

.album-hero__frame::before,
.album-hero__frame::after {
    position: absolute;
    width: 47px;
    height: 47px;
    border-color: var(--gold-light);
    border-style: solid;
    content: "";
}

.album-hero__frame::before {
    top: -1px;
    left: -1px;
    border-width: 2px 0 0 2px;
}

.album-hero__frame::after {
    right: -1px;
    bottom: -1px;
    border-width: 0 2px 2px 0;
}

.album-hero__content {
    position: absolute;
    right: clamp(35px, 8vw, 130px);
    bottom: clamp(112px, 17vh, 155px);
    left: clamp(35px, 8vw, 130px);
    max-width: 660px;
}

.album-hero h1 {
    display: flex;
    align-items: center;
    gap: clamp(11px, 2vw, 24px);
    margin-top: 16px;
    font-family: var(--serif);
    font-size: clamp(72px, 10vw, 145px);
    font-weight: 500;
    letter-spacing: -0.06em;
    line-height: 0.75;
}

.album-hero h1 em {
    color: var(--gold-light);
    font-size: 0.57em;
    font-weight: 400;
}

.album-hero__date {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 29px;
    color: var(--gold-light);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.19em;
    text-transform: uppercase;
}

.album-hero__date i {
    width: 34px;
    height: 1px;
    background: currentColor;
}

.album-hero__intro {
    max-width: 450px;
    margin-top: 18px;
    color: rgba(255, 250, 241, 0.75);
    font-family: var(--serif);
    font-size: 22px;
    font-style: italic;
    line-height: 1.35;
}

.album-hero__actions {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

.primary-action,
.ghost-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 27px;
    min-height: 48px;
    padding: 0 21px;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.primary-action {
    color: var(--ivory);
    background: var(--wine);
}

.primary-action:hover {
    background: var(--forest);
}

.primary-action b {
    font-size: 15px;
    font-weight: 400;
}

.ghost-action {
    color: var(--ivory);
    border: 1px solid rgba(255, 250, 241, 0.52);
}

.ghost-action:hover {
    color: var(--ink);
    background: var(--ivory);
}

.ghost-action svg {
    width: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
}

.album-hero__side-note {
    position: absolute;
    top: 50%;
    right: -70px;
    color: rgba(255, 250, 241, 0.55);
    font-size: 7px;
    font-weight: 600;
    letter-spacing: 0.3em;
    transform: rotate(90deg);
}

.album-hero__scroll {
    position: absolute;
    right: 50px;
    bottom: 39px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 7px;
    font-weight: 600;
    letter-spacing: 0.19em;
    text-transform: uppercase;
}

.album-hero__scroll svg {
    width: 20px;
    fill: none;
    stroke: var(--gold-light);
    stroke-width: 1.3;
    animation: scroll-arrow 1.8s ease-in-out infinite;
}

@keyframes scroll-arrow {
    50% { transform: translateY(5px); }
}

/* Summary */
.album-summary {
    display: grid;
    grid-template-columns: minmax(260px, 0.82fr) minmax(450px, 1.35fr) minmax(220px, 0.65fr);
    gap: clamp(35px, 6vw, 90px);
    align-items: center;
    padding: 92px clamp(25px, 7vw, 110px);
    border-bottom: 1px solid var(--line);
}

.album-summary__intro blockquote {
    margin-top: 17px;
    color: var(--wine-deep);
    font-family: var(--serif);
    font-size: clamp(27px, 3vw, 39px);
    font-style: italic;
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.13;
}

.album-summary__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.album-summary__stats article {
    min-height: 145px;
    padding: 26px 22px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.album-summary__stats strong {
    display: block;
    color: var(--wine);
    font-family: var(--serif);
    font-size: 48px;
    font-weight: 500;
    line-height: 1;
}

.album-summary__stats span {
    display: block;
    margin-top: 14px;
    color: var(--muted);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1.5;
    text-transform: uppercase;
}

.album-summary__notice {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 13px;
    padding-left: 25px;
    border-left: 1px solid var(--gold);
}

.album-summary__notice > span {
    display: grid;
    width: 32px;
    height: 32px;
    color: var(--ivory);
    background: var(--forest);
    border-radius: 50%;
    place-items: center;
    font-size: 9px;
}

.album-summary__notice p {
    color: var(--muted);
    font-size: 9px;
    line-height: 1.7;
}

.album-summary__notice strong {
    display: block;
    color: var(--forest);
    font-size: 10px;
}

/* Gallery */
.gallery-section {
    padding: 115px clamp(20px, 5vw, 75px) 105px;
    background: var(--ivory);
}

.gallery-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 50px;
    max-width: 1320px;
    margin: 0 auto 65px;
}

.gallery-heading h2 {
    margin-top: 13px;
    color: var(--wine-deep);
    font-family: var(--serif);
    font-size: clamp(55px, 6.3vw, 90px);
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 0.79;
}

.gallery-heading h2 em {
    color: var(--wine);
    font-weight: 400;
}

.gallery-heading > p {
    max-width: 335px;
    padding-left: 24px;
    color: var(--muted);
    border-left: 1px solid var(--gold);
    font-size: 10px;
}

.gallery-toolbar {
    position: sticky;
    z-index: 20;
    top: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 1320px;
    min-height: 60px;
    margin: 0 auto 20px;
    padding: 10px 13px 10px 20px;
    color: var(--ivory);
    background: rgba(36, 63, 54, 0.96);
    box-shadow: 0 14px 35px rgba(29, 43, 37, 0.14);
    backdrop-filter: blur(9px);
}

.gallery-filters {
    display: flex;
    align-items: center;
    gap: 2px;
}

.gallery-filters button {
    min-height: 36px;
    padding: 0 13px;
    color: rgba(255, 250, 241, 0.56);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.gallery-filters button:hover,
.gallery-filters button.is-active {
    color: var(--ivory);
    background: rgba(255, 250, 241, 0.1);
}

.gallery-filters button span {
    display: inline-grid;
    min-width: 19px;
    height: 19px;
    margin-left: 6px;
    color: var(--forest-deep);
    background: var(--gold-light);
    border-radius: 50%;
    place-items: center;
    font-size: 7px;
}

.gallery-toolbar__actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.gallery-toolbar__actions > span {
    color: rgba(255, 250, 241, 0.5);
    font-size: 7px;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.gallery-toolbar__actions button {
    display: grid;
    width: 36px;
    height: 36px;
    color: var(--forest-deep);
    background: var(--gold-light);
    place-items: center;
}

.gallery-toolbar__actions svg {
    width: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 10px;
    max-width: 1320px;
    margin: auto;
}

.gallery-item {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background: var(--paper-deep);
}

.gallery-item--feature,
.gallery-item--landscape {
    grid-column: span 8;
}

.gallery-item--portrait,
.gallery-item--square {
    grid-column: span 4;
}

.gallery-item:last-child {
    grid-column: 3 / span 8;
}

.gallery-item__view {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    text-align: left;
}

.gallery-item--feature .gallery-item__view,
.gallery-item--landscape .gallery-item__view {
    aspect-ratio: 1.62 / 1;
}

.gallery-item--portrait .gallery-item__view {
    aspect-ratio: 0.81 / 1;
}

.gallery-item--square .gallery-item__view {
    aspect-ratio: 1 / 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.4s ease;
}

.gallery-item:nth-child(2) img {
    object-position: 62% center;
}

.gallery-item:nth-child(3) img {
    object-position: 35% center;
}

.gallery-item__view::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(25, 15, 15, 0.76), transparent 45%);
    content: "";
    opacity: 0.58;
    transition: opacity 0.35s ease;
}

.gallery-item:hover img {
    transform: scale(1.035);
}

.gallery-item:hover .gallery-item__view::after {
    opacity: 0.82;
}

.gallery-item__index,
.gallery-item__caption {
    position: absolute;
    z-index: 2;
    bottom: 17px;
    color: var(--ivory);
}

.gallery-item__index {
    left: 18px;
    font-size: 7px;
    font-weight: 600;
    letter-spacing: 0.15em;
}

.gallery-item__caption {
    right: 18px;
    left: 75px;
    overflow: hidden;
    font-family: var(--serif);
    font-size: 16px;
    font-style: italic;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gallery-item__heart {
    position: absolute;
    z-index: 3;
    top: 14px;
    right: 14px;
    display: grid;
    width: 39px;
    height: 39px;
    color: var(--ivory);
    background: rgba(31, 25, 23, 0.38);
    border: 1px solid rgba(255, 250, 241, 0.5);
    border-radius: 50%;
    place-items: center;
    backdrop-filter: blur(7px);
}

.gallery-item__heart span {
    font-family: Arial, sans-serif;
    font-size: 20px;
    line-height: 1;
}

.gallery-item__heart:hover,
.gallery-item__heart.is-favorite {
    color: var(--ivory);
    background: var(--wine);
    border-color: var(--wine);
}

.gallery-item__heart.is-favorite span::before {
    content: "♥";
}

.gallery-item__heart.is-favorite span {
    font-size: 0;
}

.gallery-item__heart.is-favorite span::before {
    font-size: 18px;
}

.gallery-empty {
    max-width: 1320px;
    margin: auto;
    padding: 90px 20px;
    color: var(--muted);
    border: 1px solid var(--line);
    text-align: center;
}

.gallery-empty > span {
    color: var(--wine);
    font-family: Arial, sans-serif;
    font-size: 36px;
}

.gallery-empty h3 {
    margin-top: 13px;
    color: var(--wine-deep);
    font-family: var(--serif);
    font-size: 31px;
    font-weight: 500;
}

.gallery-empty p {
    font-size: 9px;
}

.gallery-end-note {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 520px;
    margin: 52px auto 0;
    color: var(--muted);
    font-size: 7px;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.gallery-end-note i {
    flex: 1;
    height: 1px;
    background: var(--gold);
}

/* Studio message */
.studio-message {
    position: relative;
    display: grid;
    grid-template-columns: 170px minmax(350px, 0.9fr) minmax(390px, 1.1fr);
    gap: clamp(35px, 6vw, 85px);
    align-items: center;
    padding: 120px clamp(25px, 8vw, 130px);
    overflow: hidden;
    border-top: 1px solid var(--line);
}

.studio-message::before {
    position: absolute;
    top: -190px;
    right: -170px;
    width: 430px;
    height: 430px;
    border: 1px solid rgba(122, 38, 53, 0.12);
    border-radius: 50% 50% 9px 9px;
    content: "";
    transform: rotate(45deg);
}

.studio-message__ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 185px;
    color: var(--wine);
    border: 1px solid var(--wine);
    border-radius: 75px 75px 4px 4px;
    font-family: var(--serif);
    font-size: 44px;
}

.studio-message__copy h2 {
    margin-top: 13px;
    color: var(--wine-deep);
    font-family: var(--serif);
    font-size: clamp(45px, 4.5vw, 64px);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 0.95;
}

.studio-message__copy h2 em {
    color: var(--gold);
    font-weight: 400;
}

.studio-message__copy blockquote {
    max-width: 550px;
    margin-top: 26px;
    color: #4f504b;
    font-family: var(--serif);
    font-size: 21px;
    font-style: italic;
    line-height: 1.45;
}

.studio-message__copy > p:last-child {
    margin-top: 22px;
    color: var(--wine);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.studio-message__guide {
    border-top: 1px solid var(--line);
}

.studio-message__guide {
    display: grid;
    grid-template-columns: 42px 1fr;
}

.studio-message__guide > span,
.studio-message__guide > p {
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}

.studio-message__guide > span {
    color: var(--gold);
    font-family: var(--serif);
    font-size: 13px;
}

.studio-message__guide > p {
    color: var(--muted);
    font-size: 9px;
}

.studio-message__guide strong {
    display: block;
    margin-bottom: 3px;
    color: var(--forest);
    font-size: 10px;
}

/* Download banner */
.download-banner {
    position: relative;
    display: grid;
    min-height: 570px;
    overflow: hidden;
    color: var(--ivory);
    place-items: center;
    isolation: isolate;
}

.download-banner__media,
.download-banner__veil {
    position: absolute;
    z-index: -2;
    inset: 0;
}

.download-banner__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 41%;
}

.download-banner__veil {
    z-index: -1;
    background: linear-gradient(90deg, rgba(25, 43, 36, 0.9), rgba(40, 20, 24, 0.5), rgba(40, 17, 22, 0.88));
}

.download-banner::before {
    position: absolute;
    inset: 26px;
    border: 1px solid rgba(229, 194, 141, 0.42);
    content: "";
    pointer-events: none;
}

.download-banner__copy {
    max-width: 800px;
    padding: 80px 25px;
    text-align: center;
}

.download-banner h2 {
    margin-top: 17px;
    font-family: var(--serif);
    font-size: clamp(55px, 6vw, 86px);
    font-weight: 500;
    letter-spacing: -0.05em;
    line-height: 0.86;
}

.download-banner h2 em {
    color: var(--gold-light);
    font-weight: 400;
}

.download-banner__copy > p:not(.eyebrow) {
    margin-top: 23px;
    color: rgba(255, 250, 241, 0.72);
    font-size: 11px;
}

.primary-action--gold {
    margin-top: 32px;
    color: var(--forest-deep);
    background: var(--gold-light);
}

.primary-action--gold:hover {
    color: var(--ivory);
    background: var(--wine);
}

/* Footer */
.album-footer {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: center;
    padding: 60px clamp(25px, 6vw, 90px);
    color: var(--ivory);
    background: var(--wine-deep);
}

.studio-brand--footer {
    color: var(--gold-light);
}

.album-footer__contact {
    display: flex;
    gap: 22px;
}

.album-footer__contact a {
    color: rgba(255, 250, 241, 0.66);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.album-footer__contact a:hover {
    color: var(--gold-light);
}

.album-footer > p {
    justify-self: end;
    color: rgba(255, 250, 241, 0.43);
    font-family: var(--serif);
    font-size: 13px;
    font-style: italic;
}

.album-footer__credit {
    grid-column: 1 / -1;
    justify-self: center;
    margin-top: 25px;
    color: rgba(255, 250, 241, 0.4);
    font-size: 7px;
    letter-spacing: 0.1em;
    text-align: center;
    text-transform: uppercase;
}

.album-footer__credit span,
.album-footer__credit strong {
    display: block;
}

.album-footer__credit strong {
    margin-top: 4px;
    color: var(--gold-light);
    font-size: 10px;
}

/* Selection tray */
.selection-tray {
    position: fixed;
    z-index: 60;
    right: 50%;
    bottom: 22px;
    display: grid;
    grid-template-columns: auto auto auto;
    align-items: stretch;
    min-width: min(630px, calc(100% - 30px));
    color: var(--ivory);
    background: rgba(23, 42, 36, 0.97);
    box-shadow: 0 18px 55px rgba(25, 21, 18, 0.25);
    opacity: 0;
    pointer-events: none;
    transform: translate(50%, 25px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    backdrop-filter: blur(10px);
}

.selection-tray.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translate(50%, 0);
}

.selection-tray > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 135px;
    padding: 10px 19px;
    border-right: 1px solid rgba(255, 250, 241, 0.15);
}

.selection-tray > div span {
    color: rgba(255, 250, 241, 0.48);
    font-size: 7px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.selection-tray > div strong {
    font-family: var(--serif);
    font-size: 17px;
    font-weight: 500;
}

.selection-tray > button {
    padding: 0 20px;
    color: rgba(255, 250, 241, 0.72);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.selection-tray > button:last-child {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: var(--forest-deep);
    background: var(--gold-light);
}

/* Dialogs */
dialog {
    padding: 0;
}

dialog::backdrop {
    background: rgba(17, 20, 18, 0.88);
    backdrop-filter: blur(8px);
}

.lightbox {
    width: 100vw;
    max-width: none;
    height: 100dvh;
    max-height: none;
    margin: 0;
    overflow: hidden;
    color: var(--ivory);
    background: #101512;
    border: 0;
}

.lightbox[open] {
    display: grid;
    grid-template-columns: 80px 1fr 80px;
    grid-template-rows: 72px 1fr 38px;
}

.lightbox__topbar {
    z-index: 2;
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox__topbar > div {
    display: flex;
    align-items: center;
    gap: 14px;
}

.lightbox__topbar > div:first-child span,
.lightbox__topbar > div:first-child strong {
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.13em;
}

.lightbox__topbar > div:first-child span {
    color: var(--gold-light);
}

.lightbox__topbar > div:first-child strong {
    padding-left: 14px;
    color: rgba(255, 250, 241, 0.48);
    border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.lightbox__topbar button,
.lightbox__topbar a {
    display: grid;
    width: 39px;
    height: 39px;
    color: var(--ivory);
    border: 1px solid rgba(255, 255, 255, 0.18);
    place-items: center;
}

.lightbox__topbar button:last-child {
    font-size: 24px;
    line-height: 1;
}

.lightbox__topbar [data-lightbox-favorite] span {
    font-family: Arial, sans-serif;
    font-size: 19px;
}

.lightbox__topbar [data-lightbox-favorite].is-favorite {
    color: var(--ivory);
    background: var(--wine);
    border-color: var(--wine);
}

.lightbox__topbar [data-lightbox-favorite].is-favorite span {
    font-size: 0;
}

.lightbox__topbar [data-lightbox-favorite].is-favorite span::after {
    content: "♥";
    font-size: 18px;
}

.lightbox__topbar svg {
    width: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
}

.lightbox figure {
    grid-column: 2;
    grid-row: 2;
    display: grid;
    min-width: 0;
    min-height: 0;
    padding: 20px;
    place-items: center;
}

.lightbox figure img {
    max-width: 100%;
    max-height: calc(100dvh - 155px);
    object-fit: contain;
    box-shadow: 0 16px 60px rgba(0, 0, 0, 0.24);
}

.lightbox figcaption {
    position: absolute;
    bottom: 18px;
    left: 50%;
    color: rgba(255, 250, 241, 0.6);
    font-family: var(--serif);
    font-size: 13px;
    font-style: italic;
    transform: translateX(-50%);
}

.lightbox__nav {
    grid-row: 2;
    align-self: center;
    width: 54px;
    height: 70px;
    color: rgba(255, 250, 241, 0.6);
    font-family: var(--serif);
    font-size: 48px;
    font-weight: 300;
}

.lightbox__nav:hover {
    color: var(--gold-light);
}

.lightbox__nav--prev {
    grid-column: 1;
    justify-self: end;
}

.lightbox__nav--next {
    grid-column: 3;
    justify-self: start;
}

.lightbox__progress {
    grid-column: 1 / -1;
    grid-row: 3;
    align-self: end;
    height: 2px;
    background: rgba(255, 255, 255, 0.09);
}

.lightbox__progress i {
    display: block;
    width: 10%;
    height: 100%;
    background: var(--gold-light);
    transition: width 0.3s ease;
}

.album-dialog {
    width: min(680px, calc(100% - 30px));
    max-height: calc(100dvh - 30px);
    padding: 48px;
    overflow: auto;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--gold);
    box-shadow: 0 25px 80px rgba(18, 16, 13, 0.3);
}

.album-dialog::before {
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(122, 38, 53, 0.16);
    content: "";
    pointer-events: none;
}

.album-dialog__close {
    position: absolute;
    z-index: 2;
    top: 15px;
    right: 15px;
    display: grid;
    width: 38px;
    height: 38px;
    color: var(--wine);
    border: 1px solid rgba(122, 38, 53, 0.25);
    place-items: center;
    font-size: 24px;
    line-height: 1;
}

.album-dialog h2 {
    margin-top: 10px;
    color: var(--wine-deep);
    font-family: var(--serif);
    font-size: clamp(39px, 6vw, 54px);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 1;
}

.album-dialog__lead {
    max-width: 500px;
    margin-top: 13px;
    color: var(--muted);
    font-size: 10px;
}

.download-options {
    margin-top: 31px;
    border-top: 1px solid var(--line);
}

.download-options > button {
    display: grid;
    grid-template-columns: 35px 1fr auto;
    gap: 15px;
    align-items: center;
    width: 100%;
    padding: 20px 5px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

.download-options > button:hover {
    padding-right: 13px;
    padding-left: 13px;
    background: rgba(200, 155, 91, 0.1);
}

.download-options > button > span {
    color: var(--gold);
    font-family: var(--serif);
    font-size: 14px;
}

.download-options strong {
    color: var(--forest);
    font-family: var(--serif);
    font-size: 21px;
    font-weight: 600;
}

.download-options p,
.download-options small {
    display: block;
    color: var(--muted);
    font-size: 8px;
}

.download-options small {
    margin-top: 4px;
    color: var(--wine);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.download-options > button > b {
    color: var(--wine);
    font-size: 18px;
}

.download-dialog__note {
    margin-top: 20px;
    color: var(--muted);
    font-size: 8px;
    font-style: italic;
}

.selection-preview {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    margin-top: 27px;
}

.selection-preview article {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--paper-deep);
}

.selection-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.selection-preview span {
    position: absolute;
    right: 3px;
    bottom: 3px;
    left: 3px;
    padding: 3px;
    color: var(--ivory);
    background: rgba(39, 23, 24, 0.75);
    font-size: 6px;
    font-weight: 600;
    text-align: center;
}

.selection-preview__empty {
    grid-column: 1 / -1;
    padding: 26px;
    color: var(--muted);
    border: 1px dashed var(--line);
    font-size: 9px;
    text-align: center;
}

.selection-form {
    display: grid;
    gap: 18px;
    margin-top: 27px;
}

.selection-form label > span {
    display: block;
    margin-bottom: 7px;
    color: var(--wine);
    font-size: 7px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.selection-form input,
.selection-form textarea {
    width: 100%;
    padding: 12px 0;
    color: var(--ink);
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    outline: 0;
    font-size: 10px;
    resize: vertical;
}

.selection-form__actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 5px;
}

.selection-form__actions button {
    min-height: 45px;
    padding: 0 18px;
    border: 1px solid var(--line);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.selection-form__actions button[type="submit"] {
    display: flex;
    align-items: center;
    gap: 22px;
    color: var(--ivory);
    background: var(--wine);
    border-color: var(--wine);
}

.toast {
    position: fixed;
    z-index: 1200;
    right: 22px;
    bottom: 22px;
    max-width: min(370px, calc(100% - 30px));
    padding: 15px 19px;
    color: var(--ivory);
    background: var(--forest-deep);
    border-left: 3px solid var(--gold-light);
    box-shadow: 0 15px 45px rgba(20, 22, 18, 0.2);
    font-size: 9px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(15px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 1080px) {
    .album-summary {
        grid-template-columns: 1fr 1.45fr;
    }

    .album-summary__notice {
        grid-column: 1 / -1;
        max-width: 500px;
        margin: auto;
    }

    .studio-message {
        grid-template-columns: 130px 1fr;
    }

    .studio-message__ornament {
        width: 125px;
        height: 160px;
    }

    .studio-message__guide {
        grid-column: 1 / -1;
    }

    .album-footer {
        grid-template-columns: 1fr auto;
    }

    .album-footer > p {
        grid-column: 1 / -1;
        justify-self: center;
    }
}

@media (max-width: 760px) {
    .album-header {
        grid-template-columns: 1fr auto;
        min-height: 67px;
        padding: 9px 15px;
    }

    .album-header .brand-mark {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
        font-size: 6px;
    }

    .studio-brand strong {
        font-size: 13px;
    }

    .album-header__meta {
        display: none;
    }

    .album-header__actions button {
        width: 37px;
        min-height: 37px;
        padding: 0;
        justify-content: center;
    }

    .album-header__actions button span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
    }

    .album-hero {
        min-height: 650px;
    }

    .album-hero__frame {
        inset: 13px;
    }

    .album-hero__content {
        right: 28px;
        bottom: 113px;
        left: 28px;
    }

    .album-hero h1 {
        gap: 10px;
        font-size: clamp(65px, 20vw, 94px);
    }

    .album-hero__intro {
        max-width: 330px;
        font-size: 18px;
    }

    .album-hero__side-note {
        display: none;
    }

    .album-hero__scroll {
        right: auto;
        bottom: 32px;
        left: 28px;
    }

    .album-summary {
        grid-template-columns: 1fr;
        gap: 38px;
        padding: 72px 20px;
    }

    .album-summary__stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .album-summary__stats article {
        min-height: 125px;
        padding: 20px 13px;
    }

    .album-summary__stats strong {
        font-size: 39px;
    }

    .album-summary__notice {
        grid-column: auto;
        margin: 0;
    }

    .gallery-section {
        padding: 82px 15px 75px;
    }

    .gallery-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 28px;
        margin-bottom: 45px;
    }

    .gallery-heading h2 {
        font-size: clamp(53px, 16vw, 74px);
    }

    .gallery-heading > p {
        padding-top: 16px;
        padding-left: 0;
        border-top: 1px solid var(--gold);
        border-left: 0;
    }

    .gallery-toolbar {
        top: 67px;
        display: block;
        min-height: 0;
        margin-right: -15px;
        margin-left: -15px;
        padding: 9px 12px;
        overflow: hidden;
    }

    .gallery-filters {
        overflow-x: auto;
        scrollbar-width: none;
    }

    .gallery-filters::-webkit-scrollbar {
        display: none;
    }

    .gallery-filters button {
        flex: 0 0 auto;
    }

    .gallery-toolbar__actions {
        display: none;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .gallery-item--feature,
    .gallery-item--landscape {
        grid-column: span 2;
    }

    .gallery-item--portrait,
    .gallery-item--square {
        grid-column: span 1;
    }

    .gallery-item:last-child {
        grid-column: span 2;
    }

    .gallery-item__caption {
        display: none;
    }

    .gallery-item__index {
        bottom: 11px;
        left: 11px;
    }

    .gallery-item__heart {
        top: 8px;
        right: 8px;
        width: 34px;
        height: 34px;
    }

    .gallery-end-note {
        gap: 12px;
        font-size: 6px;
    }

    .studio-message {
        grid-template-columns: 1fr;
        gap: 45px;
        padding: 85px 22px;
    }

    .studio-message__ornament {
        width: 102px;
        height: 130px;
        font-size: 35px;
    }

    .studio-message__guide {
        grid-column: auto;
    }

    .download-banner {
        min-height: 590px;
    }

    .download-banner::before {
        inset: 13px;
    }

    .download-banner h2 {
        font-size: clamp(52px, 15vw, 68px);
    }

    .album-footer {
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 55px 20px;
        text-align: center;
    }

    .album-footer__contact {
        flex-wrap: wrap;
        justify-content: center;
    }

    .album-footer > p {
        grid-column: auto;
    }

    .album-footer__credit {
        grid-column: auto;
    }

    .selection-tray {
        right: 10px;
        bottom: max(10px, env(safe-area-inset-bottom));
        left: 10px;
        grid-template-columns: 1fr auto;
        min-width: 0;
        transform: translateY(25px);
    }

    .selection-tray.is-visible {
        transform: none;
    }

    .selection-tray > div {
        min-width: 0;
        padding: 9px 13px;
    }

    .selection-tray > button[data-show-favorites] {
        display: none;
    }

    .selection-tray > button:last-child {
        padding: 0 15px;
        font-size: 7px;
    }

    .lightbox[open] {
        grid-template-columns: 46px 1fr 46px;
        grid-template-rows: 64px 1fr 28px;
    }

    .lightbox__topbar {
        padding: 0 10px;
    }

    .lightbox__topbar > div:first-child strong {
        display: none;
    }

    .lightbox__topbar button,
    .lightbox__topbar a {
        width: 35px;
        height: 35px;
    }

    .lightbox figure {
        grid-column: 1 / -1;
        padding: 12px;
    }

    .lightbox figure img {
        max-height: calc(100dvh - 125px);
    }

    .lightbox__nav {
        z-index: 2;
        width: 42px;
        height: 58px;
        color: var(--ivory);
        background: rgba(16, 21, 18, 0.45);
        font-size: 38px;
    }

    .lightbox__nav--prev {
        grid-column: 1;
    }

    .lightbox__nav--next {
        grid-column: 3;
    }

    .lightbox figcaption {
        display: none;
    }

    .album-dialog {
        padding: 42px 23px 28px;
    }

    .selection-preview {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 430px) {
    .access-gate__brand {
        top: 22px;
        left: 23px;
    }

    .access-gate__panel {
        width: calc(100% - 28px);
        padding: 39px 25px 32px;
    }

    .access-gate__panel h1 {
        font-size: 54px;
    }

    .access-gate__edition {
        right: 23px;
        bottom: 17px;
    }

    .access-form button span {
        display: none;
    }

    .album-hero__actions {
        align-items: stretch;
        flex-direction: column;
        max-width: 235px;
    }

    .album-summary__stats strong {
        font-size: 32px;
    }

    .album-summary__stats span {
        font-size: 6px;
    }

    .gallery-item__heart {
        width: 31px;
        height: 31px;
    }

    .download-options > button {
        grid-template-columns: 25px 1fr auto;
        gap: 9px;
    }

    .download-options strong {
        font-size: 18px;
    }

    .selection-form__actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .selection-form__actions button {
        justify-content: center;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
