/* ===================================
   domain - Burgundy-Cream Avant-Garde
   Salon-Hang Portfolio Grid
   =================================== */

/* CSS Custom Properties */
:root {
    --deep-burgundy: #4A0E1B;
    --burgundy-rose: #7B2D3F;
    --muted-rose: #9E6B7B;
    --warm-cream: #FAF3E8;
    --parchment: #F0E4D4;
    --deep-charcoal: #2B1A14;
    --antique-gold: #B8915A;
    --veined-gray: #C8BDB2;
    --warm-ivory: #F5EDE0;
    --near-black: #1A0509;
    --deeper-burgundy: #350A13;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Lora', Georgia, serif;
    --font-utility: 'Cormorant Garamond', Garamond, serif;

    --sidebar-width: 64px;
    --gutter: 16px;
    --max-width: 1440px;
    --transition-morph: 400ms cubic-bezier(0.25, 0.1, 0.25, 1.0);
    --transition-spring: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 17px;
    line-height: 1.65;
    letter-spacing: 0.01em;
    color: var(--deep-charcoal);
    background-color: var(--warm-cream);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    position: relative;
}

/* ===== SIDEBAR NAVIGATION ===== */
#sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background-color: var(--deep-burgundy);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 0;
    transition: background-color 600ms ease;
}

#sidebar-logo {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 28px;
    color: var(--warm-cream);
    margin-bottom: 48px;
    letter-spacing: -0.03em;
}

#sidebar-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    flex: 1;
    justify-content: center;
    position: relative;
}

#sidebar-nav li {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.nav-link {
    font-family: var(--font-utility);
    font-weight: 300;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--muted-rose);
    transition: color var(--transition-morph);
    padding: 8px 0;
}

.nav-link.active,
.nav-link:hover {
    color: var(--warm-cream);
}

#nav-indicator {
    position: absolute;
    left: 0;
    width: 2px;
    height: 20px;
    background-color: var(--antique-gold);
    transition: transform var(--transition-spring);
    pointer-events: none;
}

/* ===== MOBILE TOP BAR ===== */
#mobile-bar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    background-color: var(--deep-burgundy);
    z-index: 100;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

#mobile-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background-color: var(--burgundy-rose);
    transition: width 100ms linear;
}

#mobile-logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    color: var(--warm-cream);
    letter-spacing: -0.03em;
}

#mobile-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    width: 24px;
    height: 18px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 1.5px;
    background-color: var(--warm-cream);
    transition: transform 300ms ease, opacity 300ms ease;
}

#mobile-menu-btn.open span:first-child {
    transform: translateY(8px) rotate(45deg);
}

#mobile-menu-btn.open span:last-child {
    transform: translateY(-8px) rotate(-45deg);
}

#mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--deep-burgundy);
    z-index: 99;
    opacity: 0;
    transition: opacity 300ms ease;
}

#mobile-nav-overlay.visible {
    opacity: 1;
}

#mobile-nav-overlay ul {
    list-style: none;
    padding: 48px 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-link {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 32px;
    color: var(--warm-cream);
    letter-spacing: -0.03em;
}

/* ===== CORNER MARKS ===== */
.corner-mark {
    position: fixed;
    z-index: 50;
    opacity: 0.4;
    transition: transform 300ms ease;
}

.corner-tl { top: 16px; left: calc(var(--sidebar-width) + 16px); }
.corner-tr { top: 16px; right: 16px; }
.corner-bl { bottom: 16px; left: calc(var(--sidebar-width) + 16px); }
.corner-br { bottom: 16px; right: 16px; }

