/* =========================================================
   LOPO by Langkah Kuda
   R2F — Brand Blend Fix + Mobile Roof Fix
   ========================================================= */

html,
body {
  overflow-x: hidden;
}

main.wrap:has(.lopo-premium) {
  width: min(1280px, calc(100% - 1rem));
  max-width: 1280px;
  margin: .85rem auto 0;
  padding: 0 !important;
  min-height: 0 !important;
}

.lopo-premium {
  --lopo-brown-1: #170a04;
  --lopo-brown-2: #2a1208;
  --lopo-gold-light: #e8bc76;
  --lopo-cream: #f7e8d0;
  --lopo-muted: #c9ad91;

  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: clamp(560px, calc(100vh - 175px), 700px);

  display: grid;
  grid-template-columns: minmax(420px, .94fr) minmax(430px, 1.06fr);

  overflow: hidden;
  border-radius: 24px;

  background:
    radial-gradient(circle at 72% 35%, rgba(135, 76, 28, .24), transparent 28%),
    linear-gradient(115deg, var(--lopo-brown-1), var(--lopo-brown-2) 52%, #35170b);

  color: var(--lopo-cream);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .10);
}

/* LEFT */
.lopo-copy {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 4vw, 3.4rem) clamp(1.5rem, 3.3vw, 2.8rem);
}

.lopo-brand {
  display: flex;
  align-items: center;
  gap: .68rem;
  margin-bottom: 1.05rem;
}

.lopo-brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.lopo-brand div {
  display: flex;
  flex-direction: column;
}

.lopo-brand strong {
  font-family: "Newsreader", serif;
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .11em;
  line-height: 1.05;
}

.lopo-brand span {
  margin-top: .12rem;
  color: var(--lopo-gold-light);
  font-family: "Space Mono", monospace;
  font-size: .48rem;
  letter-spacing: .18em;
  line-height: 1;
}

.lopo-heading {
  margin-top: 0;
}

.lopo-heading h1 {
  margin: 0;
  font-family: "Newsreader", serif;
  font-size: clamp(4rem, 5.8vw, 5.8rem);
  font-weight: 500;
  line-height: .86;
  letter-spacing: -.04em;
  background: linear-gradient(180deg, #f4cb8a, #a65d20 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lopo-heading p {
  margin: .48rem 0 0 .2rem;
  font-family: "Newsreader", serif;
  font-size: clamp(1rem, 1.55vw, 1.45rem);
  color: #e5c9a7;
}

/* PILLARS */
.lopo-pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1.25rem;
  border-top: 1px solid rgba(226, 174, 103, .28);
  border-bottom: 1px solid rgba(226, 174, 103, .18);
}

.lopo-pillar {
  min-width: 0;
  padding: .82rem .52rem .78rem;
  border-right: 1px solid rgba(226, 174, 103, .20);
}

.lopo-pillar:last-child {
  border-right: 0;
}

.lopo-pillar b {
  display: block;
  margin-bottom: .12rem;
  color: var(--lopo-gold-light);
  font-family: "Newsreader", serif;
  font-size: clamp(1.35rem, 2.2vw, 1.95rem);
  line-height: 1;
  font-weight: 500;
}

.lopo-pillar strong {
  display: block;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: .65rem;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.lopo-pillar span {
  display: block;
  margin-top: .26rem;
  color: var(--lopo-muted);
  font-family: "Newsreader", serif;
  font-size: .69rem;
  line-height: 1.20;
}

/* ORIGIN */
.lopo-origin {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: .8rem;
  align-items: center;
  margin-top: 1rem;
  max-width: 450px;
}

.lopo-origin-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(231, 179, 104, .34);
  color: var(--lopo-gold-light);
  font-size: .95rem;
  transform: rotate(45deg);
}

.lopo-origin p {
  margin: 0;
}

.lopo-origin strong,
.lopo-origin span {
  display: block;
}

.lopo-origin strong {
  color: #efd8bb;
  font-family: "Newsreader", serif;
  font-size: .88rem;
  font-weight: 500;
  line-height: 1.24;
}

.lopo-origin span {
  margin-top: .20rem;
  color: var(--lopo-muted);
  font-size: .73rem;
  line-height: 1.30;
}

/* ACTIONS */
.lopo-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: .75rem;
  margin-top: 1.1rem;
  max-width: 455px;
}

