/* Altura mockup — identitas korporat v1.0: Deep Teal, Sage, Off-white, Dark Slate, Muted Gold; Inter 400/500. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/altura-mockup/fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/altura-mockup/fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --teal: #0F5964;
  --teal-dark: #0B4650;
  --sage: #9BB8A5;
  --sage-deep: #6F8F7E;
  --paper: #F7F9F6;
  --slate: #183137;
  --gold: #C4A46A;
  --tint: #E9EFEB;
  --muted: #566B70;
  --line: #D3DED7;
  --logo: #045361;
  --radius: 6px;
  --gutter: clamp(20px, 5vw, 48px);
  --max: 1200px;
  --ease: cubic-bezier(0.7, 0, 0.2, 1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--slate);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, blockquote, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3 { font-weight: 400; text-wrap: balance; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); line-height: 1.15; letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; line-height: 1.3; letter-spacing: -0.01em; color: var(--teal); }

.lead {
  max-width: 34rem;
  margin-top: 20px;
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  line-height: 1.6;
  color: var(--muted);
}

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 200;
  padding: 10px 16px; background: var(--teal); color: #fff; border-radius: 4px;
}
.skip:focus { left: 8px; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  flex: none; width: 1.25rem; height: 1.25rem;
  fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Transisi halaman: tirai garis vertikal yang naik ---------- */

.veil { position: fixed; inset: 0; z-index: 100; display: flex; pointer-events: none; visibility: hidden; }
html.is-leaving .veil, html.is-entering .veil, html.is-revealing .veil { visibility: visible; }
.veil span {
  flex: 1;
  background: var(--teal);
  border-right: 1px solid transparent;
  transform: translateY(101%);
}
.veil span:last-child { border-right: 0; }
.veil span:nth-child(2) { transition-delay: 0.04s; }
.veil span:nth-child(3) { transition-delay: 0.08s; }
.veil span:nth-child(4) { transition-delay: 0.12s; }
.veil span:nth-child(5) { transition-delay: 0.16s; }
.veil span:nth-child(6) { transition-delay: 0.2s; }

html.is-leaving .veil { pointer-events: all; }
html.is-leaving .veil span { transform: translateY(0); transition-property: transform; transition-duration: 0.5s; transition-timing-function: var(--ease); }

html.is-entering .veil span { transform: translateY(0); transition: none; }
html.is-entering .veil { animation: veil-failsafe 0s linear 2.5s forwards; }
@keyframes veil-failsafe { to { visibility: hidden; } }

html.is-revealing .veil span { transform: translateY(-101%); transition-property: transform; transition-duration: 0.55s; transition-timing-function: var(--ease); }

.veil-logo { position: absolute; top: 50%; left: 50%; width: min(62vw, 300px); height: auto; transform: translate(-50%, -50%) scale(0.94); filter: brightness(0) invert(1); opacity: 0; }
html.is-leaving .veil-logo { opacity: 1; transform: translate(-50%, -50%) scale(1); transition: opacity 0.35s ease 0.3s, transform 0.6s var(--ease) 0.3s; }
html.is-entering .veil-logo { opacity: 1; transform: translate(-50%, -50%) scale(1); transition: none; }
html.is-revealing .veil-logo { opacity: 0; transform: translate(-50%, -50%) scale(1.06); transition: opacity 0.3s ease, transform 0.5s var(--ease); }

/* ---------- Catatan mockup ---------- */

.mock-note { background: var(--tint); border-bottom: 1px solid var(--line); font-size: 0.8125rem; color: var(--muted); }
.mock-note .wrap { display: flex; align-items: center; gap: 8px; padding-block: 7px; }
.mock-note .icon { width: 1rem; height: 1rem; color: var(--teal); }

/* ---------- Header ---------- */

.site-header { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); transition: transform 0.35s var(--ease), box-shadow 0.3s ease; }
.header-inner { display: flex; align-items: center; gap: 16px 28px; padding-block: 14px; }
.brand img { width: 150px; }

