/* Meissner Management — Wix layout and motion, in a black and red theme */
/* Header fonts, as on the black and red reference design */
@font-face { font-family: "EB Garamond"; font-weight: 400; font-display: swap; src: url(fonts/eb-garamond-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "EB Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/eb-garamond-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 400; font-display: swap; src: url(fonts/figtree-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 200; font-display: swap; src: url(fonts/poppins-latin-200-normal.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url(fonts/poppins-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Wix Madefor Text"; font-weight: 400; font-display: swap; src: url(fonts/wix-madefor-text-latin-400-normal.woff2) format("woff2"); }
:root {
  /* Black and red theme. To go back to the original light Wix colours, use:
     ink #242424, red #ff3131, red-deep #ff3131, muted #979797, dim #979797,
     bg #ffffff, rule #8a8a8a, placeholder #eeeeee, and src/logo.svg on Home. */
  --ink: #f1ece8;         /* main text: warm off-white */
  --red: #b23a3a;         /* links, current page, hover */
  --red-deep: #7a1f1f;    /* button fill, focused fields */
  --body: #d8d2cc;        /* softer body text (About) */
  --muted: #9a948e;       /* secondary text */
  --dim: #6f6a66;         /* copyright line */
  --bg: #0b0b0d;          /* page background: near-black */
  --rule: #3a3a3f;        /* form field lines */
  --rule-soft: #26262a;   /* footer divider */
  --placeholder: #1a1a1e; /* photo background while loading */
  color-scheme: dark;
  --ease-fade: cubic-bezier(0.37, 0, 0.63, 1);
  --ease-zoom: cubic-bezier(0.14, 0.4, 0.09, 0.99);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
/* Always keep room for the scrollbar, so the menu doesn't shift between
   short pages (no scrollbar) and long ones like Actors (scrollbar). */
html { scrollbar-gutter: stable; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Wix Madefor Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 82px;
}
.brand {
  font-family: "EB Garamond", Garamond, "Times New Roman", serif;
  font-size: 20px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: .18em;
  white-space: nowrap;
  transition: color .2s;
}
.brand:hover, .brand:focus-visible { color: var(--red); }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  font-family: "Figtree", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .12em;
  text-decoration: none;
  color: var(--ink);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color .2s;
}
/* Current page: thin deep-red underline. Hover: red text. */
.nav a[aria-current="page"] { border-bottom-color: var(--red-deep); }
.nav a:hover, .nav a:focus-visible { color: var(--red); }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }

/* Main */
main { flex: 1; }
.page-title {
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  font-size: 32px;
  text-align: center;
  margin: 40px 0 40px;
}
.prose { max-width: 814px; margin: 0 auto; padding: 0 16px; }
.prose p { margin: 0 0 26px; }
.prose a { color: var(--red); }
.prose a:hover { color: var(--ink); }
::selection { background: var(--red-deep); color: var(--ink); }

/* About: labelled sections (small spaced capitals over a
   fine line), and the acknowledgement in grey italic serif, as on the
   black and red reference design. */
.about {
  max-width: 712px;
  margin: 0 auto 96px;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.about p { margin: 0; }
.about-section p + p { margin-top: 16px; }
.about-section p {
  font-family: "Figtree", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
}
.about-label {
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule-soft);
  font-family: "Figtree", "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.about-ack {
  font-family: "EB Garamond", Garamond, "Times New Roman", serif;
  font-style: italic;
  font-size: 19px;
  line-height: 1.5;
  color: var(--muted);
}

/* Home */
.home {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  min-height: calc(100vh - 78px - 110px);
}
/* Matches Wix page transitions (measured on the live site): the menu bar stays put;
   after a short pause, page content and footer ease in over 1.2s on every page.
   On Home the logo has its own slower fade (3s, starting 1s after the footer). */