.lopo-action {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .62rem;
  padding: .66rem .9rem;
  border-radius: 11px;
  text-decoration: none;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: .82rem;
  font-weight: 650;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.lopo-action:hover {
  transform: translateY(-2px);
}

.lopo-action-primary {
  color: #271207;
  background: linear-gradient(180deg, #d99b4f, #a35f25);
  box-shadow: 0 8px 24px rgba(0,0,0,.20);
}

.lopo-action-secondary {
  color: #efd5b5;
  border: 1px solid rgba(223, 165, 86, .75);
  background: rgba(36, 16, 7, .42);
}

.lopo-action b {
  font-size: .72rem;
  letter-spacing: -.15em;
}

.lopo-action-notes {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: .75rem;
  max-width: 455px;
  margin-top: .36rem;
  color: #9f8772;
  font-size: .60rem;
}

/* RIGHT VISUAL */
.lopo-visual {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(48,22,10,.15), rgba(16,6,2,.7));
}

.lopo-house {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
  filter: sepia(.14) saturate(.9) brightness(.84) contrast(1.05);
  transform: scale(1.015);
}

.lopo-visual-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(42,18,8,.92) 0%, rgba(42,18,8,.34) 12%, transparent 36%),
    linear-gradient(180deg, rgba(20,8,3,.02), rgba(20,8,3,.32) 78%, rgba(20,8,3,.68));
}

.lopo-sun {
  position: absolute;
  z-index: 3;
  width: 100px;
  height: 100px;
  top: 12%;
  right: 9%;
  border: 1px solid rgba(201,137,61,.55);
  border-radius: 50%;
  box-shadow:
    0 0 0 18px rgba(201,137,61,.035),
    0 0 0 34px rgba(201,137,61,.020);
}

/* dekorasi kanan sangat ringan */
.lopo-architecture-word {
  position: absolute;
  z-index: 5;
  left: 8%;
  right: 6%;
  bottom: 9%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  pointer-events: none;
  opacity: .10;
}

.lopo-architecture-word span {
  color: rgba(224, 161, 80, .20);
  font-family: "Newsreader", serif;
  font-size: clamp(4rem, 7vw, 6.8rem);
  line-height: .74;
  font-weight: 500;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0,0,0,.45);
}

/* GLOW */
.lopo-glow {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(70px);
}

.lopo-glow-one {
  width: 210px;
  height: 210px;
  left: 20%;
  top: 18%;
  background: rgba(135, 77, 30, .12);
}

.lopo-glow-two {
  width: 250px;
  height: 150px;
  left: 34%;
  bottom: -70px;
  background: rgba(196, 119, 47, .10);
}

