/* =========================================================
   Chrone Studio: light theme, mobile-first
   Logo orange + black on a clean cream base. Tinted sections are solid
   logo orange (like the Chrone x Glas artwork); cards stay cream on top.
   (Previous peach version: git history before "Palet orange".)
   ========================================================= */
:root {
  --bg: #FFF5EA;          /* page: clean cream */
  --bg-2: #F6E7D8;        /* placeholders / soft fills */
  --surface: #FFFBF6;     /* cards: warm white, never pure #FFF */
  --ink: #1A1410;         /* warm near-black */
  --ink-2: #5B4B40;
  --muted: #9C8877;
  --line: #F3DFC9;
  --orange: #F07A1A;      /* logo accent */
  --orange-deep: #C2620F;
  --orange-soft: #FDE3CB;
  --peach: #F9C08C;       /* soft blob colour used in the artwork */
  --wa: #25D366;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(122,72,30,.05), 0 10px 26px rgba(122,72,30,.08);
  --gutter: 18px;
  --head-h: 60px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -0.02em; }
p { margin: 0; }
button { font: inherit; color: inherit; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.hl { color: var(--orange); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 22px;
  border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 15px;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(240,122,26,.35); }
.btn-orange:hover { background: var(--orange-deep); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #3A2E26; }
.btn-light { background: #fff; color: var(--ink); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-block { display: flex; width: 100%; }

/* ---------- Header ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  height: var(--head-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
/* blur lives on a pseudo-element so the fixed mobile menu isn't trapped by backdrop-filter */
.topbar::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(251,242,232,.88);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
}
.topbar.scrolled { border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; position: relative; z-index: 2; }
.mark { width: 32px; height: 32px; color: var(--ink); }
.wordmark { font-family: "Montserrat", "Outfit", sans-serif; font-weight: 600; font-size: 17px; letter-spacing: .12em; line-height: 1; display: flex; flex-direction: column; }
.wordmark small { font-size: 10px; font-weight: 500; letter-spacing: .28em; color: var(--orange-deep); margin-top: 3px; }

.menu-btn {
  position: relative; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: var(--ink); cursor: pointer;
  display: grid; place-items: center; gap: 0;
}
.menu-btn span { position: absolute; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s ease; }
.menu-btn span:first-child { transform: translateY(-4px); }
.menu-btn span:last-child { transform: translateY(4px); }
.menu-open .menu-btn span:first-child { transform: rotate(45deg); }
.menu-open .menu-btn span:last-child { transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 1;
  background: var(--bg);
  padding: calc(var(--head-h) + 24px) var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 4px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.menu a:not(.btn) {
  font-size: 30px; font-weight: 600; letter-spacing: -0.02em;
  padding: 10px 0; border-bottom: 1px solid var(--line);
}
.menu a:not(.btn):active { color: var(--orange); }
.menu .menu-cta { margin-top: 24px; }
.menu-open .menu { opacity: 1; visibility: visible; transform: none; }
.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { padding: 28px 0 36px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; right: -120px; top: -80px;
  width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240,122,26,.22), rgba(240,122,26,0) 70%);
  pointer-events: none;
}
.hero-grid { display: grid; gap: 30px; position: relative; }
.hero h1 { font-size: clamp(40px, 11.5vw, 72px); font-weight: 700; margin: 8px 0 14px; }
.lead { color: var(--ink-2); font-size: 16.5px; max-width: 34ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-cta .btn { min-width: 160px; }

.hero-visual { position: relative; padding: 14px 6px 22px 0; }
/* Hero photo: real print + frame mockups, cross-fading */
.hero-slides {
  position: relative; z-index: 1;
  width: 100%; aspect-ratio: 3/2; overflow: hidden;
  border-radius: var(--radius); background: var(--bg-2);
  box-shadow: 0 18px 40px rgba(184,90,14,.25);
}
.hero-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1s ease; }
.hero-slide.is-on { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 6s ease-out; }
.hero-slide.is-on img { transform: scale(1); }
.hero-dots { position: absolute; z-index: 2; right: 14px; bottom: 18px; display: flex; gap: 5px; }
.hero-dots i { width: 6px; height: 6px; border-radius: 99px; background: rgba(26,20,16,.25); transition: all .3s ease; }
.hero-dots i.on { width: 18px; background: var(--orange); }
.ring {
  position: absolute; right: -18px; top: -6px; z-index: 0;
  width: 132px; height: 132px; border-radius: 50%;
  border: 16px solid var(--orange);
}
/* ---------- About ---------- */
.about-copy { max-width: 720px; }
.about-copy p { color: var(--ink-2); margin-bottom: 12px; }
.about-copy .about-lead { font-size: 20px; line-height: 1.4; color: var(--ink); }
.about-lead b { color: var(--orange-deep); }
.about-copy p:last-child { margin-bottom: 0; }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section-tint {
  background: linear-gradient(165deg, #F58B2E 0%, #EF7619 55%, #E2650C 100%);
  position: relative; overflow: hidden;
}
/* light + dark orange corner blobs, echoing the brand artwork */
.section-tint::before,
.section-tint::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.section-tint::before { width: 240px; height: 220px; top: -120px; right: -100px; background: #FFB067; opacity: .35; }
.section-tint::after { width: 200px; height: 200px; bottom: -110px; left: -90px; background: #C4520A; opacity: .3; }
.section-tint > .wrap { position: relative; z-index: 1; }
/* text sitting directly on the orange: white, highlights in the logo's black */
.section-tint .sec-head,
.section-tint .about-copy,
.section-tint .incl-title,
.section-tint .wed-head { color: #fff; }
.section-tint .sub,
.section-tint .about-copy p { color: rgba(255,255,255,.92); }
.section-tint .about-copy .about-lead { color: #fff; }
.section-tint .about-lead b,
.section-tint .hl { color: var(--ink); }
.section-tint .kicker { color: rgba(255,255,255,.85); }
.sec-head { margin-bottom: 24px; }
.wed-head { margin: 40px 0 16px; }
.wed-head .incl-title { margin: 0; }
.kicker {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--orange-deep); margin-bottom: 10px;
}
.sec-head h2 { font-size: clamp(32px, 9vw, 52px); font-weight: 700; }
.sub { color: var(--ink-2); margin-top: 12px; max-width: 46ch; }

/* ---------- Packages ---------- */
.pkg-list { display: grid; gap: 12px; }
.pkg {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px;
  box-shadow: var(--shadow);
}
.pkg-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pkg-dur { font-size: 22px; font-weight: 700; }
.pkg-price { font-size: 34px; font-weight: 700; letter-spacing: -0.02em; margin: 10px 0 18px; color: var(--orange); }
.pkg-price small { font-size: 13px; font-weight: 600; color: var(--muted); margin-right: 6px; letter-spacing: 0; }
/* featured package: logo black (orange on orange would disappear) */
.pkg-feature { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 14px 30px rgba(26,20,16,.3); }
.pkg-feature .pkg-price { color: var(--orange); }
.pkg-feature .pkg-price small { color: rgba(255,255,255,.6); }
.section-tint .pkg:not(.pkg-feature) { box-shadow: 0 12px 28px rgba(150,60,0,.18); }
/* promo (set in admin): struck-through normal price above the promo price */
.pkg-list.is-loading .pkg-price { visibility: hidden; }
.pkg[hidden] { display: none; }
.pkg-off { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--ink); color: #fff; }
.pkg-feature .pkg-off { background: var(--orange); color: #fff; }
.pkg-was { margin: 12px 0 0; font-size: 15px; font-weight: 500; color: var(--muted); }
.pkg-was s { text-decoration-thickness: 1.5px; }
.pkg-was + .pkg-price { margin-top: 0; }
.pkg-note { margin: -12px 0 18px; font-size: 13px; font-weight: 600; color: var(--orange-deep); }
.pkg-feature .pkg-was, .pkg-feature .pkg-note { color: rgba(255,255,255,.85); }

/* "Sudah termasuk" photo grid */
.incl-title { font-size: clamp(24px, 6.6vw, 34px); font-weight: 700; margin: 36px 0 14px; }
.incl-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.incl-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 6px 6px 12px; display: flex; flex-direction: column; overflow: hidden;
}
.incl-card img, .incl-art {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 14px; background: var(--bg);
}
/* items without a photo: a simple line icon on a warm tile */
.incl-art { display: grid; place-items: center; color: var(--orange-deep); background: var(--orange-soft); }
.incl-art svg { width: 38%; height: auto; }
.incl-card img.fit { object-fit: contain; } /* show the whole picture, no cropping */
.incl-card > div:last-child { padding: 10px 6px 0; }
.incl-card b { display: block; font-size: 15px; line-height: 1.2; }
.incl-card span { display: block; font-size: 12.5px; color: var(--ink-2); margin-top: 3px; line-height: 1.35; }
.incl-props { grid-column: span 2; }
.incl-props img { aspect-ratio: 16/10; object-position: center 40%; }
.incl-props b { font-size: 18px; }
.incl-video img { object-position: center 62%; } /* portrait photo: keep the camera screen in view */
.incl-qr { background: var(--ink); border-color: var(--ink); color: #fff; }
.incl-qr .incl-art {
  color: #fff;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.28), transparent 60%), var(--orange-deep);
}
.incl-qr .incl-art svg { width: 46%; }
.incl-qr span { color: rgba(255,255,255,.85); }

/* ---------- Horizontal scrollers ---------- */
.scroller {
  display: grid; grid-auto-flow: column; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 10px;
  scroll-padding-left: var(--gutter);
}
.scroller::-webkit-scrollbar { display: none; }

/* Wedding extras */
.wed-grid { display: grid; gap: 12px; }
.wed-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; gap: 14px;
  background: linear-gradient(160deg, #FCF4EB, #F7E9DC);
  border-radius: var(--radius); padding: 20px 16px 16px;
  box-shadow: var(--shadow);
}
/* soft orange corner blob, like the brand artwork */
.wed-card::after {
  content: ""; position: absolute; z-index: -1; right: -60px; top: -70px;
  width: 170px; height: 150px; border-radius: 50%;
  background: radial-gradient(circle at 40% 60%, #F7A35C, var(--orange) 70%);
  opacity: .9;
}
.wed-card img { width: 100%; height: auto; border-radius: 14px; }
.wed-copy h3 { font-size: 26px; font-weight: 700; margin: 10px 0 6px; }
.wed-copy p { color: var(--ink-2); font-size: 15px; max-width: 30ch; }
.gift {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--orange); color: #fff; font-weight: 700; font-size: 14px;
  padding: 6px 12px 6px 10px; border-radius: 999px;
  box-shadow: 0 6px 14px rgba(240,122,26,.3);
}
.gift::before {
  content: ""; width: 16px; height: 16px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='8' width='18' height='4' rx='1'/%3E%3Cpath d='M12 8v13M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7M7.5 8a2.5 2.5 0 0 1 0-5C9.5 3 12 8 12 8s2.5-5 4.5-5a2.5 2.5 0 0 1 0 5'/%3E%3C/svg%3E") center/contain no-repeat;
}
.wed-hour { flex-direction: row; align-items: center; gap: 12px; }
.wed-hour img { width: 44%; flex: none; border-radius: 14px; }
.wed-hour::after { top: auto; bottom: -96px; right: -84px; }
.wed-hour .wed-copy h3 { font-size: 28px; }
.wed-mirror::after { display: none; }

/* ---------- Template ---------- */
/* All 14 layouts sit inside one white board */
.tpl-grid {
  list-style: none; margin: 0; padding: 18px 14px;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px 12px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.tpl { height: 118px; display: grid; place-items: center; grid-column: span 2; }
.tpl:nth-child(13) { grid-column: 2 / span 2; } /* center the last row of 2 */
.tpl svg { max-width: 100%; max-height: 100%; width: auto; height: auto; filter: drop-shadow(0 4px 8px rgba(11,11,11,.16)); }

/* ---------- Clients (event galleries) ---------- */
/* Phones: cards stacked; tablet 2 columns; desktop 3 columns (see media queries). */
.events { display: grid; gap: 16px; }
.events.is-loading { visibility: hidden; }
.event {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column;
}
.event button { border: 0; padding: 0; background: none; cursor: zoom-in; -webkit-tap-highlight-color: transparent; }
.event-cover { position: relative; display: block; width: 100%; aspect-ratio: 3/2; overflow: hidden; background: var(--bg-2); }
.event-cover > img { width: 100%; height: 100%; object-fit: cover; } /* no-JS fallback */
/* each print is shown whole on a plain warm background, like a photo laid on a table */
.ev-slide {
  position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .9s ease;
  display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; padding: 12px;
  background: radial-gradient(120% 90% at 50% 40%, #FDF6EE, var(--bg-2));
}
.ev-slide.is-on { opacity: 1; }
.ev-slide img {
  max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain;
  border-radius: 6px; box-shadow: 0 8px 20px rgba(122,72,30,.22), 0 1px 3px rgba(122,72,30,.12);
}
/* landscape mockups (already styled with their own background) fill the whole area */
.ev-slide.is-fill { padding: 0; }
.ev-slide.is-fill img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; box-shadow: none; }
.event-count {
  position: absolute; z-index: 2; right: 12px; bottom: 12px;
  background: rgba(26,20,16,.72); color: #fff; font-size: 12px; font-weight: 600;
  padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(4px);
}
.event-body { padding: 16px 16px 18px; }
.event-tag {
  display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
  background: var(--orange-soft); color: var(--orange-deep);
}
.event-tag-alt { background: var(--ink); color: #fff; }
.event-body h3 { font-size: 22px; margin: 10px 0 2px; }
.event-date { color: var(--muted); font-size: 14px; }

/* Lightbox */
.lightbox {
  width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: transparent; color: #fff;
}
.lightbox[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; }
.lightbox::backdrop { background: rgba(26,20,16,.9); }
.lightbox figure { margin: 0; grid-column: 1 / -1; grid-row: 1; display: grid; place-items: center; gap: 12px; padding: 60px 12px; height: 100%; min-height: 0; }
.lightbox img { max-width: 100%; max-height: calc(100dvh - 160px); width: auto; height: auto; border-radius: 12px; object-fit: contain; }
.lightbox figcaption { font-size: 14px; font-weight: 600; opacity: .9; }
.lb-close {
  position: fixed; top: 14px; right: 14px; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.14); color: #fff; font-size: 28px; line-height: 1;
}
.lb-nav {
  grid-row: 1; z-index: 2; width: 44px; height: 44px; margin: 0 8px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(26,20,16,.6); color: #fff; display: grid; place-items: center;
  box-shadow: 0 0 0 1px rgba(255,255,255,.25);
}
.lb-prev { grid-column: 1; }
.lb-next { grid-column: 3; }
.lb-nav svg { width: 22px; height: 22px; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: repeating-linear-gradient(var(--orange) 0 6px, transparent 6px 12px); }
.steps li { counter-increment: s; position: relative; padding: 0 0 22px 62px; min-height: 44px; }
.steps li::before {
  content: counter(s, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface); border: 2px solid var(--orange);
  font-weight: 700; font-size: 14px; color: var(--orange-deep);
}
.steps li:last-child::before { background: var(--orange); color: #fff; }
.steps b { display: block; font-size: 18px; padding-top: 2px; }
.steps span { color: var(--ink-2); font-size: 14.5px; }
.order-cta { margin-top: 8px; }

/* ---------- Contact ---------- */
/* Editorial: one clear action + a typographic list with hairlines. No icon bubbles. */
.contact-grid { display: grid; gap: 28px; }
.contact-intro .sub { margin-bottom: 0; }

.contact-rows { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.contact-rows li { border-bottom: 1px solid var(--line); }
.contact-rows a {
  display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "ic v arrow";
  align-items: center; column-gap: 14px;
  padding: 18px 2px; -webkit-tap-highlight-color: transparent;
}
/* plain line icon (no bubble), same colour as the old labels */
.ct-ic { grid-area: ic; width: 26px; height: 26px; color: var(--orange-deep); flex: none; }
.ct-v { grid-area: v; font-size: clamp(15px, 4.3vw, 22px); font-weight: 600; letter-spacing: -0.01em; min-width: 0; }
.ct-arrow { grid-area: arrow; width: 22px; height: 22px; color: var(--ink-2); transition: transform .2s ease, color .2s ease; }
.contact-rows a:hover .ct-arrow, .contact-rows a:focus-visible .ct-arrow { transform: translate(2px, -2px); color: var(--orange); }
.contact-rows a:hover .ct-v { color: var(--orange-deep); }

/* ---------- Availability calendar ---------- */
.avail {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 16px 14px 18px;
}
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-title { font-size: 18px; }
.cal-nav {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg);
  display: grid; place-items: center; cursor: pointer; color: var(--ink);
}
.cal-nav svg { width: 18px; height: 18px; }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; transition: opacity .2s ease; }
.cal-grid.is-loading { opacity: .4; pointer-events: none; }
.cal-dow { text-align: center; font-size: 11px; font-weight: 600; color: var(--muted); padding: 4px 0 6px; text-transform: uppercase; letter-spacing: .04em; }
.cal-day {
  aspect-ratio: 1; min-height: 40px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface); font-weight: 600; font-size: 15px; cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.cal-day:hover { border-color: var(--orange); }
/* today = small dot (an outline looked like a selected date) */
.cal-day { position: relative; }
.cal-day.is-today::after {
  content: ""; position: absolute; left: 50%; bottom: 5px; width: 5px; height: 5px; margin-left: -2.5px;
  border-radius: 50%; background: var(--orange);
}
.cal-day.is-today.is-sel::after { background: #fff; }
.cal-day.is-off {
  color: #B39D8A; text-decoration: line-through; border-color: transparent;
  background: repeating-linear-gradient(135deg, #F4E4D4 0 5px, #ECD8C5 5px 10px);
}
.cal-day.is-past { opacity: .32; cursor: default; border-color: transparent; background: transparent; }
.cal-day.is-sel { background: var(--orange); border-color: var(--orange); color: #fff; text-decoration: none; }
.cal-day.is-sel.is-off { background: var(--ink); border-color: var(--ink); color: #fff; text-decoration: line-through; }

.cal-legend { display: flex; gap: 16px; justify-content: center; margin: 14px 0 0; font-size: 13px; color: var(--ink-2); }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cal-note { text-align: center; font-size: 12.5px; color: var(--muted); margin: 8px 0 0; }
.lg { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.lg-ok { background: var(--surface); border: 1px solid var(--line); }
.lg-off { background: repeating-linear-gradient(135deg, #F4E4D4 0 3px, #E3CCB6 3px 6px); }

.avail-result { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); }
.avail-hint { text-align: center; color: var(--muted); font-size: 14px; }
.avail-hint b { color: var(--ink); }
.avail-ask { display: block; text-align: center; margin-top: 10px; padding: 6px; font-size: 14px; font-weight: 600; color: var(--orange-deep); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 6px 18px rgba(37,211,102,.3); }
.btn-wa:hover { background: #1EBE5A; }
.btn-wa svg { width: 20px; height: 20px; flex: none; }
.avail-date { font-size: 18px; font-weight: 700; margin: 8px 0 4px; }
.avail-text { color: var(--ink-2); font-size: 14.5px; margin-bottom: 14px; }
.badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.badge-ok { background: #DCF8E6; color: #128C4A; }
.badge-off { background: #F2E2D2; color: var(--ink-2); }

/* ---------- Admin page ---------- */
.admin-main { padding: 24px 0 64px; }
.admin-main .wrap { max-width: 560px; }
.demo-banner {
  background: var(--orange-soft); color: var(--orange-deep); border-radius: var(--radius-sm);
  padding: 12px 14px; font-size: 13.5px; margin-bottom: 18px;
}
.demo-banner b { color: var(--ink); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 22px 18px;
}
.card h1 { font-size: 28px; margin-bottom: 6px; }
.card .sub { margin: 0 0 20px; }
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field > input, .field textarea, .pe-inline input {
  width: 100%; min-height: 48px; padding: 12px 14px; font: inherit; font-size: 16px;
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink);
}
.field textarea { min-height: 72px; resize: vertical; }
.field input:focus, .field textarea:focus, .pe-inline input:focus { outline: none; border-color: var(--orange); background: #fff; }
.form-error { color: #C0392B; font-size: 14px; margin: -4px 0 12px; min-height: 1em; }
.admin-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.admin-bar h1 { font-size: 26px; }
.admin-bar small { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; word-break: break-all; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.admin-panel { margin-top: 16px; }
.admin-panel .avail-date { margin-top: 0; }
.btn-row { display: grid; gap: 8px; }
.saving { opacity: .6; pointer-events: none; }
.blocked-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.blocked-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--bg); border-radius: 12px; padding: 10px 12px;
}
.blocked-list b { display: block; font-size: 14.5px; }
.blocked-list small { display: block; color: var(--muted); font-size: 12.5px; }
.blocked-list button {
  flex: none; border: 0; background: transparent; color: var(--orange-deep); font-weight: 600; font-size: 13px;
  padding: 8px; cursor: pointer;
}
.empty { color: var(--muted); font-size: 14px; text-align: center; padding: 8px 0; }
.admin-section-title { font-size: 18px; margin: 24px 0 10px; }
/* ---------- Booking page (Instagram link: /jadwal) ---------- */
.booking-main { padding: 24px 0 56px; }
.booking-main .wrap { max-width: 560px; }
.booking-head h1 { font-size: clamp(28px, 8vw, 38px); line-height: 1.1; margin-bottom: 8px; }
.booking-head .sub { margin: 0 0 18px; }
.bk-step { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; margin: 4px 0 12px; }
.bk-step span {
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--ink); color: #fff; font-size: 13px;
}
.bk-pkgs { display: grid; gap: 8px; margin-bottom: 22px; }
.bk-pkg { position: relative; display: block; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.bk-pkg input { position: absolute; opacity: 0; pointer-events: none; }
.bk-pkg-in {
  display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 14px;
  border: 1.5px solid var(--line); background: var(--surface); transition: border-color .15s ease, background .15s ease;
}
.bk-pkg-in b { font-size: 17px; }
.bk-pkg-in em { font-style: normal; font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--ink); color: #fff; }
.bk-price { margin-left: auto; font-size: 18px; font-weight: 700; color: var(--orange); white-space: nowrap; }
.bk-price small { font-size: 11px; font-weight: 600; color: var(--muted); margin-right: 4px; }
.bk-price s { display: block; text-align: right; font-size: 12px; font-weight: 500; color: var(--muted); }
.bk-pkg input:checked + .bk-pkg-in { border-color: var(--orange); background: var(--orange-soft); }
.bk-pkg input:focus-visible + .bk-pkg-in { outline: 2px solid var(--orange); outline-offset: 2px; }
/* package choice under a tapped date (main page) */
.day-pkgs { margin: 4px 0 14px; }
.day-title { font-weight: 700; font-size: 15px; margin: 0 0 8px; }
.avail-result .day-pkgs + .avail-hint { margin: 0; }
.day-pkgs .bk-pkg-in { padding: 12px 14px; }
.day-pkgs .bk-pkg-in b { font-size: 16px; }
.bk-ask { margin-left: auto; font-size: 13px; color: var(--muted); }
.bk-more { text-align: center; font-size: 14px; color: var(--ink-2); margin-top: 18px; }
.bk-more a { color: var(--orange-deep); font-weight: 600; white-space: nowrap; }

/* admin: tabs */
.admin-tabs {
  display: flex; gap: 20px; border-bottom: 1px solid var(--line); margin-bottom: 18px;
  overflow-x: auto; scrollbar-width: none; white-space: nowrap;
}
.admin-tabs::-webkit-scrollbar { display: none; }
.admin-tabs button { flex: none; }
/* admin: Foto Utama (hero) */
.ph-grid.hero-photos { grid-template-columns: 1fr 1fr; }
.hero-photos .ph { aspect-ratio: 3 / 2; }
.ph-num {
  position: absolute; left: 6px; top: 6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  display: grid; place-items: center; background: rgba(26,20,16,.62); color: #fff; font-size: 11.5px; font-weight: 700;
}
.hero-edit .ph-status { margin-bottom: 4px; }
.btn:disabled { opacity: .5; cursor: default; box-shadow: none; }
.admin-tabs button {
  border: 0; background: none; padding: 10px 0 12px; margin-bottom: -1px; cursor: pointer;
  font: inherit; font-size: 15px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent;
}
.admin-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--orange); }

/* admin: Paket */
.admin-intro { color: var(--ink-2); font-size: 14px; margin: 0 0 16px; }
.pe-list { display: grid; gap: 14px; }
.pe-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.pe-head h2 { font-size: 20px; }
.pe-head .check { margin: 0; font-size: 14px; }
.pe-dates { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.pe-dates .field { min-width: 0; }
.pe-dates .field > input { padding: 12px 8px; min-width: 0; font-size: 15px; }
.pe-preview { font-size: 14px; color: var(--ink-2); margin: -2px 0 14px; line-height: 1.55; }
.pe-preview:empty { display: none; }
.pe-preview s, .pe-now s { color: var(--muted); }
.pe-preview b, .pe-now b { color: var(--ink); }
.pe-tag { display: inline-block; margin-bottom: 4px; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--bg-2); color: var(--ink-2); }
.pe-tag.is-on { background: #DCF8E6; color: #128C4A; }
.pe-now { position: relative; background: var(--bg); border-radius: 12px; padding: 12px 14px; font-size: 14.5px; margin-bottom: 16px; }
.pe-now small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.pe-now[data-msg]::after {
  content: attr(data-msg); position: absolute; inset: 0; border-radius: 12px; display: grid; place-items: center;
  background: #DCF8E6; color: #128C4A; font-weight: 700; font-size: 14px;
}
.field > .pe-inline { display: flex; gap: 8px; margin: 0; font-size: inherit; font-weight: inherit; }
.pe-inline input { flex: 1; min-width: 0; }
.pe-inline .btn { flex: none; min-height: 48px; }
.pe-sub { font-size: 15px; margin: 6px 0 8px; }
.pe-sched { list-style: none; margin: 0 0 10px; padding: 0; border-top: 1px solid var(--line); }
.pe-sched li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.pe-sched li.empty { display: block; text-align: left; }
.pe-sched li.is-ended { opacity: .55; }
.pe-sched-txt { min-width: 0; }
.pe-sched-txt b { display: block; font-size: 15px; }
.pe-sched-txt small { display: block; color: var(--ink-2); font-size: 13px; }
.pe-sched-act { display: flex; flex: none; }
.pe-sched-act button { border: 0; background: none; cursor: pointer; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--orange-deep); padding: 8px 6px; }
.pe-sched-act [data-del] { color: var(--muted); }
.pe-add {
  width: 100%; min-height: 46px; border: 1.5px dashed var(--peach); border-radius: 12px; background: none; cursor: pointer;
  font: inherit; font-size: 15px; font-weight: 600; color: var(--orange-deep);
}
.pe-add:hover { background: var(--orange-soft); }
.pe-add[hidden] { display: none; }
.pe-form { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 4px; }
.pe-kind { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--bg); border-radius: 12px; padding: 4px; margin-bottom: 14px; }
.pe-kind label { position: relative; cursor: pointer; }
.pe-kind input { position: absolute; opacity: 0; }
.pe-kind span { display: block; text-align: center; padding: 10px 6px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.pe-kind input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(122,72,30,.15); }
.pe-kind input:focus-visible + span { outline: 2px solid var(--orange); }

/* admin: Our Clients list */
.ev-admin-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.ev-admin-head p { color: var(--ink-2); font-size: 14px; margin: 0; }
.ev-admin-head .btn { flex: none; }
.ev-admin-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ev-admin-list li { border-bottom: 1px solid var(--line); }
.ev-admin-list button {
  width: 100%; display: flex; align-items: center; gap: 14px; padding: 12px 2px; text-align: left;
  border: 0; background: none; font: inherit; color: inherit; cursor: pointer;
}
.ev-admin-list img, .ev-noimg { width: 64px; height: 64px; flex: none; border-radius: 10px; object-fit: cover; background: var(--bg-2); }
.ev-admin-txt { flex: 1; min-width: 0; }
.ev-admin-txt b { display: block; font-size: 16px; }
.ev-admin-txt small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.ev-admin-txt em { display: inline-block; margin-top: 6px; font-style: normal; font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--bg-2); color: var(--ink-2); }
.ev-admin-edit { color: var(--orange-deep); font-weight: 600; font-size: 14px; }

/* admin: event form */
.ev-form h2 { font-size: 22px; margin-bottom: 16px; }
.field-hint { display: block; color: var(--muted); font-size: 12.5px; margin-top: 6px; }
.field > .field-hint:first-of-type { margin: -2px 0 10px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; margin: 4px 0 16px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--orange); }
.ev-delete {
  display: block; margin: 14px auto 0; border: 0; background: none; cursor: pointer;
  color: #C0392B; font: inherit; font-size: 14px; font-weight: 600; padding: 8px;
}

/* admin: photo grid */
.ph-grid { list-style: none; margin: 0 0 10px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ph { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--bg-2); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph.is-main { outline: 2.5px solid var(--orange); outline-offset: -2.5px; }
.ph-main {
  position: absolute; left: 6px; top: 6px; background: var(--ink); color: #fff;
  font-size: 10.5px; font-weight: 700; padding: 3px 7px; border-radius: 999px;
}
.ph-btn {
  position: absolute; top: 5px; width: 28px; height: 28px; border-radius: 50%; border: 0; padding: 0;
  display: grid; place-items: center; background: rgba(26,20,16,.62); color: #fff; cursor: pointer;
}
.ph-btn svg { width: 15px; height: 15px; }
.ph-star { left: 5px; }
.ph-del { right: 5px; }
.ph-move { position: absolute; left: 5px; right: 5px; bottom: 5px; display: flex; justify-content: space-between; }
.ph-move button {
  width: 28px; height: 28px; border-radius: 50%; border: 0; padding: 0 0 2px; cursor: pointer;
  background: rgba(26,20,16,.62); color: #fff; font-size: 20px; line-height: 1;
}
.ph-move button:disabled { visibility: hidden; }
.ph-add {
  position: relative; display: flex; align-items: center; justify-content: center; min-height: 48px;
  border: 1.5px dashed var(--peach); border-radius: 12px; color: var(--orange-deep); font-weight: 600; font-size: 15px; cursor: pointer;
}
.ph-add:hover { background: var(--orange-soft); }
.ph-add input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.ph-status { font-size: 13px; color: var(--ink-2); margin: 8px 0 0; min-height: 1em; }

.back-link { font-size: 14px; font-weight: 600; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 40px 0 100px; font-size: 14px; }
/* same logo as the header, light on dark */
.foot-brand { display: inline-flex; margin-bottom: 16px; color: #fff; }
.foot-brand .mark { width: 36px; height: 36px; color: #fff; }
.foot-brand .wordmark { font-size: 19px; }
.foot-brand .wordmark small { color: var(--orange); font-size: 11px; }
.copy { margin-top: 18px; font-size: 12px; color: rgba(255,255,255,.45); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; z-index: 50;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 8px;
  height: 58px; padding: 0 18px 0 14px; border-radius: 999px;
  background: var(--wa); color: #fff; font-weight: 600; font-size: 15px;
  box-shadow: 0 10px 28px rgba(18,140,74,.4);
  transition: transform .2s ease, padding .25s ease;
}
.wa-float svg { width: 30px; height: 30px; flex: none; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(37,211,102,.55);
  animation: pulse 2.4s ease-out infinite;
}
.wa-float:active { transform: scale(.95); }
.wa-float.compact { padding: 0 14px; }
.wa-float.compact .wa-label { display: none; }
.wa-float { transition: transform .25s ease, opacity .25s ease, visibility .25s; }
.wa-float.is-hidden { opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9); pointer-events: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); } 70%, 100% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wa-float::before { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   Larger screens (tablet / desktop) — secondary
   ========================================================= */
@media (min-width: 640px) {
  :root { --gutter: 28px; }
  .hero-cta { display: flex; }
  .tpl-grid { grid-template-columns: repeat(5, 1fr); }
  .tpl, .tpl:nth-child(13) { height: 140px; grid-column: auto; }
  .events { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 960px) {
  :root { --head-h: 72px; }
  .menu-btn { display: none; }
  .menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    flex-direction: row; align-items: center; gap: 26px; padding: 0; background: none;
  }
  .menu a:not(.btn) { font-size: 15px; font-weight: 500; padding: 0; border: 0; }
  .menu a:not(.btn):hover { color: var(--orange); }
  .menu .menu-cta { margin: 0; min-height: 42px; }
  .topbar { padding: 0 max(var(--gutter), calc((100vw - 1120px) / 2 + var(--gutter))); }

  .hero { padding: 64px 0 80px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 56px; }
  .ring { width: 190px; height: 190px; right: -40px; top: -40px; border-width: 22px; }

  .section { padding: 96px 0; }
  .about-copy .about-lead { font-size: 24px; }
  .pkg-list { grid-template-columns: repeat(3, 1fr); }
  .incl-title { margin-top: 56px; }
  .incl-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  /* 7 items: props spans 2 columns in row 1, the other 6 fill 2 + 4; its photo stretches to the row height */
  .incl-props { grid-column: span 2; }
  .incl-props img { aspect-ratio: auto; height: 0; flex: 1 1 auto; min-height: 0; }
  .incl-card { padding: 8px 8px 16px; }
  .wed-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .wed-card { padding: 28px; }
  .wed-mirror { grid-column: span 2; flex-direction: row; align-items: center; gap: 36px; }
  .wed-mirror img { width: 58%; flex: none; }
  .wed-copy h3 { font-size: 32px; }
  .tpl-grid { grid-template-columns: repeat(7, 1fr); padding: 32px; gap: 32px 24px; }
  .tpl { height: 170px; }
  .events { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
  .steps::before { display: none; }
  .order-cta { max-width: 320px; margin-top: 28px; }
  .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
  .contact-rows a { padding: 22px 4px; }
  .avail-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
  .avail { padding: 24px; }
  /* wide screens: square day cells made the calendar ~600px tall and pushed the booking button below the fold */
  .cal-day { aspect-ratio: auto; height: 48px; }
  .avail-result.is-side {
    margin-top: 28px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--surface); box-shadow: var(--shadow); color: var(--ink); /* sits under the white heading */
  }
  .avail-result.is-side .avail-hint { text-align: left; margin: 0; }
  .avail-result.is-side .avail-ask { text-align: left; padding-left: 0; }
  .avail-result.is-side .day-pkgs { grid-template-columns: 1fr 1fr; }
  .avail-result.is-side .bk-ask { display: none; }
  .footer { padding-bottom: 48px; }
}