.site-nav { display: flex; flex-wrap: wrap; gap: 4px 26px; margin-left: auto; font-size: 0.9375rem; font-weight: 500; }
.site-nav a {
  padding: 8px 0 6px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  text-decoration: none;
}
.site-nav a:hover { color: var(--teal); }
.site-nav a[aria-current="page"] { color: var(--teal); border-bottom-color: var(--gold); }

.nav-toggle {
  display: none;
  align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--line); border-radius: 4px;
  background: transparent; color: var(--teal); cursor: pointer;
}
.nav-toggle .i-close { display: none; }
.site-header[data-open] .nav-toggle .i-open { display: none; }
.site-header[data-open] .nav-toggle .i-close { display: block; }

.lang { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.lang-switch { display: inline-flex; border: 1px solid var(--sage-deep); border-radius: 4px; overflow: hidden; }
.lang-switch button {
  margin: 0; padding: 7px 12px; border: 0; background: transparent; color: var(--muted);
  font-size: 0.8125rem; font-weight: 500; line-height: 1.2; cursor: pointer;
}
.lang-switch button:hover { color: var(--teal); }
.lang-switch button[aria-pressed="true"] { background: var(--teal); color: #fff; }
.lang-switch button:focus-visible { outline-offset: -3px; }
.lang-switch button[aria-pressed="true"]:focus-visible { outline-color: #fff; }

@media (max-width: 900px) {
  .js .nav-toggle { display: inline-flex; margin-left: auto; }
  .js .site-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    margin: 0; padding: 8px var(--gutter) 16px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    font-size: 1.0625rem;
  }
  .js .site-header[data-open] .site-nav { display: flex; }
  .js .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .js .site-nav a[aria-current="page"] { border-bottom-color: var(--gold); }
  html:not(.js) .header-inner { flex-wrap: wrap; }
  html:not(.js) .site-nav { order: 3; width: 100%; margin: 0; }
  .brand img { width: 128px; }
}

/* ---------- Tombol dan tautan ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border: 0; border-radius: 4px;
  background: var(--teal); color: #fff;
  font-size: 1rem; font-weight: 500; text-decoration: none; cursor: pointer;
  transition: background-color 0.2s;
}
.btn:hover { background: var(--teal-dark); }
.btn-light { background: #fff; color: var(--teal); margin-top: 28px; }
.btn-light:hover { background: var(--tint); }
.btn-light:focus-visible { outline-color: #fff; }

.link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--teal); font-weight: 500; text-decoration: none;
  border-bottom: 1px solid var(--gold); padding-bottom: 2px;
}
.link:hover { color: var(--teal-dark); }

/* ---------- Beranda: hero dengan logo satu garis ---------- */

.home-hero { padding-block: clamp(40px, 7vw, 96px) clamp(48px, 7vw, 96px); }
.home-hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.home-hero h1 {
  max-width: 13ch;
  font-size: clamp(2.5rem, 5.6vw, 4rem); line-height: 1.08; letter-spacing: -0.025em; color: var(--teal);
}
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; margin-top: 36px; }

.logo-stage { justify-self: end; width: 100%; max-width: 640px; }
.logo-draw { display: block; width: 100%; height: auto; overflow: visible; }
.pen {
  fill: none; stroke: var(--logo); stroke-width: 39.92; stroke-linecap: butt; stroke-linejoin: round;
  opacity: 0;
}
mask { mask-type: alpha; }
.pen-dot { fill: var(--gold); opacity: 0; }

.replay {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; margin-left: auto;
  padding: 7px 12px; border: 1px solid var(--sage-deep); border-radius: 4px;
  background: transparent; color: var(--muted); font-size: 0.8125rem; font-weight: 500; cursor: pointer;
}
.replay:hover { color: var(--teal); border-color: var(--teal); }
.logo-stage { display: flex; flex-direction: column; }
.logo-stage .replay { align-self: flex-end; }
html:not(.js) .replay { display: none; }

@media (max-width: 900px) {
  .home-hero-grid { grid-template-columns: 1fr; }
  .logo-stage { justify-self: start; }
}

/* ---------- Section ---------- */

.section { padding-block: clamp(56px, 8vw, 104px); scroll-margin-top: 72px; }
.section-tint { background: var(--tint); }

.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; margin-bottom: clamp(24px, 4vw, 40px); }

