/* ============================================================
   TIME TRAVEL COSTUMES — Global Stylesheet
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Cinzel+Decorative:wght@400;700&family=Raleway:wght@300;400;500&display=swap');

:root {
  --ink:        #1a1410;
  --parchment:  #f5f0e8;
  --cream:      #faf7f2;
  --gold:       #b8924a;
  --gold-light: #d4a96a;
  --gold-pale:  #f0e6d0;
  --muted:      #6b6156;
  --border:     rgba(184,146,74,0.28);
  --shadow:     rgba(26,20,16,0.10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Cormorant Garamond', Georgia, serif;
  background: var(--cream);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.75;
}

/* ── HEADER ── */
header {
  background: var(--ink);
  color: var(--parchment);
  text-align: center;
  padding: 52px 24px 40px;
  position: relative;
  overflow: hidden;
}
header::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg,
    rgba(184,146,74,.04) 0, rgba(184,146,74,.04) 1px,
    transparent 1px, transparent 50%);
  background-size: 20px 20px;
  pointer-events: none;
}
.hdr-ornament {
  color: var(--gold); font-size: 11px; letter-spacing: 5px;
  text-transform: uppercase; font-family: 'Raleway', sans-serif;
  margin-bottom: 12px; position: relative;
}
header h1 {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(20px, 5.5vw, 52px);
  font-weight: 400; letter-spacing: 3px;
  color: var(--parchment); line-height: 1.15; position: relative;
}
.hdr-tagline {
  font-style: italic; font-weight: 300; font-size: 18px;
  color: var(--gold-light); letter-spacing: 2px;
  margin-top: 10px; position: relative;
}
.hdr-rule {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; margin: 22px auto 0; max-width: 320px; position: relative;
}
.hdr-rule::before, .hdr-rule::after {
  content: ''; flex: 1; height: 1px; background: var(--gold); opacity: .45;
}
.hdr-rule span { color: var(--gold); font-size: 16px; }

/* ── NAV ── */
nav {
  background: var(--ink);
  border-top: 1px solid rgba(184,146,74,.2);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.4);
}
nav ul {
  display: flex; list-style: none;
  justify-content: center; flex-wrap: wrap; padding: 0 12px;
}
nav li a {
  display: block; padding: 14px 16px;
  color: rgba(245,240,232,.75); text-decoration: none;
  font-family: 'Raleway', sans-serif; font-size: 10.5px;
  font-weight: 500; letter-spacing: 2px; text-transform: uppercase;
  transition: color .2s; position: relative;
}
nav li a::after {
  content: ''; position: absolute; bottom: 7px; left: 16px; right: 16px;
  height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .25s;
}
nav li a:hover { color: var(--gold-light); }
nav li a:hover::after, nav li a.active::after { transform: scaleX(1); }
nav li a.active { color: var(--gold); }

/* ── LAYOUT ── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.page-hero {
  background: var(--ink); color: var(--parchment);
  padding: 64px 24px; text-align: center; position: relative;
}
.page-hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.page-hero h2 {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(16px, 3.5vw, 30px); font-weight: 400; letter-spacing: 1.5px;
}
.page-hero p { font-style: italic; color: var(--gold-light); margin-top: 10px; font-size: 16px; }
.page-content { padding: 64px 28px; }
h2.section-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(14px, 2.8vw, 24px); font-weight: 400;
  color: var(--ink); letter-spacing: 1px; margin-bottom: 10px;
}
.gold-rule { width: 56px; height: 2px; background: var(--gold); margin: 0 0 40px; }

/* ── BUTTONS ── */
.btn {
  display: inline-block; padding: 11px 28px;
  border: 1px solid var(--gold); color: var(--gold);
  font-family: 'Raleway', sans-serif; font-size: 10.5px;
  font-weight: 500; letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none; transition: all .25s; cursor: pointer;
  background: transparent;
}
.btn:hover { background: var(--gold); color: var(--ink); }
.btn-sm { padding: 7px 16px; font-size: 9.5px; }

/* ── PORTFOLIO GRID ── */
.port-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 3px;
}
.port-card {
  position: relative; overflow: hidden;
  cursor: pointer; aspect-ratio: 3/4; background: var(--ink);
  text-decoration: none; display: block;
}
.port-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .55s, opacity .3s; opacity: .87; display: block;
}
.port-card:hover img { transform: scale(1.07); opacity: .55; }
.port-card .card-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(20,14,10,.92) 0%, transparent 100%);
  padding: 44px 18px 18px;
}
.port-card .card-label h3 {
  font-size: 16px; font-weight: 400; color: var(--parchment); margin-bottom: 3px;
}
.port-card .card-label span {
  font-size: 11px; color: var(--gold-light);
  font-family: 'Raleway', sans-serif; letter-spacing: 1px;
}

