/* Madcutta site styles. Monochrome. Inter. No colour. */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  color: #111111;
  background: #FFFFFF;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; }

img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

.container-narrow {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- HERO ---------- */

.hero {
  background: #000000;
  color: #FFFFFF;
  padding: 56px 0 64px;
  border-bottom: 1px solid #111111;
}

.hero-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}

.hero-text { flex: 1 1 auto; }

.wordmark {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: #D1D5DB;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-name {
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin: 0 0 22px;
}

.hero-rule {
  width: 80px;
  height: 1px;
  background: #6B7280;
  margin: 0 0 20px;
  border: 0;
}

.hero-roles {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: #D1D5DB;
  text-transform: uppercase;
  margin: 0 0 32px;
}

.hero-lede {
  font-size: 17px;
  line-height: 1.6;
  color: #E5E7EB;
  max-width: 640px;
  margin: 0 0 32px;
}

.hero-cta {
  display: inline-block;
  padding: 14px 22px;
  border: 1px solid #FFFFFF;
  color: #FFFFFF;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.18s ease, color 0.18s ease;
}

.hero-cta:hover, .hero-cta:focus {
  background: #FFFFFF;
  color: #000000;
}

/* Logo mark in top right of hero. CSS fallback shows black square with white M. */

.brand-mark {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  position: relative;
  background: #000000;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px #1f1f1f;
}

.brand-mark::after {
  content: 'M';
  font-size: 38px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  z-index: 0;
}

.brand-mark img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
  background: #000000;
}

/* Smaller hero for contact page */
.hero-small { padding: 44px 0 48px; }
.hero-small .hero-name { font-size: 36px; margin-bottom: 0; }
.hero-small .hero-roles { margin-bottom: 0; }

/* ---------- SECTIONS ---------- */

section { padding: 80px 0; }

