/* ============================================================
   Tema "poster 70-an": loaded after styles.css and overrides it.
   To go back to the soft pastel version, remove the <link> to this file in index.html.
   Palette: cream paper, chocolate, rust, tangerine, mustard, avocado.
   ============================================================ */
:root {
  --sand: #f6e7c8;
  --paper: #fff4dc;
  --ink: #2a1206;
  --muted: #5e3d22;
  --rust: #b8361a;
  --rust-press: #962a12;
  --orange: #e2621b;
  --mustard: #f0a81c;
  --choco: #5a2d12;
  --avocado: #4f5b14;
  --peach: #f7c28c;
  --butter: #f8d27a;
  --sky: #f7c28c;
  --sage: #f0a81c;
  --olive: #4f5b14;
  --wa: #4f5b14;
  --wa-press: #3c4510;
  --r: 22px;
  --display: "Shrikhand", Georgia, serif;
  --hard: 4px 4px 0 var(--ink);
  /* the classic four-band 70s stripe */
  --stripes: linear-gradient(180deg, var(--rust) 0 25%, var(--orange) 25% 50%, var(--mustard) 50% 75%, var(--peach) 75% 100%);
}

body { background: var(--sand); }

/* paper grain so flat colours feel printed, not digital */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .18; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35  0 0 0 0 .2  0 0 0 0 .08  0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- type ---------- */
.display { font-weight: 400; line-height: 1.02; letter-spacing: 0; color: var(--choco); text-shadow: 3px 3px 0 var(--mustard); }
.h2 { font-weight: 400; line-height: 1.08; letter-spacing: 0; }
.brand { font-family: var(--display); font-size: 1.375rem; color: var(--choco); }
.kicker { color: var(--rust-press); }

/* ---------- header ---------- */
.top { background: var(--sand); box-shadow: none; border-bottom: 3px solid var(--ink); }

/* ---------- buttons: chunky with a hard offset shadow ---------- */
.btn { border: 2.5px solid var(--ink); box-shadow: var(--hard); font-weight: 700; }
@media (hover: hover) and (pointer: fine) { .btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); } }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn--primary { background: var(--rust); }
.btn--primary:hover { background: var(--rust-press); }
.btn--ghost { color: var(--ink); background: var(--mustard); }
.btn--ghost:hover { background: var(--butter); }
.btn--wa { background: var(--avocado); }
.btn--wa:hover { background: var(--wa-press); }
.top .btn { box-shadow: 3px 3px 0 var(--ink); }

/* ---------- hero: sunburst behind an arch, stripes underneath ---------- */
.hero {
  background:
    repeating-conic-gradient(from 0deg at 78% 40%, rgba(240, 168, 28, .38) 0 6deg, transparent 6deg 12deg),
    var(--sand);
}
@media (max-width: 859px) {
  .hero { background: repeating-conic-gradient(from 0deg at 50% 22%, rgba(240, 168, 28, .38) 0 6deg, transparent 6deg 12deg), var(--sand); }
}
.eyebrow { color: var(--paper); background: var(--choco); border: 0; }
.eyebrow::before { background: var(--mustard); }
.lede { color: var(--muted); }
.hero__media::before {
  inset: 5% -5% -5% 5%; transform: none; background: var(--stripes); border: 3px solid var(--ink);
}
.hero__media img { border: 3px solid var(--ink); }
.hero__badge {
  color: var(--ink); background: var(--mustard); border: 3px solid var(--ink); box-shadow: var(--hard);
  transform: rotate(-10deg);
}
.hero__badge-v { font-family: var(--display); }
.trust li::before { background: var(--orange); border: 1.5px solid var(--ink); width: 10px; height: 10px; }

/* ---------- marquee: chocolate band, mustard type, stripe edges ---------- */
.marquee {
  color: var(--mustard); background: var(--choco); transform: rotate(-2deg); margin: 0 -14px;
  border-block: 3px solid var(--ink); -webkit-mask-image: none; mask-image: none;
  box-shadow: 0 8px 0 var(--orange), 0 16px 0 var(--mustard);
}
.marquee span { font-family: var(--display); font-size: 1.375rem; }
.marquee span::after { color: var(--orange); }