/* ===== MARBLE VEINS ===== */
#marble-veins {
    position: fixed;
    top: 0;
    left: var(--sidebar-width);
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.06;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='800' viewBox='0 0 800 800'%3E%3Cpath d='M50 100 Q200 150 350 80 Q500 10 650 120 Q750 190 800 100' stroke='%23C8BDB2' fill='none' stroke-width='1.5' opacity='0.8'/%3E%3Cpath d='M0 300 Q150 350 300 280 Q450 210 600 320 Q700 390 800 300' stroke='%23C8BDB2' fill='none' stroke-width='1' opacity='0.6'/%3E%3Cpath d='M100 500 Q250 450 400 530 Q550 610 700 500' stroke='%23C8BDB2' fill='none' stroke-width='1.2' opacity='0.7'/%3E%3Cpath d='M0 650 Q200 700 400 620 Q600 540 800 680' stroke='%23C8BDB2' fill='none' stroke-width='0.8' opacity='0.5'/%3E%3Cpath d='M200 0 Q220 200 180 400 Q140 600 220 800' stroke='%23C8BDB2' fill='none' stroke-width='1' opacity='0.4'/%3E%3Cpath d='M600 0 Q580 250 620 500 Q660 750 600 800' stroke='%23C8BDB2' fill='none' stroke-width='0.7' opacity='0.3'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    transition: background-position 100ms linear;
}

/* ===== DUST CANVAS ===== */
#dust-canvas {
    position: fixed;
    top: 0;
    left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
    height: 100vh;
    pointer-events: none;
    z-index: 2;
}

/* ===== HERO SECTION ===== */
#hero {
    position: relative;
    width: calc(100% - var(--sidebar-width));
    margin-left: var(--sidebar-width);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 10;
}

#hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 300ms ease, opacity 300ms ease;
}

#hero-duotone-base {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 30% 40%, var(--parchment) 0%, var(--veined-gray) 40%, var(--muted-rose) 70%, var(--deep-burgundy) 100%);
    filter: grayscale(100%) contrast(1.1);
}

#hero-duotone-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--deep-burgundy) 0%, transparent 40%, var(--warm-cream) 100%);
    mix-blend-mode: multiply;
    opacity: 0.7;
}

#hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
}

#hero-title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(64px, 10vw, 120px);
    color: var(--warm-cream);
    letter-spacing: -0.03em;
    line-height: 1.05;
    text-shadow: 0 4px 32px rgba(26, 5, 9, 0.3);
}

#hero-subtitle {
    font-family: var(--font-display);
    font-weight: 400;
    font-style: italic;
    font-size: clamp(18px, 2.5vw, 28px);
    color: var(--muted-rose);
    margin-top: 16px;
    letter-spacing: 0.02em;
}

#scroll-chevron {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    animation: chevronPulse 2.5s ease-in-out infinite;
    opacity: 0.7;
}

@keyframes chevronPulse {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.7; }
    50% { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* ===== MAIN CONTENT ===== */
#content {
    position: relative;
    z-index: 10;
    margin-left: var(--sidebar-width);
    max-width: var(--max-width);
    padding: 0 48px 120px;
}

/* ===== SECTION HEADERS ===== */
.content-section {
    padding-top: 96px;
}

.section-header {
    margin-bottom: 64px;
    position: relative;
}

.section-label {
    font-family: var(--font-utility);
    font-weight: 300;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--muted-rose);
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(48px, 6vw, 80px);
    color: var(--deep-burgundy);
    letter-spacing: -0.03em;
    line-height: 1.05;
}

.section-subtitle {
    font-family: var(--font-display);
    font-weight: 400;
    font-style: italic;
    font-size: clamp(18px, 2vw, 28px);
    color: var(--burgundy-rose);
    margin-top: 12px;
}

/* ===== SALON GRID ===== */
.salon-row {
    display: flex;
    gap: var(--gutter);
    margin-bottom: 32px;
    align-items: flex-start;
}

/* Anchor Row: 8col + stacked 4col */
.anchor-row {
    min-height: 400px;
}

/* Breath Row: centered single block */
.breath-row {
    justify-content: center;
}

/* Gallery Row: 3-4 equal blocks */
.gallery-row {
    flex-wrap: wrap;
}

.salon-block-stack {
    display: flex;
    flex-direction: column;
    gap: var(--gutter);
    flex-shrink: 0;
}

