/* ==========================================================================
   Kopi SH Juwara Cafe — minimalist landing page
   Palette: espresso / coffee / caramel / latte
   ========================================================================== */

/* --- Tokens ------------------------------------------------------------ */
:root {
  /* Brand — coffee */
  --espresso: #22150F;
  --coffee:   #3C2417;
  --mocha:    #5B3720;
  --caramel:  #B5793F;
  --crema:    #E2C9AC;
  --latte:    #EFE1D0;
  --cream:    #FAF5EE;
  --surface:  #FFFCF8;

  --ink:    #241610;
  --ink-2:  #6B564A;
  --ink-3:  #9B8477;
  --line:   #E3D3C0;
  --line-2: #D3BCA2;

  --accent:     var(--caramel);
  --accent-dk:  #96602B;

  --wa: #1F7A4D;

  /* tinted callouts */
  --green: #1d6b45;  --green-bg: #E9F1E9;
  --amber: #8C6310;  --amber-bg: #F8EEDC;
  --blue:  #2A5578;  --blue-bg:  #EAEFF4;
  --red:   #9E3A2A;  --red-bg:   #F6E9E5;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Instrument Serif", "Iowan Old Style", Georgia, serif;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;

  --shadow-sm: 0 1px 2px rgba(60, 36, 23, .06);
  --shadow-md: 0 10px 28px -14px rgba(60, 36, 23, .28);
  --shadow-lg: 0 28px 64px -30px rgba(36, 22, 16, .45);

  --container: 1120px;
  --section-y: clamp(3.5rem, 7vw, 6.5rem);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  line-height: 1.15;
  letter-spacing: -.02em;
  font-weight: 600;
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--mocha); color: var(--cream); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--espresso);
  color: var(--cream);
  padding: .6rem 1rem;
  border-radius: 0 0 var(--r-sm) 0;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* --- Layout ------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.container-narrow { max-width: 760px; }

.section { padding-block: var(--section-y); }
.section-tight { padding-block: clamp(2rem, 4vw, 3rem); }
.section-alt { background: var(--latte); }

.section-head {
  max-width: 640px;
  margin: 0 auto clamp(2rem, 4vw, 3.25rem);
  text-align: center;
}
.section-head-left { margin-inline: 0; text-align: left; }

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  letter-spacing: -.015em;
}
.section-sub { color: var(--ink-2); font-size: 1.02rem; }

.eyebrow {
  margin: 0 0 .85rem;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-dk);
}

.muted { color: var(--ink-3); font-size: .92rem; }

/* --- Buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: -.005em;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-wa {
  background: var(--coffee);
  color: var(--cream);
  box-shadow: 0 10px 24px -14px rgba(60, 36, 23, .85);
}
.btn-wa:hover {
  background: var(--espresso);
  box-shadow: 0 16px 30px -14px rgba(36, 22, 16, .75);
}

.btn-ghost {
  background: transparent;
  color: var(--coffee);
  border-color: var(--line-2);
}
.btn-ghost:hover { border-color: var(--coffee); background: var(--surface); }

.btn-sm { padding: .55rem 1.05rem; font-size: .85rem; }
.btn-lg { padding: 1.05rem 2rem; font-size: 1rem; }

/* --- Shine / glittering CTA -------------------------------------------- */
.btn-shine {
  --sh: 0 10px 24px -14px rgba(181, 121, 63, .85);
  --ring0: rgba(181, 121, 63, .5);
  --ringF: rgba(181, 121, 63, 0);

  position: relative;
  overflow: hidden;
  isolation: isolate;
  animation: ctaGlow 2.4s ease-in-out infinite, ctaSpark 2.4s ease-in-out infinite;
}

.btn-shine::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -60%;
  width: 46%;
  height: 220%;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, .2) 36%,
    rgba(255, 255, 255, .58) 50%,
    rgba(255, 255, 255, .2) 64%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  animation: ctaShine 2.6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes ctaShine {
  0%   { left: -60%; }
  62%  { left: 118%; }
  100% { left: 118%; }
}

