/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --parchment: #f3e8d0;
  --parchment-deep: #e8d5a3;
  --ink: #1a1208;
  --ink-light: #3d2e1c;
  --gold: #c49a2b;
  --gold-dim: #8b6914;
  --crimson: #6b1d1d;
  --crimson-glow: #a83232;
  --ember: #e8651a;
  --ember-dim: #8b3a0e;
  --frost: #b8d4e3;
  --frost-deep: #2c4a5e;
  --shadow: rgba(0,0,0,0.7);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'EB Garamond', 'Georgia', serif;
  background: #0d0905;
  color: var(--parchment);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* ===== EMBER CANVAS ===== */
#ember-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}

/* ===== ARCHIVE TIMELINE ===== */
.archive-timeline {
  width: 100%;
  padding: 1.5rem 1rem;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  background: rgba(13,9,5,0.9);
  border-bottom: 1px solid rgba(196,154,43,0.2);
}

.timeline-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.timeline-list a {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem;
  transition: all 0.3s ease;
}

.timeline-num {
  font-family: 'Cinzel Decorative', serif;
  font-size: 0.9rem;
  color: var(--gold-dim);
  transition: color 0.3s ease;
}

.timeline-label {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(243,232,208,0.4);
  transition: color 0.3s ease;
}

.timeline-list a:hover .timeline-num,
.timeline-list a:focus .timeline-num {
  color: var(--gold);
}

.timeline-list a:hover .timeline-label,
.timeline-list a:focus .timeline-label {
  color: var(--parchment);
}

/* Connecting line */
.timeline-list::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 2rem;
  right: 2rem;
  height: 1px;
  background: rgba(196,154,43,0.15);
  z-index: -1;
}

/* ===== MAIN CONTENT ===== */
main {
  position: relative;
  z-index: 2;
  margin-top: 120px; /* clears the fixed nav */
  padding: 3rem 2rem;
  min-height: 100vh;
}

.introduction {
  display: flex;
  align-items: center;
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.introduction-text-wrapper {
  flex: 1;
  background: rgba(26,18,8,0.8);
  border: 1px solid rgba(196,154,43,0.25);
  padding: 2.5rem;
  position: relative;
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Decorative corner accents */
.introduction-text-wrapper::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  width: 20px;
  height: 20px;
  border-top: 1px solid var(--gold-dim);
  border-left: 1px solid var(--gold-dim);
}

.introduction-text-wrapper::after {
  content: '';
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  border-bottom: 1px solid var(--gold-dim);
  border-right: 1px solid var(--gold-dim);
}

.introduction-title {
  font-family: 'Cinzel Decorative', serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--gold);
  margin-bottom: 1.5rem;
  text-shadow: 0 0 40px rgba(196,154,43,0.2);
}

.introduction-text {
  font-size: 1.15rem;
  color: var(--parchment-deep);
  font-style: italic;
  line-height: 1.8;
  max-width: 450px;
}

#levels-image {
  width: 300px;
  height: auto;
  opacity: 0.85;
  filter: sepia(0.3);
  transition: filter 0.4s ease;
  position: right;
}

#levels-image:hover {
  filter: sepia(0.1) brightness(1.1);
}

/* ===== MOBILE ===== */
@media (max-width: 700px) {
  .timeline-list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem;
  }
  
  .timeline-label {
    font-size: 0.55rem;
  }

  .introduction {
    flex-direction: column;
    text-align: center;
  }

  .introduction-text {
    max-width: 100%;
  }

  #levels-image {
    width: 200px;
  }
}

/* ===== SEAL THE LETTER SECTION ===== */