/* Block Sizes */
.salon-block {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    background-color: var(--deep-burgundy);
    cursor: pointer;
    transition:
        border-radius var(--transition-morph),
        box-shadow var(--transition-morph),
        border-color var(--transition-morph);
    border: 1px solid transparent;
}

.salon-block:hover {
    border-radius: 6px;
    border-color: var(--antique-gold);
    box-shadow: 0 8px 32px rgba(74, 14, 27, 0.15);
}

/* Column widths based on 12-column grid */
.block-3col { width: calc(25% - var(--gutter) * 0.75); flex-shrink: 0; }
.block-4col { width: calc(33.333% - var(--gutter) * 0.67); flex-shrink: 0; }
.block-5col { width: calc(41.667% - var(--gutter) * 0.58); flex-shrink: 0; }
.block-6col { width: calc(50% - var(--gutter) * 0.5); flex-shrink: 0; }
.block-8col { width: calc(66.667% - var(--gutter) * 0.33); flex-shrink: 0; }

/* Aspect ratios */
.block-square .block-image { padding-bottom: 100%; }
.block-portrait .block-image { padding-bottom: 133%; }
.block-landscape .block-image { padding-bottom: 56.25%; }

/* ===== DUOTONE IMAGE BLOCKS ===== */
.block-image {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.block-image.duotone {
    background-color: var(--deep-burgundy);
}

.duotone-base {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: grayscale(100%) contrast(1.1);
    transition: filter 600ms ease;
}

.duotone-shadow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--deep-burgundy);
    mix-blend-mode: multiply;
    opacity: 0.65;
    transition: background-color 600ms ease, opacity 600ms ease;
}

.duotone-highlight {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--warm-cream);
    mix-blend-mode: screen;
    opacity: 0.3;
    transition: background-color 600ms ease, opacity 600ms ease;
}

/* Duotone hover intensification */
.salon-block:hover .duotone-shadow {
    background-color: var(--near-black);
    opacity: 0.75;
}

.salon-block:hover .duotone-highlight {
    background-color: var(--antique-gold);
    opacity: 0.4;
}

