/* ==========================================================================
   Durian Point Bangka — styles
   Mobile-first, responsive. Palette terinspirasi kulit & daging durian.
   ========================================================================== */

:root {
  --cream: #fdf9ef;
  --cream-2: #f6eeda;
  --paper: #ffffff;
  --ink: #22301d;
  --ink-soft: #4a5942;
  --green-900: #1c3a26;
  --green-700: #2f6a3e;
  --green-600: #3a7d49;
  --lime: #a7c957;
  --amber: #e8940c;
  --amber-600: #cf7d05;
  --amber-soft: #ffd77a;
  --brown: #5c3d1e;
  --line: #e7ddc7;
  --shadow-sm: 0 1px 2px rgba(28, 58, 38, .06), 0 4px 12px rgba(28, 58, 38, .06);
  --shadow-md: 0 8px 30px rgba(28, 58, 38, .12);
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1140px;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Fraunces", "Plus Jakarta Sans", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: clip;
}
html { overflow-x: clip; }
img, svg { max-width: 100%; display: block; }
a { color: var(--green-700); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; color: var(--green-900); font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); margin: 0 0 .5em; }
h2 { font-size: clamp(1.5rem, 4.2vw, 2.3rem); margin: 0 0 .6em; }
h3 { font-size: 1.15rem; margin: 0 0 .4em; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 760px; }
.center { text-align: center; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--green-900); color: #fff;
  padding: .6rem 1rem; border-radius: 0 0 8px 0; z-index: 200;
}
.skip-link:focus { left: 0; }

/* -------------------------------------------------------------------------- */
/* Buttons                                                                     */
/* -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--green-700);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 2px solid transparent; border-radius: 999px;
  padding: .8rem 1.3rem; font: inherit; font-weight: 600; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none; line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-lg { padding: 1rem 1.6rem; font-size: 1.02rem; }
.btn-sm { padding: .6rem 1rem; font-size: .9rem; }
.btn-wa { --btn-bg: #1faa54; --btn-fg: #fff; }
.btn-wa:hover { --btn-bg: #16924a; }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--green-900); border-color: var(--green-700); }
.btn-outline:hover { --btn-bg: var(--green-700); --btn-fg: #fff; }
.btn-ghost-light { --btn-bg: rgba(255,255,255,.12); --btn-fg: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost-light:hover { --btn-bg: rgba(255,255,255,.22); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--amber-600); margin-bottom: .8rem;
}
.eyebrow svg { width: 1.05em; height: 1.05em; }
.eyebrow-light { color: var(--amber-soft); }

.stars { color: var(--amber); letter-spacing: .1em; font-size: .95rem; }

/* -------------------------------------------------------------------------- */
/* Header                                                                      */
/* -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 249, 239, .9);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; color: var(--green-900); }
.brand:hover { text-decoration: none; }
.brand-logo { display: block; height: 40px; width: auto; }
@media (min-width: 900px) { .brand-logo { height: 46px; } }
/* footer berlatar hijau tua → beri alas terang agar teks "DURIAN" terbaca */
.brand-footer .brand-logo {
  height: 60px; background: #fdf9ef; border-radius: 12px; padding: 10px 16px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, .18);
}

.main-nav { display: flex; align-items: center; gap: .35rem; }
.main-nav a {
  color: var(--ink); font-weight: 600; padding: .5rem .75rem; border-radius: 10px; font-size: .95rem;
}
.main-nav a:hover { text-decoration: none; background: var(--cream-2); }
.main-nav a[aria-current="page"] { color: var(--green-700); background: var(--cream-2); }
.nav-cta { margin-left: .5rem; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--paper); cursor: pointer; padding: 0; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--green-900); border-radius: 2px; transition: .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; gap: .25rem;
    background: var(--cream); padding: 1rem 20px 1.5rem; border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform .28s ease; box-shadow: var(--shadow-md);
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: .85rem .75rem; font-size: 1.05rem; }
  .nav-cta { margin: .5rem 0 0; }
}