/* ===== TESTIMONY SECTION ===== */
.testimony-section {
    position: relative;
    z-index: 2;
    padding: 4rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

.testimony-container {
    position: relative;
    max-width: 500px;
    width: 100%;
    perspective: 1000px;
}

/* ===== QUILL DECORATION ===== */
.quill-decoration {
    position: absolute;
    top: -40px;
    right: -20px;
    z-index: 3;
    transform: rotate(15deg);
    animation: quillFloat 3s ease-in-out infinite;
}

.quill-svg {
    width: 40px;
    height: 120px;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
}

@keyframes quillFloat {
    0%, 100% { transform: rotate(15deg) translateY(0); }
    50% { transform: rotate(17deg) translateY(-5px); }
}

/* ===== LIBRARIAN INVITATION ===== */
.librarian-invitation {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.invitation-text {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.dropcap {
    font-family: 'Cinzel Decorative', serif;
    font-size: 2.5rem;
    float: left;
    line-height: 0.8;
    margin-right: 0.5rem;
    color: var(--crimson-glow);
    text-shadow: 0 0 10px rgba(168,50,50,0.3);
}

.invitation-subtext {
    font-family: 'EB Garamond', serif;
    font-style: italic;
    color: var(--parchment-deep);
    opacity: 0.7;
}

/* ===== PARCHMENT LETTER ===== */
.parchment-letter {
    position: relative;
    width: 100%;
    background: 
        /* Parchment texture using CSS gradients */
        linear-gradient(135deg, 
            rgba(139,119,80,0.1) 0%, 
            transparent 50%,
            rgba(139,119,80,0.1) 100%),
        linear-gradient(45deg,
            #e8d5a3 0%,
            #f3e8d0 20%,
            #ead9b0 40%,
            #f3e8d0 60%,
            #e6d0a0 80%,
            #f3e8d0 100%);
    border: 2px solid #9b7a3c;
    border-radius: 8px;
    box-shadow: 
        0 20px 60px rgba(0,0,0,0.5),
        0 0 0 1px rgba(196,154,43,0.2),
        inset 0 0 40px rgba(255,255,255,0.1);
    transform: rotate(-1deg);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.parchment-letter:hover {
    transform: rotate(-0.5deg);
}

/* Parchment texture overlay */
.parchment-texture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(139,119,80,0.03) 2px,
            rgba(139,119,80,0.03) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 10px,
            rgba(139,119,80,0.02) 10px,
            rgba(139,119,80,0.02) 11px
        );
    pointer-events: none;
    z-index: 1;
}

/* ===== BURNT CORNERS ===== */
.burnt-corner {
    position: absolute;
    width: 30px;
    height: 30px;
    z-index: 2;
    pointer-events: none;
}

.burnt-corner::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at var(--corner-position),
        rgba(26,18,8,0.8) 0%,
        rgba(26,18,8,0.4) 40%,
        transparent 70%
    );
    border-radius: 50%;
}

.top-left {
    top: -2px;
    left: -2px;
    --corner-position: top left;
}

.top-right {
    top: -2px;
    right: -2px;
    --corner-position: top right;
}

.bottom-left {
    bottom: -2px;
    left: -2px;
    --corner-position: bottom left;
}

.bottom-right {
    bottom: -2px;
    right: -2px;
    --corner-position: bottom right;
}

/* ===== LETTER CONTENT ===== */
.letter-content {
    position: relative;
    z-index: 3;
    padding: 2.5rem 2rem;
    transition: opacity 0.5s ease;
}

.letter-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.3rem;
    color: #2b1d0e;
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 0 rgba(255,255,255,0.3);
}

.letter-body {
    position: relative;
}

.dear-librarian {
    font-family: 'EB Garamond', serif;
    font-style: italic;
    font-size: 1.1rem;
    color: #2b1d0e;
    display: block;
    margin-bottom: 1rem;
}

/* ===== TESTIMONY INPUT ===== */
.testimony-input {
    width: 100%;
    min-height: 120px;
    background: transparent;
    border: none;
    border-bottom: 1px dashed rgba(43,29,14,0.3);
    padding: 0.5rem 0;
    font-family: 'EB Garamond', serif;
    font-size: 1.05rem;
    color: #2b1d0e;
    line-height: 1.6;
    resize: vertical;
    outline: none;
    transition: border-color 0.3s ease;
}

.testimony-input::placeholder {
    color: rgba(43,29,14,0.4);
    font-style: italic;
}

.testimony-input:focus {
    border-bottom-color: var(--gold);
}

/* ===== SIGNATURE LINE ===== */
.signature-line {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(43,29,14,0.2);
}

.signature-label {
    font-family: 'EB Garamond', serif;
    font-style: italic;
    color: #2b1d0e;
    display: block;
    margin-bottom: 0.5rem;
}

.signature-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(43,29,14,0.3);
    padding: 0.3rem 0;
    font-family: 'EB Garamond', serif;
    font-size: 1rem;
    color: #2b1d0e;
    outline: none;
}

.signature-input::placeholder {
    color: rgba(43,29,14,0.4);
    font-style: italic;
}