/* section openers: a stripe band on top */
.room, .closer, .block--sand, #cara-pesan { position: relative; }
.room::before, .closer::before, .block--sand::before, #cara-pesan::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 28px; background: var(--stripes); border-bottom: 3px solid var(--ink);
}
.room, .block--sand { border-radius: 0; }
#koleksi { padding-top: clamp(72px, 9vw, 112px); }

/* ---------- collection ---------- */
.chip { border: 2.5px solid var(--ink); background: var(--paper); box-shadow: 3px 3px 0 var(--ink); }
.chip:nth-child(3n+2), .chip:nth-child(3n) { background: var(--paper); }
.chip[aria-pressed="true"] { color: var(--ink); background: var(--mustard); }
.filters { padding-bottom: 8px; }

.card { border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); background: var(--paper); }
.card__img { margin: 0; border-radius: 0; border-bottom: 3px solid var(--ink); }
.card:nth-child(4n+1) .card__img { background: var(--orange); }
.card:nth-child(4n+2) .card__img { background: var(--mustard); }
.card:nth-child(4n+3) .card__img { background: var(--avocado); }
.card:nth-child(4n) .card__img { background: var(--rust); }
.card__tag { border: 2px solid var(--ink); background: var(--mustard); }
.card__tag--low { color: #fff; background: var(--rust); }
.card__cat { color: var(--rust-press); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: .6875rem; }
.card__price { font-family: var(--display); color: var(--choco); }
.card__price s { font-family: var(--sans); }

/* ---------- why section: tangerine poster ---------- */
.room { color: var(--ink); background: var(--orange); padding-top: clamp(84px, 10vw, 128px); }
.room .h2 { color: var(--ink); }
.kicker--light { color: var(--ink); }
.room__img { border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.points { color: var(--ink); }
.points li { background: var(--paper); border: 2.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }

/* ---------- steps on mustard ---------- */
#cara-pesan { background: var(--mustard); padding-top: clamp(84px, 10vw, 128px); }
#cara-pesan .kicker { color: var(--ink); }
.steps li, .steps li:nth-child(2), .steps li:nth-child(3) { background: var(--paper); border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); }
.steps__n { color: var(--paper); background: var(--choco); font-family: var(--display); }
.steps li:nth-child(2) .steps__n { background: var(--rust); }
.steps li:nth-child(3) .steps__n { background: var(--avocado); }
.steps h3 { font-family: var(--display); font-size: 1.25rem; }
.market { color: var(--ink); }
.market a { color: var(--ink); }

/* ---------- faq on cream ---------- */
.block--sand { background: var(--sand); padding-top: clamp(84px, 10vw, 128px); }
.faq details { background: var(--paper); border: 2.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.faq summary::after { color: var(--ink); background: var(--mustard); border: 2px solid var(--ink); }

/* ---------- closer: chocolate poster with sunburst ---------- */
.closer {
  color: var(--paper); padding-top: clamp(96px, 11vw, 136px);
  background: repeating-conic-gradient(from 0deg at 50% 120%, rgba(240, 168, 28, .16) 0 7deg, transparent 7deg 14deg), var(--choco);
}
.closer .h2 { color: var(--mustard); text-shadow: 3px 3px 0 var(--rust); }
.closer p { color: var(--paper); }
.closer .btn--wa { border-color: var(--ink); box-shadow: 4px 4px 0 var(--mustard); }

/* ---------- footer & sticky ---------- */
.foot { color: var(--muted); }
.sticky { color: var(--ink); background: var(--mustard); border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); }
.sticky__txt span { color: var(--ink); }
.sticky .btn { box-shadow: none; }

@media (prefers-reduced-motion: reduce) {
  .btn:hover, .btn:active { transform: none; }
}

/* ---------- louder pass ---------- */
.hero {
  background:
    repeating-conic-gradient(from 0deg at 78% 42%, var(--mustard) 0 7deg, var(--peach) 7deg 14deg);
}
@media (max-width: 859px) {
  .hero { background: repeating-conic-gradient(from 0deg at 50% 20%, var(--mustard) 0 7deg, var(--peach) 7deg 14deg); }
}
/* copy sits on a cream "poster card" so it stays readable over the rays */
.hero__copy { position: relative; padding: 22px 20px 24px; background: var(--sand); border: 3px solid var(--ink); border-radius: var(--r); box-shadow: 6px 6px 0 var(--ink); }
.hero__copy .display { margin-top: 14px; }
@media (min-width: 860px) {
  .hero__copy { padding: 34px 34px 32px; }
  .display { font-size: clamp(2rem, 4.2vw, 3.2rem); }
  .room .h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
}
/* the stripe stack sits as a clean offset of the same arch */
.hero__media::before { inset: 0; transform: translate(12px, 12px); border-radius: 300px 300px var(--r) var(--r); }
@media (max-width: 519px) { .hero__media::before { border-radius: 120px 120px var(--r) var(--r); transform: translate(8px, 8px); } }
.hero__media { margin-right: 12px; }

.hero__badge { width: 104px; height: 104px; padding: 6px; }
.hero__badge-k { font-family: var(--sans); font-weight: 700; font-size: .75rem; }
.hero__badge-v { font-size: .9375rem; white-space: nowrap; padding: 0; }
@media (max-width: 859px) { .hero__badge { width: 96px; height: 96px; } .hero__badge-v { font-size: .875rem; } }
@media (min-width: 860px) { .hero__badge { width: 124px; height: 124px; } .hero__badge-v { font-size: 1.0625rem; } }
.trust li { gap: 10px; }
.trust b { margin-right: 2px; }

/* product photos sit on a coloured mat with a frame, so the colour shows */
.card__img { padding: 10px; }
.card__img img { border-radius: 12px; border: 2.5px solid var(--ink); }
@media (hover: hover) and (pointer: fine) { .card:hover .card__img img { transform: rotate(-1.5deg) scale(1.02); } }
.grid { gap: 18px 16px; }
@media (min-width: 720px) { .grid { gap: 24px; } }

/* stripe bands: add the chocolate band so it reads as the classic four-stripe */
:root { --stripes: linear-gradient(180deg, var(--choco) 0 25%, var(--rust) 25% 50%, var(--orange) 50% 75%, var(--mustard) 75% 100%); }
.room::before, .closer::before, .block--sand::before, #cara-pesan::before { height: 36px; }

/* photo and its stripe backing share one radius so no sliver shows */
.hero__media { --arch: 200px 200px var(--r) var(--r); }
@media (max-width: 519px) { .hero__media { --arch: 120px 120px var(--r) var(--r); } }
@media (min-width: 860px) { .hero__media { --arch: 300px 300px var(--r) var(--r); } }
.hero__media img, .hero__media::before { border-radius: var(--arch) !important; }
.hero__media::before { background: var(--stripes); }
.hero__badge { width: 108px !important; height: 108px !important; }
.hero__badge-v { font-size: .875rem !important; }
@media (min-width: 860px) { .hero__badge { width: 128px !important; height: 128px !important; } .hero__badge-v { font-size: 1rem !important; } }
/* one solid offset layer reads cleaner than a sliver of four stripes */
.hero__media::before { background: var(--orange) !important; transform: translate(12px, 12px) !important; }

/* ============================================================
   Compliance UI: readiness banner, sample label, identity, policy pages, consent
   ============================================================ */
.notready {
  position: relative; z-index: 60; padding: 10px var(--pad); font-size: .875rem; line-height: 1.4;
  color: #fff; background: #8f1d0c; border-bottom: 3px solid var(--ink);
}
.card__sample {
  position: absolute; right: 16px; bottom: 16px; padding: 3px 8px; font-size: .6875rem; font-weight: 700;
  color: var(--paper); background: rgba(42, 18, 6, .82); border-radius: 6px;
}
.safe { margin: 12px 0 0; font-size: .875rem; font-weight: 600; color: var(--ink); }
.trust a { color: var(--rust-press); font-weight: 600; }

.foot { padding-top: 40px; color: var(--muted); }
.foot__grid { display: grid; gap: 22px; margin-bottom: 22px; }
@media (min-width: 720px) { .foot__grid { grid-template-columns: 1.3fr 1fr; gap: 40px; } }
.foot__h { margin: 0 0 10px !important; font: 400 1.125rem/1.2 var(--display); color: var(--choco); }
.ident { display: grid; gap: 6px; margin: 0; font-size: .875rem; }
.ident > div { display: grid; grid-template-columns: 7.5em 1fr; gap: 10px; }
.ident dt { color: var(--muted); }
.ident dd { margin: 0; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.ident a, .foot__links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--rust-press); font-weight: 600; }
.ident > div:has(a) { align-items: center; }
.foot__links { margin: 0; padding: 0; list-style: none; font-size: .875rem; }
.foot__links [data-market] a { margin-right: 10px; }

