/* =====================================================
   Julie De Kezel — Remix
   Style: Tom Hallet / Lay theme aesthetic
   Font: Cormorant (Google Fonts)
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  overflow-y: scroll;
  overflow-x: hidden;
  -webkit-text-size-adjust: none;
}

body {
  background-color: #ffffff;
  color: #000000;
  font-family: 'Cormorant', Georgia, serif;
  font-size: 18px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.2;
  letter-spacing: 0em;
  text-transform: none;
  margin: 0;
  width: 100%;
  min-height: 100%;

}

/* ---- Typography ---- */
p {
  margin: 0 0 15px 0;
  font-size: 18px;
  line-height: 1.2;
}

p:last-child {
  margin-bottom: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Cormorant', Georgia, serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0;
  margin: 0 0 15px 0;
  line-height: 1.2;
}

h1 {
  font-size: 18px;
  font-weight: 700;
}

h2 {
  font-size: 18px;
  font-weight: 700;
}

h3 {
  font-size: 18px;
  font-weight: 400;
}

a {
  color: #000000;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

em,
i {
  font-style: italic;
}

strong,
b {
  font-weight: 700;
}

/* ---- Navbar ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  background-color: #ffffff;
  /* No transform — it creates a containing block that clips the dropdown */
}

.navbar::after {
  content: '';
  display: block;
  width: 98%;
  margin: 0 auto;
}

.navbar-inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  padding: 0 30px;
  min-height: 44px;
}

/* Site title */
.site-title {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-family: 'Cormorant', Georgia, serif;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  color: #000;
}

.site-title:hover {
  text-decoration: none;
}

/* Desktop nav */
nav.laynav {
  display: flex;
  align-items: stretch;
  line-height: 1;
  white-space: nowrap;
  z-index: 20;
}

nav.laynav>ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
}

nav.laynav>ul>li {
  display: flex;
  align-items: stretch;
  position: relative;
  vertical-align: top;
}

nav.laynav>ul>li:last-child {
  margin-right: 0;
}

nav.laynav a {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  color: #000;
  padding: 0 0 0 30px;
  line-height: 1;
}

nav.laynav a:hover {
  text-decoration: underline;
}

/* Active/current page */
nav.laynav li.current-page>a {
  text-decoration: underline;
}

/* ---- Dropdown (Shows submenu) ---- */
.has-dropdown {
  position: static;
}

.dropdown-toggle {
  cursor: pointer;
  user-select: none;
}

.dropdown-menu {
  display: none;
  position: fixed;
  top: 44px;
  /* height of navbar */
  left: 0;
  right: 0;
  width: 100%;
  overflow-y: auto;
  background-color: transparent;
  z-index: 50;
  padding: 16px 30px 24px;
  list-style: none;
  margin: 0;
  /* 4-column grid */
  grid-template-columns: repeat(4, 1fr);
  gap: 4px 40px;
  align-content: start;
}

.dropdown-menu::after {
  content: '';
  display: block;
  grid-column: 1 / -1;
  width: 100%;
  margin: 12px auto 0;
  border-top: 1px dotted #000;
}

.has-dropdown.force-open .dropdown-menu,
.has-dropdown.open .dropdown-menu {
  display: grid;
}

.dropdown-menu li {
  display: block;
}

.dropdown-menu li a {
  position: relative;
  display: block;
  padding: 3px 0 3px 50px;
  font-size: 18px;
  font-weight: 400;
  font-style: italic;
  color: #000;
  text-decoration: none;
  white-space: nowrap;
}

.dropdown-menu li a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 34px;
  background-image: url('../images/rabbit-knight.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center left;
  mix-blend-mode: multiply;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.dropdown-menu li a:hover::before {
  opacity: 1;
}

.dropdown-menu li a:hover {
  text-decoration: underline;
}

/* ---- Page content ---- */
.page-content {
  padding-top: 44px;
  /* navbar height */
}

.content-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 30px 80px;
}

/* ---- Shows Index ---- */
.shows-index-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.shows-index-list li {
  margin: 0 0 4px 0;
}

.shows-index-list a {
  font-size: 18px;
  color: #000;
  text-decoration: none;
  font-style: italic;
}

.shows-index-list a:hover {
  text-decoration: underline;
}

/* ---- Individual Show Page ---- */

/* Show pages use full-width layout with 5% side padding, like Tom Hallet */
body.page-show .page-content {
  padding-top: 44px;
}

body.page-show .content-inner {
  max-width: none;
  margin: 0;
  padding: 0;
}

.show-header {
  padding: 40px 33.333% 30px;
}

.show-title {
  font-size: 18px;
  font-weight: 700;
  font-style: normal;
  margin: 0 0 6px 0;
  line-height: 1.2;
}