/* ===== SEAL BUTTON ===== */
.seal-button {
    width: 100%;
    margin-top: 2rem;
    padding: 1rem;
    background: linear-gradient(180deg, #8b1a1a 0%, #6b1515 100%);
    border: 2px solid #4a0f0f;
    border-radius: 6px;
    color: var(--parchment);
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.seal-button:hover {
    background: linear-gradient(180deg, #a83232 0%, #8b1a1a 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.seal-button:active {
    transform: translateY(0);
}

.seal-icon {
    font-size: 1.2rem;
}

/* ===== WAX SEAL ===== */
.wax-seal {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8b1a1a 0%, #6b1515 50%, #4a0f0f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 4px 15px rgba(0,0,0,0.4),
        inset 0 2px 5px rgba(255,255,255,0.1);
    opacity: 0;
    transform: scale(0);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    z-index: 4;
}

.wax-seal.visible {
    opacity: 1;
    transform: scale(1);
}

.seal-emblem {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1rem;
    color: rgba(243,232,208,0.8);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* ===== SEALED STATE ===== */
.letter-sealed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    padding: 2rem;
}

.sealed-content {
    text-align: center;
    animation: fadeInUp 0.8s ease;
}

.sealed-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: sealPulse 2s ease-in-out infinite;
}

.sealed-message {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    color: #2b1d0e;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.sealed-submessage {
    font-family: 'EB Garamond', serif;
    font-style: italic;
    color: rgba(43,29,14,0.7);
    margin-bottom: 2rem;
}

.write-another {
    padding: 0.8rem 1.5rem;
    background: transparent;
    border: 1px solid rgba(43,29,14,0.3);
    border-radius: 4px;
    color: #2b1d0e;
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.write-another:hover {
    background: rgba(43,29,14,0.1);
    border-color: rgba(43,29,14,0.5);
}

/* ===== DUST PARTICLES ===== */
.dust-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.dust-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(243,232,208,0.6);
    border-radius: 50%;
    animation: dustFloat 5s ease-in-out infinite;
}

@keyframes dustFloat {
    0%, 100% { 
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% { opacity: 0.6; }
    90% { opacity: 0.2; }
    100% { 
        transform: translateY(-20px) translateX(10px);
        opacity: 0;
    }
}

@keyframes sealPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 700px) {
    .testimony-section {
        padding: 2rem 1rem;
    }
    
    .letter-content {
        padding: 2rem 1.5rem;
    }
    
    .quill-decoration {
        right: -10px;
        top: -30px;
    }
    
    .quill-svg {
        width: 30px;
        height: 90px;
    }
}


/* ===== FLOATING ARCHIVE ===== */
.floating-archive {
    position: relative;
    z-index: 2;
    padding: 6rem 2rem;
    min-height: 100vh;
    overflow: hidden;
    background: 
        radial-gradient(ellipse at center, rgba(13,9,5,0.3) 0%, rgba(13,9,5,0.9) 70%),
        linear-gradient(180deg, rgba(13,9,5,0.95) 0%, rgba(26,18,8,0.8) 30%, rgba(13,9,5,0.95) 100%);
}

.archive-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 3;
}

.archive-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--gold);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 30px rgba(196,154,43,0.2);
}

.archive-subtitle {
    font-family: 'EB Garamond', serif;
    font-style: italic;
    color: var(--parchment-deep);
    opacity: 0.6;
    font-size: 1.1rem;
}

/* ===== FLOATING ARCHIVE - CORRECTED ===== */
.floating-archive {
    position: relative;
    z-index: 2;
    padding: 6rem 2rem;
    min-height: 100vh;
    overflow: hidden;
    background: 
        radial-gradient(ellipse at center, rgba(13,9,5,0.3) 0%, rgba(13,9,5,0.95) 70%),
        linear-gradient(180deg, rgba(13,9,5,0.95) 0%, rgba(26,18,8,0.8) 30%, rgba(13,9,5,0.95) 100%);
}

.archive-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 3;
}

.archive-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--gold);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 30px rgba(196,154,43,0.2);
}

.archive-subtitle {
    font-family: 'EB Garamond', serif;
    font-style: italic;
    color: var(--parchment-deep);
    opacity: 0.6;
    font-size: 1.1rem;
}

/* ===== FLOATING ARCHIVE - CORRECTED ===== */
.floating-archive {
    position: relative;
    z-index: 2;
    padding: 6rem 2rem;
    min-height: 100vh;
    overflow: hidden;
    background: 
        radial-gradient(ellipse at center, rgba(13,9,5,0.3) 0%, rgba(13,9,5,0.95) 70%),
        linear-gradient(180deg, rgba(13,9,5,0.95) 0%, rgba(26,18,8,0.8) 30%, rgba(13,9,5,0.95) 100%);
}

.archive-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 3;
}

.archive-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--gold);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 30px rgba(196,154,43,0.2);
}

.archive-subtitle {
    font-family: 'EB Garamond', serif;
    font-style: italic;
    color: var(--parchment-deep);
    opacity: 0.6;
    font-size: 1.1rem;
}
/* Replace the floating archive CSS */
/* ===== FLOATING ARCHIVE - SIMPLIFIED ===== */
.floating-archive {
    position: relative;
    z-index: 2;
    padding: 6rem 2rem;
    min-height: 100vh;
    overflow: hidden;
    background: radial-gradient(ellipse at center, rgba(13,9,5,0.3) 0%, rgba(13,9,5,0.95) 70%);
}

