/* Salam House — salamhouse.co
   Brand colours and type come from the Salam House brand kit. */

@font-face { font-family: "Anton"; src: url("assets/fonts/anton-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("assets/fonts/archivo-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("assets/fonts/archivo-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("assets/fonts/archivo-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --teal: #00DBB1;
  --orange: #FF9700;
  --flame: #FF4800;
  --sun: #FAEF5E;
  --ink: #0A0A0A;
  --paper: #FFFFFF;
  --cream: #F5F2EC;
  --muted-dark: #B3B3B3;   /* muted text on black */
  --muted-light: #555555;  /* muted text on white/cream */
  --line-dark: #2A2A2A;
  --line-light: #E3DED5;
  --night: #002C4E;
  --indigo: #4048DA;
  --violet: #6200C0;
  --pad-x: clamp(20px, 5vw, 80px);
  --display: "Anton", "Bebas Neue", Impact, sans-serif;
  --sans: "Archivo", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: .85; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

.display { font-family: var(--display); font-weight: 400; text-transform: uppercase; margin: 0; line-height: .95; letter-spacing: .005em; }
.label { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin: 0; }
.wrap { padding-left: var(--pad-x); padding-right: var(--pad-x); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 6px; font-weight: 700; font-size: 16px; border: 2px solid transparent; }
.btn-flame { background: var(--flame); color: var(--ink); }
.btn-ghost { border-color: currentColor; }
.btn-ink { background: var(--ink); color: var(--paper); }

/* Header */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line-dark); position: relative; }
.site-header .logo img { height: 48px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--paper); border-radius: 6px; font-weight: 700; font-size: 15px; }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; z-index: 10; background: var(--ink); border-bottom: 1px solid var(--line-dark); padding: 12px var(--pad-x) 28px; display: flex; flex-direction: column; }
.menu-panel a { padding: 14px 0; font-family: var(--display); font-size: 34px; text-transform: uppercase; border-bottom: 1px solid var(--line-dark); }
.menu-panel a.btn { margin-top: 20px; font-family: var(--sans); font-size: 16px; text-transform: none; border-bottom: 0; }

@media (max-width: 860px) {
  .nav { display: none; }
  .menu { display: block; }
}