/* ── FILTER BAR ── */
.filter-bar { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 40px; }
.filter-btn {
  padding: 7px 15px; border: 1px solid var(--border);
  background: transparent; color: var(--muted);
  font-family: 'Raleway', sans-serif; font-size: 10px;
  letter-spacing: 1.5px; text-transform: uppercase;
  cursor: pointer; transition: all .2s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--ink); color: var(--parchment); border-color: var(--ink);
}

/* ── DETAIL / COSTUME PAGE ── */
.costume-header { margin-bottom: 40px; }
.costume-header h1 {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(16px, 3.5vw, 30px); font-weight: 400; margin-bottom: 14px;
}
.costume-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.meta-tag {
  font-family: 'Raleway', sans-serif; font-size: 10.5px;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--muted); background: var(--parchment);
  padding: 6px 14px; border: 1px solid var(--border);
}
.meta-tag b { color: var(--gold); }
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold); font-family: 'Raleway', sans-serif;
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none; margin-bottom: 32px; transition: color .2s;
}
.back-link::before { content: '←'; font-size: 16px; }
.back-link:hover { color: var(--ink); }

/* ── GALLERY ── */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 3px; margin-bottom: 48px;
}
.gallery img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover;
  display: block; cursor: zoom-in; transition: opacity .2s;
}
.gallery img:hover { opacity: .85; }
.gallery img.landscape { aspect-ratio: 4/3; }
.gallery img.wide { grid-column: span 2; aspect-ratio: 16/9; }

/* ── BODY TEXT ── */
.costume-body { max-width: 720px; font-size: 17px; color: var(--muted); line-height: 1.95; }
.costume-body p { margin-bottom: 18px; }
.costume-body ul { padding-left: 22px; margin-bottom: 16px; }
.costume-body li { margin-bottom: 6px; }
.costume-body a { color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--border); }
.costume-body a:hover { border-color: var(--gold); }
.costume-body h3 {
  font-family: 'Cinzel Decorative', serif; font-size: 14px;
  font-weight: 400; color: var(--gold); margin: 28px 0 12px;
}

/* ── LIGHTBOX ── */
#lightbox {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(8,6,4,.97); align-items: center; justify-content: center;
  cursor: zoom-out;
}
#lightbox.open { display: flex; }
#lightbox img { max-width: 92vw; max-height: 92vh; object-fit: contain; }
#lb-close {
  position: fixed; top: 20px; right: 24px;
  color: var(--parchment); font-size: 30px; cursor: pointer;
  background: none; border: none; opacity: .6; transition: opacity .2s;
}
#lb-close:hover { opacity: 1; }
#lb-prev, #lb-next {
  position: fixed; top: 50%; transform: translateY(-50%);
  color: var(--parchment); font-size: 36px; cursor: pointer;
  background: none; border: none; opacity: .5; transition: opacity .2s; padding: 20px 16px;
}
#lb-prev:hover, #lb-next:hover { opacity: 1; }
#lb-prev { left: 0; }
#lb-next { right: 0; }