.archive-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 3;
}

.archive-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--gold);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 30px rgba(196,154,43,0.2);
}

.archive-subtitle {
    font-family: 'EB Garamond', serif;
    font-style: italic;
    color: var(--parchment-deep);
    opacity: 0.6;
    font-size: 1.1rem;
}

.letters-sea {
    position: relative;
    width: 100%;
    height: 600px;
}

.floating-letter {
    position: absolute;
    width: 220px;
    padding: 1.5rem;
    background: rgba(26, 18, 8, 0.85);
    border: 1px solid rgba(196, 154, 43, 0.25);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.floating-letter:hover {
    border-color: rgba(196, 154, 43, 0.7);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5), 0 0 30px rgba(196, 154, 43, 0.2);
    z-index: 10 !important;
    transform: scale(1.1) !important;
}

.letter-sender {
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    color: var(--gold);
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid rgba(196, 154, 43, 0.2);
}

.letter-excerpt {
    font-family: 'EB Garamond', serif;
    font-style: italic;
    font-size: 0.85rem;
    color: rgba(243, 232, 208, 0.85);
    line-height: 1.5;
    margin-bottom: 0.5rem;
    max-height: 4.5em;
    overflow: hidden;
}

.letter-circle {
    font-family: 'Cinzel', serif;
    font-size: 0.65rem;
    color: rgba(196, 154, 43, 0.5);
    letter-spacing: 0.15em;
    text-align: right;
}

.letter-wax {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 24px;
    height: 24px;
    background: #6b1d1d;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
    border: 1px solid rgba(196, 154, 43, 0.3);
}

.sea-fog {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(0deg, rgba(13,9,5,0.9) 0%, transparent 100%);
    pointer-events: none;
    z-index: 4;
}

.letter-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.letter-modal-content {
    background: #f3e8d0;
    border: 2px solid #9b7a3c;
    border-radius: 8px;
    padding: 2.5rem;
    max-width: 550px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    color: #2b1d0e;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 35px;
    height: 35px;
    border: 1px solid rgba(43, 29, 14, 0.3);
    border-radius: 50%;
    background: none;
    color: #2b1d0e;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close-btn:hover {
    background: rgba(43, 29, 14, 0.1);
}

.modal-letter-sender {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.modal-letter-message {
    font-family: 'EB Garamond', serif;
    font-size: 1.1rem;
    line-height: 1.8;
    font-style: italic;
    margin: 1.5rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(43, 29, 14, 0.2);
    border-bottom: 1px solid rgba(43, 29, 14, 0.2);
}

.modal-letter-footer {
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    color: rgba(43, 29, 14, 0.6);
    display: flex;
    justify-content: space-between;
}

/* ===== NEW FORM FIELDS ===== */
.date-line {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(43, 29, 14, 0.15);
}

.circle-line {
    margin-bottom: 1.2rem;
}

.field-label {
    font-family: 'EB Garamond', serif;
    font-style: italic;
    font-size: 0.95rem;
    color: #2b1d0e;
    display: block;
    margin-bottom: 0.3rem;
}

.date-input {
    width: 100%;
    padding: 0.5rem;
    background: rgba(243, 232, 208, 0.5);
    border: 1px solid rgba(43, 29, 14, 0.2);
    border-radius: 4px;
    font-family: 'EB Garamond', serif;
    font-size: 0.95rem;
    color: #2b1d0e;
    cursor: pointer;
    outline: none;
    transition: border-color 0.3s ease;
}

.date-input:focus {
    border-color: var(--gold);
}

.circle-select {
    width: 100%;
    padding: 0.5rem;
    background: rgba(243, 232, 208, 0.5);
    border: 1px solid rgba(43, 29, 14, 0.2);
    border-radius: 4px;
    font-family: 'EB Garamond', serif;
    font-size: 0.95rem;
    color: #2b1d0e;
    cursor: pointer;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232b1d0e' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px;
    transition: border-color 0.3s ease;
}

.circle-select:focus {
    border-color: var(--gold);
}

.circle-select option {
    background: #f3e8d0;
    color: #2b1d0e;
    font-family: 'EB Garamond', serif;
}

/* Adjust spacing since we added more fields */
.dear-librarian {
    margin-top: 0.5rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 700px) {
    .date-input,
    .circle-select {
        font-size: 0.85rem;
        padding: 0.4rem;
    }
    
    .field-label {
        font-size: 0.85rem;
    }
}