.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.facts > div { display: grid; grid-template-columns: 11rem 1fr; gap: 16px; padding-block: 18px; border-top: 1px solid var(--line); }
.facts > div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { color: var(--teal); font-weight: 500; }
@media (max-width: 540px) { .facts > div { grid-template-columns: 1fr; gap: 2px; } }

/* Kisi bergaris */
.grid-ruled { display: grid; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.grid-ruled > li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.spaced { margin-top: clamp(24px, 4vw, 40px); }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.cell { padding: clamp(22px, 3vw, 32px); }
.cell-icon { display: block; width: 1.75rem; height: 1.75rem; margin-bottom: 16px; color: var(--teal); }
.cell p { margin-top: 8px; color: var(--muted); }

/* Baris daftar */
.rows { border-top: 1px solid var(--line); }
.rows > li { border-bottom: 1px solid var(--line); }
.row {
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 8px 24px;
  padding-block: 22px; color: inherit; text-decoration: none;
}
.row-body strong { display: block; font-size: 1.125rem; font-weight: 500; }
.row-body span { display: block; color: var(--muted); }
.row-side { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.875rem; white-space: nowrap; }
.row-arrow { color: var(--sage-deep); }
.row:hover .row-body strong, .row:hover .row-arrow { color: var(--teal); }
.row-date { width: 7.5rem; color: var(--muted); font-size: 0.9375rem; }
@media (max-width: 700px) {
  .row { grid-template-columns: 1fr auto; }
  .row > .mono, .row > .row-date { grid-column: 1 / -1; }
  .row-side { grid-column: 1; }
  .row-arrow { grid-column: 2; grid-row: 2; }
}

.mono {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border-radius: 4px; background: var(--teal); color: #fff; font-weight: 500; font-size: 0.9375rem; letter-spacing: 0.02em;
}
.mono-lg { width: 56px; height: 56px; font-size: 1.125rem; }
.mono-img { background: #fff; border: 1px solid var(--line); }
.mono-img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }

/* Pita warna */
.band { padding-block: clamp(56px, 8vw, 104px); }
.band-teal, .band-cta { background: var(--teal); color: #fff; }
.band-teal h3, .band-cta h3 { color: #fff; }
.band-cta .lead { color: rgba(255, 255, 255, 0.88); margin-top: 0; }
.band-cta h2 { max-width: 14ch; }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); margin-top: clamp(32px, 5vw, 56px); }
.principles li { padding-top: 24px; border-top: 1px solid rgba(155, 184, 165, 0.7); }
.principles .icon { display: block; width: 1.75rem; height: 1.75rem; margin-bottom: 16px; color: var(--sage); }
.principles p { margin-top: 12px; color: rgba(255, 255, 255, 0.88); }
@media (max-width: 860px) { .principles { grid-template-columns: 1fr; } }

/* ---------- Hero halaman dalam ---------- */

.page-hero { position: relative; overflow: hidden; background: var(--teal); color: #fff; padding-block: clamp(48px, 8vw, 96px) clamp(64px, 10vw, 120px); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { max-width: 18ch; font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 1.1; letter-spacing: -0.025em; }
.page-hero .lead { color: rgba(255, 255, 255, 0.88); }

.hero-curves { position: absolute; right: -40px; bottom: -4px; width: min(62%, 660px); height: auto; overflow: visible; }
.hero-curves path { fill: none; stroke-linecap: round; stroke-dasharray: 1 2; stroke-dashoffset: 1; animation: draw 1.6s cubic-bezier(0.4, 0, 0.2, 1) 0.7s forwards; }
.hero-curves .c-sage { stroke: var(--sage); stroke-width: 10; }
.hero-curves .c-gold { stroke: var(--gold); stroke-width: 2.5; animation-delay: 0.95s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (max-width: 700px) { .hero-curves { width: 110%; opacity: 0.55; } }

/* ---------- Isi halaman ---------- */

.prose { max-width: 40rem; }
.prose p + p { margin-top: 1.1em; }
.prose h2 { margin-top: 1.8em; margin-bottom: 0.6em; font-size: 1.5rem; }
.prose blockquote { margin: 1.8em 0; padding-left: 20px; border-left: 3px solid var(--gold); color: var(--teal); font-size: 1.375rem; line-height: 1.4; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.duo-item p { margin-top: 16px; max-width: 28rem; color: var(--muted); font-size: 1.125rem; }
.duo-icon { display: block; width: 2rem; height: 2rem; margin-bottom: 16px; color: var(--teal); }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } }

.timeline { border-left: 1px solid var(--sage-deep); margin-left: 6px; }
.timeline li { position: relative; display: grid; grid-template-columns: 4.5rem 1fr; gap: 12px; padding: 0 0 28px 28px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 8px; width: 11px; height: 11px; border-radius: 50%; background: var(--teal); }
.tl-year { color: var(--teal); font-weight: 500; }

.sectors > li { display: grid; grid-template-columns: auto 1fr; gap: 24px; padding-block: 32px; border-top: 1px solid var(--line); }
.sectors { margin-top: clamp(24px, 4vw, 40px); }
.sectors > li:last-child { border-bottom: 1px solid var(--line); }
.sector-icon { width: 2rem; height: 2rem; color: var(--teal); }
.sectors p { max-width: 42rem; margin-top: 8px; }
.in-portfolio { color: var(--muted); font-size: 0.9375rem; }
.in-portfolio strong { color: var(--teal); font-weight: 500; margin-right: 6px; }

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(20px, 3vw, 40px); margin-top: clamp(24px, 4vw, 40px); }
.steps li { padding-top: 20px; border-top: 2px solid var(--teal); }
.step-n { display: inline-grid; place-items: center; width: 2rem; height: 2rem; margin-bottom: 14px; border: 1px solid var(--teal); border-radius: 4px; color: var(--teal); font-weight: 500; }
.steps p { margin-top: 8px; color: var(--muted); font-size: 1rem; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.points li { display: grid; grid-template-columns: auto 1fr; gap: 20px; padding-block: 26px; border-top: 1px solid var(--line); }
.points li:last-child { border-bottom: 1px solid var(--line); }
.points .icon { width: 1.75rem; height: 1.75rem; margin-top: 2px; color: var(--teal); }
.points p { max-width: 36rem; margin-top: 6px; color: var(--muted); }

/* Filter */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(24px, 4vw, 40px); }
.filters button {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border: 1px solid var(--sage-deep); border-radius: 4px;
  background: transparent; color: var(--muted); font-size: 0.875rem; font-weight: 500; cursor: pointer;
}
.filters button:hover { color: var(--teal); border-color: var(--teal); }
.filters button[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.filters button:focus-visible { outline-offset: 2px; }
.filters .icon { width: 1rem; height: 1rem; }

.tile { padding: clamp(22px, 3vw, 32px); }
.tile-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tile-sector { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.875rem; text-align: right; }
.tile-img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; margin-top: 22px; border-radius: 4px; background: var(--tint); }
.tile h3 { margin-top: 22px; }
.tile p { margin-top: 8px; color: var(--muted); }
.tile .tile-since { margin-top: 18px; color: var(--teal); font-size: 0.9375rem; font-weight: 500; }
.tile-img-photo { object-fit: cover; }
.tile-brand { position: relative; isolation: isolate; overflow: hidden; }
.tile-brand::before { content: ""; position: absolute; z-index: -1; right: -6%; bottom: -4%; width: 78%; height: 46%; background: var(--tile-logo) right bottom / contain no-repeat; opacity: 0.07; pointer-events: none; }
.brand-nema { --b-bg: #542D17; --b-ink: #F4E8D8; --b-muted: #D8BFA4; --b-accent: #E8935F; --b-line: rgba(244, 232, 216, 0.22); --b-bar: #983F2C; }
.brand-patdua { --b-bg: #0D140E; --b-ink: #F1F6EC; --b-muted: #A8BBA1; --b-accent: #7FE03A; --b-line: rgba(241, 246, 236, 0.2); --b-bar: #308818; }
.brand { background: var(--b-bg); color: var(--b-ink); border-top: 6px solid var(--b-bar); }
.brand h2, .brand .lead { color: var(--b-ink); }
.brand .copy-block, .brand .tile-sector { color: var(--b-muted); }
.brand .facts > div { border-color: var(--b-line); }
.brand .facts dt { color: var(--b-muted); font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; align-self: center; }
.brand .facts dd { color: var(--b-accent); }
.brand .tile-since, .brand .tile-since a { color: var(--b-accent); }
.brand .mono-img { border-color: var(--b-line); }
.brand .gallery img { background: rgba(255, 255, 255, 0.06); }
.company-head { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; margin-bottom: clamp(24px, 4vw, 40px); }
.company-head h2 { margin: 0; }
.company-head .tile-sector { margin-left: auto; }
.copy-block { margin-top: 16px; color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: clamp(28px, 5vw, 56px); }
.gallery li { display: flex; }
.gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; background: var(--tint); }
.gallery li:first-child { grid-column: span 2; grid-row: span 2; }
.gallery li:first-child img { height: 100%; aspect-ratio: auto; }
@media (max-width: 600px) {
  .gallery { grid-template-columns: 1fr 1fr; gap: 8px; }
  .gallery li:first-child { grid-row: auto; }
  .gallery li:first-child img { height: auto; aspect-ratio: 4 / 3; }
}

.person .mono-lg { margin-bottom: 18px; }
.person .role { margin-top: 2px; margin-bottom: 10px; color: var(--teal); font-weight: 500; }
.person p:last-child { color: var(--muted); }

/* Artikel */
.article > * { max-width: 44rem; }
.back { margin-bottom: 28px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 28px; color: var(--muted); font-size: 0.9375rem; }
.article-meta span { display: inline-flex; align-items: center; gap: 8px; }
.article-meta .icon { width: 1rem; height: 1rem; color: var(--teal); }

.event-box { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 24px; margin-bottom: 36px; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.event-box dt { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; color: var(--teal); font-weight: 500; }
.event-box dd { color: var(--slate); }
@media (max-width: 640px) { .event-box { grid-template-columns: 1fr; } }

.related { margin-top: 72px; }
.related h2 { margin-bottom: 20px; font-size: 1.5rem; }

/* Formulir dan kontak */
.form { display: grid; gap: 18px; max-width: 34rem; margin-top: 28px; }
.form label { display: grid; gap: 6px; font-size: 0.9375rem; font-weight: 500; }
.form input, .form select, .form textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--sage-deep); border-radius: 4px; background: #fff; font-weight: 400;
}
.form textarea { resize: vertical; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline-offset: 1px; border-color: var(--teal); }
.form .btn { justify-self: start; }
.form-status { color: var(--teal); font-weight: 500; }

.contact-list { margin-top: 28px; }
.contact-list > div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 16px; padding-block: 18px; border-top: 1px solid var(--line); }
.contact-list > div:last-child { border-bottom: 1px solid var(--line); }
.contact-list dt { display: flex; align-items: flex-start; gap: 10px; color: var(--teal); font-weight: 500; }
.contact-list dt .icon { margin-top: 3px; }
.contact-list dd { color: var(--muted); }
@media (max-width: 540px) { .contact-list > div { grid-template-columns: 1fr; gap: 4px; } }