/* Hero */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero-video { position: absolute; inset: 0; z-index: -1; display: none; pointer-events: none; }
.hero-video iframe { position: absolute; top: 50%; left: 50%; width: 100vw; height: 56.25vw; min-height: 100%; min-width: 177.78vh; transform: translate(-50%, -50%); border: 0; }
.hero-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,.88) 0%, rgba(10,10,10,.55) 60%, rgba(10,10,10,.35) 100%); }
.hero.has-video .hero-video { display: block; }
.hero.has-video .hero-mark { display: none; }
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: clamp(48px, 8vw, 112px); padding-bottom: clamp(48px, 8vw, 112px); }
.hero-copy { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero h1 { font-size: clamp(60px, 9vw, 136px); line-height: .92; }
.hero .lede { margin: 0; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--muted-dark); max-width: 560px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-mark { flex: 1 1 280px; display: flex; justify-content: center; }
.hero-mark img { width: 100%; max-width: 440px; aspect-ratio: 1 / 1; }
@media (max-width: 640px) { .hero-mark img { max-width: 240px; } }

/* What we do */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.pillar { color: var(--ink); padding: 40px 32px; min-height: 280px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.pillar h2 { font-size: 44px; line-height: 1; }
a.pillar { position: relative; transition: filter .15s; }
a.pillar:hover { opacity: 1; filter: brightness(1.06); }
.pillar-go { position: absolute; top: 34px; right: 28px; font-size: 26px; font-weight: 700; transition: transform .15s; }
a.pillar:hover .pillar-go { transform: translateX(4px); }
.pillar p { margin: 12px 0 0; }
@media (max-width: 640px) { .pillar { min-height: 0; padding: 32px 24px; gap: 40px; } }
.bg-paper { background: var(--paper); }
.bg-flame { background: var(--flame); } .bg-orange { background: var(--orange); } .bg-teal { background: var(--teal); } .bg-sun { background: var(--sun); }

/* Section heads */
.section { padding-top: clamp(64px, 8vw, 96px); padding-bottom: clamp(64px, 8vw, 96px); display: flex; flex-direction: column; gap: 40px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.section-head h2 { font-size: clamp(48px, 6vw, 80px); margin-top: 12px; }
.link-underline { font-weight: 700; border-bottom: 2px solid var(--flame); padding-bottom: 4px; }

/* Shows */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }
.show { display: flex; flex-direction: column; gap: 16px; }
.show h3 { font-size: 32px; }
.show .meta { margin: 0; color: var(--muted-dark); }
.show .btn { align-self: flex-start; }
.show-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.trailer-link { gap: 8px; }
.soon-note { font-size: 14px; font-weight: 700; color: var(--sun); }
.show .poster-img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center top; box-shadow: 0 20px 50px rgba(0,0,0,.45); }

/* Book */
.book { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 28px; }
.book img { width: 220px; box-shadow: 0 20px 44px rgba(0,0,0,.25); }
.book > div { flex: 1 1 200px; display: flex; flex-direction: column; gap: 10px; }
.book h3 { font-size: 40px; }
.book .btn { align-self: flex-start; margin-top: 8px; }

/* Show trailers */
.poster-wrap { position: relative; }
.poster-wrap .trailer-frame { position: absolute; inset: 0; background: #000; display: flex; align-items: center; z-index: 2; }
.poster-wrap .trailer-frame iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; }
.trailer-btn { position: absolute; left: 14px; bottom: 14px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; background: rgba(10,10,10,.82); color: var(--paper); font-size: 13px; font-weight: 700; letter-spacing: .04em; padding: 10px 14px; border-radius: 999px; min-height: 40px; }
.trailer-btn.is-soon { background: rgba(10,10,10,.7); color: var(--sun); }

/* Films */
.film-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.film { display: flex; flex-direction: column; gap: 8px; }
.film-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #111; display: block; }
.film-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
a.film:hover .film-thumb img { transform: scale(1.04); }
a.film:hover { opacity: 1; }
.play { position: absolute; left: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%; background: var(--flame); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.film-title { font-size: 24px; margin-top: 6px; }
.film-meta { font-size: 14px; color: var(--muted-dark); }
.film.is-soon .film-meta { color: var(--sun); }

/* Artists */
.light { background: var(--cream); color: var(--ink); }
.light .label.muted, .light .muted { color: var(--muted-light); }
.artist { display: flex; flex-direction: column; gap: 12px; }
.artist .photo { aspect-ratio: 1 / 1; display: flex; align-items: flex-end; padding: 16px; overflow: hidden; position: relative; }
.artist .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.artist h3 { font-size: 28px; }
.artist p { margin: 0; }
.bio summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.bio summary::-webkit-details-marker { display: none; }
.bio summary > span:first-child { display: flex; flex-direction: column; gap: 6px; }
.bio-toggle { flex: none; width: 36px; height: 36px; border: 2px solid var(--ink); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 22px; line-height: 1; transition: transform .2s; }
.bio[open] .bio-toggle { transform: rotate(45deg); }
.bio summary:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.bio-text { margin-top: 14px; display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 1.6; color: #2a2a2a; }
.split .title-card { width: 100%; max-width: 560px; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px !important; }
.socials a { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; padding: 8px 12px; min-height: 36px; border: 1.5px solid var(--ink); border-radius: 999px; color: var(--ink); }
.socials a:hover { background: var(--ink); color: var(--paper); opacity: 1; }

/* Originals + publishing */
.split { display: flex; flex-wrap: wrap; background: var(--paper); color: var(--ink); }
.split > div { flex: 1 1 420px; padding: clamp(48px, 6vw, 80px) var(--pad-x); display: flex; flex-direction: column; gap: 20px; }
.split > div + div { border-left: 1px solid var(--line-light); }
.split h2 { font-size: 56px; }
.split p { margin: 0; font-size: 18px; line-height: 1.55; max-width: 460px; }
.split .btn { align-self: flex-start; }
/* Sign-up */
.signup { background: var(--teal); color: var(--ink); padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 88px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.signup h2 { font-size: clamp(44px, 5vw, 72px); flex: 1 1 420px; }
.signup form { display: flex; flex-wrap: wrap; gap: 12px; flex: 1 1 420px; }
.signup input { flex: 1 1 240px; font: inherit; font-size: 17px; padding: 0 18px; min-height: 56px; border: 2px solid var(--ink); border-radius: 6px; background: var(--paper); color: var(--ink); }
.signup button { font: inherit; font-weight: 700; font-size: 17px; padding: 0 28px; min-height: 56px; border: 0; border-radius: 6px; background: var(--ink); color: var(--paper); cursor: pointer; }

/* Footer */
.site-footer { padding-top: 56px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 40px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer-top .logo img { height: 72px; width: auto; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 56px; font-size: 15px; line-height: 2; }
.footer-cols .label { color: var(--orange); margin-bottom: 6px; line-height: 1.4; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.legal { margin: 0; font-size: 13px; color: var(--muted-dark); border-top: 1px solid var(--line-dark); padding-top: 24px; }
