/* archivegir1 - shared styles */

@font-face {
    font-family: 'Daisuky Fancy';
    src: url('Daisuky Fancy Demo/Daisuky Fancy.woff2') format('woff2'),
         url('Daisuky Fancy Demo/Daisuky Fancy.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --title-font: "Daisuky Fancy", "Pinyon Script", cursive;
    --body-font: "Cormorant Garamond", Georgia, serif;
    --mono-font: "Courier Prime", "Courier New", monospace;

    --bg: #f5d7e0;
    --panel: rgba(255, 255, 255, 0.56);
    --panel-strong: rgba(255, 255, 255, 0.78);
    --line: rgba(214, 27, 110, 0.18);
    --line-strong: rgba(214, 27, 110, 0.34);
    --text: #5c1637;
    --text-soft: #7d3053;
    --accent: #ff2f90;
    --accent-deep: #d61568;
    --shadow: 0 24px 70px rgba(110, 16, 57, 0.14);
    --shadow-soft: 0 12px 35px rgba(110, 16, 57, 0.09);
    --max-width: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    font-family: var(--body-font);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18"><circle cx="9" cy="9" r="6" fill="%23ff2f90" opacity="0.38"/></svg>') 9 9, auto;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.045;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9998;
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.22), transparent 35%),
        radial-gradient(circle at bottom, rgba(255, 103, 168, 0.12), transparent 38%);
}

a,
button {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 22 22"><circle cx="11" cy="11" r="7" fill="%23d61568" opacity="0.4"/></svg>') 11 11, pointer;
    text-decoration: none;
}

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

button,
input,
textarea {
    font: inherit;
}

button {
    border: 0;
    background: none;
}

.page-transition {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 10000;
    animation: pageLoad 0.95s ease forwards;
}

@keyframes pageLoad {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
        pointer-events: none;
    }
}

