/* Ujaya — cinematic warmth. Aubergine #241724 · burnt orange #EF603D · warm ivory #F5ECDC */

:root {
  --aubergine: #241724;
  --aubergine-deep: #1b101b;
  --orange: #EF603D;
  --orange-deep: #d54e2d;
  --orange-ink: #A33A25;
  --ivory: #F5ECDC;
  --ivory-soft: rgba(245, 236, 220, 0.72);
  --apricot: #F6BE93;
  --ink: #241724;

  --serif: "Fraunces", ui-serif, Georgia, serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;

  --max: 1240px;
  --max-narrow: 980px;
  --pad: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

html, body {
  background: var(--aubergine);
  color: var(--ivory);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body { min-height: 100vh; display: flex; flex-direction: column; }

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; }

::selection { background: var(--orange); color: var(--aubergine); }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}
.wrap-narrow {
  max-width: var(--max-narrow);
  width: 100%;
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: var(--pad);
  top: -100px;
  z-index: 100;
  background: var(--orange);
  color: var(--aubergine);
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 0 0 8px 8px;
}
.skip-link:focus { top: 0; }

/* ---------- Nav ---------- */
.nav {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 26px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 650;
  font-size: 20px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  min-height: 44px;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--ivory-soft);
}
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; transition: color 0.2s ease; padding: 10px 0; }
.nav-links a:hover { color: var(--ivory); }

.nav-links .nav-cta {
  display: inline-flex;
  align-items: center;
  color: var(--ivory);
  min-height: 44px;
  padding: 11px 22px;
  border: 1px solid rgba(245, 236, 220, 0.4);
  border-radius: 999px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.nav-cta:hover {
  border-color: var(--orange);
  background: rgba(239, 96, 61, 0.14);
  color: var(--ivory);
}

/* ---------- Hero ---------- */
.hero {
  padding-top: 20px;
}

.hero-text {
  min-width: 0;
  max-width: 100%;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--apricot);
  margin-bottom: 20px;
}

.headline {
  font-family: var(--serif);
  font-weight: 350;
  font-variation-settings: "SOFT" 100, "opsz" 144;
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--ivory);
  margin-bottom: 40px;
  overflow-wrap: break-word;
}

.headline-line { display: block; font-size: clamp(42px, 8vw, 104px); text-wrap: balance; }

.headline-line--em {
  font-size: clamp(52px, 10vw, 132px);
  font-style: italic;
  font-weight: 400;
  color: var(--orange);
}

.subline {
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.55;
  color: var(--ivory-soft);
  max-width: 48ch;
  margin-bottom: 40px;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  background: var(--orange);
  color: var(--aubergine);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.25s ease, transform 0.25s ease;
}
.btn-primary:hover { background: var(--orange-deep); transform: translateY(-1px); }
.btn-primary .arrow { transition: transform 0.25s ease; }
.btn-primary:hover .arrow { transform: translateX(3px); }

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14.5px;
  color: var(--ivory-soft);
  border-bottom: 1px solid rgba(245, 236, 220, 0.35);
  padding: 8px 0;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.text-link:hover { color: var(--ivory); border-color: var(--orange); }

/* Hero footer: ruled strip of the five stage titles */
.hero-stages {
  margin-top: 40px;
  border-top: 1px solid rgba(246, 190, 147, 0.3);
  border-bottom: 1px solid rgba(246, 190, 147, 0.3);
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: baseline;
  font-family: var(--serif);
  font-size: clamp(15px, 1.6vw, 19px);
  color: var(--ivory-soft);
  font-variation-settings: "SOFT" 100, "opsz" 18;
}
.hero-stages span[aria-hidden] { color: var(--orange); }

/* ---------- Featured film ---------- */
.film { padding: clamp(72px, 11vh, 150px) 0; }

.film-intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.film-heading {
  font-family: var(--serif);
  font-weight: 350;
  font-variation-settings: "SOFT" 100, "opsz" 96;
  font-size: clamp(32px, 4.4vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 18ch;
}
.film-heading em { font-style: italic; color: var(--orange); }

.film-meta {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--apricot);
}

.film-frame {
  position: relative;
  width: 100%;
  border: 1px solid rgba(246, 190, 147, 0.3);
  background: var(--aubergine-deep);
}

.film-poster { width: 100%; }

.film-play {
  position: absolute;
  right: clamp(16px, 3vw, 40px);
  bottom: clamp(16px, 3vw, 40px);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 24px;
  border: none;
  border-radius: 999px;
  background: var(--orange);
  color: var(--aubergine);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}
.film-play:hover { background: var(--orange-deep); transform: scale(1.03); }

.film-play-triangle {
  width: 0;
  height: 0;
  border-left: 14px solid var(--aubergine);
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
}

.film-play-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.film-embed {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.film-fallback {
  margin-top: 18px;
  font-size: 14px;
  color: var(--ivory-soft);
}
.film-fallback a {
  color: var(--apricot);
  border-bottom: 1px solid rgba(246, 190, 147, 0.5);
  padding-bottom: 2px;
}
.film-fallback a:hover { color: var(--ivory); }

/* ---------- System ---------- */
.section {
  background: var(--ivory);
  color: var(--ink);
  padding: clamp(80px, 12vh, 160px) 0;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: end;
  margin-bottom: clamp(48px, 8vh, 88px);
}

.section-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange-ink);
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--orange);
}