@keyframes ctaGlow {
  0%, 100% { box-shadow: var(--sh), 0 0 0 0 var(--ring0); }
  50%      { box-shadow: var(--sh), 0 0 0 9px var(--ringF); }
}

@keyframes ctaSpark {
  0%, 100% { filter: brightness(1); }
  50%      { filter: brightness(1.12); }
}

/* --- Header ------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--espresso);
  border-bottom: 1px solid rgba(226, 201, 172, .14);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(181, 121, 63, .55), transparent);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin-right: auto;
}
.brand-mark {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  background: var(--caramel);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.brand-mark img { width: 80%; height: 80%; object-fit: contain; }
.brand-mark-sm { width: 32px; height: 32px; }

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: .92rem; font-weight: 600; letter-spacing: -.01em; color: var(--cream); }
.brand-text small {
  font-size: .68rem;
  color: var(--crema);
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .7;
}

.header-nav { display: flex; gap: 1.6rem; }
.header-nav a {
  font-size: .9rem;
  color: rgba(250, 245, 238, .72);
  transition: color .2s ease;
}
.header-nav a:hover { color: var(--caramel); }

.site-header .btn-sm {
  background: var(--caramel);
  color: var(--espresso);
}
.site-header .btn-sm:hover { background: var(--crema); }

/* --- Hero -------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--espresso);
  color: var(--cream);
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3rem, 6vw, 5rem);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 80% at 78% 22%, rgba(181, 121, 63, .32), transparent 70%),
    radial-gradient(50% 70% at 8% 85%, rgba(91, 55, 32, .7), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23B5793F' stroke-width='1.1' opacity='.5'%3E%3Cellipse cx='32' cy='32' rx='11' ry='17' transform='rotate(-28 32 32)'/%3E%3Cpath d='M32 15c-4.5 7-4.5 27 0 34'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 124px 124px;
  opacity: .11;
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-avatar {
  width: 74px;
  height: 74px;
  margin: 0 0 1.75rem;
  border-radius: 50%;
  background: var(--caramel);
  display: grid;
  place-items: center;
  box-shadow: 0 14px 34px -16px rgba(181, 121, 63, .9);
}
.hero-avatar img { width: 74%; height: 74%; object-fit: contain; }

.hero .eyebrow { color: var(--caramel); }

.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.35rem, 5.6vw, 4rem);
  line-height: 1.04;
  letter-spacing: -.02em;
  margin-bottom: 1.25rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--caramel);
}

.lead { font-size: clamp(1rem, 1.6vw, 1.12rem); color: var(--ink-2); max-width: 60ch; }
.lead strong { color: var(--ink); font-weight: 600; }

.hero .lead { color: rgba(250, 245, 238, .74); }
.hero .lead strong { color: var(--cream); }

.hero-cta {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .75rem;
}
.hero-note { font-size: .82rem; color: rgba(250, 245, 238, .5); }

.hero .btn-wa {
  background: var(--caramel);
  color: var(--espresso);
  box-shadow: 0 14px 34px -16px rgba(181, 121, 63, .95);
}
.hero .btn-wa:hover { background: var(--crema); }

.hero-stats {
  list-style: none;
  margin: clamp(2.25rem, 4.5vw, 3rem) 0 0;
  padding: 1.6rem 0 0;
  border-top: 1px solid rgba(226, 201, 172, .18);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.hero-stats li { display: flex; flex-direction: column; gap: .2rem; }
.hero-stats strong {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: -.01em;
  color: var(--caramel);
}
.hero-stats span {
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(250, 245, 238, .55);
}

/* Hero product visual */
.hero-visual {
  position: relative;
  border-radius: var(--r-xl);
  padding: clamp(1.25rem, 2.4vw, 2rem);
  background:
    radial-gradient(90% 80% at 50% 15%, rgba(181, 121, 63, .28), transparent 70%),
    linear-gradient(160deg, rgba(226, 201, 172, .16), rgba(226, 201, 172, .04));
  border: 1px solid rgba(226, 201, 172, .2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}
.hero-visual img {
  width: 100%;
  filter: drop-shadow(0 26px 40px rgba(0, 0, 0, .45));
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, .25);
  pointer-events: none;
}