/* policy pages */
.legal .top__cta { margin-left: auto; }
.doc { max-width: 760px; padding-top: 36px; padding-bottom: 72px; }
.doc .h2 { font-size: clamp(1.9rem, 6vw, 2.6rem); color: var(--choco); }
.doc__meta { margin: 8px 0 26px; font-size: .875rem; color: var(--muted); }
.doc h2 { margin: 30px 0 8px; font: 400 1.25rem/1.25 var(--display); color: var(--choco); }
.doc p, .doc li { color: var(--ink); }
.doc ul, .doc ol { padding-left: 1.25em; }
.doc li { margin: 6px 0; }
.doc .ident { margin-top: 10px; padding: 16px; background: var(--paper); border: 2.5px solid var(--ink); border-radius: 16px; box-shadow: 4px 4px 0 var(--ink); }
.doc a:not(.btn) { color: var(--rust-press); font-weight: 600; }
.back { display: inline-flex; align-items: center; min-height: 44px; margin-top: 18px; }

/* consent banner */
.consent {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 70;
  display: grid; gap: 12px; max-width: 520px; margin: 0 auto; padding: 16px;
  font-size: .875rem; line-height: 1.45; color: var(--ink); background: var(--paper);
  border: 3px solid var(--ink); border-radius: 18px; box-shadow: 5px 5px 0 var(--ink);
}
.consent[hidden] { display: none; }
.consent p { margin: 0; }
.consent a { color: var(--rust-press); font-weight: 600; }
.consent__btns { display: flex; gap: 10px; justify-content: flex-end; }
.consent .btn { flex: 1; }
.trust a { display: inline-flex; align-items: center; min-height: 44px; margin: -12px 0; }
/* even rows: every identity row gets the same 44px height, links don't add extra */
.ident > div { min-height: 44px; align-items: center; }
.ident a { min-height: 0; }
.foot, .doc, #kontak { scroll-margin-top: 80px; }
/* leave room so the consent card never covers the last footer lines */
body:has(#consent:not([hidden])) .foot { padding-bottom: 210px; }
.ident a { min-height: 44px; display: inline-flex; align-items: center; }

/* "why vintage" section without room photos: copy only, centred column */
.room__grid { display: block; }
.room__copy { max-width: 760px; margin: 0 auto; padding: 0 !important; }
@media (min-width: 860px) { .points { grid-template-columns: repeat(3, 1fr); gap: 18px; } .room__copy { max-width: none; } .room .h2 { max-width: 22em; } }

/* ============================================================
   Motion pass: feedback, softer state changes, entrances from the edge they live on
   ============================================================ */
:root { --ease-out: cubic-bezier(0.23, 1, 0.32, 1); }

/* 1. filter chips press in like every other chunky button */
.chip { transition: transform 120ms var(--ease-out), box-shadow 120ms var(--ease-out), background-color 120ms var(--ease-out); }
.chip:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }

/* 2. cards that reappear after filtering fade in; hidden ones leave instantly */
.card { transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out); }
@starting-style { .card { opacity: 0; transform: scale(.97); } }

/* 3. FAQ answers open with height (progressive: browsers without support keep the instant open) */
.faq { interpolate-size: allow-keywords; }
.faq details::details-content { height: 0; overflow: clip; transition: height 250ms var(--ease-out), content-visibility 250ms allow-discrete; }
.faq details[open]::details-content { height: auto; }

/* 4. consent card rises from the bottom edge, drops back on dismiss */
.consent { transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), display 200ms allow-discrete; }
.consent:not([hidden]) { transition-duration: 300ms; }
.consent[hidden] { opacity: 0; transform: translateY(16px); }
@starting-style { .consent:not([hidden]) { opacity: 0; transform: translateY(16px); } }

/* 5. toast rises a few pixels from below, like the sticky bar */
.toast { transform: translate(-50%, 8px); transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out); }
.toast.is-on { transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  .chip:active { transform: none; }
  .card:hover .card__img img { transform: none; }
}
