@import url('fonts.css');

:root {
  --ink: #17110c;
  --cream: #f1e7cf;
  --paper: #faf4e5;
  --gold: #d4a43d;
  --orange: #c64e24;
  --red: #8f241d;
  --muted: #806f5d;
  --serif: 'Cinzel', Georgia, serif;
  --sans: 'Montserrat', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.wrap { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: #fff8e8;
  background:
    radial-gradient(circle at 70% 35%, rgba(198,78,36,.24), transparent 30%),
    linear-gradient(125deg, #090807 0%, #21140c 56%, #090807 100%);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .19;
  background-image: repeating-linear-gradient(93deg, transparent 0 18px, rgba(255,255,255,.04) 19px 20px);
  mix-blend-mode: overlay;
}
.hero-shade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.28), transparent 28%, rgba(0,0,0,.2)); }
.nav { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 26px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.brand { font-family: var(--serif); font-size: 15px; letter-spacing: .18em; }
.brand span { color: var(--gold); }
.nav-links { display: flex; gap: 28px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; }
.nav-links a:hover { color: var(--gold); }

.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .72fr; gap: 76px; align-items: center; min-height: calc(100svh - 91px); padding: 54px 0 70px; }
.eyebrow { margin: 0 0 12px; color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .24em; }
.eyebrow.dark { color: var(--red); }
.hero-place { margin: 0 0 18px; color: #fff4df; font-family: var(--serif); font-size: clamp(22px, 3vw, 38px); font-weight: 700; line-height: 1.1; letter-spacing: .1em; }
h1, h2, h3 { font-family: var(--serif); }
h1 { margin: 0; max-width: 720px; font-size: clamp(48px, 6.3vw, 88px); line-height: .98; letter-spacing: -.035em; }
h1 em { color: var(--gold); font-style: normal; }
.lead { margin: 26px 0 28px; color: #e8dcc8; font-size: 17px; line-height: 1.7; }
.countdown-panel { max-width: 610px; padding: 20px 24px 17px; border: 1px solid rgba(212,164,61,.45); background: rgba(8,7,6,.42); backdrop-filter: blur(8px); }
.countdown-title { margin: 0 0 13px; font-size: 12px; text-transform: uppercase; letter-spacing: .16em; color: #d8c8ac; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.countdown div { display: flex; flex-direction: column; }
.countdown strong { font-family: var(--serif); color: var(--gold); font-size: clamp(30px, 4.3vw, 54px); line-height: 1; }
.countdown span { margin-top: 6px; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: #d8c8ac; }
.opening { margin: 14px 0 0; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.button { display: inline-flex; align-items: center; justify-content: center; margin-top: 26px; padding: 15px 22px; border: 1px solid var(--gold); color: #fff8e8; background: transparent; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; cursor: pointer; transition: .2s ease; }
.button:hover { background: var(--gold); color: var(--ink); }
.poster-frame { margin: 0; transform: rotate(1.5deg); box-shadow: 0 26px 70px rgba(0,0,0,.55); border: 8px solid rgba(241,231,207,.93); }
.poster-frame img { width: 100%; }

.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: end; padding: 95px 0; }
h2 { margin: 0; font-size: clamp(36px, 5vw, 64px); line-height: 1.05; letter-spacing: -.03em; }
.intro > p { max-width: 530px; margin: 0; color: #6f5d4c; font-size: 17px; line-height: 1.8; }
.contest-teaser { padding: 90px 0; color: #fff4df; background: linear-gradient(120deg, #4f120f, var(--red)); }
.contest-teaser-grid { display: grid; grid-template-columns: .42fr .72fr 1.35fr; gap: clamp(22px, 4vw, 64px); align-items: center; }
.contest-number { color: var(--gold); font-family: var(--serif); font-size: clamp(150px, 22vw, 310px); line-height: .72; text-align: center; }
.contest-trophy { margin: 0; text-align: center; }
.contest-trophy img { display: block; width: 100%; border: 5px solid rgba(255,244,223,.88); border-radius: 24px; box-shadow: 0 24px 60px rgba(25,8,4,.36); }
.contest-trophy figcaption { margin-top: 13px; color: var(--gold); font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.contest-teaser h2 { color: var(--gold); }
.contest-teaser p:not(.eyebrow) { max-width: 650px; color: #ead2c3; line-height: 1.75; }
.contest-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contest-actions .button { margin-top: 16px; }
.contest-actions .contest-primary { color: var(--ink); background: var(--gold); }
.contest-teaser .eyebrow { font-size: clamp(17px, 1.7vw, 26px); letter-spacing: .16em; }
.rithuals-show {
  padding: clamp(54px, 8vw, 110px) clamp(18px, 5vw, 72px);
  color: var(--ink);
  background: #efe4d0;
}
.rithuals-head {
  width: min(100%, 1100px);
  margin: 0 auto 42px;
}
.rithuals-head h2 {
  margin: 0;
  color: #8c2f22;
  font-size: clamp(64px, 10vw, 138px);
  line-height: .84;
}
.rithuals-solo {
  width: min(100%, 1100px);
  margin: 0 auto;
}
.rithuals-solo img {
  display: block;
  width: 100%;
  border: 6px solid #fff8e9;
  border-radius: 24px;
  box-shadow: 0 25px 70px rgba(46,28,17,.28);
}
.rithuals-gallery {
  display: grid;
  width: min(100%, 1100px);
  margin: 22px auto 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.rithuals-gallery img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(46,28,17,.2);
}
.rithuals-feature {
  display: grid;
  width: min(100%, 1100px);
  margin: 58px auto 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.rithuals-feature figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  background: #140b08;
  box-shadow: 0 22px 54px rgba(46,28,17,.3);
}
.rithuals-feature img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.rithuals-feature figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 42px 24px 22px;
  color: #fff4df;
  font-family: Georgia, serif;
  font-size: clamp(25px, 3vw, 40px);
  font-weight: 800;
  background: linear-gradient(transparent, rgba(12,7,4,.9));
}
.galata-show { display: grid; grid-template-columns: .68fr 1.32fr; min-height: 720px; color: #fff4df; background: #100b07; }
.galata-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(50px, 7vw, 100px); background: radial-gradient(circle at right, #36201a, #100b07 70%); }
.galata-copy h2 { margin: 0; color: var(--gold); font-size: clamp(64px, 8vw, 118px); line-height: .9; }
.hunchback-show .galata-copy h2 { font-size: clamp(48px, 6vw, 88px); }
.galata-photo { display: grid; place-items: center; min-height: 720px; margin: 0; overflow: hidden; background: #090706; }
.galata-photo img { width: 100%; height: 720px; object-fit: contain; }
.capture-show { padding: clamp(70px, 8vw, 110px) 0; color: #fff4df; background: radial-gradient(circle at 50% 15%, #472116, #100b07 55%); }
.capture-head { margin-bottom: clamp(32px, 5vw, 58px); text-align: center; }
.capture-head h2 { max-width: 960px; margin: 0 auto; color: var(--gold); font-size: clamp(48px, 7vw, 98px); line-height: .94; }
.capture-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.capture-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid rgba(212,155,63,.5); border-radius: 10px; box-shadow: 0 18px 42px rgba(0,0,0,.3); }
.capture-gallery img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 8; }
.feature-show { position: relative; display: grid; grid-template-columns: 1.35fr .65fr; min-height: 620px; color: #fff4df; background: #090706; overflow: hidden; }
.feature-photos { position: relative; min-height: 620px; }
.feature-photo { position: absolute; margin: 0; overflow: hidden; box-shadow: 0 22px 70px rgba(0,0,0,.45); }
.feature-photo img { width: 100%; height: 100%; object-fit: cover; }
.feature-photo-main { inset: 0 12% 0 0; }
.feature-photo-detail { right: 0; bottom: 7%; width: 42%; height: 45%; border: 5px solid #d49b3f; }
.feature-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(45px, 7vw, 100px); background: radial-gradient(circle at left, #351914, #0c0806 70%); }
.feature-copy h2 { margin-bottom: 0; color: var(--gold); font-size: clamp(48px, 7vw, 102px); line-height: .92; }
.feature-thumbs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 30px; }
.feature-thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid rgba(212,155,63,.45); border-radius: 8px; box-shadow: 0 12px 28px rgba(0,0,0,.32); }

.schedule-section { padding: 92px 0 105px; color: #f8edd9; background: var(--ink); }
.section-head { margin-bottom: 34px; }
.tabs { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 640px; border: 1px solid #554635; }
.tab { padding: 14px; color: #c6b69e; border: 0; border-right: 1px solid #554635; background: transparent; font-weight: 700; cursor: pointer; }
.tab:last-child { border-right: 0; }
.tab.active { color: var(--ink); background: var(--gold); }
.schedule-list { margin-top: 34px; border-top: 1px solid #4b3e31; }
.schedule-item { display: grid; grid-template-columns: 100px 1fr auto; gap: 24px; align-items: center; padding: 17px 4px; border-bottom: 1px solid #3e3329; }
.schedule-time { color: var(--gold); font-family: var(--serif); font-size: 18px; }
.schedule-name { font-weight: 600; line-height: 1.35; }
.schedule-place { color: #a99981; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; text-align: right; }

.places { padding: 100px 0; }
.place-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.place-grid article { min-height: 230px; padding: 27px 23px; border: 1px solid #d5c7ae; background: #f7eedb; }
.place-grid span { color: var(--orange); font-family: var(--serif); font-size: 13px; }
.place-grid h3 { margin: 38px 0 12px; font-size: 20px; }
.place-grid p { margin: 0; color: #6e5f50; font-size: 14px; line-height: 1.65; }

.map-section { display: grid; grid-template-columns: .72fr 1.28fr; color: #fff6e5; background: var(--red); }
.map-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(45px, 7vw, 100px); }
.map-copy p:not(.eyebrow) { max-width: 450px; line-height: 1.7; color: #ead2c3; }
.map-button { align-self: flex-start; }
.map-image { position: relative; display: block; padding: 0; border: 0; overflow: hidden; cursor: pointer; background: #130c09; }
.map-image img { width: 100%; height: 100%; max-height: 760px; object-fit: cover; object-position: center; transition: transform .4s ease; }
.map-image:hover img { transform: scale(1.015); }
.directions-section { padding: 100px 0; background: var(--paper); }
.directions-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(35px, 6vw, 85px); align-items: center; }
.directions-copy > p:not(.eyebrow) { max-width: 540px; color: #6e5f50; line-height: 1.75; }
.route-links { display: grid; gap: 12px; margin-top: 30px; }
.route-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid #d5c7ae; color: var(--ink); background: #f7eedb; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.route-card:hover { transform: translateY(-2px); border-color: var(--orange); box-shadow: 0 12px 30px rgba(55,32,17,.12); }
.route-icon { display: grid; place-items: center; flex: 0 0 46px; height: 46px; border-radius: 50%; background: var(--gold); font-size: 22px; }
.route-card strong, .route-card small { display: block; }
.route-card strong { font-family: var(--serif); font-size: 15px; }
.route-card small { margin-top: 5px; color: #7a6755; }
.google-map { min-height: 480px; border: 8px solid #fff8e9; box-shadow: 0 22px 60px rgba(41,25,14,.2); background: #ddd0b8; }
.google-map iframe { display: block; width: 100%; height: 480px; border: 0; }
footer { padding: 32px 0; color: #c9b89e; background: #0c0907; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; font-size: 12px; letter-spacing: .06em; }
.footer-inner strong { color: var(--gold); font-family: var(--serif); }
.footer-copy { display: grid; gap: 5px; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 14px; align-items: center; }
.footer-legal a, .footer-legal button { padding: 0; border: 0; color: #f4e4c6; background: none; font: 700 11px var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.zoomable-photo { cursor: zoom-in; }
.zoomable-photo:focus-visible { outline: 4px solid var(--gold); outline-offset: 4px; }
body.lightbox-open { overflow: hidden; }
.lightbox {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: none;
  place-items: center;
  padding: 58px 18px 24px;
  background: rgba(5, 4, 3, .94);
  backdrop-filter: blur(6px);
}
.lightbox.open { display: grid; }
.lightbox-image {
  width: auto;
  max-width: min(1200px, 96vw);
  height: auto;
  max-height: calc(100svh - 84px);
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0,0,0,.65);
}
.lightbox-close {
  position: absolute;
  top: max(12px, env(safe-area-inset-top));
  right: 14px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #fff;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  background: rgba(0,0,0,.58);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr .63fr; gap: 32px; }
  .poster-frame { border-width: 5px; }
  .place-grid { grid-template-columns: 1fr 1fr; }
  .map-section { grid-template-columns: 1fr; }
  .map-image img { max-height: none; }
  .directions-grid { grid-template-columns: 1fr; }
  .feature-show { grid-template-columns: 1fr; }
  .feature-copy { min-height: 260px; }
}

@media (max-width: 680px) {
  .wrap { width: min(100% - 28px, 1160px); }
  .nav { flex-wrap: wrap; gap: 14px; padding: 20px 0; }
  .nav-links { width: 100%; justify-content: space-between; gap: 8px; font-size: 9px; letter-spacing: .06em; }
  .brand { font-size: 12px; }
  .hero-grid { grid-template-columns: 1fr; padding: 58px 0; }
  .hero-copy { text-align: center; }
  .lead { font-size: 15px; }
  .countdown-panel { padding: 18px 12px; }
  .countdown strong { font-size: 34px; }
  .button { margin-top: 22px; }
  .poster-frame { width: min(88%, 420px); margin: 20px auto 0; }
  .intro { grid-template-columns: 1fr; gap: 25px; padding: 70px 0; }
  .contest-teaser { padding: 70px 0; }
  .contest-teaser-grid { grid-template-columns: 1fr; gap: 15px; text-align: center; }
  .contest-number { font-size: 150px; }
  .contest-trophy { width: min(82%, 320px); margin: 0 auto; }
  .contest-actions { justify-content: center; }
  .contest-teaser .eyebrow { font-size: 17px; line-height: 1.25; }
  .rithuals-head { margin-bottom: 28px; text-align: center; }
  .rithuals-head h2 { font-size: clamp(54px, 17vw, 78px); }
  .rithuals-solo img { border-width: 4px; border-radius: 16px; }
  .rithuals-gallery { grid-template-columns: 1fr; gap: 12px; }
  .rithuals-feature { margin-top: 36px; grid-template-columns: 1fr; gap: 14px; }
  .rithuals-feature img { aspect-ratio: 4 / 5; }
  .galata-show { grid-template-columns: 1fr; min-height: 0; }
  .galata-copy { min-height: 230px; padding: 55px 28px 42px; text-align: center; }
  .galata-copy h2 { font-size: clamp(62px, 21vw, 90px); }
  .galata-photo { min-height: 0; }
  .galata-photo img { height: auto; max-height: none; }
  .capture-show { padding: 65px 0; }
  .capture-head { margin-bottom: 30px; }
  .capture-head h2 { font-size: clamp(42px, 12vw, 64px); }
  .capture-gallery { grid-template-columns: 1fr; gap: 10px; }
  .capture-gallery img,
  .capture-gallery img:first-child { grid-column: 1; aspect-ratio: 4 / 3; border-radius: 7px; }
  .feature-show { min-height: 0; }
  .feature-photos { min-height: 0; aspect-ratio: 685 / 503; }
  .feature-photo-main { inset: 0; }
  .feature-photo-detail { right: 5%; bottom: 5%; width: 45%; height: 38%; }
  .feature-copy { order: -1; min-height: 220px; padding: 55px 28px; }
  .feature-thumbs { gap: 8px; margin-top: 24px; }
  .schedule-section, .places { padding: 70px 0; }
  .tabs { width: 100%; }
  .tab { padding: 13px 7px; font-size: 12px; }
  .schedule-item { grid-template-columns: 68px 1fr; gap: 12px; padding: 15px 0; }
  .schedule-place { grid-column: 2; text-align: left; margin-top: -7px; }
  .place-grid { grid-template-columns: 1fr; }
  .place-grid article { min-height: 185px; }
  .map-copy { padding: 60px 28px; }
  .directions-section { padding: 70px 0; }
  .google-map, .google-map iframe { min-height: 390px; height: 390px; }
  .footer-inner { flex-direction: column; }
  .footer-legal { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