/* TABLET */
@media (max-width: 1100px) {
  main.wrap:has(.lopo-premium) {
    width: calc(100% - .75rem);
  }

  .lopo-premium {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .lopo-copy {
    padding: 1.7rem 1.3rem 1.4rem;
  }

  .lopo-visual {
    min-height: 360px;
    order: 2;
  }

  .lopo-house {
    object-position: center 22%;
    transform: scale(1);
  }

  .lopo-architecture-word {
    opacity: .08;
    left: 10%;
    right: 10%;
    bottom: 10%;
  }

  .lopo-sun {
    width: 84px;
    height: 84px;
    top: 10%;
    right: 7%;
  }
}

/* MOBILE */
@media (max-width: 700px) {
  main.wrap:has(.lopo-premium) {
    width: calc(100% - .5rem);
    margin: .5rem auto 0;
  }

  .lopo-premium {
    border-radius: 18px 18px 0 0;
  }

  .lopo-copy {
    padding: 1.3rem 1rem 1.1rem;
  }

  .lopo-brand {
    margin-bottom: .8rem;
  }

  .lopo-brand img {
    width: 26px;
    height: 26px;
  }

  .lopo-brand strong {
    font-size: .76rem;
  }

  .lopo-brand span {
    font-size: .44rem;
  }

  .lopo-heading h1 {
    font-size: clamp(3rem, 17vw, 4.3rem);
  }

  .lopo-heading p {
    font-size: 1.02rem;
    margin-top: .35rem;
  }

  .lopo-pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lopo-pillar:nth-child(2) {
    border-right: 0;
  }

  .lopo-pillar:nth-child(-n+2) {
    border-bottom: 1px solid rgba(226, 174, 103, .18);
  }

  .lopo-origin {
    grid-template-columns: 30px 1fr;
    gap: .6rem;
  }

  .lopo-origin-mark {
    width: 26px;
    height: 26px;
    font-size: .80rem;
  }

  .lopo-origin strong {
    font-size: .82rem;
  }

  .lopo-origin span {
    font-size: .69rem;
  }

  .lopo-actions,
  .lopo-action-notes {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .lopo-action {
    min-height: 42px;
    font-size: .80rem;
  }

  .lopo-action-notes span:nth-child(2) {
    display: none;
  }

  .lopo-visual {
    min-height: 285px;
  }

  /* fix atap rumah terpotong di HP */
  .lopo-house {
    object-position: center 12%;
    transform: scale(1);
  }

  .lopo-architecture-word {
    display: none;
  }

  .lopo-sun {
    width: 62px;
    height: 62px;
    top: 10%;
    right: 8%;
  }
}

/* =========================================================
   LOPO R2G — MICRO TUNING FINAL VISUAL
   Fix:
   1) logo kiri atas terlalu tenggelam
   2) gap antara hero dan footer
   3) judul LOPO kiri atas kepotong
   ========================================================= */

body:has(.lopo-premium) main.wrap {
  min-height: 0 !important;
  height: auto !important;
  padding-bottom: 0 !important;
  margin-bottom: -1px !important;
}

body:has(.lopo-premium) .lopo-premium {
  margin-bottom: 0 !important;
}

body:has(.lopo-premium) .lk-site-footer {
  margin-top: 0 !important;
}

/* logo kiri atas dibikin terlihat tapi tetap blend */
.lopo-brand {
  align-items: center;
  gap: .72rem;
  margin-bottom: 1.2rem;
}

.lopo-brand img {
  width: 34px !important;
  height: 34px !important;
  padding: 5px;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(255, 248, 238, .10);
  border: 1px solid rgba(232, 188, 118, .24);
  box-shadow: 0 6px 16px rgba(0,0,0,.18);
  filter: brightness(1.06) contrast(1.04);
}

/* brand text dirapikan */
.lopo-brand strong {
  font-size: .86rem !important;
  line-height: 1.05;
}

.lopo-brand span {
  font-size: .47rem !important;
  line-height: 1.05;
}

/* judul LOPO jangan kepotong */
.lopo-heading {
  margin-top: 0;
  padding-top: .28rem;
  overflow: visible;
}

.lopo-heading h1 {
  font-size: clamp(4.15rem, 5.6vw, 5.45rem) !important;
  line-height: .98 !important;
  padding-top: .04em;
  overflow: visible;
}

.lopo-heading p {
  margin-top: .55rem !important;
}

/* sedikit rapikan blok kiri supaya bernapas */
.lopo-copy {
  padding-top: clamp(2.15rem, 4vw, 3.55rem) !important;
}

/* di desktop, hero langsung nempel rapi ke footer */
@media (min-width: 701px) {
  body:has(.lopo-premium) main.wrap {
    margin-top: .85rem !important;
    margin-bottom: -1px !important;
  }
}

/* tablet */
@media (max-width: 1100px) {
  .lopo-brand img {
    width: 32px !important;
    height: 32px !important;
    padding: 4px;
  }

  .lopo-heading h1 {
    line-height: 1 !important;
  }

  .lopo-visual {
    min-height: 365px !important;
  }

  .lopo-house {
    object-position: center 18% !important;
  }
}

/* HP */
@media (max-width: 700px) {
  body:has(.lopo-premium) main.wrap {
    margin-top: .5rem !important;
    margin-bottom: -1px !important;
    padding-bottom: 0 !important;
  }

  .lopo-brand {
    margin-bottom: .92rem !important;
  }

  .lopo-brand img {
    width: 30px !important;
    height: 30px !important;
    padding: 4px;
    border-radius: 9px;
  }

  .lopo-heading {
    padding-top: .18rem;
  }

  .lopo-heading h1 {
    font-size: clamp(3.15rem, 16vw, 4.2rem) !important;
    line-height: 1.01 !important;
    padding-top: .03em;
  }

  .lopo-heading p {
    font-size: 1rem !important;
  }

  /* atap rumah dibuat lebih aman tampil */
  .lopo-visual {
    min-height: 305px !important;
  }

  .lopo-house {
    object-position: center 8% !important;
    transform: scale(1) !important;
  }
}


/* =========================================================
   LOPO R2H — LOGO VISIBILITY BLEND FIX
   Tujuan:
   - logo resmi tetap dipakai
   - lebih terlihat di background gelap
   - tetap blend, bukan tempelan kotak putih
   ========================================================= */

.lopo-brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .78rem;

  padding: .34rem .72rem .34rem .42rem;
  border-radius: 14px;

  isolation: isolate;
}

.lopo-brand::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;

  border-radius: 14px;

  background:
    radial-gradient(
      circle at 22px 50%,
      rgba(232, 188, 118, .18) 0,
      rgba(232, 188, 118, .09) 26px,
      rgba(232, 188, 118, 0) 70px
    ),
    linear-gradient(
      90deg,
      rgba(247, 232, 208, .11) 0%,
      rgba(247, 232, 208, .05) 55%,
      rgba(247, 232, 208, 0) 100%
    );

  border: 1px solid rgba(232, 188, 118, .10);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    0 8px 24px rgba(0,0,0,.12);

  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);

  pointer-events: none;
}