.faq details { border-top: 1px solid var(--sage-deep); }
.faq details:last-child { border-bottom: 1px solid var(--sage-deep); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; font-weight: 500; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--teal); transition: transform 0.2s; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq p { max-width: 36rem; padding-bottom: 20px; color: var(--muted); }

/* ---------- Footer ---------- */

.site-footer { padding-block: clamp(40px, 6vw, 64px) 28px; background: var(--tint); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-brand img { width: 150px; }
.legal-name { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.04em; color: var(--teal); }
.legal-name .icon { width: 1rem; height: 1rem; }
.footer-line { max-width: 22rem; margin-top: 12px; color: var(--muted); font-size: 0.9375rem; }
.footer-h { margin-bottom: 12px; color: var(--teal); font-size: 0.9375rem; font-weight: 500; }
.site-footer li + li { margin-top: 8px; }
.site-footer nav a { color: var(--muted); text-decoration: none; font-size: 0.9375rem; }
.site-footer nav a:hover { color: var(--teal); }
.copy { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--gold); color: var(--muted); font-size: 0.8125rem; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .veil { display: none; }
  .hero-curves path { animation: none; stroke-dashoffset: 0; }
}

/* ---------- Berita: sumber ---------- */
.row-src { display: block; margin-top: 4px; font-style: normal; font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sage-deep); }