/* --- Split layout ------------------------------------------------------ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split-reverse .split-media { order: 2; }

.split-media {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.split-media img { width: 100%; }

.split-body h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  margin-bottom: 1rem;
}
.split-body p { color: var(--ink-2); }

.check-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: .65rem;
}
.check-list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: .95rem;
  color: var(--ink-2);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .58em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--caramel);
}

/* --- Feature row ------------------------------------------------------- */
.feature-row {
  display: grid;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.feature-media {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
}
.feature-row h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
}
.feature-row p { font-size: .95rem; }

/* --- Cards ------------------------------------------------------------- */
.grid { display: grid; gap: clamp(1.25rem, 2.4vw, 1.75rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.card:hover {
  border-color: var(--line-2);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.card-plain:hover { transform: none; box-shadow: var(--shadow-sm); }

.card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--latte);
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.card:hover .card-media img { transform: scale(1.03); }

.card-body { padding: 1.6rem; }
.card-body h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.4rem;
  margin-bottom: .6rem;
}
.card-body p { font-size: .94rem; color: var(--ink-2); }

.card-index {
  display: inline-block;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-dk);
  margin-bottom: .6rem;
}

/* --- Lead figure ------------------------------------------------------- */
.lead-figure {
  margin: 0 auto clamp(1.75rem, 3.5vw, 2.75rem);
  max-width: 560px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.lead-figure img { width: 100%; }

/* --- Video ------------------------------------------------------------- */
.video { margin: 0; }
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--espresso);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video figcaption {
  margin-top: .9rem;
  font-size: .85rem;
  color: var(--ink-3);
  text-align: center;
}

.grid-video .vcard { margin: 0; }
.grid-video .video-frame { border-radius: var(--r-md); box-shadow: none; border-color: var(--line); }
.grid-video .video-frame iframe { pointer-events: none; }
.grid-video figcaption {
  margin-top: .65rem;
  font-size: .84rem;
  line-height: 1.45;
  color: var(--ink-2);
  font-weight: 500;
}

/* --- Gallery ----------------------------------------------------------- */
.gallery { display: grid; gap: clamp(.75rem, 1.5vw, 1rem); }
.gallery-4 { grid-template-columns: repeat(4, 1fr); }

.gallery-item {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface);
  cursor: zoom-in;
  aspect-ratio: 4 / 5;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.gallery--wide .gallery-item { aspect-ratio: 16 / 10; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery-item:hover {
  border-color: var(--line-2);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.gallery-item:hover img { transform: scale(1.04); }

/* --- Registration list ------------------------------------------------- */
.reg-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 1rem;
  display: grid;
  gap: .5rem;
}
.reg-list li span {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .92rem;
  letter-spacing: .02em;
  padding: .5rem .9rem;
  border: 1px dashed var(--line-2);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--mocha);
}