/* -------------------------------------------------------------------------- */
/* Hero                                                                        */
/* -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 500px at 15% -10%, rgba(167,201,87,.35), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(232,148,12,.16), transparent 55%),
    var(--cream);
  padding: 3rem 0 4.5rem;
  overflow: hidden;
}
.hero-inner { display: grid; gap: 2.5rem; align-items: center; }
.hero-copy .lead { font-size: 1.08rem; color: var(--ink-soft); max-width: 40ch; }
h1 .hl { color: var(--amber-600); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.5rem 0; }
.hero-trust { display: grid; gap: .5rem; margin-top: 1rem; }
.hero-trust li { display: flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--green-900); font-size: .95rem; }
.hero-trust svg { width: 1.1em; height: 1.1em; color: var(--green-600); flex: none; }

.hero-art { position: relative; display: grid; place-items: center; }
.hero-durian {
  width: min(78vw, 380px); filter: drop-shadow(0 30px 40px rgba(28,58,38,.28));
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-14px) rotate(2deg); } }
.hero-badge {
  position: absolute; right: 2%; bottom: 4%;
  background: var(--paper); border-radius: 16px; padding: .8rem 1rem; box-shadow: var(--shadow-md);
  display: grid; gap: .1rem; text-align: left; border: 1px solid var(--line);
}
.hero-badge strong { font-family: var(--font-head); font-size: 1.3rem; color: var(--green-900); }
.hero-badge span { font-size: .78rem; color: var(--ink-soft); }

.hero-wave {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 60px;
  background: var(--cream);
  clip-path: polygon(0 55%, 12% 42%, 28% 58%, 45% 40%, 62% 60%, 80% 44%, 100% 58%, 100% 100%, 0 100%);
  opacity: 0;
}

@media (min-width: 860px) {
  .hero { padding: 5rem 0 6rem; }
  .hero-inner { grid-template-columns: 1.05fr .95fr; }
}

/* -------------------------------------------------------------------------- */
/* Sections                                                                    */
/* -------------------------------------------------------------------------- */
.section { padding: 3.5rem 0; }
@media (min-width: 860px) { .section { padding: 5rem 0; } }
.section-tint { background: var(--cream-2); }
.section-dark {
  background: linear-gradient(160deg, var(--green-900), #16301f);
  color: #eef3e6;
}
.section-dark h2 { color: #fff; }
.section-head { max-width: 620px; margin: 0 auto 2.5rem; text-align: center; }
.section-head p { color: var(--ink-soft); margin: 0; }
.section-dark .section-head p { color: #cddcc4; }

.grid { display: grid; gap: 1.2rem; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 620px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow-sm);
}
.feature-card { position: relative; }
.feature-icon {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(150deg, rgba(167,201,87,.35), rgba(58,125,73,.2));
  color: var(--green-700); margin-bottom: .9rem;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-card p { margin: 0; color: var(--ink-soft); font-size: .96rem; }

/* Products */
.product-card { display: flex; flex-direction: column; position: relative; }
.product-card.is-featured { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(167,201,87,.25), var(--shadow-sm); }
.ribbon {
  align-self: flex-start; background: var(--amber); color: #fff;
  font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .28rem .7rem; border-radius: 999px; margin-bottom: .7rem;
}
.product-unit { color: var(--amber-600); font-weight: 700; font-size: .9rem; margin: -.2rem 0 .6rem; }
.product-card p { color: var(--ink-soft); font-size: .95rem; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: .3rem 0 1.1rem; }
.chips li {
  list-style: none; background: var(--cream-2); border: 1px solid var(--line);
  padding: .25rem .65rem; border-radius: 999px; font-size: .78rem; font-weight: 600; color: var(--ink-soft);
}
.chips-light li { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.28); color: #eef3e6; }
.chips-center { justify-content: center; max-width: 780px; margin: 0 auto; }
.chips-center li { font-size: .85rem; padding: .4rem .9rem; background: var(--paper); }
.product-card .btn { margin-top: auto; align-self: flex-start; }

/* Steps */
.steps { max-width: 780px; margin: 0 auto 2rem; display: grid; gap: 1rem; counter-reset: step; }
.step { display: flex; gap: 1rem; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.1rem 1.2rem; box-shadow: var(--shadow-sm); }
.step-n {
  flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--lime), var(--green-600)); color: #fff; font-weight: 700; font-family: var(--font-head);
}
.step h3 { margin-bottom: .15rem; }
.step p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* Reseller CTA band */
.reseller-cta { display: grid; gap: 1.8rem; align-items: center; }
.reseller-cta p { color: #cddcc4; }
.reseller-cta-actions { display: flex; flex-direction: column; gap: .8rem; }
@media (min-width: 860px) {
  .reseller-cta { grid-template-columns: 1.4fr .9fr; }
  .reseller-cta-actions { align-items: flex-start; }
}

/* Testimonials */
.testi-card { position: relative; display: flex; flex-direction: column; gap: .6rem; }
.testi-quote { position: absolute; top: -10px; right: 16px; color: var(--lime); opacity: .5; }
.testi-quote svg { width: 40px; height: 40px; }
.testi-card blockquote { margin: 0; font-size: .98rem; color: var(--ink); }
.testi-card figcaption { display: flex; flex-direction: column; margin-top: auto; padding-top: .4rem; }
.testi-card figcaption strong { color: var(--green-900); }
.testi-card figcaption span { font-size: .82rem; color: var(--ink-soft); }
.testi-note { text-align: center; color: var(--ink-soft); font-size: .85rem; max-width: 620px; margin: 1.8rem auto 0; }

/* Articles */
.article-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.article-card-media {
  display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--cream-2);
}
.article-card-media picture, .article-card-media img { width: 100%; height: 100%; }
.article-card-media img { object-fit: cover; transition: transform .4s ease; }
.article-card:hover .article-card-media img { transform: scale(1.04); }
.article-card-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.article-cat {
  font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--amber-600);
  margin-bottom: .5rem;
}
.article-card-body h3 { font-size: 1.12rem; }
.article-card-body h3 a { color: var(--green-900); }
.article-card-body p { color: var(--ink-soft); font-size: .93rem; flex: 1; }
.article-meta { font-size: .82rem; color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: .3rem; }