.logo-trigger {
    position: fixed;
    top: 24px;
    right: 24px;
    width: 78px;
    height: 78px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    z-index: 1002;
    box-shadow: var(--shadow-soft);
    transform: rotate(-7deg);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.logo-trigger img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-trigger:hover,
.logo-trigger:focus-visible {
    transform: rotate(-2deg) translateY(-2px);
    box-shadow: 0 18px 40px rgba(110, 16, 57, 0.18);
    border-color: var(--line-strong);
    outline: none;
}

.logo-trigger.active {
    transform: rotate(0deg) scale(0.96);
}

.menu-overlay {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 32px 24px;
    background: rgba(251, 232, 240, 0.96);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    z-index: 1001;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.menu-shell {
    width: min(980px, 100%);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    padding: clamp(28px, 5vw, 52px);
    background: rgba(255, 255, 255, 0.54);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.menu-copy {
    display: grid;
    align-content: space-between;
    gap: 26px;
}

.menu-eyebrow,
.section-kicker,
.card-kicker,
.link-date,
.footer-note {
    font-family: var(--mono-font);
    font-size: 11px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--accent-deep);
}

.menu-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.menu-links a,
.menu-links button,
.menu-item-with-submenu > button {
    display: block;
    margin: 0.3em 0;
    font-family: var(--mono-font);
    font-size: clamp(28px, 5vw, 52px);
    letter-spacing: 0.08em;
    text-transform: lowercase;
    color: var(--accent-deep);
    opacity: 0;
    transform: translateY(18px);
    transition: transform 0.35s ease, opacity 0.35s ease, color 0.25s ease;
    text-align: left;
    width: 100%;
}

.menu-overlay.active .menu-links > a,
.menu-overlay.active .menu-links > .menu-item-with-submenu > button {
    opacity: 1;
    transform: translateY(0);
}

.menu-links > a:nth-child(1),
.menu-links > .menu-item-with-submenu:nth-child(1) > button {
    transition-delay: 0.08s;
}

.menu-links > a:nth-child(2),
.menu-links > .menu-item-with-submenu:nth-child(2) > button {
    transition-delay: 0.12s;
}

.menu-links > a:nth-child(3),
.menu-links > .menu-item-with-submenu:nth-child(3) > button {
    transition-delay: 0.16s;
}

.menu-links > a:nth-child(4),
.menu-links > .menu-item-with-submenu:nth-child(4) > button {
    transition-delay: 0.2s;
}

.menu-links > a:nth-child(5),
.menu-links > .menu-item-with-submenu:nth-child(5) > button {
    transition-delay: 0.24s;
}

.menu-links a:hover,
.menu-links a:focus-visible,
.menu-links button:hover,
.menu-links button:focus-visible {
    color: var(--accent);
    outline: none;
}

.menu-item-with-submenu {
    position: relative;
}

.menu-submenu {
    max-height: 0;
    overflow: hidden;
    padding-left: 32px;
    margin-top: 0;
    transition: max-height 0.4s ease, margin-top 0.4s ease;
}

.menu-submenu.active {
    max-height: 500px;
    margin-top: 8px;
}

.menu-submenu a {
    font-size: clamp(22px, 4vw, 36px);
    margin: 0.2em 0;
    opacity: 1;
    transform: translateY(0);
}

.menu-detail {
    display: grid;
    gap: 24px;
    align-content: start;
}

.menu-note {
    padding: 20px;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid var(--line);
}

.menu-note p {
    font-size: 20px;
    line-height: 1.55;
    color: var(--text-soft);
}

.menu-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pill-link,
.ghost-pill,
.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 18px;
    border-radius: 999px;
    font-family: var(--mono-font);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.pill-link {
    background: var(--accent-deep);
    color: #fff;
    box-shadow: 0 10px 24px rgba(214, 21, 104, 0.2);
}

.pill-link:hover,
.pill-link:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(214, 21, 104, 0.24);
    outline: none;
}

.ghost-pill {
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid var(--line);
    color: var(--accent-deep);
}

.ghost-pill:hover,
.ghost-pill:focus-visible {
    transform: translateY(-2px);
    border-color: var(--line-strong);
    outline: none;
}

.status-pill {
    background: rgba(255, 255, 255, 0.62);
    border: 1px dashed var(--line-strong);
    color: var(--text-soft);
}

.floating-note {
    position: fixed;
    z-index: 2;
    pointer-events: none;
    font-family: var(--mono-font);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(214, 21, 104, 0.22);
}

.floating-note.left {
    left: 26px;
    top: 34%;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.floating-note.right {
    right: 26px;
    bottom: 26%;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
}

.hero {
    min-height: 100dvh;
    width: 100%;
    margin: 0;
    padding: 0;
    display: grid;
    place-items: center;
    position: relative;
}

.hero-title {
    font-family: var(--title-font);
    font-size: clamp(96px, 18vw, 220px);
    line-height: 1.1;
    color: var(--accent);
    text-align: center;
    font-weight: 300;
    letter-spacing: 0.02em;
}

.scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--mono-font);
    font-size: 10px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--accent-deep);
}

.scroll-cue::after {
    content: "";
    width: 52px;
    height: 1px;
    background: var(--line-strong);
    animation: cuePulse 2.2s ease-in-out infinite;
}

@keyframes cuePulse {
    0%,
    100% {
        transform: scaleX(0.7);
        opacity: 0.45;
    }
    50% {
        transform: scaleX(1);
        opacity: 1;
    }
}

main {
    position: relative;
    z-index: 1;
}