/* Marble texture backgrounds for each block */
.marble-texture-1 {
    background: linear-gradient(135deg, #d4c5b5 0%, #e8ddd0 25%, #c0b0a0 50%, #ddd0c0 75%, #f0e8dd 100%);
    background-size: 200% 200%;
}
.marble-texture-2 {
    background: linear-gradient(45deg, #c8b8a8 0%, #e0d5c8 30%, #b8a898 60%, #d5cbbe 100%);
}
.marble-texture-3 {
    background: linear-gradient(180deg, #ddd0c2 0%, #c5b5a5 40%, #e5dcd0 70%, #ccc0b2 100%);
}
.marble-texture-4 {
    background: linear-gradient(225deg, #e0d8cc 0%, #c2b2a2 35%, #ddd2c5 65%, #b8a898 100%);
}
.marble-texture-5 {
    background: radial-gradient(ellipse at 30% 60%, #e8e0d5 0%, #c8bbb0 50%, #ddd5c8 100%);
}
.marble-texture-6 {
    background: linear-gradient(90deg, #ccc2b5 0%, #e5ddd0 20%, #bfb2a5 45%, #d8d0c2 70%, #c5bbb0 100%);
}
.marble-texture-7 {
    background: linear-gradient(160deg, #f0e8dd 0%, #c8bdb2 30%, #e0d5c8 60%, #d0c5b8 100%);
    background-size: 150% 150%;
}
.marble-texture-8 {
    background: radial-gradient(circle at 70% 30%, #d5c8bb 0%, #e8e0d5 40%, #c0b5a8 80%);
}
.marble-texture-9 {
    background: linear-gradient(270deg, #e0d8cc 0%, #c5b8ab 50%, #ddd5c8 100%);
}
.marble-texture-10 {
    background: linear-gradient(0deg, #c8c0b5 0%, #ddd8cc 30%, #b8b0a5 60%, #e0d8cc 100%);
}
.marble-texture-11 {
    background: linear-gradient(120deg, #f0e8dd 0%, #d0c5b8 40%, #e5ddd2 80%);
}
.marble-texture-12 {
    background: radial-gradient(ellipse at 50% 50%, #e0d5c8 0%, #c8bbb0 50%, #d8d0c2 100%);
}
.marble-texture-13 {
    background: linear-gradient(200deg, #d5cbbe 0%, #e8e0d5 35%, #c0b5a8 70%, #ddd5c8 100%);
}
.marble-texture-14 {
    background: linear-gradient(45deg, #e5ddd0 0%, #c2b5a8 25%, #ddd2c5 50%, #c8bdb0 75%, #f0e8dd 100%);
    background-size: 200% 200%;
}
.marble-texture-15 {
    background: linear-gradient(300deg, #c8c0b5 0%, #e0d8cc 50%, #d0c5b8 100%);
}
.marble-texture-16 {
    background: radial-gradient(circle at 40% 60%, #ddd5c8 0%, #c5b8ab 60%, #e5ddd2 100%);
}
.marble-texture-17 {
    background: linear-gradient(150deg, #d8d0c2 0%, #f0e8dd 30%, #c0b5a8 60%, #e0d5c8 100%);
}

/* ===== BLOCK CAPTIONS ===== */
.block-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 16px;
    background: linear-gradient(to top, rgba(26, 5, 9, 0.8) 0%, transparent 100%);
    z-index: 3;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity var(--transition-morph), transform var(--transition-morph);
}

.salon-block:hover .block-caption {
    opacity: 1;
    transform: translateY(0);
}

.block-label {
    font-family: var(--font-utility);
    font-weight: 300;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--muted-rose);
    display: block;
    margin-bottom: 4px;
    transition: letter-spacing var(--transition-morph);
}

.salon-block:hover .block-label {
    letter-spacing: 0.03em;
}

.block-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
    color: var(--warm-ivory); /* #F5EDE0 on dark backgrounds */
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.block-meta {
    font-family: var(--font-display);
    font-weight: 400;
    font-style: italic;
    font-size: 14px;
    color: var(--muted-rose);
    margin-top: 4px;
}

/* ===== EGG AND DART BORDER ===== */
.egg-dart-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    z-index: 4;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='8' viewBox='0 0 32 8'%3E%3Cellipse cx='8' cy='4' rx='5' ry='3.5' fill='none' stroke='%239E6B7B' stroke-width='0.8'/%3E%3Cpath d='M18 1 L20 7 L22 1' fill='none' stroke='%239E6B7B' stroke-width='0.8'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-size: 32px 8px;
    opacity: 0.7;
}

/* ===== FLUTED COLUMN DIVIDER ===== */
.fluted-divider {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 64px;
    margin: 16px 0;
    position: relative;
}

.fluted-divider::before {
    content: '';
    display: block;
    width: 120px;
    height: 48px;
    background-image: repeating-linear-gradient(
        90deg,
        var(--veined-gray) 0px,
        var(--veined-gray) 1px,
        transparent 1px,
        transparent 4px,
        var(--muted-rose) 4px,
        var(--muted-rose) 5px,
        transparent 5px,
        transparent 10px
    );
    opacity: 0.35;
    border-radius: 1px;
}

/* ===== MORPH ANIMATION STATES ===== */
[data-morph] {
    opacity: 0;
    transform: scale(1.02);
    transition:
        opacity 800ms cubic-bezier(0.25, 0.1, 0.25, 1.0),
        transform 800ms cubic-bezier(0.25, 0.1, 0.25, 1.0),
        background-color 800ms cubic-bezier(0.25, 0.1, 0.25, 1.0),
        border-radius var(--transition-morph),
        box-shadow var(--transition-morph),
        border-color var(--transition-morph);
}

[data-morph].morphed {
    opacity: 1;
    transform: scale(1);
    background-color: transparent;
}

/* ===== ATELIER TEXT ===== */
.atelier-text {
    display: flex;
    gap: 48px;
    margin-bottom: 64px;
    max-width: 960px;
}

.text-column {
    flex: 1;
}

.text-column p {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 17px;
    line-height: 1.65;
    letter-spacing: 0.01em;
    color: var(--deep-charcoal);
    margin-bottom: 24px;
}

.text-column p:last-child {
    margin-bottom: 0;
}

/* ===== ARCHIVE LIST ===== */
.archive-list {
    max-width: 960px;
}

.archive-item {
    display: flex;
    align-items: baseline;
    padding: 20px 0;
    border-bottom: 1px solid var(--veined-gray);
    gap: 24px;
    transition: background-color 300ms ease;
}

.archive-item:first-child {
    border-top: 1px solid var(--veined-gray);
}

.archive-item:hover {
    background-color: var(--parchment);
}

.archive-year {
    font-family: var(--font-utility);
    font-weight: 300;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--muted-rose);
    flex-shrink: 0;
    width: 60px;
}

.archive-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    color: var(--deep-burgundy);
    letter-spacing: -0.03em;
    flex: 1;
}

.archive-type {
    font-family: var(--font-display);
    font-weight: 400;
    font-style: italic;
    font-size: 16px;
    color: var(--burgundy-rose);
    flex-shrink: 0;
    width: 160px;
}

.archive-link {
    flex-shrink: 0;
}

.archive-link a {
    font-family: var(--font-utility);
    font-weight: 300;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--antique-gold);
    position: relative;
    display: inline-block;
}

.archive-link a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--antique-gold);
    transition: width 300ms ease;
}

.archive-link a:hover::after {
    width: 100%;
}

/* ===== CONTACT ===== */
.contact-content {
    display: flex;
    gap: 64px;
    max-width: 960px;
    margin-bottom: 96px;
}

.contact-text {
    flex: 1;
}

.contact-text p {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 17px;
    line-height: 1.65;
    color: var(--deep-charcoal);
}

.contact-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-family: var(--font-utility);
    font-weight: 300;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--muted-rose);
}

.contact-value {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
    color: var(--deep-burgundy);
    letter-spacing: -0.03em;
}

a.contact-value {
    display: inline-block;
}

a.contact-value::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--antique-gold);
    transition: width 300ms ease;
}

a.contact-value:hover::after {
    width: 100%;
}

/* ===== FOOTER ===== */
.footer-line {
    padding: 48px 0;
    border-top: 1px solid var(--veined-gray);
}

.footer-text {
    font-family: var(--font-utility);
    font-weight: 300;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--muted-rose);
}

/* ===== INTERACTIVE LINK UNDERLINES ===== */
.nav-link::after,
.mobile-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--antique-gold);
    transition: width 300ms ease;
}

.nav-link:hover::after,
.mobile-link:hover::after {
    width: 100%;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    :root {
        --sidebar-width: 0px;
    }

    #sidebar {
        display: none;
    }

    #mobile-bar {
        display: flex;
    }

    #hero {
        margin-left: 0;
        width: 100%;
    }

    #hero-title {
        font-size: 48px;
    }

    #content {
        margin-left: 0;
        padding: 0 20px 80px;
    }

    .salon-row {
        flex-direction: column;
    }

    .block-3col, .block-4col, .block-5col, .block-6col, .block-8col {
        width: 100%;
    }

    .salon-block-stack {
        width: 100%;
    }

    .atelier-text {
        flex-direction: column;
        gap: 0;
    }

    .contact-content {
        flex-direction: column;
        gap: 32px;
    }

    .archive-item {
        flex-wrap: wrap;
        gap: 8px 16px;
    }

    .archive-type {
        width: auto;
    }

    .corner-mark {
        display: none;
    }

    .corner-tl, .corner-bl {
        left: 16px;
    }

    .section-title {
        font-size: 40px;
    }

    .block-caption {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    #hero-title {
        font-size: 36px;
    }

    .section-title {
        font-size: 32px;
    }

    .archive-name {
        font-size: 18px;
    }
}