/* --- Callouts ---------------------------------------------------------- */
.callouts { display: grid; gap: .75rem; margin-top: 1.25rem; }
.callout {
  padding: 1rem 1.15rem;
  border-radius: var(--r-md);
  border-left: 3px solid;
  font-size: .93rem;
  color: var(--ink-2);
}
.callout p { margin: 0; }
.callout strong { color: inherit; font-weight: 600; }
.callout-green { background: var(--green-bg); border-color: var(--green); color: #17513a; }
.callout-amber { background: var(--amber-bg); border-color: var(--amber); color: #6b4a09; }
.callout-blue  { background: var(--blue-bg);  border-color: var(--blue);  color: #1f4463; }
.callout-red   { background: var(--red-bg);   border-color: var(--red);   color: #7d2d20; }

/* --- CTA band ---------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(70% 90% at 85% 10%, rgba(181, 121, 63, .3), transparent 70%),
    linear-gradient(135deg, var(--coffee), var(--espresso));
  color: var(--cream);
  padding-block: clamp(2.75rem, 6vw, 4rem);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23B5793F' stroke-width='1.1' opacity='.5'%3E%3Cellipse cx='32' cy='32' rx='11' ry='17' transform='rotate(-28 32 32)'/%3E%3Cpath d='M32 15c-4.5 7-4.5 27 0 34'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 120px 120px;
  opacity: .11;
  pointer-events: none;
}
.cta-band-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .35rem;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 3.5vw, 2.35rem);
  margin-bottom: .35rem;
}
.cta-band p { color: rgba(250, 245, 238, .68); font-size: .95rem; margin-bottom: 1.25rem; }
.cta-band .btn-wa {
  background: var(--caramel);
  color: var(--espresso);
  box-shadow: 0 14px 34px -16px rgba(0, 0, 0, .8);
}
.cta-band .btn-wa:hover { background: var(--crema); }

/* --- Final CTA --------------------------------------------------------- */
.cta-final {
  position: relative;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(181, 121, 63, .26), transparent 70%),
    linear-gradient(170deg, var(--mocha), var(--espresso) 70%);
  color: var(--cream);
}
.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23B5793F' stroke-width='1.1' opacity='.5'%3E%3Cellipse cx='32' cy='32' rx='11' ry='17' transform='rotate(-28 32 32)'/%3E%3Cpath d='M32 15c-4.5 7-4.5 27 0 34'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 124px 124px;
  opacity: .11;
  pointer-events: none;
}
.cta-final-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.cta-final .eyebrow { color: var(--caramel); }
.cta-final h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 4.5vw, 2.9rem);
}
.cta-final .lead { color: rgba(250, 245, 238, .72); margin-bottom: 1.75rem; }
.cta-final .lead strong { color: var(--cream); }
.cta-final .btn-wa {
  background: var(--caramel);
  color: var(--espresso);
  box-shadow: 0 14px 34px -16px rgba(0, 0, 0, .85);
}
.cta-final .btn-wa:hover { background: var(--crema); }
.cta-seal { margin-top: 2.25rem; }
.cta-seal img {
  height: 62px;
  width: auto;
  opacity: .95;
  filter: sepia(.32) saturate(1.15) contrast(1.03);
}

/* --- YouTube card ------------------------------------------------------ */
.yt-card {
  position: relative;
  display: block;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  transition: transform .25s ease, box-shadow .25s ease;
}
.yt-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.yt-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(34, 21, 15, .78);
  color: var(--cream);
  display: grid;
  place-items: center;
  backdrop-filter: blur(4px);
}
.yt-play svg { margin-left: 3px; }

