:root {
  --primary: #b83fa8;      
  --primary-dark: #8f2c83; 
  --secondary: #231a24;    
  --accent: #f8c830;       
  --pink-soft: #f898f8;    
  --brand-pink: #f898f8;   
  --sky: #d8f0f0;          
  --light: #fdf0fd;        
  --dark: #231a24;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  --font-head: "Georgia", "Times New Roman", serif;
  --font-body: "Segoe UI", Tahoma, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--dark); background: var(--white); line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
.container { width: min(1120px, 92%); margin-inline: auto; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 0.6rem; color: var(--primary); }
section { padding: 4rem 0; }
.section-intro { max-width: 640px; margin-bottom: 2rem; }
.center { text-align: center; margin-inline: auto; }

/* ---------- Header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.07); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 0.7rem 0; }
.brand { display: flex; align-items: center; gap: 0.7rem; font-family: var(--font-head); font-weight: bold; font-size: 1.15rem; color: var(--primary); }
.brand img { height: 68px; width: auto; }
.brand .logo-placeholder { height: 52px; width: 52px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 1.2rem; }
.nav-links { display: flex; gap: 1.6rem; list-style: none; align-items: center; }
.nav-links a { color: var(--dark); font-weight: 600; padding: 0.3rem 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); border-color: var(--primary); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.8rem; cursor: pointer; color: var(--primary); }

/* ---------- Buttons ---------- */
.btn { display: inline-block; padding: 0.8rem 1.6rem; border-radius: 999px; font-weight: 700; border: 2px solid var(--primary); background: var(--primary); color: #fff; cursor: pointer; font-size: 1rem; transition: 0.2s; }
.btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--primary); }
.btn-outline:hover { color: #fff; }
.btn-light { background: #fff; color: var(--primary); border-color: #fff; }
.btn-light:hover { background: var(--accent); border-color: var(--accent); color: var(--dark); }
.btn-dark { background: var(--dark); border-color: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--primary); border-color: var(--primary); }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(135deg, var(--brand-pink), #f2b6e6 55%, var(--sky)); color: var(--dark); padding: 5.5rem 0; text-align: center; }
.hero h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); margin-bottom: 0.8rem; }
.hero p { font-size: 1.25rem; max-width: 640px; margin: 0 auto 2rem; opacity: 0.95; }
.hero .btn + .btn { margin-left: 0.6rem; }
.hero .btn-outline { color: var(--dark); border-color: var(--dark); }
.hero .btn-outline:hover { background: var(--dark); color: #fff; }
.hero-logo { width: min(240px, 60%); margin: 0 auto 1.2rem; background: #fff; border-radius: 24px; padding: 0.6rem; box-shadow: var(--shadow); }
.page-banner { background: linear-gradient(135deg, var(--brand-pink), #f2b6e6 60%, var(--sky)); color: var(--dark); text-align: center; padding: 3.2rem 0; }
.page-banner h1 { font-size: clamp(2rem, 5vw, 3rem); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--white); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); border-top: 4px solid var(--accent); }
.card .icon { font-size: 2.2rem; margin-bottom: 0.6rem; }
.card h3 { color: var(--primary); margin-bottom: 0.4rem; }
.bg-light { background: var(--light); }
.card:nth-child(2) { border-top-color: var(--pink-soft); }
.card:nth-child(3) { border-top-color: var(--sky); }
.cta-band { background: var(--secondary); color: #fff; text-align: center; }
.cta-band h2 { color: var(--brand-pink); }
.cta-band p { margin-bottom: 1.4rem; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: center; }
.photo-placeholder { aspect-ratio: 4/5; border-radius: var(--radius); background: linear-gradient(160deg, var(--sky), var(--brand-pink)); display: grid; place-items: center; color: var(--dark); font-size: 1rem; text-align: center; padding: 1rem; box-shadow: var(--shadow); }
.about-text p { margin-bottom: 1rem; }
.quote { border-left: 4px solid var(--accent); padding-left: 1rem; font-style: italic; color: var(--dark); margin: 1.2rem 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 2.5rem; }
.contact-info li { list-style: none; margin-bottom: 1.1rem; display: flex; gap: 0.8rem; }
.contact-info .icon { font-size: 1.4rem; }
form { background: var(--white); padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow); }
label { display: block; font-weight: 600; margin: 0.9rem 0 0.3rem; }
input, select, textarea { width: 100%; padding: 0.75rem 0.9rem; border: 1.5px solid #ddd; border-radius: 10px; font: inherit; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(184,63,168,0.18); }
textarea { min-height: 130px; resize: vertical; }
.form-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.3rem; }
.form-note { font-size: 0.85rem; color: #666; margin-top: 0.8rem; }
.map-wrap { margin-top: 2rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-wrap iframe { width: 100%; height: 320px; border: 0; }

/* ---------- Catalogue ---------- */
.catalogue-toolbar { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filter-btn { padding: 0.45rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--primary); background: #fff; color: var(--primary); font-weight: 600; cursor: pointer; }
.filter-btn.active, .filter-btn:hover { background: var(--primary); color: #fff; }
.costume-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; }
.costume { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; break-inside: avoid; }
.costume .thumb { aspect-ratio: 3/4; background: linear-gradient(160deg, var(--sky), var(--brand-pink)); display: grid; place-items: center; color: #fff; font-size: 3rem; }
.costume .thumb img { width: 100%; height: 100%; object-fit: cover; }
.costume .info { padding: 1rem 1.1rem 1.2rem; }
.costume h3 { font-size: 1.05rem; color: var(--dark); }
.tag { display: inline-block; font-size: 0.75rem; font-weight: 700; padding: 0.15rem 0.6rem; border-radius: 999px; background: var(--light); color: var(--primary); margin-right: 0.3rem; margin-top: 0.4rem; }
.costume .enquire { margin-top: 0.8rem; font-size: 0.9rem; font-weight: 700; display: inline-block; }
.print-header { display: none; }
.print-header img { display: block; }
.empty { text-align: center; padding: 2rem; color: #777; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #ddd; padding: 2.5rem 0 1rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; margin-bottom: 1.5rem; }
.site-footer h3 { color: var(--brand-pink); margin-bottom: 0.6rem; font-size: 1.1rem; }
.site-footer a { color: #ddd; }
.site-footer a:hover { color: var(--accent); }
.copyright { border-top: 1px solid #443a4a; padding-top: 1rem; text-align: center; font-size: 0.85rem; }

/* ---------- Responsive ---------- */
@media (max-width: 800px) {
  .nav-toggle { display: block; }
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 1rem 0; gap: 1rem; box-shadow: 0 8px 14px rgba(0,0,0,0.08); display: none; }
  .nav-links.open { display: flex; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero .btn + .btn { margin: 0.6rem 0 0; }
}

/* ---------- Print = downloadable catalogue (Save as PDF) ---------- */
@media print {
  .site-header, .site-footer, .page-banner, .catalogue-toolbar, .cta-band, .no-print { display: none !important; }
  .print-header { display: block; text-align: center; margin-bottom: 1rem; }
  .print-header h1 { color: var(--primary); }
  .print-header img { height: 90px; margin: 0 auto 0.5rem; }
  section { padding: 0; }
  .costume-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .costume { box-shadow: none; border: 1px solid #ddd; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Bianca's portrait */
.portrait { width: 100%; max-width: 380px; margin-inline: auto; border-radius: var(--radius); border: 6px solid var(--brand-pink); box-shadow: var(--shadow); }

/* Catalogue age-group sections */
.filter-rows { display: grid; gap: 0.7rem; }
.age-group { margin-bottom: 3rem; }
.age-heading { color: var(--primary); border-bottom: 3px solid var(--accent); padding-bottom: 0.4rem; margin-bottom: 1.4rem; }
@media print {
  .age-group { break-before: page; margin-bottom: 0; }
  .age-heading { margin-top: 0.5rem; }
}

/* ---------- PDF cover page (hidden on screen, page 1 of the printed catalogue) ---------- */
.print-cover { display: none; }
@media print {
  .print-header { display: none !important; }
  .print-cover {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; height: 100vh; padding: 2cm 1.5cm; box-sizing: border-box;
    break-after: page; page-break-after: always;
    background: linear-gradient(160deg, var(--brand-pink), #f2b6e6 55%, var(--sky));
    border-radius: 18px;
  }
  .cover-logo { width: 9cm; background: #fff; border-radius: 28px; padding: 0.4cm; box-shadow: 0 6px 20px rgba(0,0,0,0.12); margin-bottom: 1cm; }
  .print-cover h1 { font-size: 40pt; color: var(--dark); margin-bottom: 0.3cm; }
  .cover-tagline { font-size: 15pt; color: var(--dark); margin-bottom: 0.4cm; }
  .cover-sub { font-size: 11pt; color: var(--primary-dark); font-weight: 700; margin-bottom: 2cm; }
  .cover-contact { font-size: 11pt; color: var(--dark); line-height: 1.7; background: rgba(255,255,255,0.7); padding: 0.6cm 1cm; border-radius: 14px; }
  .cover-year { margin-top: 1.2cm; font-size: 12pt; color: var(--dark); letter-spacing: 3px; }
}

/* ---------- PDF contents page ---------- */
.print-toc { display: none; }
@media print {
  .print-toc { display: block; height: 100vh; padding: 3cm 2cm; box-sizing: border-box; break-after: page; page-break-after: always; }
  .print-toc h1 { font-size: 30pt; color: var(--primary); border-bottom: 3px solid var(--accent); padding-bottom: 0.3cm; margin-bottom: 1cm; }
  .toc-list { list-style: none; }
  .toc-list li { margin-bottom: 0.6cm; }
  .toc-list a { display: flex; align-items: baseline; gap: 0.3cm; font-size: 16pt; color: var(--dark); text-decoration: none; }
  .toc-num { color: var(--primary); font-weight: 700; min-width: 0.8cm; }
  .toc-title { font-family: var(--font-head); font-weight: 700; }
  .toc-dots { flex: 1; border-bottom: 2px dotted #bbb; transform: translateY(-3px); }
  .toc-count { font-size: 12pt; color: var(--primary-dark); }
  .toc-note { margin-top: 2cm; font-size: 11pt; color: #555; background: var(--light); padding: 0.5cm 0.7cm; border-radius: 12px; }
}

/* ---------- Photo viewer ---------- */
.costume .thumb { position: relative; }
.thumb-btn { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.thumb-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.zoom-hint { position: absolute; right: 0.6rem; bottom: 0.6rem; background: rgba(35,26,36,0.7); color: #fff; font-size: 0.75rem; font-weight: 700; padding: 0.2rem 0.7rem; border-radius: 999px; pointer-events: none; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(20,12,22,0.92); display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 1rem; }
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; max-width: min(760px, 80vw); max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 0.8rem; }
.lb-img { max-width: 100%; max-height: 68vh; object-fit: contain; border-radius: 12px; background: #fff; }
.lb-caption { color: #fff; text-align: center; font-size: 1rem; line-height: 1.6; }
.lb-caption .tag { background: rgba(255,255,255,0.15); color: #fff; }
.lb-enquire { margin-top: 0.6rem; padding: 0.5rem 1.2rem; font-size: 0.9rem; }
.lb-count { margin-top: 0.4rem; font-size: 0.8rem; opacity: 0.7; }
.lb-close { position: absolute; top: 0.8rem; right: 1rem; background: none; border: 0; color: #fff; font-size: 2.6rem; line-height: 1; cursor: pointer; }
.lb-nav { background: rgba(255,255,255,0.15); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; flex: none; }
.lb-nav:hover, .lb-close:hover { background: var(--primary); }
@media (max-width: 600px) {
  .lb-nav { position: absolute; bottom: 1rem; }
  .lb-prev { left: 1rem; } .lb-next { right: 1rem; }
  .lb-figure { max-width: 100%; }
}
@media print { .lightbox, .zoom-hint { display: none !important; } }