/* ── FAQ ── */
.faq-wrap { max-width: 780px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none; text-align: left;
  padding: 22px 0; cursor: pointer; font-family: 'Cormorant Garamond', serif;
  font-size: 20px; color: var(--ink); display: flex;
  justify-content: space-between; align-items: center; gap: 16px; transition: color .2s;
}
.faq-q:hover { color: var(--gold); }
.faq-arrow { color: var(--gold); font-size: 20px; transition: transform .25s; flex-shrink: 0; }
.faq-q.open .faq-arrow { transform: rotate(90deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-a.open { max-height: 800px; }
.faq-a-inner { padding: 0 0 26px; color: var(--muted); font-size: 17px; line-height: 1.85; }
.faq-a-inner ul { padding-left: 20px; margin-top: 8px; }
.faq-a-inner li { margin-bottom: 8px; }
.faq-a-inner strong { color: var(--ink); }

/* ── BLOG CARDS ── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.blog-card {
  background: var(--parchment); text-decoration: none;
  display: block; transition: box-shadow .25s, border-bottom-color .25s;
  border-bottom: 2px solid transparent;
}
.blog-card:hover { box-shadow: 0 8px 32px var(--shadow); border-bottom-color: var(--gold); }
.blog-card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.blog-card-body { padding: 26px 24px; }
.blog-meta { font-family: 'Raleway', sans-serif; font-size: 10.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.blog-card-body h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; line-height: 1.3; color: var(--ink); }
.blog-card-body p { font-size: 15px; color: var(--muted); line-height: 1.75; }

/* ── ABOUT / RESUME ── */
.about-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.about-photo img { width: 100%; display: block; }
.about-photo figcaption { font-size: 12px; color: var(--muted); margin-top: 8px; font-style: italic; }
.resume-section { margin-bottom: 36px; }
.resume-section h3 {
  font-family: 'Cinzel Decorative', serif; font-size: 12.5px; font-weight: 400;
  color: var(--gold); letter-spacing: 1px; margin-bottom: 14px;
  padding-bottom: 8px; border-bottom: 1px solid var(--border);
}
.resume-section ul { list-style: none; }
.resume-section li {
  padding: 7px 0; font-size: 16px; color: var(--muted);
  border-bottom: 1px solid rgba(184,146,74,.08); display: flex; gap: 12px;
}
.resume-section li strong { color: var(--ink); min-width: 50px; flex-shrink: 0; }

/* ── CONTACT ── */
.contact-links { display: flex; flex-direction: column; gap: 14px; margin: 36px 0; max-width: 580px; }
.contact-link {
  display: flex; align-items: center; gap: 18px; padding: 18px 22px;
  background: var(--parchment); border: 1px solid var(--border);
  text-decoration: none; color: var(--ink); transition: border-color .2s;
}
.contact-link:hover { border-color: var(--gold); background: #fdf8ef; }
.contact-platform {
  font-family: 'Raleway', sans-serif; font-size: 10px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold); width: 110px; flex-shrink: 0;
}
.contact-value { font-size: 16px; color: var(--muted); }

/* ── NOTICE BOX ── */
.notice {
  background: var(--parchment); border-left: 3px solid var(--gold);
  padding: 20px 24px; max-width: 700px; margin-top: 20px;
}
.notice p { font-size: 15px; color: var(--muted); line-height: 1.75; }

/* ── FOOTER ── */
footer {
  background: var(--ink); color: var(--muted); text-align: center;
  padding: 52px 24px; font-family: 'Raleway', sans-serif;
  font-size: 11.5px; letter-spacing: .8px;
}
.footer-social { display: flex; justify-content: center; gap: 24px; margin-bottom: 20px; flex-wrap: wrap; }
.footer-social a {
  color: var(--gold-light); text-decoration: none; letter-spacing: 1.5px;
  font-size: 11px; text-transform: uppercase; transition: color .2s;
}
.footer-social a:hover { color: var(--gold); }
.footer-divider { width: 60px; height: 1px; background: rgba(184,146,74,.3); margin: 18px auto; }
footer p { line-height: 1.9; font-size: 11px; opacity: .7; }

/* ── HOME PAGE ── */
.hero-mosaic {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 300px 180px; gap: 3px; overflow: hidden;
}
.hero-mosaic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.hero-mosaic img:hover { transform: scale(1.04); }
.hero-mosaic .span2 { grid-column: span 2; grid-row: span 2; }
.home-intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; padding: 72px 0; align-items: start; }
.intro-text h3 { font-family: 'Cinzel Decorative', serif; font-size: 16px; font-weight: 400; color: var(--gold); margin-bottom: 22px; }
.intro-text p { color: var(--muted); font-size: 17px; margin-bottom: 18px; line-height: 1.85; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 20px; }
.hcard { background: var(--parchment); border-left: 3px solid var(--gold); padding: 20px 24px; border-bottom: 1px solid var(--border); margin-bottom: 14px; }
.hcard h4 { font-family: 'Cinzel Decorative', serif; font-size: 12px; font-weight: 400; color: var(--gold); margin-bottom: 8px; }
.hcard p { font-size: 15px; color: var(--muted); line-height: 1.7; }

/* ── RESPONSIVE ── */
@media (max-width: 720px) {
  .home-intro { grid-template-columns: 1fr; gap: 36px; }
  .about-grid { grid-template-columns: 1fr; }
  .hero-mosaic { grid-template-columns: repeat(2,1fr); grid-template-rows: 180px 140px; }
  .hero-mosaic .span2 { grid-column: span 2; grid-row: span 1; }
  .port-grid { grid-template-columns: repeat(2,1fr); }
  .gallery { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 480px) {
  .port-grid { grid-template-columns: 1fr; }
}