.show-meta {
  font-size: 18px;
  line-height: 1.4;
  margin: 0;
}

.show-meta em {
  font-style: italic;
}

.publication-text {
  margin-top: 24px;
  max-width: 600px;
}

.publication-text p {
  font-size: 18px;
  line-height: 1.5;
  margin: 0 0 15px 0;
}

.show-images {
  margin: 0;
  padding: 0 33.333%;
}

.show-images figure {
  margin: 0 0 40px 0;
  position: relative;
}

.show-images figure::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.show-images img {
  width: 100%;
  height: auto;
  display: block;
}

.show-images figcaption {
  font-size: 15px;
  color: #555;
  padding: 6px 0;
  line-height: 1.3;
}

@media (max-width: 900px) {
  .show-images {
    padding: 0 20%;
  }
}

@media (max-width: 600px) {
  .show-images {
    padding: 0 5%;
  }
}

/* ---- CV Page ---- */
.cv-section {
  margin-bottom: 40px;
}

.cv-section-title {
  font-weight: 700;
  margin-bottom: 10px;
}

/* ---- About Page ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: start;
}

.about-cv-divider {
  border: none;
  border-top: 1px dotted #000;
  width: 98%;
  margin: 60px 0 0 0;
}

.about-portrait {
  position: relative;
}

.about-portrait::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.about-portrait img {
  width: 100%;
  height: auto;
  display: block;
}

.about-portrait figcaption {
  font-size: 15px;
  color: #555;
  margin-top: 6px;
}

.press-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  text-align: center;
}

.press-list li {
  margin-bottom: 6px;
}

.press-list a {
  color: #000;
  text-decoration: none;
}

.press-list a:hover {
  text-decoration: underline;
}

/* ---- Press / News page: vertically centered layout ---- */
.press-page-wrap {
  min-height: calc(100vh - 44px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 60px 20px;
  box-sizing: border-box;
}

.press-publications {
  width: min(100%, 920px);
  margin-top: 20px;
  text-align: left;
}

.press-publications-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 20px 0;
  text-align: center;
}

.press-publication {
  width: 100%;
}

.press-publication-name {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px 0;
}

.press-publication-meta {
  font-size: 18px;
  line-height: 1.4;
  margin: 0;
}

.press-publication-images {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.press-publication-images figure {
  margin: 0;
}

.press-publication-images img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 600px) {
  .press-publication-images {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* ---- Newsletter section ---- */
.newsletter-section {
  text-align: center;
  max-width: 420px;
  width: 100%;
}

.newsletter-heading {
  font-family: 'Cormorant', Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 8px 0;
}

.newsletter-sub {
  font-family: 'Cormorant', Georgia, serif;
  font-size: 16px;
  color: #555;
  margin: 0 0 20px 0;
}

/* MailerLite embedded form overrides — match site aesthetic */
#mlb2-39165694.ml-form-embedContainer .ml-form-embedWrapper {
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
}

#mlb2-39165694.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody {
  padding: 0 !important;
  background-color: transparent !important;
}

#mlb2-39165694.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input {
  font-family: 'Cormorant', Georgia, serif !important;
  font-size: 17px !important;
  background-color: transparent !important;
  border: none !important;
  border-bottom: 1px solid #000 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 6px 0 !important;
  color: #000 !important;
}

#mlb2-39165694.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input::-webkit-input-placeholder { color: #999 !important; }
#mlb2-39165694.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input::-moz-placeholder { color: #999 !important; }
#mlb2-39165694.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input:-ms-input-placeholder { color: #999 !important; }

#mlb2-39165694.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit {
  margin-top: 16px !important;
}

#mlb2-39165694.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button {
  font-family: 'Cormorant', Georgia, serif !important;
  font-size: 15px !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  background-color: transparent !important;
  color: #000 !important;
  border: 1px solid #000 !important;
  border-radius: 0 !important;
  padding: 8px 28px !important;
  width: auto !important;
  font-weight: 400 !important;
  transition: background 0.2s, color 0.2s;
}

#mlb2-39165694.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button:hover {
  background-color: #000 !important;
  color: #fff !important;
}

#mlb2-39165694.ml-form-embedContainer .ml-form-embedWrapper .ml-form-successBody {
  background-color: transparent !important;
  padding: 12px 0 0 0 !important;
}

#mlb2-39165694.ml-form-embedContainer .ml-form-embedWrapper .ml-form-successBody .ml-form-successContent h4,
#mlb2-39165694.ml-form-embedContainer .ml-form-embedWrapper .ml-form-successBody .ml-form-successContent p {
  font-family: 'Cormorant', Georgia, serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  text-align: center !important;
  color: #000 !important;
}