/* --- Mentor ------------------------------------------------------------ */
.mentor { display: flex; align-items: center; gap: 1.25rem; }
.mentor-avatar {
  width: 72px;
  height: 72px;
  flex: none;
  border-radius: 50%;
  background: var(--latte);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.mentor-avatar img { width: 74%; height: 74%; object-fit: contain; }
.mentor h3 { margin-bottom: .25rem; }
.mentor a { color: var(--accent-dk); border-bottom: 1px solid currentColor; }

/* --- Scroll cue -------------------------------------------------------- */
.scroll-cue {
  width: 108px;
  height: 62px;
  margin: 0 auto;
  background: var(--caramel);
  opacity: .5;
  -webkit-mask: url("../img/peluang-bisnis.png") no-repeat center / contain;
  mask: url("../img/peluang-bisnis.png") no-repeat center / contain;
}

/* --- Footer ------------------------------------------------------------ */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--espresso);
  color: rgba(250, 245, 238, .72);
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  font-size: .88rem;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23B5793F' stroke-width='1.1' opacity='.5'%3E%3Cellipse cx='32' cy='32' rx='11' ry='17' transform='rotate(-28 32 32)'/%3E%3Cpath d='M32 15c-4.5 7-4.5 27 0 34'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 124px 124px;
  opacity: .1;
  pointer-events: none;
}
.footer-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}
.footer-brand { display: flex; align-items: center; gap: .75rem; }
.footer-brand strong { display: block; font-weight: 600; color: var(--cream); }
.footer-brand small { color: rgba(250, 245, 238, .5); font-size: .78rem; }
.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a { color: rgba(250, 245, 238, .72); }
.footer-links a:hover { color: var(--caramel); }
.footer-contact { display: flex; flex-direction: column; gap: .4rem; color: rgba(250, 245, 238, .5); }
.footer-contact > span {
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.footer-contact a {
  color: var(--caramel);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .01em;
}
.footer-contact a:hover { color: var(--crema); }
.footer-contact small { font-size: .78rem; }
.footer-base {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  border-top: 1px solid rgba(226, 201, 172, .16);
  padding-block: 1.25rem;
}
.footer-base p { color: rgba(250, 245, 238, .45); font-size: .8rem; margin: 0; }
.footer-legal { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .74rem !important; }

/* --- Sticky mobile CTA ------------------------------------------------- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: none;
  align-items: center;
  gap: 1rem;
  padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom));
  background: rgba(34, 21, 15, .95);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-top: 1px solid rgba(226, 201, 172, .2);
  transform: translateY(110%);
  transition: transform .3s ease;
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta-text { display: flex; flex-direction: column; line-height: 1.2; margin-right: auto; }
.sticky-cta-text strong { font-size: .9rem; font-weight: 600; color: var(--cream); }
.sticky-cta-text span { font-size: .75rem; color: rgba(250, 245, 238, .55); }
.sticky-cta .btn-wa {
  background: var(--caramel);
  color: var(--espresso);
  box-shadow: none;
  padding: .72rem 1.3rem;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .01em;
  flex: none;
}
.sticky-cta .btn-wa:hover { background: var(--crema); }

/* --- Lightbox ---------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(28, 17, 12, .96);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  animation: lbFade .2s ease;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: min(1000px, 92vw);
  max-height: 82vh;
  width: auto;
  border-radius: var(--r-md);
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: rgba(226, 201, 172, .12);
  border: 1px solid rgba(226, 201, 172, .25);
  color: var(--cream);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  line-height: 1;
  transition: background-color .2s ease;
}
.lightbox-close:hover,
.lightbox-nav:hover { background: rgba(226, 201, 172, .25); }
.lightbox-close { top: 1.25rem; right: 1.25rem; font-size: 1.75rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }

@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }

/* --- Reveal animation -------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s cubic-bezier(.22, 1, .36, 1), transform .6s cubic-bezier(.22, 1, .36, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* --- Responsive -------------------------------------------------------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 460px; }
  .hero-avatar { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .hero-stats li { align-items: center; }
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split-reverse .split-media { order: 0; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .header-nav { display: none; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 80px; }
  body { font-size: 15.5px; }

  .grid-2,
  .grid-3 { grid-template-columns: 1fr; }
  .gallery-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .mentor { flex-direction: column; align-items: flex-start; }
  .hero-cta { align-items: stretch; }
  .hero-cta .btn { width: 100%; }

  .sticky-cta { display: flex; }
  body { padding-bottom: 74px; }

  .lightbox-nav { width: 38px; height: 38px; }
  .lightbox-prev { left: .35rem; }
  .lightbox-next { right: .35rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }

  /* kilau dimatikan total (bukan dipercepat) supaya tidak jadi strobe */
  .btn-shine,
  .btn-shine::after {
    animation: none !important;
  }
  .btn-shine::after { display: none; }
}