/* Category filter */
.cat-filter { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2rem; }
.chip-btn {
  border: 1px solid var(--line); background: var(--paper); color: var(--ink-soft);
  padding: .5rem .95rem; border-radius: 999px; font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer;
  transition: .15s;
}
.chip-btn:hover { border-color: var(--green-600); color: var(--green-700); }
.chip-btn.is-active { background: var(--green-700); color: #fff; border-color: var(--green-700); }
.is-hidden { display: none !important; }

/* Variety cards */
.variety-card { display: flex; flex-direction: column; }
.variety-card.is-featured { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(167,201,87,.22), var(--shadow-sm); }
.variety-top { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: space-between; align-items: center; margin-bottom: .7rem; }
.variety-origin {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .74rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--green-700);
}
.variety-origin svg { width: 1em; height: 1em; }
.variety-tier {
  font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: .25rem .6rem; border-radius: 999px; background: var(--cream-2); color: var(--ink-soft); border: 1px solid var(--line);
}
.variety-tier.tier-signature { background: var(--green-900); color: #fff; border-color: var(--green-900); }
.variety-tier.tier-super-premium { background: var(--amber); color: #fff; border-color: var(--amber); }
.variety-card h3 { font-size: 1.08rem; }
.variety-card p { color: var(--ink-soft); font-size: .93rem; }
.variety-card .btn { margin-top: auto; align-self: flex-start; }

/* -------------------------------------------------------------------------- */
/* Page hero (interior pages)                                                  */
/* -------------------------------------------------------------------------- */
.page-hero {
  background:
    radial-gradient(900px 400px at 10% -20%, rgba(167,201,87,.3), transparent 60%),
    var(--cream-2);
  padding: 3rem 0; border-bottom: 1px solid var(--line);
}
.page-hero .lead { font-size: 1.08rem; color: var(--ink-soft); max-width: 60ch; }
@media (min-width: 860px) { .page-hero { padding: 4.5rem 0; } }

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 760px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.3rem; text-align: center; box-shadow: var(--shadow-sm); }
.stat strong { display: block; font-family: var(--font-head); font-size: 1.8rem; color: var(--green-900); }
.stat span { font-size: .85rem; color: var(--ink-soft); }

/* -------------------------------------------------------------------------- */
/* Prose / article body                                                        */
/* -------------------------------------------------------------------------- */
.prose { font-size: 1.05rem; color: #2c3a26; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; font-size: 1.12rem; color: var(--green-700); }
.prose p { margin: 0 0 1.15rem; }
.prose ul, .prose ol { margin: 0 0 1.3rem; padding-left: 1.3rem; }
.prose li { margin-bottom: .5rem; }
.prose strong { color: var(--green-900); }
.prose > p:first-of-type { font-size: 1.12rem; }

.article-header { background: var(--cream-2); padding: 2.5rem 0 2rem; border-bottom: 1px solid var(--line); }
.crumbs { font-size: .82rem; color: var(--ink-soft); margin-bottom: .8rem; }
.crumbs span { margin: 0 .3rem; }
.article-lead, .article-header .article-lead { font-size: 1.1rem; color: var(--ink-soft); margin: .4rem 0 1rem; }
.page-article .article-header + .container { padding-top: 2rem; }
.article-body { margin-top: .5rem; }

.article-cta {
  margin: 2.5rem 0 1rem; padding: 1.6rem; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(167,201,87,.22), rgba(58,125,73,.12));
  border: 1px solid var(--lime);
  display: grid; gap: 1rem;
}
.article-cta h3 { margin-bottom: .3rem; }
.article-cta p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
@media (min-width: 720px) { .article-cta { grid-template-columns: 1fr auto; align-items: center; } }

/* -------------------------------------------------------------------------- */
/* Forms                                                                       */
/* -------------------------------------------------------------------------- */
.lead-form { display: grid; gap: 1rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 600; font-size: .9rem; color: var(--green-900); }
.field input, .field select, .field textarea {
  font: inherit; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 10px;
  background: var(--cream); color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--green-600); outline-offset: 1px; border-color: transparent;
}
.form-hint { font-size: .8rem; color: var(--ink-soft); margin: 0; }
.lead-form .btn { justify-self: start; }

