/* Beranda angkatan — editorial layout based on bahan/desainangkatan.jpg */
.ah { --red: var(--gold); --ink: #141414; --cream: var(--bg); --hair: #D9D0C4; color: var(--ink); }
.ah .wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.ah .d { font-family: var(--display); font-weight: 700; text-transform: uppercase; line-height: .92; letter-spacing: .005em; }
.ah h1.d { margin: 0; }
.ah .red { color: var(--red); }
.ah .lbl { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; line-height: 1.6; }
.ah .rule { display: block; width: 32px; height: 2px; background: var(--red); margin-bottom: 10px; }
.ah .more { display: inline-flex; align-items: center; gap: 12px; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.ah .more::after { content: ''; width: 34px; height: 1px; background: currentColor; transition: width .25s; }
.ah .more:hover { color: var(--red); }
.ah .more:hover::after { width: 48px; }

/* ---------- hero */
.ah-top { display: grid; grid-template-columns: 1fr 1fr 1fr; padding: 26px 0 10px; }
.ah-top div:nth-child(2) { text-align: center; }
.ah-top div:nth-child(3) { text-align: right; }
.ah-hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .85fr) 170px; gap: 0 28px; align-items: end; padding: 18px 0 30px; position: relative; }
/* Title is sized from its own column width ("TERHUBUNG" ≈ 4.2em wide in Antonio Bold), so it never covers the photo */
.ah-title { grid-column: 1; grid-row: 1; container-type: inline-size; align-self: center; }
/* "ANGKATAN" is ≈3.7em wide in Antonio Bold -> 26cqw fills the column without touching the photo */
.ah-hero h1 { font-size: 26cqw; }
.ah-hero h1 .sm { font-size: 9cqw; color: var(--ink); letter-spacing: .02em; margin-bottom: .12em; }
.ah-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 28px; }
.ah-count { flex-basis: 100%; font-size: .84rem; color: #5E5952; margin-top: 4px; }
.ah-count b { color: var(--red); }
.ah-hero h1 span { display: block; }
.ah-photo { grid-column: 2; grid-row: 1; position: relative; align-self: stretch; min-height: 560px; }
.ah-photo .block { position: absolute; right: 0; top: 8%; bottom: 0; width: 86%; background: var(--red); }
.ah-photo .block::after { content: '+'; position: absolute; right: 14px; top: 8px; color: #fff; font-size: 1.5rem; font-weight: 300; }
.ah-photo img { position: absolute; right: 0; bottom: 0; height: 100%; width: auto; max-width: none; filter: drop-shadow(0 20px 30px rgba(0,0,0,.25)); }
.ah-mono-unused { position: absolute; left: 0; top: 0; width: 76px; height: 76px; border-radius: 50%; border: 1px solid var(--ink); display: grid; place-items: center; font-family: var(--display); font-size: 1.15rem; font-weight: 600; line-height: .95; text-align: center; background: var(--cream); z-index: 3; }
.ah-side { grid-column: 3; grid-row: 1; align-self: center; padding-left: 20px; border-left: 1px solid var(--ink); font-size: .95rem; line-height: 1.7; }
.ah-side p { margin: 0 0 18px; }
.ah-scroll { display: flex; align-items: center; gap: 14px; padding-bottom: 34px; }
.ah-scroll::before { content: ''; width: 34px; height: 1px; background: var(--ink); }

/* ---------- about + stats */
.ah-about { border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.ah-about .wrap { display: grid; grid-template-columns: 1fr 1px 1.05fr 150px; gap: 40px; padding-top: 44px; padding-bottom: 44px; align-items: center; }
.ah-about .divider { background: var(--hair); align-self: stretch; }
.ah-about h2.d { font-size: clamp(1.9rem, 3.2vw, 2.7rem); line-height: 1.04; margin: 12px 0 20px; }
.ah-about h2 u { text-decoration: none; background: linear-gradient(var(--red), var(--red)) 0 100% / 100% 3px no-repeat; padding-bottom: 2px; }
.ah-about p { font-size: .92rem; line-height: 1.7; color: #3A3632; max-width: 440px; }
.ah-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 34px; }
.ah-stats b { display: block; font-family: var(--display); font-weight: 600; font-size: clamp(2.6rem, 4vw, 3.4rem); color: var(--red); line-height: 1; margin-top: 8px; }
.ah-badge { width: 150px; height: 150px; position: relative; }
.ah-badge svg { width: 100%; height: 100%; animation: spin 24s linear infinite; }
.ah-badge text { font: 600 9.6px var(--font); letter-spacing: 2.6px; text-transform: uppercase; fill: var(--ink); }
.ah-badge .star { position: absolute; inset: 0; display: grid; place-items: center; color: var(--red); font-size: 2rem; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- ruang leting (selected work) */
.ah-work { display: grid; grid-template-columns: 1.05fr 1.25fr 1.25fr 1.25fr; border-bottom: 1px solid var(--hair); min-height: 470px; }
.ah-work .intro { padding: 44px 30px 34px 32px; display: flex; flex-direction: column; }
.ah-work .intro h2.d { font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: .92; margin: 0 0 18px; }
.ah-work .intro p { font-size: .9rem; line-height: 1.7; color: #3A3632; }
.ah-work .intro .more { margin-top: auto; }
.panel { position: relative; padding: 28px 26px; display: flex; flex-direction: column; overflow: hidden; color: #fff; transition: filter .2s; }
.panel:hover { filter: brightness(1.06); color: #fff; }
.panel .no { font-family: var(--display); font-size: 2rem; font-weight: 600; line-height: 1; }
.panel h3 { margin: 14px 0 4px; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; color: inherit; }
.panel .sub { font-size: .8rem; opacity: .75; margin-bottom: 26px; }
.panel .plus { position: absolute; right: 18px; bottom: 12px; font-size: 1.6rem; font-weight: 300; }
.p-black { background: #141414; }
.p-red { background: var(--red); }
.p-light { background: #E9E2D8; color: var(--ink); }
.p-light:hover { color: var(--ink); }
/* phone mock (panel 01) */
.phone { margin: 24px auto -40px; width: 205px; flex: 1; min-height: 300px; background: #0B0B0B; border: 7px solid #2A2A2A; border-radius: 30px 30px 0 0; border-bottom: 0; padding: 18px 12px; box-shadow: 0 20px 40px rgba(0,0,0,.5); transform: rotate(-6deg); }
.phone .bar { font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: #8E887F; margin-bottom: 10px; }
.phone .feed { background: #1D1D1D; border-radius: 10px; padding: 10px; margin-bottom: 8px; }
.phone .feed i { display: block; height: 52px; border-radius: 6px; background: linear-gradient(135deg, #3A3A3A, #262626); margin-bottom: 8px; position: relative; }
.phone .feed i::after { content: ''; position: absolute; left: 8px; bottom: 8px; width: 24px; height: 4px; background: var(--red); }
.phone .feed b { display: block; font-size: .7rem; line-height: 1.3; color: #fff; }
.phone .feed small { font-size: .58rem; color: #8E887F; }
/* forum mock (panel 02) */
.mock { margin-top: 26px; background: #F6F1EA; color: var(--ink); padding: 16px; box-shadow: 0 16px 30px rgba(0,0,0,.25); margin: auto 0; }
.mock .t { font-family: var(--display); font-size: 1.3rem; text-transform: uppercase; margin-bottom: 10px; line-height: 1; }
.mock .row-t { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 9px 0; border-top: 1px solid #DED6CB; font-size: .74rem; font-weight: 600; line-height: 1.35; }
.mock .row-t span { font-family: var(--display); color: var(--red); font-size: 1.1rem; }
/* chat mock (panel 03) */
.chat-mock { margin: auto 0; background: #fff; padding: 14px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 12px 26px rgba(0,0,0,.08); }
.chat-mock .h { display: flex; gap: 8px; align-items: center; font-size: .72rem; font-weight: 700; padding-bottom: 8px; border-bottom: 1px solid #ECE5DB; }
.chat-mock .h i { width: 22px; height: 22px; border-radius: 50%; background: var(--red); display: inline-block; }
.chat-mock .m { max-width: 82%; padding: 7px 10px; font-size: .72rem; line-height: 1.35; background: #F2EDE6; border-radius: 2px 10px 10px 10px; }
.chat-mock .m.me { align-self: flex-end; background: #141414; color: #fff; border-radius: 10px 2px 10px 10px; }

/* ---------- features (what I do) */
.ah-feat { display: grid; grid-template-columns: 1fr repeat(4, 1fr); border-bottom: 1px solid var(--hair); }
.ah-feat > div { padding: 40px 26px 34px; border-left: 1px solid var(--hair); display: flex; flex-direction: column; }
.ah-feat > div:first-child { border-left: 0; padding-left: 32px; }
.ah-feat h2.d { font-size: clamp(1.8rem, 2.6vw, 2.3rem); line-height: .95; margin: 0 0 16px; }
.ah-feat h3 { font-size: .86rem; letter-spacing: .06em; text-transform: uppercase; margin: 18px 0 8px; line-height: 1.35; }
.ah-feat p { font-size: .84rem; line-height: 1.65; color: #4A4744; margin: 0 0 18px; }
.ah-feat .more { margin-top: auto; }
.geo { width: 46px; height: 46px; position: relative; }
.geo-1 { border-radius: 50%; background: conic-gradient(var(--red) 0 25%, #141414 0); }
.geo-2::before, .geo-2::after { content: ''; position: absolute; width: 22px; height: 22px; }
.geo-2::before { left: 0; bottom: 0; background: var(--red); }
.geo-2::after { right: 0; top: 0; background: #141414; }
.geo-3 { border-radius: 50%; background: #141414; display: grid; place-items: center; }
.geo-3::after { content: ''; width: 18px; height: 18px; border-radius: 50%; background: var(--red); }
.geo-4 { background: radial-gradient(circle at 25% 25%, #141414 10px, transparent 10.5px), radial-gradient(circle at 75% 25%, #141414 10px, transparent 10.5px),
                     radial-gradient(circle at 25% 75%, #141414 10px, transparent 10.5px), radial-gradient(circle at 75% 75%, #141414 10px, transparent 10.5px); }

/* ---------- footer */
.ah-foot { background: #121212; color: #F2EDE6; }
.ah-foot .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr 150px; gap: 36px; padding-top: 52px; padding-bottom: 40px; align-items: center; }
.ah-foot .big { font-family: var(--display); font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 700; text-transform: uppercase; line-height: 1; }
.ah-foot .big u { text-decoration: none; background: linear-gradient(var(--red), var(--red)) 0 100% / 100% 3px no-repeat; padding-bottom: 4px; }
.ah-foot .col { border-left: 1px solid #2E2E2E; padding-left: 32px; font-size: .86rem; line-height: 1.7; color: #BDB6AC; }
.ah-foot .col .lbl { color: var(--red); display: block; margin-bottom: 6px; }
.ah-foot .cta { display: inline-flex; gap: 22px; align-items: center; margin-top: 16px; padding: 12px 18px; border: 1px solid #5A5550; color: #F2EDE6; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.ah-foot .cta:hover { border-color: var(--red); background: var(--red); color: #fff; }
.ah-foot .contact a, .ah-foot .contact span { display: flex; gap: 12px; align-items: center; color: #E6DFD5; padding: 5px 0; }
.ah-foot .contact [data-lucide], .ah-foot .contact .lucide { color: var(--red); width: 16px; height: 16px; }
.ah-foot .ah-badge text { fill: #F2EDE6; }
.ah-foot .bottom { border-top: 1px solid #2A2A2A; }
.ah-foot .bottom .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: #8E887F; flex-wrap: wrap; }
.ah-foot .bottom nav { display: flex; gap: 34px; flex-wrap: wrap; }
.ah-foot .bottom a { color: #BDB6AC; }
.ah-foot .bottom a:hover { color: #fff; }

/* ---------- responsive */
@media (max-width: 1100px) {
  .ah-work { grid-template-columns: 1fr 1fr; }
  .ah-work .intro { grid-column: 1 / -1; }
  .ah-feat { grid-template-columns: 1fr 1fr; }
  .ah-feat > div:first-child { grid-column: 1 / -1; }
  .ah-feat > div:nth-child(2), .ah-feat > div:nth-child(4) { border-left: 0; }
  .ah-feat > div:nth-child(n+2) { border-top: 1px solid var(--hair); }
}
@media (max-width: 900px) {
  .ah .wrap { padding: 0 18px; }
  .ah-top { grid-template-columns: 1fr 1fr; gap: 6px; }
  .ah-top div:nth-child(2) { display: none; }
  .ah-hero { grid-template-columns: 1fr; padding-top: 6px; }
  .ah-title { grid-column: 1; }
  .ah-photo { grid-column: 1; grid-row: 2; min-height: 0; height: 118vw; max-height: 560px; margin-top: 18px; }
  .ah-photo img { right: 50%; transform: translateX(50%); }
  .ah-photo .block { width: 70%; right: 15%; }
  .ah-mono-unused { left: 0; top: 10%; width: 64px; height: 64px; font-size: 1rem; }
  .ah-side { grid-column: 1; grid-row: 3; margin-top: 22px; }
  .ah-about .wrap { grid-template-columns: 1fr; gap: 26px; }
  .ah-about .divider { display: none; }
  .ah-badge { width: 120px; height: 120px; justify-self: center; }
  .ah-work { grid-template-columns: 1fr; }
  .panel { min-height: 420px; }
  .ah-feat { grid-template-columns: 1fr; }
  .ah-feat > div { border-left: 0 !important; border-top: 1px solid var(--hair); }
  .ah-foot .wrap { grid-template-columns: 1fr; }
  .ah-foot .col { border-left: 0; padding-left: 0; border-top: 1px solid #2E2E2E; padding-top: 22px; }
  .ah-foot .ah-badge { justify-self: start; }
}
