/*
Theme Name: Arkayana Lestari Grup
Theme URI: https://arkayanalestarigrup.com
Author: AYLS
Author URI: https://arkayanalestarigrup.com
Description: Arkayana Lestari Grup（原 Agro Yasa Lestari / AYLS）企业官网主题。商务极简、anhinvt 风格，三语（英 / 中 / 印尼）单页站。
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.9
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: arkayana-lestari
*/

:root {
  --brand: #14783e;
  --brand-light: #1b9e51;
  --brand-dark: #0d4d2b;
  --gold: #c8a415;
  --ink: #191b1d;
  --muted: #575757;
  --line: #d5d5d5;
  --mist: #fafafa;
  --max: 1200px;
  --font-sans: "Manrope", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Noto Sans SC", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--ink);
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { font-weight: 400; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: 14px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--brand); }
.hl { color: var(--brand); }

/* ============ Pill button ============ */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand); color: #fff;
  border-radius: 999px; padding: 6px 6px 6px 18px;
  font-size: 18px; font-weight: 400; cursor: pointer;
  transition: background .25s ease;
}
.pill:hover { background: var(--brand-dark); }
.pill__badge {
  width: 28px; height: 28px; border-radius: 999px;
  background: #fff; color: var(--brand);
  display: grid; place-items: center;
  transform: translateX(6px); transition: transform .3s ease;
}
.pill:hover .pill__badge { transform: translateX(8px); }
.pill__badge svg { width: 18px; height: 18px; }