.lopo-brand img,
.lopo-brand div {
  position: relative;
  z-index: 1;
}

.lopo-brand img {
  width: 30px !important;
  height: 30px !important;
  padding: 0 !important;

  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;

  object-fit: contain;

  opacity: .98;
  filter:
    brightness(1.14)
    contrast(1.08)
    saturate(1.02)
    drop-shadow(0 2px 8px rgba(0,0,0,.42));
}

.lopo-brand strong {
  font-size: .87rem !important;
  line-height: 1.05;
  text-shadow: 0 1px 10px rgba(0,0,0,.30);
}

.lopo-brand span {
  font-size: .47rem !important;
  line-height: 1.05;
  text-shadow: 0 1px 8px rgba(0,0,0,.26);
}

/* Tablet */
@media (max-width: 1100px) {
  .lopo-brand {
    padding: .32rem .66rem .32rem .40rem;
    gap: .72rem;
  }

  .lopo-brand::before {
    border-radius: 13px;
  }

  .lopo-brand img {
    width: 29px !important;
    height: 29px !important;
  }
}

/* HP */
@media (max-width: 700px) {
  .lopo-brand {
    padding: .28rem .56rem .28rem .36rem;
    gap: .62rem;
    border-radius: 12px;
  }

  .lopo-brand::before {
    border-radius: 12px;
    background:
      radial-gradient(
        circle at 20px 50%,
        rgba(232, 188, 118, .15) 0,
        rgba(232, 188, 118, .08) 22px,
        rgba(232, 188, 118, 0) 60px
      ),
      linear-gradient(
        90deg,
        rgba(247, 232, 208, .09) 0%,
        rgba(247, 232, 208, .04) 52%,
        rgba(247, 232, 208, 0) 100%
      );
  }

  .lopo-brand img {
    width: 27px !important;
    height: 27px !important;
  }

  .lopo-brand strong {
    font-size: .77rem !important;
  }

  .lopo-brand span {
    font-size: .43rem !important;
  }
}


/* =========================================================
   LOPO R2I — IVORY LOGO BLEND
   Alas gading hanya pada simbol, bukan seluruh brand strip.
   ========================================================= */

/* Hilangkan panel panjang R2H */
.lopo-brand {
  position: relative;
  display: flex;
  align-items: center;
  gap: .72rem;

  width: fit-content;

  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;

  margin-bottom: 1.15rem;
}

.lopo-brand::before {
  display: none !important;
}

/* Alas gading lembut hanya untuk logo */
.lopo-brand img {
  box-sizing: content-box;

  width: 29px !important;
  height: 29px !important;

  padding: 7px !important;

  object-fit: contain;

  background:
    linear-gradient(
      145deg,
      rgba(255, 250, 239, .97),
      rgba(235, 218, 190, .92)
    ) !important;

  border:
    1px solid rgba(232, 188, 118, .42) !important;

  border-radius: 11px !important;

  box-shadow:
    0 7px 18px rgba(0, 0, 0, .24),
    0 0 0 1px rgba(255, 248, 231, .05),
    0 0 24px rgba(197, 129, 54, .10) !important;

  opacity: 1 !important;

  filter:
    contrast(1.07)
    saturate(.98) !important;

  transition:
    transform .18s ease,
    box-shadow .18s ease;
}

.lopo-brand:hover img {
  transform: translateY(-1px);

  box-shadow:
    0 9px 22px rgba(0, 0, 0, .27),
    0 0 26px rgba(197, 129, 54, .14) !important;
}

/* Teks brand tetap berdiri langsung di atas background hero */
.lopo-brand div {
  position: relative;
}

.lopo-brand strong {
  color: #f3d7aa;
  font-size: .86rem !important;
  line-height: 1.05;

  text-shadow:
    0 1px 8px rgba(0,0,0,.40);
}

.lopo-brand span {
  color: #d79645;
  font-size: .46rem !important;
  line-height: 1.05;

  text-shadow:
    0 1px 7px rgba(0,0,0,.36);
}


/* Tablet */
@media (max-width: 1100px) {

  .lopo-brand img {
    width: 28px !important;
    height: 28px !important;

    padding: 6px !important;

    border-radius: 10px !important;
  }

}


/* HP */
@media (max-width: 700px) {

  .lopo-brand {
    gap: .62rem;
    margin-bottom: .9rem;
  }

  .lopo-brand img {
    width: 25px !important;
    height: 25px !important;

    padding: 6px !important;

    border-radius: 9px !important;
  }

  .lopo-brand strong {
    font-size: .76rem !important;
  }

  .lopo-brand span {
    font-size: .42rem !important;
  }

}


