/* YESTI website. Warna utama diatur dari panel admin (variabel --primary, --accent, --dark). */
:root {
  --ink: #0f2233;
  --muted: #526578;
  --line: #d3dde6;
  --paper: #f1f5f8;
  --wrap: 1180px;
  --pad: clamp(20px, 4vw, 40px);
  --head: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
address { font-style: normal; }
button { font: inherit; }

:focus-visible { outline: 3px solid #f2b705; outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--pad) * 2); margin-inline: auto; padding-inline: var(--pad); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 3px; }
.skip:focus { top: 12px; }

h1, h2, h3 { font-family: var(--head); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.95rem, 3.6vw, 2.9rem); line-height: 1.08; font-weight: 700; }
h3 { font-size: 1.25rem; line-height: 1.25; font-weight: 700; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-in { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand img { height: 34px; width: auto; }
.brand-text strong { font-family: var(--head); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; color: var(--dark); }
.brand-short { display: none; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-weight: 500; font-size: .95rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--accent); }
.nav a.nav-cta { background: var(--primary); color: #fff; padding: 9px 18px; border-radius: 3px; border-bottom: 0; }
.nav a.nav-cta:hover { filter: brightness(1.15); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle i { display: block; height: 2px; background: var(--dark); margin: 5px 0; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] i:nth-of-type(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:nth-of-type(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] i:nth-of-type(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .brand-full { display: none; }
  .brand-short { display: inline; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px var(--pad) 20px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a.nav-cta { margin-top: 14px; text-align: center; padding: 14px; }
}

/* ---------- Tombol ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.btn { display: inline-block; text-decoration: none; font-weight: 600; padding: 14px 24px; border-radius: 3px; border: 1.5px solid transparent; transition: filter .15s, background .15s; }
.btn-solid { background: var(--accent); color: #fff; }
.btn-solid:hover { filter: brightness(1.12); }
.btn-line { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-line:hover { background: rgba(255, 255, 255, .12); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--dark); color: #fff;
  min-height: min(88vh, 860px);
  display: flex; flex-direction: column; justify-content: space-between;
}
.hero-photo { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-shade { position: absolute; inset: 0; background: var(--dark); }
.hero-contours {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  -webkit-mask-image: linear-gradient(100deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.22) 38%, #000 72%);
          mask-image: linear-gradient(100deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.22) 38%, #000 72%);
}
.hero-contours svg { width: 100%; height: 100%; display: block; }
.hero-contours path {
  stroke: #fff; stroke-opacity: .3; stroke-width: 1.25; vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: draw 2.4s cubic-bezier(.3, .6, .2, 1) forwards;
  animation-delay: calc(var(--i) * 8ms);
}
.hero-contours.over-photo { opacity: .55; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero-in { position: relative; z-index: 2; padding-block: clamp(64px, 11vw, 140px) clamp(40px, 6vw, 72px); }
.hero-in > * { max-width: 46rem; }
.hero-in > h1 { max-width: 54rem; }
.hero-name { font-size: 1rem; color: rgba(255, 255, 255, .78); margin-bottom: 22px; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); line-height: 1.03; font-weight: 800; letter-spacing: -0.03em; text-wrap: balance; }
.hero-sub { margin-top: 26px; font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.6; color: rgba(255, 255, 255, .88); max-width: 40rem; }
.hero .wrap:last-child { position: relative; z-index: 2; }
.hero-loc {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, .28);
  padding: 14px 0 26px; font-size: .875rem; color: rgba(255, 255, 255, .78);
}

/* ---------- Section umum ---------- */
.sec { padding-block: clamp(64px, 9vw, 120px); }
.sec-white { background: #fff; }
.sec-paper { background: var(--paper); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 48px; align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head p { color: var(--muted); max-width: 46ch; }
@media (max-width: 800px) { .sec-head { grid-template-columns: 1fr; } }

/* ---------- Tentang ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.about-text h2 { margin-bottom: 26px; }
.about-text p { max-width: 62ch; }
.about-text p + p { margin-top: 1.1em; }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; margin-top: 40px; }
.pillars li { border-top: 3px solid var(--primary); padding-top: 12px; font-family: var(--head); font-weight: 700; font-size: 1.1rem; line-height: 1.3; }
.about-fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; }
.about-fig figcaption { font-size: .875rem; color: var(--muted); margin-top: 10px; }
.about-art {
  aspect-ratio: 4 / 5; border-radius: 3px;
  background: url("contours.svg") 80% 45% / auto 230% no-repeat, linear-gradient(160deg, var(--dark), var(--primary));
}
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-art, .about-fig img { aspect-ratio: 16 / 10; }
}

/* ---------- Visi & misi ---------- */
.vm { --pl: max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad))); display: grid; grid-template-columns: 1fr 1fr; color: #fff; }
.vm-vision { background: var(--primary); }
.vm-mission { background: var(--accent); }
.vm-in { padding-block: clamp(48px, 7vw, 96px); max-width: 40rem; }
.vm-vision .vm-in { margin-left: auto; padding-left: var(--pl); padding-right: clamp(24px, 5vw, 72px); max-width: none; }
.vm-mission .vm-in { padding-left: clamp(24px, 5vw, 72px); padding-right: var(--pl); max-width: none; }
.vm h2 { font-size: 1.35rem; font-weight: 700; margin-bottom: 26px; opacity: .9; }
.vision-text { font-family: var(--head); font-weight: 600; font-size: clamp(1.45rem, 2.5vw, 2.15rem); line-height: 1.25; letter-spacing: -0.015em; max-width: 26em; }
.vm-mission li { border-top: 1px solid rgba(255, 255, 255, .4); padding: 14px 0; max-width: 34rem; }
.vm-mission li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .4); }
@media (max-width: 860px) {
  .vm { grid-template-columns: 1fr; }
  .vm-vision .vm-in, .vm-mission .vm-in { padding-left: var(--pad); padding-right: var(--pad); }
}

/* ---------- Bidang ---------- */
.fields { border-top: 1px solid var(--line); }
.field {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr); gap: 8px clamp(24px, 4vw, 64px);
  align-items: center;
  padding: 28px 0 28px 28px; border-left: 5px solid var(--c); border-bottom: 1px solid var(--line);
  transition: background .2s;
}
.field.has-img { grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) 150px; }
.field:hover { background: color-mix(in srgb, var(--c) 7%, #fff); }
.field h3 { font-size: clamp(1.25rem, 2.2vw, 1.7rem); line-height: 1.15; }
.field p { color: var(--muted); }
.field img { width: 150px; height: 100px; object-fit: cover; border-radius: 3px; }
@media (max-width: 800px) {
  .field, .field.has-img { grid-template-columns: 1fr; padding-left: 20px; }
  .field img { width: 100%; height: 170px; margin-top: 8px; }
}

/* ---------- Keunggulan ---------- */
.strengths { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.strengths article { padding: 4px 36px; border-left: 1px solid var(--line); }
.strengths article:first-child { padding-left: 0; border-left: 0; }
.strengths img { width: 100%; height: 170px; object-fit: cover; border-radius: 3px; margin-bottom: 20px; }
.strengths h3 { margin-bottom: 12px; }
.strengths p { color: var(--muted); }
@media (max-width: 900px) {
  .strengths { grid-template-columns: 1fr; }
  .strengths article, .strengths article:first-child { padding: 28px 0; border-left: 0; border-top: 1px solid var(--line); }
  .strengths article:first-child { border-top: 0; padding-top: 0; }
}

/* ---------- Kapabilitas ---------- */
.cap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 28px; }
.cap-col { background: var(--paper); padding: clamp(24px, 3vw, 40px); border-left: 5px solid var(--primary); }
.cap-analysis { border-left-color: var(--accent); }
.cap-col h3 { margin-bottom: 18px; }
.cap-col li { padding: 9px 0; border-top: 1px solid var(--line); }
.cap-col li:first-child { border-top: 0; }
@media (max-width: 860px) { .cap { grid-template-columns: 1fr; } }

/* ---------- Tim ---------- */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 44px 28px; }
.member-photo { aspect-ratio: 4 / 5; border-radius: 3px; overflow: hidden; background: #e3ebf2; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; }
.member-initials {
  width: 100%; height: 100%; display: grid; place-items: center;
  font-family: var(--head); font-weight: 800; font-size: 3.4rem; letter-spacing: -0.02em; color: var(--primary);
  background: linear-gradient(160deg, color-mix(in srgb, var(--primary) 22%, #fff), color-mix(in srgb, var(--accent) 30%, #fff));
}
.member h3 { font-size: 1.1rem; margin-top: 16px; line-height: 1.25; }
.member-role { color: var(--primary); font-weight: 600; font-size: .95rem; margin-top: 4px; }
.member-exp { color: var(--muted); font-size: .9rem; line-height: 1.5; margin-top: 8px; }

/* ---------- Galeri ---------- */
.gallery { columns: 3 260px; column-gap: 20px; }
.gallery figure { break-inside: avoid; margin-bottom: 20px; }
.g-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 3px; overflow: hidden; }
.g-open img { width: 100%; height: auto; transition: transform .3s; }
.g-open:hover img { transform: scale(1.03); }
.gallery figcaption { font-size: .875rem; color: var(--muted); margin-top: 8px; }
#lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 94vh; color: #fff; text-align: center; }
#lightbox::backdrop { background: rgba(3, 12, 24, .88); }
#lightbox img { max-width: 94vw; max-height: 80vh; margin: 0 auto; border-radius: 3px; }
#lightbox p { margin-top: 12px; font-size: .95rem; }
.lb-close { position: fixed; top: 14px; right: 18px; font-size: 2.2rem; line-height: 1; width: 48px; height: 48px; background: rgba(255, 255, 255, .14); color: #fff; border: 0; border-radius: 50%; cursor: pointer; }

/* ---------- Kontak ---------- */
.contact { background: var(--dark); color: #fff; padding-block: clamp(64px, 9vw, 110px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact h2 { margin-bottom: 28px; }
.contact address p { margin-bottom: 10px; }
.contact address .c-address { max-width: 30rem; margin-bottom: 18px; color: rgba(255, 255, 255, .88); }
.contact address a { text-underline-offset: 4px; }
.legal { padding-top: .5rem; }
.legal h3 { font-size: 1.1rem; margin-bottom: 14px; color: rgba(255, 255, 255, .9); }
.legal dl > div { display: grid; grid-template-columns: 9rem 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .22); }
.legal dl > div:last-child { border-bottom: 1px solid rgba(255, 255, 255, .22); }
.legal dt { color: #a9bbd3; font-size: .9rem; }
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .legal dl > div { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- Footer ---------- */
.site-footer { background: color-mix(in srgb, var(--dark) 80%, #000); color: #a9bbd3; font-size: .875rem; padding-block: 22px; }
.footer-in { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; }

/* ---------- Gerak ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-contours path { animation: none; stroke-dashoffset: 0; }
  * { transition: none !important; }
}
@media (max-width: 700px) {
  .hero-contours path { stroke-opacity: .2; }
}