/* ---------- Responsif terhadap scroll ---------- */
.js .site-header.is-hidden:not([data-open]) { transform: translateY(-100%); }
.js .site-header.is-stuck { box-shadow: 0 6px 24px -14px rgba(24, 49, 55, 0.45); }
.scroll-bar { position: fixed; z-index: 30; top: 0; left: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--teal), var(--sage) 70%, var(--gold)); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }

/* Elemen muncul mengikuti arah scroll: turun = naik dari bawah, naik = turun dari atas */
.js .rv { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity 0.7s ease, transform 0.8s var(--ease); transition-delay: var(--rv-d, 0ms); will-change: opacity, transform; }
.js .rv.rv-up { transform: translate3d(0, -22px, 0); }
.js .rv.rv-l { transform: translate3d(-64px, 0, 0); }
.js .rv.rv-r { transform: translate3d(64px, 0, 0); }
.js .rv.in { opacity: 1; transform: none; }
body { overflow-x: clip; }
.js .rv-line { transform-origin: 0 50%; }

/* Nomor dan garis pada kepala bagian */
body { counter-reset: sec; }
.section-head { position: relative; padding-top: 22px; counter-increment: sec; }
.section-head::before { content: "0" counter(sec); position: absolute; top: 0; left: 0; font-size: 0.8125rem; letter-spacing: 0.14em; color: var(--sage-deep); font-weight: 500; }
.section-head::after { content: ""; position: absolute; top: 9px; left: 2.4rem; width: 56px; height: 1px; background: var(--gold); transform-origin: 0 50%; transition: transform 0.9s var(--ease) 0.15s; }
.js .section-head.rv:not(.in)::after { transform: scaleX(0); }
.js .section-head h2 { transition: letter-spacing 0.9s var(--ease); }
.js .section-head.rv:not(.in) h2 { letter-spacing: 0.02em; }