main, .site-footer { animation: fade 1.2s var(--ease-fade) .45s both; }
.page-index main { animation: none; }
.home img { width: min(570px, 80vw); height: auto; animation: fade 3s var(--ease-fade) 1.45s both; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* Actors grid */
.roster {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 341px));
  justify-content: center;
  column-gap: 20px;
  row-gap: 60px;
  padding: 20px 16px 80px;
}
.actor { text-decoration: none; color: var(--ink); display: block; }
.actor .photo {
  position: relative;
  aspect-ratio: 341 / 453;
  max-width: 100%;
  border-radius: 15px;
  overflow: hidden;
  background: var(--placeholder);
}
/* Hover, as on Wix: the photo slowly zooms in and darkens slightly */
.actor .photo::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, .25);
  opacity: 0;
  transition: opacity .4s;
}
.actor:hover .photo::after, .actor:focus-visible .photo::after { opacity: 1; }
.actor img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  opacity: 0;
  transition: opacity .6s var(--ease-fade), transform 2.2s var(--ease-zoom);
}
.actor img.loaded { opacity: 1; }
.no-js .actor img { opacity: 1; }
.actor:hover img, .actor:focus-visible img { transform: scale(1.1); }
.actor:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }
.actor .name {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 16px;
  margin-top: 12px;
  transition: color .3s;
}
.actor:hover .name, .actor:focus-visible .name { color: var(--red); }

/* Contact: practical details on the left, the form on the right.
   Uses the same labelled sections as About. */
.contact {
  max-width: 1120px;
  margin: 0 auto 96px;
  padding: 0 40px;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px 96px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 40px; min-width: 0; }
.contact-info p { margin: 0; }
.contact-info p + p { margin-top: 12px; }
.contact-info a { color: var(--body); text-decoration: none; border-bottom: 1px solid var(--rule); transition: color .2s, border-color .2s; }
.contact-info a:hover { color: var(--red); border-color: var(--red-deep); }
.contact-info .abn { color: var(--dim); font-size: 14px; }
.contact-form-wrap { min-width: 0; }
.contact-form-wrap .about-label { margin-bottom: 28px; }
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 32px;
  row-gap: 32px;
}
.contact-form > div { min-width: 0; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--muted);
  transition: color .2s;
}
.contact-form div:focus-within label { color: var(--ink); }
.contact-form input, .contact-form textarea {
  display: block;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  padding: 6px 0 10px;
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: transparent;
  outline: none;
  transition: border-color .2s;
}
.contact-form input:focus, .contact-form textarea:focus { border-bottom-color: var(--red); }
.contact-form textarea { min-height: 132px; resize: vertical; }
.contact-form .actions { padding-top: 4px; }
.contact-form button {
  width: 200px;
  height: 46px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  font: inherit;
  font-size: 15px;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.contact-form button:hover, .contact-form button:focus-visible { background: var(--red-deep); border-color: var(--red-deep); }
.form-status { grid-column: 1 / -1; margin: -16px 0 0; font-size: 14px; color: var(--muted); }
.form-status:empty { display: none; }

/* Footer */
.site-footer { text-align: center; padding: 24px 16px 20px; font-size: 13.9px; border-top: 1px solid var(--rule-soft); }
.social { display: flex; justify-content: center; gap: 18px; margin-bottom: 10px; }
.social a { display: inline-flex; width: 21px; height: 21px; color: var(--ink); transition: color .2s; }
.social a:hover { color: var(--red); }
.social svg { width: 100%; height: 100%; fill: currentColor; }
.copyright { margin: 0; color: var(--dim); }

/* Responsive */
@media (max-width: 1500px) { .roster { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1440px; margin: 0 auto; } }
@media (max-width: 1000px) {
  .roster { grid-template-columns: repeat(3, 1fr); }
  .contact { grid-template-columns: 1fr; padding: 0 16px; max-width: 712px; margin-bottom: 64px; }
}
@media (max-width: 750px) {
  .site-header { padding: 0 16px; height: 64px; }
  .brand { font-size: 15px; letter-spacing: .14em; }
  .menu-btn { display: block; }
  .nav {
    display: none;
    position: fixed; inset: 0;
    background: var(--bg);
    flex-direction: column; align-items: center; justify-content: center;
    gap: 24px; z-index: 10;
  }
  .nav a { font-size: 16px; letter-spacing: .18em; }
  .nav.open { display: flex; }
  .nav .close { position: absolute; top: 16px; right: 16px; }
  .roster { grid-template-columns: repeat(2, 1fr); column-gap: 12px; row-gap: 32px; }
  .contact-form { grid-template-columns: 1fr; row-gap: 28px; }
  .about { gap: 40px; margin-bottom: 64px; }
  .contact-form > div { grid-column: 1 / -1; }
  .contact-form button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  main, .site-footer, .home img { animation: none; }
  .actor img { transition: none; }
  .actor:hover img, .actor:focus-visible img { transform: none; }
}