.newsletter-press-divider {
  border: none;
  border-top: 1px dotted #000;
  width: 200px;
  margin: 0;
}

/* ---- Mobile nav (hamburger) ---- */
nav.mobile-nav {
  display: none;
}

.lay-mobile-icons-wrap {
  display: none;
}

/* =====================================================
   RESPONSIVE — phone breakpoint 600px
   ===================================================== */
@media (max-width: 600px) {
  nav.laynav {
    display: none;
  }

  .lay-mobile-icons-wrap {
    display: flex;
    align-items: center;
    z-index: 33;
  }

  /* Hamburger button */
  .burger-wrap {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    padding-left: 10px;
  }

  .burger-btn {
    background: none;
    border: none;
    cursor: pointer;
    width: 25px;
    height: 20px;
    position: relative;
    padding: 0;
  }

  .burger-btn span,
  .burger-btn span::before,
  .burger-btn span::after {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #000;
    transition: transform 0.2s, top 0.2s, bottom 0.2s;
  }

  .burger-btn span {
    top: 9px;
  }

  .burger-btn span::before {
    content: "";
    top: -7px;
  }

  .burger-btn span::after {
    content: "";
    bottom: -7px;
  }

  /* Mobile menu open state */
  body.mobile-menu-open .burger-btn span {
    background-color: transparent;
  }

  body.mobile-menu-open .burger-btn span::before {
    top: 0;
    transform: rotate(45deg);
  }

  body.mobile-menu-open .burger-btn span::after {
    bottom: 0;
    transform: rotate(-45deg);
  }

  /* Mobile nav overlay */
  nav.mobile-nav {
    display: block;
    position: fixed;
    top: 44px;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 44px);
    background-color: #ffffff;
    border-bottom: 1px solid #000;
    z-index: 30;
    transform: translateY(-9999px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  body.mobile-menu-open nav.mobile-nav {
    transform: translateY(0);
  }

  nav.mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  nav.mobile-nav li {
    display: block;
  }

  nav.mobile-nav li a {
    display: block;
    padding: 12px 20px;
    font-size: 18px;
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid #000;
  }

  nav.mobile-nav li.submenu-item a {
    padding-left: 36px;
    font-size: 16px;
  }

  nav.mobile-nav li a:hover {
    text-decoration: underline;
  }

  /* Content */
  .content-inner {
    padding: 40px 20px 60px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-portrait {
    order: -1;
  }
}

@media (min-width: 601px) {
  nav.mobile-nav {
    display: none !important;
  }

  .lay-mobile-icons-wrap {
    display: none !important;
  }
}

/* ---- Homepage hero ---- */
body.page-home {
  overflow: hidden;
  height: 100vh;
}

.hero-image {
  position: fixed;
  top: 44px;
  /* below navbar */
  left: 0;
  width: 100%;
  height: calc(100vh - 44px);
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  transition: opacity 1s ease;
}

body.preview-active .hero-image {
  opacity: 0;
  pointer-events: none;
}

/* ---- Marginalia decorative creature ---- */
.marginalia-creature {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  pointer-events: none;
  width: 200px;
  mix-blend-mode: multiply;
  opacity: 0.35;
}

.marginalia-creature--left {
  right: auto;
  left: 0;
  transform: translateY(-50%) scaleX(-1);
}

.marginalia-creature img {
  display: block;
  width: 100%;
  height: auto;
  filter: grayscale(1) blur(8px);
}

.hero-image img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.hero-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
}

/* Navbar sits above the hero */
body.page-home .navbar {
  z-index: 10;
  background-color: rgba(255, 255, 255, 0.92);
}

/* ---- Nav/page floating preview image ---- */
.nav-preview {
  position: fixed;
  top: 62%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 40;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  width: 35vw;
  height: 45vh;
}

.nav-preview.active {
  opacity: 1;
}

.nav-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* ---- Shows index 4-column grid ---- */
.shows-index-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.shows-index-grid li {
  margin: 0 0 6px 0;
}

.shows-index-grid a {
  font-size: 18px;
  color: #000;
  text-decoration: none;
  font-style: italic;
}

.shows-index-grid a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .shows-index-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .show-header {
    padding: 40px 20% 30px;
  }
}

@media (max-width: 600px) {
  .shows-index-grid {
    grid-template-columns: 1fr;
  }

  .show-header {
    padding: 30px 5% 20px;
  }

  body.page-home {
    overflow: auto;
    height: auto;
  }

  .hero-image {
    position: relative;
    top: auto;
    height: auto;
    margin-top: 44px;
    align-items: flex-start;
  }

  .hero-image img {
    max-width: 100%;
    max-height: none;
  }
}