.section-title {
  font-family: var(--serif);
  font-weight: 350;
  font-variation-settings: "SOFT" 100, "opsz" 96;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.section-title .em { font-style: italic; font-weight: 300; }

.section-lede {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(36, 23, 36, 0.72);
  max-width: 52ch;
  margin-top: 24px;
}

/* Numbered editorial rows tied by an orange vertical rule */
.system-list {
  list-style: none;
  position: relative;
}

.system-list::before {
  content: "";
  position: absolute;
  left: 31px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: var(--orange);
  opacity: 0.5;
}

.system-row {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: clamp(20px, 4vw, 48px);
  padding: clamp(28px, 4vw, 44px) 0;
}

.system-num {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1;
  color: var(--orange-ink);
  background: var(--ivory);
  align-self: start;
  padding: 6px 0;
  font-variation-settings: "SOFT" 100, "opsz" 24;
}

.system-title {
  font-family: var(--serif);
  font-weight: 350;
  font-variation-settings: "SOFT" 100, "opsz" 48;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.system-title em { font-style: italic; font-weight: 300; }

.system-desc {
  font-size: 16px;
  line-height: 1.55;
  color: rgba(36, 23, 36, 0.72);
  max-width: 60ch;
  margin-top: 10px;
}

.system-tag {
  display: inline-block;
  margin-top: 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange-ink);
  border: 1px solid rgba(239, 96, 61, 0.4);
  border-radius: 999px;
  padding: 5px 12px;
}

/* Quote inset panel */
.system-quote {
  margin-top: clamp(48px, 8vh, 80px);
  background: var(--aubergine);
  color: var(--ivory);
  border-radius: 16px;
  padding: clamp(36px, 5vw, 64px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.system-pull {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "SOFT" 100, "opsz" 36;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.4;
  max-width: 30ch;
}

.quote-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  color: var(--orange);
  font-weight: 600;
  font-size: 15px;
  border-bottom: 2px solid var(--orange);
  padding: 6px 0;
  transition: color 0.2s ease;
}
.quote-link:hover { color: var(--ivory); }

/* ---------- Closing ---------- */
.closing {
  background: var(--orange);
  color: var(--aubergine);
  padding: clamp(96px, 14vh, 180px) 0;
}

.closing-inner {
  max-width: var(--max-narrow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.closing-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.closing-title {
  font-family: var(--serif);
  font-weight: 300;
  font-variation-settings: "SOFT" 100, "opsz" 144;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  max-width: 16ch;
  margin-bottom: 32px;
  align-self: flex-end;
}
.closing-title .em { font-style: italic; font-weight: 400; }

.closing-sub {
  font-size: 18px;
  line-height: 1.55;
  max-width: 52ch;
  margin-bottom: 44px;
}

.closing-cta-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.btn-closing {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  background: var(--aubergine);
  color: var(--ivory);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 999px;
  transition: background 0.25s ease, transform 0.25s ease;
}
.btn-closing:hover { background: var(--aubergine-deep); transform: translateY(-1px); }
.btn-closing .arrow { transition: transform 0.25s ease; }
.btn-closing:hover .arrow { transform: translateX(3px); }

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 14.5px;
  font-weight: 500;
  border-bottom: 1px solid rgba(36, 23, 36, 0.4);
  padding: 6px 0;
  transition: border-color 0.2s ease;
}
.whatsapp-link:hover { border-color: var(--aubergine); }
.whatsapp-link svg { width: 18px; height: 18px; }

.closing-foot {
  margin-top: 72px;
  padding-top: 24px;
  border-top: 1px solid rgba(36, 23, 36, 0.25);
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  opacity: 0.85;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--aubergine-deep);
  padding: clamp(64px, 9vh, 112px) 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivory-soft);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  display: inline-block;
  min-height: 44px;
  padding: 6px 0;
  font-size: 15px;
  color: var(--ivory);
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--orange); }

.footer-brand-line {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ivory-soft);
  max-width: 34ch;
  margin-top: 16px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid rgba(245, 236, 220, 0.12);
  font-size: 13px;
  color: var(--ivory-soft);
}

.footer-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  display: inline-block;
  margin: 0 4px;
}

/* ---------- Mobile ---------- */
.film-fallback a { display: inline-flex; align-items: center; min-height: 44px; }
.section :focus-visible { outline-color: var(--orange-ink); }
.system-quote :focus-visible { outline-color: var(--orange); }
.closing :focus-visible { outline-color: var(--aubergine); }

@media (max-width: 980px) {
  .nav-links a:not(.nav-cta) { display: none; }

  .section-head { grid-template-columns: 1fr; gap: 20px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }

  .closing-inner { align-items: flex-start; }
  .closing-title { align-self: flex-start; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .film-play { right: 12px; bottom: 12px; }
}

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