/* Rakam marketing page. Standalone on purpose: the guest camera, gallery and
   dashboards keep app.css, so restyling the landing page can never move a
   button a guest is about to tap at a majlis. */

:root {
  --ink: #12100e;
  --ink-2: #1a1714;
  --ink-3: #24201b;
  --line: rgba(244, 237, 226, .12);
  --ivory: #f4ede2;
  --ivory-2: #ebe2d3;
  --muted: rgba(244, 237, 226, .68);
  --gold: #d4ae72;
  --gold-hi: #e6c58f;
  --paper: #f3ece1;
  --paper-ink: #1d1915;
  --paper-muted: #5f564b;
  --paper-line: rgba(29, 25, 21, .12);
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 18px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------------------------------------------------------------- type */
.eyebrow {
  font: 600 12px/1 var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
h1, h2 { font-family: var(--serif); letter-spacing: -.01em; }
h1 em, h2 em { font-style: italic; color: var(--gold-hi); }
h2 { font-size: clamp(34px, 5vw, 56px); line-height: 1.05; }
h3 { font: 600 18px/1.3 var(--sans); }
.lede { color: var(--muted); font-size: clamp(16px, 1.6vw, 18px); max-width: 560px; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--sans); letter-spacing: .01em;
  text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-hi); }
.btn-line { border-color: rgba(244, 237, 226, .35); color: var(--ivory); }
.btn-line:hover { border-color: var(--ivory); background: rgba(244, 237, 226, .06); }
.paper .btn-line { border-color: var(--paper-line); color: var(--paper-ink); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-block { display: flex; width: 100%; }

/* ---------------------------------------------------------------- nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background-color .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.solid {
  background: rgba(18, 16, 14, .82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav-in {
  display: flex; align-items: center; gap: 24px;
  max-width: 1200px; margin: 0 auto; padding: 14px var(--gutter);
}
.logo { font: 600 28px/1 var(--serif); text-decoration: none; letter-spacing: .01em; }
.logo i { color: var(--gold); font-style: normal; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { text-decoration: none; font-size: 14px; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--ivory); }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-in .btn { margin-left: auto; }
}

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative; isolation: isolate;
  min-height: min(100svh, 920px);
  display: flex; align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; filter: saturate(.85); }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(18,16,14,.94) 0%, rgba(18,16,14,.78) 42%, rgba(18,16,14,.35) 75%, rgba(18,16,14,.55) 100%),
    linear-gradient(0deg, var(--ink) 0%, rgba(18,16,14,0) 30%);
}
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(54px, 8.4vw, 104px); line-height: .95; margin-bottom: 26px; }
.hero .lede { margin-bottom: 34px; color: rgba(244, 237, 226, .8); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero-meta { font-size: 14px; color: var(--muted); }

.hero-device { position: relative; justify-self: center; padding: 30px 96px 56px; }
.phone {
  position: relative; width: 270px; aspect-ratio: 9 / 19;
  border-radius: 44px; padding: 10px;
  background: linear-gradient(145deg, #3a332b, #0d0b09);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.7), inset 0 0 0 1.5px rgba(255,255,255,.08);
}
.phone-notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 84px; height: 24px; border-radius: 20px; background: #000; z-index: 3; }
.phone-screen { position: relative; height: 100%; border-radius: 35px; overflow: hidden; background: #000; }
.phone-screen > img { width: 100%; height: 100%; object-fit: cover; }
.ph-top {
  position: absolute; top: 54px; left: 14px; right: 14px;
  display: flex; justify-content: space-between; align-items: center;
  font: 600 11px/1 var(--sans); color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.5);
}
.ph-count { background: rgba(0,0,0,.45); padding: 6px 9px; border-radius: 999px; letter-spacing: .06em; }
.ph-count b { color: var(--gold-hi); }
.ph-chips { position: absolute; bottom: 92px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.ph-chips span { font: 600 10px/1 var(--sans); padding: 7px 10px; border-radius: 999px; background: rgba(0,0,0,.45); color: rgba(255,255,255,.8); }
.ph-chips .on { background: var(--gold); color: var(--ink); }
.ph-bar { position: absolute; bottom: 0; left: 0; right: 0; height: 82px; display: grid; place-items: center; background: linear-gradient(0deg, rgba(0,0,0,.6), transparent); }
.ph-shutter { width: 56px; height: 56px; border-radius: 50%; border: 4px solid #fff; box-shadow: inset 0 0 0 3px rgba(0,0,0,.4); background: rgba(255,255,255,.9); }

.float-card {
  position: absolute; width: 132px; padding: 7px 7px 9px;
  background: var(--ivory); color: var(--paper-ink);
  border-radius: 6px; box-shadow: 0 24px 50px -12px rgba(0,0,0,.6);
  font: 600 10px/1.2 var(--sans);
}
.float-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; margin-bottom: 7px; }
.fc-1 { top: 4%; right: 0; transform: rotate(6deg); animation: bob 7s ease-in-out infinite; }
.fc-2 { top: 40%; left: 0; transform: rotate(-7deg); animation: bob 8s ease-in-out -3s infinite; }
@keyframes bob { 50% { translate: 0 -10px; } }
.live-pill {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 9px 14px; border-radius: 999px;
  background: rgba(18,16,14,.85); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font: 600 12px/1 var(--sans);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #6fcf8a; box-shadow: 0 0 0 0 rgba(111,207,138,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(111,207,138,0); } 100% { box-shadow: 0 0 0 0 rgba(111,207,138,0); } }

@media (max-width: 960px) {
  .hero { padding: 104px 0 56px; min-height: 0; }
  .hero-in { grid-template-columns: 1fr; gap: 40px; }
  .hero-media::after {
    background: linear-gradient(180deg, rgba(18,16,14,.7) 0%, rgba(18,16,14,.85) 45%, var(--ink) 100%);
  }
  .hero-device { padding: 20px 76px 52px; }
  .phone { width: 230px; }
}
@media (max-width: 520px) {
  .hero-cta .btn { flex: 1 1 100%; }
  .float-card { width: 96px; padding: 5px 5px 7px; font-size: 8px; }
  .hero-device { padding: 16px 56px 52px; }
  .phone { width: 200px; }
}

/* ---------------------------------------------------------------- facts */
.facts { border-block: 1px solid var(--line); background: var(--ink-2); }
.facts-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 30px 20px; text-align: center; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; }
.fact b { display: block; font: 300 40px/1 var(--sans); letter-spacing: -.02em; color: var(--gold-hi); margin-bottom: 10px; }
/* Sans, not the serif: Cormorant only ships old-style figures, so a lone 0 read as the letter o. */
.fact span { font-size: 13px; color: var(--muted); }
@media (max-width: 720px) {
  .facts-in { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ---------------------------------------------------------------- sections */
.section { padding: clamp(80px, 11vw, 140px) 0; }
.paper { background: var(--paper); color: var(--paper-ink); }
.paper .eyebrow { color: #9a7337; }
.paper h2 em { color: #9a7337; }
.paper .lede { color: var(--paper-muted); }
.sec-head { max-width: 720px; margin-bottom: clamp(44px, 6vw, 72px); }
.sec-head h2 { margin-bottom: 18px; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step-art {
  height: 220px; border-radius: var(--r); margin-bottom: 26px;
  background: var(--ink-2); border: 1px solid var(--line);
  display: grid; place-items: center; overflow: hidden; position: relative;
}
.step-no { display: block; font: italic 500 22px/1 var(--serif); color: var(--gold); margin-bottom: 10px; }
.step h3 { margin-bottom: 8px; font-size: 20px; }
.step p { color: var(--muted); font-size: 15px; }

.mini-card {
  width: 70%; padding: 18px 20px; border-radius: 12px;
  background: var(--ink-3); border: 1px solid var(--line);
  display: grid; gap: 4px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.8);
}
.mini-card small { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.mini-card b { font: 500 26px/1.1 var(--serif); }
.mini-card span { font-size: 12px; color: var(--muted); }
.mini-pin { margin-top: 10px; font: 600 12px/1 var(--sans); font-style: normal; color: var(--ink); background: var(--gold); justify-self: start; padding: 6px 10px; border-radius: 999px; }

.qr-card {
  width: 150px; padding: 16px 14px; text-align: center; border-radius: 8px;
  background: var(--paper); color: var(--paper-ink);
  display: grid; gap: 4px; justify-items: center;
  transform: rotate(-4deg); box-shadow: 0 24px 40px -16px rgba(0,0,0,.8);
}
.qr-card small { font-size: 8px; letter-spacing: .3em; color: #9a7337; }
.qr-card b { font: 600 18px/1.1 var(--serif); margin-bottom: 6px; }
.qr-card .qr { width: 84px; height: 84px; fill: var(--paper-ink); }
.qr-card span { font-size: 9px; color: var(--paper-muted); margin-top: 4px; }

.art-gal { grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 18px; place-items: stretch; }
.art-gal img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.art-gal img:nth-child(odd) { margin-top: 18px; }
.art-gal img:nth-child(even) { margin-bottom: 18px; }

@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 48px; max-width: 520px; }
}

/* film */
.film-in { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.film-copy h2 { margin-bottom: 18px; }
.film-copy .lede { margin-bottom: 32px; }
.film-tabs { display: grid; gap: 8px; }
.film-tabs button {
  all: unset; cursor: pointer; display: grid; gap: 2px;
  padding: 16px 20px; border-radius: 14px;
  border: 1px solid var(--paper-line); transition: background-color .2s, border-color .2s;
}
.film-tabs button b { font: 500 24px/1.1 var(--serif); }
.film-tabs button span { font-size: 14px; color: var(--paper-muted); }
.film-tabs button:hover { border-color: rgba(29,25,21,.3); }
.film-tabs button[aria-selected="true"] { background: var(--paper-ink); color: var(--paper); border-color: var(--paper-ink); }
.film-tabs button[aria-selected="true"] span { color: rgba(243,236,225,.7); }
.film-tabs button:focus-visible { outline: 2px solid #9a7337; outline-offset: 3px; }
.film-view {
  position: relative; aspect-ratio: 3 / 2; border-radius: var(--r); overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(29,25,21,.5);
}
.film-view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease); }
.film-view img.on { opacity: 1; }
@media (max-width: 860px) {
  .film-in { grid-template-columns: 1fr; }
  .film-view { order: -1; }
  .film-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
  .film-tabs button { flex: 1 1 auto; padding: 10px 14px; text-align: center; }
  .film-tabs button b { font-size: 19px; }
  .film-tabs button span { display: none; }
}

/* features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature { padding: 36px 32px 40px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background-color .3s; }
.feature:hover { background: var(--ink-2); }
.feature svg { width: 30px; height: 30px; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 22px; }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } .feature { padding: 28px 22px; } }

/* gallery */
.gallery-sec { background: var(--ink-2); border-block: 1px solid var(--line); overflow: hidden; }
.gal-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.gal-copy h2 { margin-bottom: 18px; }
.gal-copy .lede { margin-bottom: 32px; }
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mosaic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; }
.mosaic img:nth-child(3n+2) { transform: translateY(32px); }
@media (max-width: 860px) {
  .gal-in { grid-template-columns: 1fr; }
  .mosaic { padding-bottom: 32px; }
}

/* pricing */
.price-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.price-in .sec-head { margin-bottom: 0; }
.price {
  background: var(--ink); color: var(--ivory);
  border-radius: 24px; padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 40px 80px -30px rgba(29,25,21,.55);
  position: relative; overflow: hidden;
}
.price::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, var(--gold), transparent 45%, transparent 70%, rgba(212,174,114,.5)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.price-top { padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.price-name { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.price-amt { font: 500 88px/.9 var(--serif); }
.price-amt small { font-size: 30px; vertical-align: top; margin-right: 4px; position: relative; top: 10px; }
.price-sub { color: var(--muted); margin-top: 8px; }
.ticks { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; font-size: 15px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(212,174,114,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e6c58f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.price-note { margin-top: 16px; font-size: 13px; color: var(--muted); text-align: center; }
@media (max-width: 860px) { .price-in { grid-template-columns: 1fr; } }

/* faq */
.faq-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 5vw, 72px); align-items: start; }
.faq-group { font: 600 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin: 0 0 8px; }
details { border-bottom: 1px solid var(--line); }
summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 22px 40px 22px 0; font-weight: 600; font-size: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 12px; height: 12px; margin-top: -6px;
  background: linear-gradient(var(--gold), var(--gold)) center / 12px 1.5px no-repeat,
              linear-gradient(var(--gold), var(--gold)) center / 1.5px 12px no-repeat;
  transition: transform .3s var(--ease);
}
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 40px 24px 0; color: var(--muted); font-size: 15px; }
details p b { color: var(--ivory); font-weight: 600; }
@media (max-width: 860px) { .faq-cols { grid-template-columns: 1fr; } .faq-col + .faq-col { margin-top: 48px; } }

/* final */
.final { position: relative; isolation: isolate; padding: clamp(110px, 16vw, 200px) 0; text-align: center; overflow: hidden; }
.final-media { position: absolute; inset: 0; z-index: -1; }
.final-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.final-media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(18,16,14,.72), rgba(18,16,14,.92) 70%), linear-gradient(var(--ink), transparent 20%, transparent 80%, var(--ink)); }
.final h2 { max-width: 820px; margin: 0 auto 36px; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 64px 0 28px; background: var(--ink); }
.foot-in { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
/* Dividers drawn inside the gutters so they line up with the content edge. */
.foot-brand p, .foot-contact p { color: var(--muted); font-size: 14px; margin-top: 14px; max-width: 300px; }
.foot-links { display: grid; gap: 10px; align-content: start; }
.foot-links a { text-decoration: none; color: var(--muted); font-size: 14px; }
.foot-links a:hover { color: var(--ivory); }
.foot-base { display: flex; justify-content: space-between; padding-top: 24px; background: linear-gradient(var(--line), var(--line)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat; font-size: 13px; color: var(--muted); }
@media (max-width: 760px) { .foot-in { grid-template-columns: 1fr; } }

/* sticky mobile CTA */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(0deg, var(--ink) 55%, rgba(18,16,14,0));
  transform: translateY(110%); transition: transform .35s var(--ease);
}
.sticky-cta.show { transform: none; }
@media (min-width: 861px) { .sticky-cta { display: none; } }
@media (max-width: 860px) { .foot { padding-bottom: 100px; } }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .fc-1, .fc-2, .dot { animation: none; }
}