.section-grey { background: #F3F4F6; }
.section-dark { background: #0a0a0a; color: #E5E7EB; }
.section-dark h2, .section-dark h3 { color: #FFFFFF; }

h2 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6B7280;
  margin: 0 0 28px;
}

.section-dark h2 { color: #D1D5DB; }

h3 {
  font-size: 18px;
  font-weight: 600;
  color: #111111;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

p { margin: 0 0 18px; }

.lede {
  font-size: 19px;
  line-height: 1.6;
  color: #111111;
  margin-bottom: 22px;
}

.section-dark .lede { color: #E5E7EB; }

.muted { color: #6B7280; }

/* ---------- CREDITS TABLE ---------- */

/* ---------- POSTERS GRID ---------- */

.posters-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 0 0 48px;
}

.posters-grid > .poster-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: calc(50% - 10px);
  justify-self: center;
  width: 100%;
}

.poster-card {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #0a0a0a;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.08);
}

.poster-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.poster-card--placeholder {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px;
  text-align: center;
  color: #FFFFFF;
}

.poster-card__title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.poster-card__meta {
  margin-top: 10px;
  font-size: 13px;
  color: #9CA3AF;
  letter-spacing: 0.04em;
}

.credits-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.credits-table thead th {
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6B7280;
  padding: 12px 14px;
  border-bottom: 1px solid #D1D5DB;
}

.credits-table tbody td {
  padding: 16px 14px;
  border-bottom: 1px solid #E5E7EB;
  vertical-align: top;
  color: #111111;
}

.credits-table tbody tr:hover { background: #F9FAFB; }

.credits-table .col-year { width: 70px; color: #6B7280; font-variant-numeric: tabular-nums; }
.credits-table .col-prod { font-weight: 600; }
.credits-table .col-dur { width: 110px; color: #6B7280; white-space: nowrap; }

/* Mobile cards for credits */
.credits-cards { display: none; }

.credit-card {
  border-top: 1px solid #E5E7EB;
  padding: 18px 0;
}
.credit-card:last-child { border-bottom: 1px solid #E5E7EB; }
.credit-card .ctitle { font-weight: 600; font-size: 17px; margin: 0 0 6px; }
.credit-card .cmeta { font-size: 13px; color: #6B7280; margin: 2px 0; }
.credit-card .cyear { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: #6B7280; margin: 0 0 4px; }

/* ---------- LAB GRID ---------- */

.lab-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.lab-grid h3 {
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #1f1f1f;
}

.lab-grid p { color: #D1D5DB; font-size: 15px; line-height: 1.65; }

/* ---------- BOOKING BLOCKS ---------- */

.booking-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin: 36px 0 32px;
}

.booking-block h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #D1D5DB;
}

.booking-block p {
  font-size: 15px;
  line-height: 1.6;
  color: #111111;
  margin: 0;
}

.booking-note {
  font-size: 14px;
  color: #6B7280;
  margin: 12px 0 32px;
  max-width: 760px;
}

.button-primary {
  display: inline-block;
  background: #000000;
  color: #FFFFFF;
  text-decoration: none;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid #000000;
  transition: background 0.18s ease, color 0.18s ease;
}

.button-primary:hover, .button-primary:focus {
  background: #FFFFFF;
  color: #000000;
}

/* ---------- ALSO ---------- */

.also-list { margin: 0; padding: 0; list-style: none; }
.also-list li {
  padding: 14px 0;
  border-bottom: 1px solid #D1D5DB;
  font-size: 16px;
  color: #111111;
}
.also-list li:last-child { border-bottom: 0; }

/* ---------- FOOTER ---------- */

footer.site-footer {
  background: #000000;
  color: #D1D5DB;
  padding: 48px 0 36px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 14px;
}

.footer-links a {
  color: #FFFFFF;
  text-decoration: none;
  border-bottom: 1px solid #6B7280;
  padding-bottom: 2px;
  transition: border-color 0.18s ease;
}

.footer-links a:hover, .footer-links a:focus { border-color: #FFFFFF; }

.footer-copy {
  margin-top: 32px;
  font-size: 12px;
  color: #6B7280;
  letter-spacing: 0.04em;
}

/* ---------- CONTACT PAGE ---------- */

.contact-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 36px 0 32px;
}

.contact-block {
  display: block;
  text-decoration: none;
  color: #111111;
  background: #FFFFFF;
  border: 1px solid #111111;
  padding: 32px 28px;
  transition: background 0.18s ease, color 0.18s ease;
}

.contact-block:hover, .contact-block:focus { background: #000000; color: #FFFFFF; }

.contact-block .label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6B7280;
  margin-bottom: 14px;
}

.contact-block:hover .label, .contact-block:focus .label { color: #D1D5DB; }

.contact-block .value {
  display: block;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  word-break: break-word;
}

.contact-foot { color: #6B7280; font-size: 14px; margin-top: 24px; }

/* ---------- RESPONSIVE ---------- */

@media (max-width: 768px) {
  .hero { padding: 40px 0 48px; }
  .hero-name { font-size: 40px; }
  .hero-small .hero-name { font-size: 28px; }
  .hero-lede { font-size: 16px; }
  .hero-inner { flex-direction: row; }
  .brand-mark { width: 56px; height: 56px; border-radius: 12px; }
  .brand-mark::after { font-size: 28px; }

  section { padding: 56px 0; }

  .credits-table { display: none; }
  .credits-cards { display: block; }

  .posters-grid { grid-template-columns: 1fr; gap: 16px; margin-bottom: 36px; }
  .poster-card__title { font-size: 26px; }

  .lab-grid { grid-template-columns: 1fr; gap: 28px; }
  .booking-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-blocks { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; gap: 20px; }
}

@media (max-width: 420px) {
  .hero-name { font-size: 32px; }
  .container, .container-narrow { padding: 0 20px; }
}

/* ---------- BRAND LOCKUP (logo + wordmark on left) ---------- */

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  text-decoration: none;
}

.brand-lockup-link { cursor: pointer; }

.brand-lockup-img {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  display: block;
  background: transparent;
}

.wordmark-lockup {
  margin-bottom: 0;
  display: inline-block;
}

/* ---------- ABOUT (equalised paragraphs) ---------- */

.about-p {
  font-size: 17px;
  line-height: 1.65;
  color: #111111;
  margin: 0 0 18px;
  max-width: 760px;
}

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

/* ---------- BLOCK CARDS (used in Mobile Lab and Booking) ---------- */

.block-card {
  display: flex;
  flex-direction: column;
}

.block-num {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6B7280;
  font-variant-numeric: tabular-nums;
  margin-bottom: 14px;
}

.block-num-light { color: #6B7280; }

.block-rule {
  width: 100%;
  height: 1px;
  background: #D1D5DB;
  border: 0;
  margin: 0 0 18px;
}

.block-rule-light { background: #D1D5DB; }

.block-card-dark .block-num { color: #9CA3AF; }
.block-card-dark .block-rule { background: #2a2a2a; }

.block-card h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  color: #111111;
}

.section-dark .block-card h3 { color: #FFFFFF; }

.block-card p {
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
  color: #111111;
}

.section-dark .block-card p { color: #D1D5DB; }

.block-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.block-list li {
  font-size: 15px;
  line-height: 1.5;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: #D1D5DB;
}

.block-list li:first-child { padding-top: 0; }
.block-list li:last-child { border-bottom: 0; }

/* On the light booking section, block-list (if ever used) would invert: */
section:not(.section-dark) .block-list li {
  border-bottom-color: #E5E7EB;
  color: #111111;
}

/* ---------- BOOKING SECTION (now full container width) ---------- */

#booking { padding: 80px 0; }

#booking .lede { max-width: 760px; }

.booking-note {
  font-size: 14px;
  color: #6B7280;
  margin: 14px 0 36px;
  max-width: 760px;
}

/* ---------- CONTACT PAGE: POSTER HERO ---------- */

.hero-poster {
  padding: 96px 0 88px;
  background: #000000;
  color: #FFFFFF;
}

.hero-poster .brand-lockup { margin-bottom: 64px; }

.hero-poster-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #9CA3AF;
  margin: 0 0 24px;
}

.hero-poster-title {
  font-size: clamp(64px, 12vw, 160px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.92;
  margin: 0 0 32px;
  color: #FFFFFF;
}

.hero-rule-wide {
  width: 160px;
  height: 1px;
  background: #6B7280;
  margin: 0 0 28px;
  border: 0;
}

.hero-poster-tag {
  font-size: 17px;
  letter-spacing: 0.01em;
  color: #D1D5DB;
  max-width: 560px;
  margin: 0;
}

/* ---------- CONTACT BLOCKS: 2-COL VARIANT ---------- */

.contact-blocks-two {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 768px) {
  .contact-blocks-two { grid-template-columns: 1fr; }
  .hero-poster { padding: 64px 0 56px; }
  .hero-poster .brand-lockup { margin-bottom: 40px; }
}

/* ---------- FOOTER WORDMARK LINK ---------- */

.footer-wordmark-link {
  color: inherit;
  text-decoration: none;
  border: 0;
}