section {
    width: min(var(--max-width), calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 108px;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

section.in-view {
    opacity: 1;
    transform: translateY(0);
}

.hero-panel,
.content-panel,
.section-shell,
.link-card,
.sculpture-card,
.about-card {
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.section-shell {
    padding: clamp(28px, 4vw, 48px);
}

.section-heading {
    display: grid;
    gap: 12px;
    margin-bottom: 34px;
}

.section-title {
    font-family: var(--title-font);
    font-size: clamp(52px, 8vw, 92px);
    line-height: 1.1;
    color: var(--accent);
    font-weight: 300;
    letter-spacing: 0.01em;
}

.section-subtitle {
    max-width: 52ch;
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.5;
    color: var(--text-soft);
}

.archive-grid,
.about-grid {
    display: grid;
    gap: 24px;
}

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

.content-panel {
    padding: 24px;
}

.panel-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.panel-title {
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1;
    color: var(--text);
}

.panel-description {
    max-width: 54ch;
    font-size: 20px;
    line-height: 1.55;
    color: var(--text-soft);
}

.photo-links,
.film-grid,
.issue-grid,
.article-list,
.modeling-links {
    display: grid;
    gap: 16px;
}

.photo-links {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.film-grid,
.issue-grid,
.article-list {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.link-card,
.about-card {
    padding: 20px;
}

.link-card h4,
.about-card h3 {
    font-size: 30px;
    line-height: 1.05;
    margin: 8px 0 12px;
}

.link-card p,
.about-card p,
.about-card li {
    font-size: 20px;
    line-height: 1.55;
    color: var(--text-soft);
}

.card-actions {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sculpture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 18px;
}

.sculpture-card {
    overflow: hidden;
    background: var(--panel-strong);
}

.sculpture-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.sculpture-card:hover img,
.sculpture-card:focus-within img {
    transform: scale(1.03);
    filter: saturate(1.08);
}

.sculpture-card figcaption {
    padding: 14px 16px 18px;
    font-family: var(--mono-font);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-deep);
}

.about-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    align-items: start;
}

.about-main {
    display: grid;
    gap: 24px;
}

.about-copy {
    padding: clamp(24px, 4vw, 40px);
}

.about-copy p {
    font-size: clamp(22px, 2.7vw, 31px);
    line-height: 1.75;
    font-style: italic;
    color: var(--text);
}

.pull-quote {
    padding: 18px 20px;
    border-left: 2px solid var(--line-strong);
    font-size: 24px;
    line-height: 1.55;
    color: var(--accent-deep);
    background: rgba(255, 255, 255, 0.34);
}

.about-side {
    display: grid;
    gap: 24px;
}

.article-list {
    list-style: none;
}

.article-list li {
    list-style: none;
}

.footer {
    width: min(var(--max-width), calc(100% - 32px));
    margin: 0 auto 48px;
    padding: 26px 0 0;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    position: relative;
    z-index: 1;
}

.footer-brand {
    font-family: var(--title-font);
    font-size: 40px;
    color: var(--accent);
    font-weight: 300;
    line-height: 1.2;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-links a {
    color: var(--accent-deep);
}

.sparkle {
    position: fixed;
    z-index: 2;
    pointer-events: none;
    font-size: 12px;
    color: rgba(255, 47, 144, 0.42);
    animation: twinkle 2.8s ease-out forwards;
}

@keyframes twinkle {
    0% {
        opacity: 0;
        transform: scale(0.3) rotate(0deg);
    }
    40% {
        opacity: 1;
        transform: scale(1) rotate(120deg);
    }
    100% {
        opacity: 0;
        transform: scale(0.2) rotate(240deg);
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 960px) {
    .menu-shell,
    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .logo-trigger {
        width: 68px;
        height: 68px;
        top: 18px;
        right: 18px;
    }

    .floating-note {
        display: none;
    }

    section,
    .footer {
        width: min(var(--max-width), calc(100% - 20px));
    }

    .section-shell,
    .content-panel,
    .about-copy,
    .link-card,
    .about-card {
        padding: 22px;
    }

    .menu-shell {
        padding: 24px;
    }

    .panel-head {
        align-items: start;
        flex-direction: column;
    }

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

    .menu-submenu {
        padding-left: 20px;
    }
}

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

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}