/* FAQ */
.faq-list { display: grid; gap: .7rem; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 1.2rem; box-shadow: var(--shadow-sm); }
.faq-item summary {
  cursor: pointer; padding: 1.1rem 0; font-weight: 600; color: var(--green-900); list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--amber-600); flex: none; }
.faq-item[open] summary::after { content: "–"; }
.faq-answer { padding-bottom: 1.1rem; color: var(--ink-soft); }
.faq-answer p { margin: 0; }

/* -------------------------------------------------------------------------- */
/* Footer                                                                      */
/* -------------------------------------------------------------------------- */
.site-footer { background: var(--green-900); color: #d7e3cd; padding: 3.5rem 0 1.5rem; margin-top: auto; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.3fr 1.2fr; } }
.footer-col h3 { color: #fff; font-size: 1rem; margin-bottom: .9rem; }
.footer-col p { color: #b9c9ab; font-size: .92rem; }
.footer-col ul li { list-style: none; margin-bottom: .5rem; }
.footer-col a { color: #d7e3cd; }
.footer-col a:hover { color: #fff; }
.footer-rating { display: flex; align-items: center; gap: .5rem; margin-top: .8rem; font-size: .82rem; color: #b9c9ab; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; }
.footer-contact svg { width: 1.15em; height: 1.15em; flex: none; margin-top: .15rem; color: var(--lime); }
.footer-col .btn { width: 100%; margin-bottom: .6rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.3rem;
  display: flex; flex-wrap: wrap; gap: .5rem; justify-content: space-between; font-size: .82rem; color: #9fb391;
}
.footer-bottom p { margin: 0; }

/* -------------------------------------------------------------------------- */
/* WhatsApp float                                                              */
/* -------------------------------------------------------------------------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 120;
  width: 58px; height: 58px; border-radius: 50%;
  background: #1faa54; color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 25px rgba(31,170,84,.45);
}
.wa-float:hover { text-decoration: none; transform: translateY(-2px); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float-pulse {
  position: absolute; inset: 0; border-radius: 50%; background: #1faa54; z-index: -1;
  animation: wapulse 2.4s ease-out infinite;
}
@keyframes wapulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.9); opacity: 0; } }
@media (min-width: 900px) { .wa-float { right: 26px; bottom: 26px; width: 62px; height: 62px; } }

/* -------------------------------------------------------------------------- */
/* Misc                                                                        */
/* -------------------------------------------------------------------------- */
.page-hero + .section .prose:first-child { margin-top: 0; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
}
::selection { background: var(--amber-soft); color: var(--green-900); }

/* -------------------------------------------------------------------------- */
/* Carousel (foto asli, auto-swipe)                                            */
/* -------------------------------------------------------------------------- */
picture { display: block; }

.carousel {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-md); background: var(--cream-2); isolation: isolate;
}
.carousel + .carousel, .about-media + .prose { margin-top: 2rem; }
.carousel-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track:focus-visible { outline: 3px solid var(--amber); outline-offset: -3px; }
.carousel-slide { flex: 0 0 100%; scroll-snap-align: center; margin: 0; min-width: 0; }
.carousel-slide picture, .carousel-slide img { width: 100%; height: 100%; }
.carousel-slide img { object-fit: cover; display: block; }

.carousel-wide { max-width: 920px; margin-inline: auto; }
.carousel-hero .carousel-slide { aspect-ratio: 4 / 5; }
.carousel-wide .carousel-slide { aspect-ratio: 4 / 3; }
.carousel-slide img { object-position: center 35%; }
@media (min-width: 640px) {
  .carousel-hero .carousel-slide { aspect-ratio: 1 / 1; }
  .carousel-wide .carousel-slide { aspect-ratio: 2 / 1; }
}
@media (min-width: 860px) {
  .carousel-hero .carousel-slide { aspect-ratio: 5 / 6; max-height: 560px; }
}

.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.9); color: var(--green-900);
  display: grid; place-items: center; box-shadow: var(--shadow-sm); z-index: 2;
  transition: background .15s;
}
.carousel-arrow:hover { background: #fff; }
.carousel-arrow svg { width: 20px; height: 20px; }
.carousel-arrow.prev { left: 12px; }
.carousel-arrow.prev svg { transform: rotate(180deg); }
.carousel-arrow.next { right: 12px; }
@media (hover: none) { .carousel-arrow { display: none; } }

.carousel-dots {
  position: absolute; left: 0; right: 0; bottom: 12px; z-index: 2;
  display: flex; gap: 7px; justify-content: center;
}
.carousel-dot {
  width: 8px; height: 8px; padding: 0; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.55); transition: background .2s, width .2s;
}
.carousel-dot.is-active { background: #fff; width: 22px; border-radius: 5px; }
.carousel-hero .carousel-dots { justify-content: flex-start; padding-left: 16px; bottom: 14px; }
.carousel-hero .carousel-arrow { display: none; }

.about-media { margin-bottom: 2rem; }
.article-hero-img { margin-bottom: 2rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.article-hero-img img { width: 100%; max-height: 460px; object-fit: cover; }