/* =========================================================
   LOPO R2J — FINAL PHILOSOPHY COPY
   ========================================================= */

.lopo-origin {
  align-items: start;
}

.lopo-origin-story {
  margin: 0;

  color: #efd8bb;

  font-family: "Newsreader", serif;
  font-size: .82rem;
  line-height: 1.42;

  max-width: 430px;
}

/* sedikit tonjolkan kalimat pembuka tanpa membuatnya berat */
.lopo-origin-story::first-line {
  color: #f6dfbd;
}

/* tablet */
@media (max-width: 1100px) {
  .lopo-origin-story {
    max-width: 620px;
    font-size: .80rem;
    line-height: 1.40;
  }
}

/* HP */
@media (max-width: 700px) {
  .lopo-origin-story {
    max-width: none;
    font-size: .76rem;
    line-height: 1.40;
  }
}

/* ==========================================================
   LOPO 5B — ACCOUNT BRIDGE / ENTRY FLOW
   ========================================================== */

.lopo-entry-shell {
  min-height: 70vh;
  padding: 58px 20px 72px;
  display: grid;
  place-items: start center;
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(194, 150, 79, 0.15),
      transparent 36%
    ),
    #160d09;
}

.lopo-entry-card {
  width: min(760px, 100%);
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(217, 177, 105, 0.28);
  border-radius: 28px;
  background:
    linear-gradient(
      145deg,
      rgba(58, 35, 24, 0.97),
      rgba(31, 18, 13, 0.98)
    );
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.28);
}

.lopo-entry-back {
  display: inline-flex;
  margin-bottom: 34px;
  color: #d9b169;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.lopo-entry-kicker {
  margin-bottom: 8px;
  color: #c89b58;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.lopo-entry-card h1 {
  margin: 0;
  color: #fff7e8;
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1.02;
}

.lopo-entry-intro {
  max-width: 620px;
  margin: 16px 0 30px;
  color: rgba(255, 247, 232, 0.72);
  line-height: 1.7;
}