/* ============ Header / Nav ============ */
.nav {
  position: fixed; top: 16px; right: 16px; z-index: 50;
  display: none; align-items: center;
  background: rgba(255,255,255,.55);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-radius: 999px; padding: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,.07);
}
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__link { display: block; padding: 4px 12px; border-radius: 999px; font-size: 16px; color: rgba(25,27,29,.8); transition: color .2s, background .2s; }
.nav__link:hover { color: var(--ink); }
.nav__link.is-active { background: #fff; color: var(--brand); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.nav__divider { width: 1px; height: 20px; background: var(--line); margin: 0 8px; }

.lang { display: flex; align-items: center; gap: 8px; padding: 0 4px; font-size: 16px; }
.lang button { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; color: var(--muted); transition: color .2s; }
.lang button:hover { color: var(--ink); }
.lang button.is-active { color: var(--brand); }
.lang__dot { width: 3px; height: 3px; border-radius: 999px; background: var(--line); }

.nav-mobile { position: fixed; top: 16px; right: 16px; z-index: 50; }
.hamburger {
  width: 44px; height: 44px; border-radius: 999px;
  background: rgba(255,255,255,.72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(0,0,0,.05); display: grid; place-items: center; cursor: pointer; color: var(--ink);
  box-shadow: 0 1px 3px rgba(0,0,0,.07);
}
.mobile-menu {
  position: absolute; right: 0; top: 54px; width: 224px;
  background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-radius: 16px; padding: 12px; box-shadow: 0 14px 36px rgba(0,0,0,.14);
  display: none;
}
.mobile-menu.is-open { display: block; }
.mobile-menu a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 18px; color: var(--ink); }
.mobile-menu a:hover { background: rgba(0,0,0,.04); }
.mobile-menu__lang { display: flex; gap: 10px; border-top: 1px solid var(--line); margin-top: 8px; padding: 12px 12px 4px; font-size: 18px; }

/* ============ Hero ============ */
.hero { position: relative; min-height: 600px; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.65), rgba(0,0,0,.45) 50%, rgba(0,0,0,.55)); }
.hero__logo { position: absolute; left: 16px; top: 20px; z-index: 20; }
.hero__logo img { height: 36px; width: auto; }
.hero__inner { position: relative; z-index: 10; width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; display: flex; flex-direction: column; align-items: flex-start; }
.hero__eyebrow { font-size: 14px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,.9); margin-bottom: 16px; }
.hero__title { color: #fff; font-size: 40px; line-height: 1.08; letter-spacing: -0.02em; max-width: 48rem; }
.hero__subtitle { color: rgba(255,255,255,.9); font-size: 18px; line-height: 1.5; margin-top: 20px; max-width: 36rem; }
.hero__cta { margin-top: 36px; }

/* ============ About ============ */
.about { padding-top: 96px; }
.about__label { font-size: 32px; letter-spacing: -0.02em; color: var(--ink); }
.about__lead { margin-top: 28px; font-size: 20px; line-height: 1.4; color: var(--ink); }

/* ============ Company summary ============ */
.summary { padding-top: 48px; padding-bottom: 16px; }
.summary__grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.summary__col { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.summary__text { font-size: 16px; line-height: 1.6; color: var(--muted); }
.summary__imgs { display: flex; gap: 16px; }
.frame { position: relative; overflow: hidden; border-radius: 4px; }
.summary__imgs .frame { width: 50%; aspect-ratio: 3/4; }
.summary__gutter { display: none; }
.summary__tall { position: relative; overflow: hidden; border-radius: 4px; min-height: 380px; }
.frame img, .summary__tall img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ============ Timeline ============ */
.timeline { padding-top: 96px; }
.timeline__heading { margin-top: 20px; font-size: 32px; letter-spacing: -0.02em; color: var(--ink); }
.timeline__grid { display: none; margin-top: 56px; grid-template-columns: repeat(5, 1fr); gap: 32px; }
.timeline__col .year { font-size: 40px; line-height: 1; letter-spacing: -0.025em; color: var(--ink); }
.timeline__col .year.is-latest { color: var(--brand); }
.timeline__col .text { margin-top: 16px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.timeline__list { display: flex; flex-direction: column; margin-top: 40px; }
.timeline__item { display: flex; gap: 24px; padding: 24px 0; }
.timeline__item + .timeline__item { border-top: 1px solid var(--line); }
.timeline__item .year { width: 64px; flex: none; font-size: 32px; letter-spacing: -0.02em; color: var(--ink); }
.timeline__item .year.is-latest { color: var(--brand); }
.timeline__item .text { font-size: 16px; line-height: 1.6; color: var(--muted); }

/* ============ Products ============ */
.products { margin-top: 96px; background: var(--mist); padding: 64px 0; }
.products__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.products__heading { margin-top: 20px; font-size: 32px; letter-spacing: -0.02em; color: var(--ink); }
.products__scroller { position: relative; margin-top: 48px; }
.products__track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 24px; padding-bottom: 8px; -ms-overflow-style: none; scrollbar-width: none; }
.products__track::-webkit-scrollbar { display: none; }
.products__fade { pointer-events: none; position: absolute; top: 0; bottom: 8px; right: 0; width: 48px; background: linear-gradient(to left, var(--mist), transparent); }
.card { min-width: 80%; flex: none; display: flex; flex-direction: column; background: #fff; border: 1px solid rgba(213,213,213,.7); border-radius: 4px; overflow: hidden; scroll-snap-align: start; }
.card__img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__img img { transform: scale(1.05); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.card__cat { font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); }
.card__title { margin-top: 8px; font-size: 20px; color: var(--ink); }
.card__desc { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--muted); }

/* ============ Footer ============ */
.site-footer { border-top: 1px solid var(--line); background: #fff; }
.site-footer__inner { padding: 80px 24px; max-width: var(--max); margin: 0 auto; }
.footer-top { display: flex; flex-direction: column; align-items: center; text-align: center; }
.footer-logo img { height: 48px; width: auto; }
.footer-name { margin-top: 32px; font-size: 32px; letter-spacing: -0.02em; color: var(--ink); }
.footer-blurb { margin-top: 20px; max-width: 42rem; font-size: 16px; line-height: 1.6; color: var(--muted); }
.footer-cta { margin-top: 32px; }
.footer-details { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px 48px; margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line); text-align: center; }
.detail { display: flex; flex-direction: column; align-items: center; }
.detail__label { display: flex; align-items: center; gap: 8px; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.detail__label svg { width: 18px; height: 18px; color: var(--brand); }
.detail__value { margin-top: 8px; font-size: 16px; color: var(--ink); }
.detail__value a:hover { color: var(--brand); }
.footer-bottom { display: flex; flex-direction: column; align-items: center; gap: 24px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.footer-nav a { font-size: 16px; color: var(--muted); }
.footer-nav a:hover { color: var(--ink); }
.copyright { font-size: 14px; color: var(--muted); }

/* ============ Responsive ============ */
@media (min-width: 640px) {
  .container { padding: 0 32px; }
  .hero__logo { left: 32px; top: 28px; }
  .hero__logo img { height: 44px; }
  .hero__inner { padding: 0 32px; align-items: center; text-align: center; }
  .hero__title { font-size: 72px; line-height: 1.05; letter-spacing: -0.025em; }
  .hero__subtitle { font-size: 20px; }
  .about { padding-top: 112px; }
  .about__label { font-size: 40px; letter-spacing: -0.025em; }
  .about__lead { font-size: 28px; max-width: 62%; }
  .summary { padding-top: 64px; }
  .summary__grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .summary__imgs .frame { aspect-ratio: 1/1; }
  .summary__gutter { display: block; }
  .timeline { padding-top: 112px; }
  .timeline__heading { font-size: 40px; letter-spacing: -0.025em; }
  .products { margin-top: 112px; padding: 80px 0; }
  .products__heading { font-size: 40px; letter-spacing: -0.025em; }
  .products__track { display: grid; grid-template-columns: repeat(2, 1fr); overflow: visible; }
  .products__fade { display: none; }
  .card { min-width: 0; }
  .site-footer__inner { padding: 96px 32px; }
  .footer-name { font-size: 64px; letter-spacing: -0.025em; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

@media (min-width: 1024px) {
  .nav { display: flex; }
  .nav-mobile { display: none; }
  .timeline__grid { display: grid; }
  .timeline__list { display: none; }
  .products__track { grid-template-columns: repeat(4, 1fr); }
}

/* ============ Investor Relations ============ */
.ir { padding-top: 96px; }
.ir__heading { margin-top: 20px; font-size: 32px; letter-spacing: -0.02em; color: var(--ink); }
.ir__grid { display: grid; grid-template-columns: 1fr; gap: 40px; margin-top: 48px; }
.ir__subtitle { margin: 0 0 20px; font-size: 20px; color: var(--ink); }
.ir__subtitle--reports { margin-top: 64px; }
.board { width: 100%; border-collapse: collapse; }
.board td { padding: 14px 0; border-top: 1px solid var(--line); font-size: 16px; vertical-align: top; }
.board tr:first-child td { border-top: 0; }
.board__role { width: 55%; padding-right: 16px; color: var(--muted); }
.board__name { color: var(--ink); }
.ownership { display: flex; flex-direction: column; max-width: 380px; margin: 0 auto; }
.own-node { position: relative; text-align: center; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; background: #fff; box-shadow: 0 1px 3px rgba(16, 24, 40, .04); }
.own-node__name { font-size: 16px; color: var(--ink); }
.own-node__tag { display: inline-block; margin-top: 5px; font-size: 10.5px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); }
.own-node__note { margin-top: 6px; font-size: 12px; color: var(--muted); }
.own-node--owner { border-color: var(--brand); }
.own-node--owner .own-node__tag { color: var(--brand); }
.own-node--listed { border: 1.5px solid var(--brand); background: linear-gradient(180deg, rgba(20, 120, 62, .07), rgba(20, 120, 62, .02)); box-shadow: 0 10px 26px rgba(20, 120, 62, .12); }
.own-node--listed .own-node__name { font-weight: 500; }
.own-node--listed .own-node__tag { color: var(--brand); }
.own-link { position: relative; display: flex; align-items: center; justify-content: center; height: 42px; }
.own-link::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); background: var(--line); }
.own-link__pct { position: relative; z-index: 1; padding: 3px 12px; font-size: 12px; letter-spacing: 0.02em; color: var(--brand); background: #fff; border: 1px solid rgba(20, 120, 62, .4); border-radius: 999px; }
.docs { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 24px; }
.doc { display: flex; flex-direction: column; background: #fff; border: 1px solid rgba(213,213,213,.7); border-radius: 8px; padding: 20px 22px; transition: border-color .2s, box-shadow .2s; }
.doc:hover { border-color: var(--brand); box-shadow: 0 6px 20px rgba(0,0,0,.05); }
.doc__cat { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand); }
.doc__title { margin-top: 8px; font-size: 18px; line-height: 1.4; color: var(--ink); }
.doc__dl { margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; font-size: 15px; color: var(--muted); }
.doc__dl svg { width: 16px; height: 16px; }
.doc:hover .doc__dl { color: var(--brand); }
@media (min-width: 640px) {
  .ir { padding-top: 112px; }
  .ir__heading { font-size: 40px; letter-spacing: -0.025em; }
  .ir__grid { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
  .docs { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .docs { grid-template-columns: repeat(3, 1fr); }
}