/* Detail dekoratif */
.section-tint { background-image: radial-gradient(rgba(111, 143, 126, 0.22) 1px, transparent 1.4px); background-size: 22px 22px; background-color: var(--tint); }
.grid-ruled > li { position: relative; transition: background-color 0.3s ease, transform 0.4s var(--ease); }
.grid-ruled > li::before { content: ""; position: absolute; top: -1px; left: -1px; width: 14px; height: 14px; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); opacity: 0; transition: opacity 0.3s ease, width 0.4s var(--ease), height 0.4s var(--ease); }
.grid-ruled > li:hover::before { opacity: 1; width: 28px; height: 28px; }
.grid-ruled > li:hover { background-color: #fff; }
.cell-icon, .principles .icon { transition: transform 0.5s var(--ease); }
li:hover > .cell-icon, .principles li:hover .icon { transform: translateY(-3px) rotate(-6deg); }
.principles li { counter-increment: pr; position: relative; }
.principles { counter-reset: pr; }
.principles li::after { content: "0" counter(pr); position: absolute; top: 24px; right: 0; font-size: 0.8125rem; letter-spacing: 0.14em; color: var(--gold); }
.row { transition: padding-left 0.4s var(--ease), background-color 0.3s ease; }
.row:hover { padding-left: 14px; background: linear-gradient(90deg, rgba(155, 184, 165, 0.18), transparent 70%); }
.row-arrow { transition: transform 0.4s var(--ease), color 0.2s ease; }
.row:hover .row-arrow { transform: translate(3px, -3px); }
.page-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: linear-gradient(115deg, transparent 35%, #000 100%); mask-image: linear-gradient(115deg, transparent 35%, #000 100%); }
.hero-curves { will-change: transform; transform: translate3d(0, var(--par, 0px), 0); }
.section.brand { position: relative; }
.section.brand::before { content: ""; position: absolute; top: 0; left: var(--gutter); width: 72px; height: 6px; background: var(--gold); }

.to-top { position: fixed; z-index: 25; right: 16px; bottom: 16px; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--teal); cursor: pointer; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity 0.3s ease, transform 0.4s var(--ease), background-color 0.2s ease; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--teal); color: #fff; }
.to-top svg { width: 18px; height: 18px; transform: rotate(-90deg); }

@media (prefers-reduced-motion: reduce) {
  .js .rv, .js .rv.rv-up, .js .rv.rv-l, .js .rv.rv-r { opacity: 1; transform: none; transition: none; }
  .js .section-head.rv:not(.in)::after { transform: none; }
  .js .site-header { transition: none; }
  .hero-curves { transform: none; }
}

/* ---------- Kartu berita (Home) ---------- */
button.row { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; color: inherit; }
.ncards { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; gap: 20px; }
.ncard { position: relative; display: flex; }
.ncard > button { position: relative; display: flex; flex-direction: column; gap: 12px; width: 100%; padding: clamp(22px, 3vw, 32px); text-align: left; cursor: pointer; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--slate); overflow: hidden; transition: transform 0.5s var(--ease), box-shadow 0.4s ease, border-color 0.3s ease; }
.ncard > button::before { content: ""; position: absolute; top: 0; left: 0; width: 0; height: 3px; background: linear-gradient(90deg, var(--teal), var(--sage), var(--gold)); transition: width 0.6s var(--ease); }
.ncard > button:hover, .ncard > button:focus-visible { transform: translateY(-5px); border-color: var(--sage); box-shadow: 0 22px 40px -26px rgba(15, 89, 100, 0.55); }
.ncard > button:hover::before, .ncard > button:focus-visible::before { width: 100%; }
.ncard-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ncard-no { font-size: 0.8125rem; letter-spacing: 0.16em; color: var(--gold); font-weight: 500; }
.ncard-cat { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 4px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.8125rem; color: var(--muted); }
.ncard-cat svg { width: 14px; height: 14px; color: var(--teal); }
.ncard-title { font-size: 1.1875rem; font-weight: 500; line-height: 1.35; text-wrap: balance; }
.ncard-text { color: var(--muted); font-size: 0.96875rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ncard-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.8125rem; letter-spacing: 0.04em; color: var(--muted); }
.ncard-go { display: inline-flex; align-items: center; gap: 6px; color: var(--teal); font-weight: 500; }
.ncard-go svg { width: 16px; height: 16px; transition: transform 0.4s var(--ease); }
.ncard > button:hover .ncard-go svg { transform: translate(3px, -3px); }
.ncard-big { grid-row: 1 / span 2; }
.ncard-big > button { background: var(--teal); color: #fff; border-color: var(--teal-dark); justify-content: flex-start; background-image: radial-gradient(rgba(155, 184, 165, 0.2) 1px, transparent 1.4px); background-size: 20px 20px; }
.ncard-big > button::after { content: ""; position: absolute; right: -60px; bottom: -70px; width: 320px; height: 320px; border: 10px solid rgba(155, 184, 165, 0.22); border-radius: 50%; border-right-color: transparent; border-top-color: transparent; transform: rotate(-20deg); pointer-events: none; transition: transform 1s var(--ease); }
.ncard-big > button:hover::after { transform: rotate(10deg) scale(1.06); }
.ncard-big .ncard-cat { border-color: rgba(255, 255, 255, 0.3); color: rgba(255, 255, 255, 0.9); }
.ncard-big .ncard-cat svg, .ncard-big .ncard-go { color: var(--sage); }
.ncard-big .ncard-title { font-size: clamp(1.5rem, 2.6vw, 2.125rem); line-height: 1.2; letter-spacing: -0.015em; margin-top: auto; }
.ncard-big .ncard-text { color: rgba(255, 255, 255, 0.86); -webkit-line-clamp: 4; }
.ncard-big .ncard-foot { border-top-color: rgba(255, 255, 255, 0.22); color: rgba(255, 255, 255, 0.78); }
@media (max-width: 860px) { .ncards { grid-template-columns: 1fr; grid-template-rows: auto; } .ncard-big { grid-row: auto; } .ncard-big .ncard-title { margin-top: 24px; } }

/* ---------- Popup berita ---------- */
html:has(dialog[open]) { overflow: hidden; }
.news-modal { width: min(640px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 10px; background: var(--paper); color: var(--slate); overflow: auto; box-shadow: 0 40px 80px -30px rgba(8, 34, 40, 0.7); }
.news-modal[open] { animation: nm-in 0.5s var(--ease); }
.news-modal::backdrop { background: rgba(8, 34, 40, 0.62); backdrop-filter: blur(4px); animation: nm-fade 0.4s ease; }
@keyframes nm-in { from { opacity: 0; transform: translateY(28px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes nm-fade { from { opacity: 0; } to { opacity: 1; } }
.nm-head { position: relative; overflow: hidden; background: var(--teal); color: #fff; padding: 30px clamp(22px, 4vw, 36px) 30px; border-bottom: 3px solid var(--gold); }
.nm-curves { position: absolute; right: -30px; bottom: -10px; width: 70%; height: auto; fill: none; stroke: var(--sage); stroke-width: 6; opacity: 0.45; pointer-events: none; }
.nm-curves .g { stroke: var(--gold); stroke-width: 2; opacity: 0.9; }
.nm-head h2 { position: relative; max-width: 24ch; margin-top: 14px; font-size: clamp(1.4rem, 3.4vw, 1.9rem); line-height: 1.22; letter-spacing: -0.015em; }
.nm-meta { position: relative; display: flex; flex-wrap: wrap; gap: 8px 16px; padding-right: 48px; font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.82); }
.nm-meta span { display: inline-flex; align-items: center; gap: 6px; }
.nm-meta svg { width: 14px; height: 14px; color: var(--sage); }
.nm-close { position: absolute; z-index: 1; top: 14px; right: 14px; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 50%; background: transparent; color: #fff; cursor: pointer; transition: background-color 0.2s ease, transform 0.4s var(--ease); }
.nm-close:hover { background: rgba(255, 255, 255, 0.16); transform: rotate(90deg); }
.nm-close svg { width: 18px; height: 18px; }
.nm-body { padding: clamp(22px, 4vw, 34px); }
.nm-body > p:first-child { font-size: 1.125rem; line-height: 1.7; }
.nm-src { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9375rem; }
.nm-src strong { color: var(--teal); font-weight: 500; }
.nm-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 24px; }
.nm-dismiss { background: none; border: 0; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .news-modal[open], .news-modal::backdrop { animation: none; } }

/* ---------- Slide foto (kartu Patdua) ---------- */
.tile-slides { position: relative; overflow: hidden; }
.tile-slides .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12) translate3d(2%, 0, 0); clip-path: inset(0 0 0 100%); transition: opacity 0.9s ease, clip-path 1.1s var(--ease), transform 5.5s linear; }
.tile-slides .slide.is-on { opacity: 1; clip-path: inset(0); transform: scale(1) translate3d(0, 0, 0); z-index: 1; }
.tile-slides .slide.is-off { opacity: 1; clip-path: inset(0); transform: scale(1.04) translate3d(-2%, 0, 0); z-index: 0; transition: transform 1.1s ease; }
.slide-dots { position: absolute; z-index: 2; left: 14px; bottom: 12px; display: flex; gap: 6px; }
.slide-dots i { width: 14px; height: 2px; background: rgba(255, 255, 255, 0.45); transition: width 0.5s var(--ease), background-color 0.3s ease; }
.slide-dots i.is-on { width: 30px; background: var(--gold); }
.tile-slides::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; z-index: 1; background: linear-gradient(transparent, rgba(8, 34, 40, 0.5)); pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .tile-slides .slide { transition: none; } }