.lopo-entry-identity {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.lopo-entry-identity > div {
  min-width: 0;
  padding: 18px 20px;
  border: 1px solid rgba(217, 177, 105, 0.18);
  border-radius: 16px;
  background: rgba(255, 248, 235, 0.045);
}

.lopo-entry-identity span {
  display: block;
  margin-bottom: 5px;
  color: rgba(255, 247, 232, 0.48);
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.lopo-entry-identity strong {
  display: block;
  overflow-wrap: anywhere;
  color: #fff4df;
  font-size: 0.98rem;
}

.lopo-entry-placeholder {
  padding: 21px 22px;
  border-radius: 17px;
  background: #f2e3c5;
  color: #2d1b13;
}

.lopo-entry-placeholder strong {
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.lopo-entry-placeholder p {
  margin: 7px 0 0;
  line-height: 1.55;
}

@media (max-width: 640px) {
  .lopo-entry-shell {
    padding:
      34px 14px
      48px;
  }

  .lopo-entry-card {
    padding:
      26px 20px
      30px;
    border-radius: 22px;
  }

  .lopo-entry-identity {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   LOPO 5B-A3 — JOIN CODE
   ========================================================== */

.lopo-join-form {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
}

.lopo-join-form label {
  color: rgba(255, 247, 232, 0.66);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.lopo-join-form input {
  width: 100%;
  min-height: 54px;
  padding: 0 17px;
  border:
    1px solid
    rgba(217, 177, 105, 0.28);
  border-radius: 14px;
  outline: none;
  background:
    rgba(255, 248, 235, 0.065);
  color: #fff7e8;
  font: inherit;
  font-size: 1rem;
  box-sizing: border-box;
}

.lopo-join-form input:focus {
  border-color:
    rgba(217, 177, 105, 0.75);
  box-shadow:
    0 0 0 3px
    rgba(217, 177, 105, 0.10);
}

.lopo-join-submit {
  min-height: 52px;
  margin-top: 5px;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  background:
    linear-gradient(
      135deg,
      #ead09c,
      #c9974e
    );
  color: #29180f;
  font: inherit;
  font-weight: 850;
}

.lopo-form-error {
  padding: 10px 12px;
  border-radius: 10px;
  background:
    rgba(182, 66, 50, 0.16);
  color: #ffd7cf;
  font-size: 0.82rem;
}

/* ==========================================================
   LOPO 5B-A4 — HOST MEETING DRAFT
   ========================================================== */

.lopo-host-form {
  display: grid;
  gap: 18px;
}

.lopo-field {
  display: grid;
  gap: 7px;
}

.lopo-field label {
  color: rgba(255, 247, 232, 0.68);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.lopo-field input,
.lopo-field textarea,
.lopo-field select {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 15px;
  border:
    1px solid
    rgba(217, 177, 105, 0.27);
  border-radius: 13px;
  outline: none;
  background:
    rgba(255, 248, 235, 0.06);
  color: #fff7e8;
  font: inherit;
}

.lopo-field input {
  min-height: 50px;
}

.lopo-field textarea {
  resize: vertical;
  min-height: 110px;
}

.lopo-field input:focus,
.lopo-field textarea:focus {
  border-color:
    rgba(217, 177, 105, 0.75);
  box-shadow:
    0 0 0 3px
    rgba(217, 177, 105, 0.1);
}

.lopo-field small {
  color:
    rgba(255, 247, 232, 0.45);
  font-size: 0.72rem;
}

.lopo-field .errorlist {
  margin: 0;
  padding: 8px 10px;
  list-style: none;
  border-radius: 9px;
  background:
    rgba(182, 66, 50, 0.16);
  color: #ffd7cf;
  font-size: 0.8rem;
}

.lopo-host-grid {
  display: grid;
  grid-template-columns:
    2fr 1fr 1fr;
  gap: 14px;
}

.lopo-draft-code {
  margin: 26px 0 18px;
  padding: 22px;
  border:
    1px solid
    rgba(217, 177, 105, 0.28);
  border-radius: 17px;
  background:
    rgba(255, 248, 235, 0.055);
}

.lopo-draft-code span {
  display: block;
  margin-bottom: 5px;
  color:
    rgba(255, 247, 232, 0.46);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lopo-draft-code strong {
  color: #f0cd8c;
  font-size: clamp(
    1.5rem,
    5vw,
    2.35rem
  );
  letter-spacing: 0.08em;
}

.lopo-draft-grid {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.lopo-draft-grid > div {
  padding: 16px 18px;
  border:
    1px solid
    rgba(217, 177, 105, 0.17);
  border-radius: 14px;
  background:
    rgba(255, 248, 235, 0.04);
}

.lopo-draft-grid span {
  display: block;
  margin-bottom: 4px;
  color:
    rgba(255, 247, 232, 0.44);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.lopo-draft-grid strong {
  color: #fff4df;
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .lopo-host-grid {
    grid-template-columns: 1fr;
  }

  .lopo-draft-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   LOPO 5B-A5 — INVITE & ROOM LIFECYCLE
   ========================================================== */

.lopo-status-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 13px 17px;
  border:
    1px solid
    rgba(217, 177, 105, 0.18);
  border-radius: 12px;
  background:
    rgba(255, 248, 235, 0.04);
}

.lopo-status-line span {
  color:
    rgba(255, 247, 232, 0.46);
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.lopo-status-line strong {
  color: #f0cd8c;
}

.lopo-invite-panel,
.lopo-lifecycle-panel {
  margin-top: 22px;
  padding: 20px;
  border:
    1px solid
    rgba(217, 177, 105, 0.2);
  border-radius: 16px;
  background:
    rgba(255, 248, 235, 0.045);
}

.lopo-panel-label {
  display: block;
  margin-bottom: 10px;
  color: #c99d59;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.lopo-invite-panel p,
.lopo-lifecycle-panel p {
  color:
    rgba(255, 247, 232, 0.68);
  line-height: 1.55;
}

.lopo-invite-copy {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    auto;
  gap: 9px;
}

.lopo-invite-copy input {
  min-width: 0;
  min-height: 46px;
  padding: 0 13px;
  border:
    1px solid
    rgba(217, 177, 105, 0.24);
  border-radius: 11px;
  background:
    rgba(0, 0, 0, 0.18);
  color: #fff4df;
}

.lopo-invite-copy button {
  padding: 0 18px;
  border: 0;
  border-radius: 11px;
  cursor: pointer;
  background: #e3c184;
  color: #2b1a11;
  font-weight: 800;
}

.lopo-share-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 11px;
}

.lopo-share-links a {
  padding: 8px 13px;
  border:
    1px solid
    rgba(217, 177, 105, 0.22);
  border-radius: 999px;
  color: #e9c982;
  text-decoration: none;
  font-size: 0.79rem;
  font-weight: 750;
}

.lopo-lifecycle-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.lopo-lifecycle-panel
.lopo-panel-label {
  width: 100%;
}

.lopo-lifecycle-panel form {
  margin: 0;
}

.lopo-life-primary,
.lopo-life-danger {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 11px;
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
}

.lopo-life-primary {
  border: 0;
  background:
    linear-gradient(
      135deg,
      #ead09c,
      #c9974e
    );
  color: #29180f;
}

.lopo-life-danger {
  border:
    1px solid
    rgba(225, 108, 90, 0.35);
  background:
    rgba(182, 66, 50, 0.12);
  color: #ffd3ca;
}

@media (max-width: 640px) {
  .lopo-invite-copy {
    grid-template-columns: 1fr;
  }

  .lopo-invite-copy button {
    min-height: 44px;
  }

  .lopo-lifecycle-panel form {
    width: 100%;
  }

  .lopo-life-primary,
  .lopo-life-danger {
    width: 100%;
  }
}

/* ==========================================================
   LOPO 5B-A6-3R1 — DATE / TIME UX
   ========================================================== */

.lopo-schedule-box {
  display: grid;
  gap: 16px;
  padding: 18px;
  border:
    1px solid
    rgba(217, 177, 105, 0.22);
  border-radius: 15px;
  background:
    rgba(255, 248, 235, 0.035);
}

.lopo-schedule-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.lopo-schedule-heading > div {
  display: grid;
  gap: 4px;
}

.lopo-schedule-heading strong {
  color: #fff4df;
  font-size: 0.93rem;
}

.lopo-schedule-heading small {
  color:
    rgba(255, 247, 232, 0.5);
  font-size: 0.74rem;
}

.lopo-time-format {
  flex: 0 0 auto;
  padding: 6px 10px;
  border:
    1px solid
    rgba(217, 177, 105, 0.2);
  border-radius: 999px;
  color: #e5c27e;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.lopo-date-time-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1.5fr)
    minmax(190px, 0.8fr);
  gap: 14px;
  align-items: end;
}

.lopo-time-group {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    auto
    minmax(0, 1fr);
  gap: 8px;
  align-items: end;
}

.lopo-time-separator {
  padding-bottom: 14px;
  color: #e6c17c;
  font-size: 1.35rem;
  font-weight: 900;
}

.lopo-field select {
  width: 100%;
  min-height: 50px;
  box-sizing: border-box;
  padding: 0 13px;
  border:
    1px solid
    rgba(217, 177, 105, 0.27);
  border-radius: 13px;
  outline: none;
  background: #2d1a10;
  color: #fff7e8;
  font: inherit;
}

.lopo-field select:focus {
  border-color:
    rgba(217, 177, 105, 0.75);
  box-shadow:
    0 0 0 3px
    rgba(217, 177, 105, 0.1);
}

.lopo-field input[type="date"] {
  color-scheme: dark;
}

.lopo-time-help {
  margin: 0;
  color:
    rgba(255, 247, 232, 0.46);
  font-size: 0.72rem;
  line-height: 1.5;
}

.lopo-host-grid-secondary {
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
}

@media (max-width: 720px) {
  .lopo-schedule-heading {
    flex-direction: column;
  }

  .lopo-date-time-grid {
    grid-template-columns: 1fr;
  }

  .lopo-time-group {
    grid-template-columns:
      minmax(0, 1fr)
      auto
      minmax(0, 1fr);
  }

  .lopo-host-grid-secondary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 390px) {
  .lopo-schedule-box {
    padding: 15px;
  }

  .lopo-time-group {
    gap: 6px;
  }

  .lopo-field select {
    padding:
      0
      9px;
  }
}

/* LOPO A4 layout continuity */
.lopo-entry-shell {
  min-height: 0;
  padding-bottom: 42px;
}

main:has(.lopo-entry-shell),
main:has(.lopo-hero-shell),
main:has(.lopo-landing-shell) {
  min-height: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.lopo-entry-shell + *,
.lopo-hero-shell + *,
.lopo-landing-shell + * {
  margin-top: 0;
}

@media (max-width: 640px) {
  .lopo-entry-shell {
    min-height: 0;
    padding-bottom: 32px;
  }
}

/* ==========================================================
   LOPO A4-A1-R5
   Meeting actions and entry footer continuity
   ========================================================== */

.lopo-entry-shell {
  margin-bottom: -68px;
}

.lopo-meeting-actions {
  display: grid;
  grid-template-columns:
    minmax(120px, 150px)
    minmax(120px, 150px);
  gap: 12px;
  align-items: stretch;
  justify-content: start;
  margin-top: 22px;
}

.lopo-meeting-actions .lopo-join-submit {
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 9px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.15;
  white-space: normal;
}

.lopo-action-label {
  display: inline-block;
  line-height: 1.15;
}

.lopo-action-label-now {
  max-width: 7.2ch;
}

.lopo-meeting-actions
.lopo-join-submit-secondary {
  background:
    linear-gradient(
      135deg,
      #f1d28f,
      #d99139
    );
}

.lopo-meeting-actions
.lopo-join-submit-secondary:hover {
  transform: translateY(-1px);
}

.lopo-meeting-actions
+ .lopo-time-help {
  margin-top: 12px;
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .lopo-entry-shell {
    margin-bottom: -38px;
  }

  .lopo-meeting-actions {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(0, 1fr);
    gap: 10px;
  }

  .lopo-meeting-actions
  .lopo-join-submit {
    min-height: 50px;
    padding:
      8px
      10px;
    font-size: .88rem;
  }
}

/* LOPO Invitation A2 */
.lopo-invite-title {
  margin: 8px 0 12px;
  font-size: 1.3rem;
  line-height: 1.25;
}

.lopo-invite-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 16px 0;
}

.lopo-invite-meta span {
  font-size: .88rem;
}

.lopo-invite-preview-label {
  display: block;
  margin-bottom: 7px;
  font-weight: 700;
}

.lopo-invite-preview {
  width: 100%;
  min-height: 290px;
  box-sizing: border-box;
  padding: 16px;
  resize: vertical;
  border-radius: 14px;
  font: inherit;
  line-height: 1.55;
}

.lopo-invite-copy {
  margin-top: 12px;
}

.lopo-invite-direct-link {
  margin-top: 16px;
  display: grid;
  gap: 5px;
  overflow-wrap: anywhere;
}

.lopo-invite-direct-link span {
  font-size: .82rem;
  font-weight: 700;
}

@media (max-width: 640px) {
  .lopo-invite-preview {
    min-height: 330px;
  }
}

/* LOPO final invitation link visibility */
.lopo-invite-direct-link a {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  padding: 8px 11px;
  border: 1px solid rgba(238, 193, 105, .42);
  border-radius: 9px;
  background: rgba(238, 193, 105, .08);
  color: #f1c979;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.lopo-invite-direct-link a:visited {
  color: #f1c979;
}

.lopo-invite-direct-link a:hover,
.lopo-invite-direct-link a:focus-visible {
  background: rgba(238, 193, 105, .15);
  color: #ffe2a4;
}

.lopo-invite-direct-link span {
  color: rgba(255, 244, 218, .78);
}

@media (max-width: 640px) {
  .lopo-invite-direct-link a {
    width: 100%;
    box-sizing: border-box;
  }
}


/* P2B — LOPO release coming-soon card */
.lopo-coming-soon {
  display: grid;
  gap: 0.55rem;
  max-width: 42rem;
  margin-top: 1.15rem;
  padding: 1rem 1.1rem;
  border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  border-radius: 16px;
  background: color-mix(in srgb, var(--kertas, #fffaf0) 88%, transparent);
  box-shadow: 0 14px 34px rgba(47, 31, 25, 0.08);
}
.lopo-coming-soon-badge {
  width: fit-content;
  padding: 0.28rem 0.58rem;
  border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.lopo-coming-soon strong {
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  line-height: 1.25;
}
.lopo-coming-soon p {
  margin: 0;
  max-width: 62ch;
  font-size: clamp(0.83rem, 1.15vw, 0.94rem);
  line-height: 1.55;
  opacity: 0.82;
}
html[data-theme="malam"] .lopo-coming-soon {
  background: rgba(34, 25, 22, 0.68);
  border-color: rgba(255, 250, 240, 0.14);
}
@media (max-width: 640px) {
  .lopo-coming-soon {
    margin-top: 0.85rem;
    padding: 0.82rem 0.88rem;
    border-radius: 14px;
  }
}


/* P4D-C1-C FINAL LOPO LIGHT CARD */
html:not([data-theme="malam"]) .lopo-coming-soon {
  background:
    radial-gradient(circle at 14% 0%, rgba(231, 189, 114, .14), transparent 46%),
    linear-gradient(145deg, rgba(63, 35, 26, .98), rgba(39, 23, 18, .97)) !important;
  border: 1px solid rgba(231, 189, 114, .38) !important;
  color: #f8ead6 !important;
  box-shadow:
    0 14px 30px rgba(32, 17, 12, .20),
    inset 0 1px 0 rgba(255, 250, 240, .07) !important;
}

html:not([data-theme="malam"]) .lopo-coming-soon :where(h1, h2, h3, h4, strong, b) {
  color: #fff3dd !important;
}

html:not([data-theme="malam"]) .lopo-coming-soon :where(p, li, span, small) {
  color: #e2c9aa !important;
}

html:not([data-theme="malam"]) .lopo-coming-soon :where(
  [class*="eyebrow"],
  [class*="kicker"],
  [class*="label"],
  [class*="badge"]
) {
  color: #e7bd72 !important;
}

html:not([data-theme="malam"]) .lopo-coming-soon :where(a, button) {
  color: #fff3dd !important;
}
/* END P4D-C1-C FINAL LOPO LIGHT CARD */

