/*
Theme Name: PAS:IC Editorial
Theme URI: https://percussivearts.id/
Author: PAS Indonesia Chapter
Description: Editorial one-page theme for PAS Indonesia Chapter news, about, and gallery content.
Version: 1.0.0
Text Domain: pasic-editorial
*/

:root {
  --ink: #10100f;
  --paper: #fff;
  --warm: #f6f2ec;
  --orange: #f2633a;
  --orange-dark: #c94825;
  --muted: #66635f;
  --line: #d6d0c8;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
.wrap { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100000;
  transform: translateY(-180%);
  padding: 10px 14px;
  background: var(--paper);
  color: var(--ink);
}
.skip-link:focus { transform: translateY(0); }

.utility {
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  font-weight: 700;
}
.utility .wrap {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.utility p { margin: 0; }
.utility a {
  color: var(--orange);
  text-decoration: none;
}
.utility a:hover,
.utility a:focus-visible { color: var(--paper); }

.site-header {
  position: absolute;
  inset: 40px 0 auto;
  z-index: 20;
  color: var(--paper);
}
.admin-bar .site-header { inset-block-start: 72px; }
.site-header .wrap {
  min-height: 94px;
  display: grid;
  grid-template-columns: 250px 1fr auto;
  align-items: center;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  color: inherit;
  text-decoration: none;
}
.brand strong {
  font: 700 48px/1 "Oswald", "Arial Narrow", sans-serif;
  letter-spacing: -2px;
}
.brand span {
  max-width: 100px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
}
.brand i {
  width: 7px;
  height: 42px;
  background: var(--orange);
  transform: skew(-12deg);
}
.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3vw, 42px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-list a,
.header-action {
  font: 600 14px/1 "Open Sans", Arial, sans-serif;
  text-decoration: none;
}
.nav-list a:hover,
.nav-list a:focus-visible { color: var(--orange); }
.header-action {
  padding: 13px 17px;
  border: 2px solid currentColor;
  color: inherit;
  text-transform: uppercase;
}
.header-action:hover,
.header-action:focus-visible {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--paper);
}
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 27px;
  height: 2px;
  margin: 6px auto;
  border-radius: 99px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: end;
  color: var(--paper);
  background: #1b1a18;
}
.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(.82) contrast(1.04);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,9,.72) 0%, rgba(10,10,9,.08) 38%, rgba(10,10,9,.28) 60%, rgba(10,10,9,.94) 100%),
    linear-gradient(90deg, rgba(10,10,9,.48), transparent 70%);
}
.hero .wrap {
  position: relative;
  z-index: 2;
  padding-block: 190px 72px;
}
.story-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 0 22px;
  color: #f0ece7;
  font-size: 13px;
  font-weight: 700;
}
.story-meta .category { color: var(--orange); }
.story-meta time { font-weight: 400; }
.hero h1 {
  max-width: 1060px;
  margin: 0;
  font: 700 clamp(3.5rem, 8vw, 8rem)/.93 "Oswald", "Arial Narrow", sans-serif;
  letter-spacing: -.035em;
  text-transform: uppercase;
  text-wrap: balance;
}
.hero-bottom {
  display: grid;
  grid-template-columns: minmax(0, 660px) auto;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  margin-top: 34px;
}
.hero-deck {
  margin: 0;
  color: #e3ded7;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.55;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--paper);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.text-link span { color: var(--orange); font-size: 21px; }
.text-link:hover,
.text-link:focus-visible { color: var(--orange); }

.latest {
  padding: 76px 0 92px;
  color: var(--paper);
  background: var(--ink);
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 38px;
}
.section-heading h2 {
  margin: 0;
  font: 700 clamp(2.5rem, 5vw, 5rem)/1 "Oswald", "Arial Narrow", sans-serif;
  text-transform: uppercase;
}
.section-heading p {
  max-width: 460px;
  margin: 0;
  color: #bbb6af;
}
.latest-grid {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 1px;
  background: #494641;
}
.latest-card {
  min-height: 470px;
  position: relative;
  display: flex;
  align-items: end;
  overflow: hidden;
  background: #24221f;
  text-decoration: none;
}
.latest-card.secondary { min-height: 0; }
.latest-card img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.2) brightness(.72);
  transition: filter .25s ease, transform .45s ease;
}
.latest-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(9,9,8,.92) 100%);
}
.latest-card:hover img,
.latest-card:focus-visible img {
  filter: grayscale(0) brightness(.82);
  transform: scale(1.015);
}
.latest-card-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 32px;
}
.latest-card small {
  color: var(--orange);
  font-weight: 700;
}
.latest-card h3 {
  max-width: 780px;
  margin: 9px 0 12px;
  font: 600 clamp(1.7rem, 3.2vw, 3.3rem)/1.08 "Oswald", "Arial Narrow", sans-serif;
  text-transform: uppercase;
}
.latest-card.secondary h3 { font-size: clamp(1.5rem, 2.2vw, 2.3rem); }
.latest-card p { max-width: 620px; margin: 0; color: #d6d0c8; }
.empty-content { padding: 36px; color: #d6d0c8; background: #24221f; }

.about {
  padding: 110px 0;
  background: var(--orange);
  color: var(--ink);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 80px;
  align-items: end;
}
.about h2 {
  max-width: 900px;
  margin: 0;
  font: 700 clamp(3rem, 7vw, 7rem)/.94 "Oswald", "Arial Narrow", sans-serif;
  text-transform: uppercase;
}
.about-copy p { margin: 0 0 24px; font-weight: 600; }
.about-copy p:last-of-type { margin-bottom: 24px; }
.about a {
  display: inline-block;
  padding: 14px 18px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  text-decoration: none;
}
.about a:hover,
.about a:focus-visible { background: var(--paper); color: var(--ink); }

.gallery {
  padding: 102px 0 118px;
  color: var(--paper);
  background: #191816;
}
.gallery .section-heading p { color: #aaa49c; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, minmax(245px, 31vw));
  gap: 18px;
}
.gallery-item {
  position: relative;
  grid-column: span 5;
  overflow: hidden;
  background: #292724;
  color: var(--paper);
  text-decoration: none;
}
.gallery-item-featured {
  grid-column: span 7;
  grid-row: span 2;
}
.gallery-item img {
  height: 100%;
  object-fit: cover;
  filter: saturate(.78) brightness(.72);
  transition: filter .25s ease, transform .45s ease;
}
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 34%, rgba(8,8,7,.91) 100%);
}
.gallery-item:hover img,
.gallery-item:focus-visible img {
  filter: saturate(.98) brightness(.82);
  transform: scale(1.015);
}
.gallery-caption {
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  padding: 25px;
}
.gallery-caption span {
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
}
.gallery-caption h3 {
  margin: 6px 0 9px;
  font: 600 clamp(1.4rem, 2.8vw, 2.8rem)/1.08 "Oswald", "Arial Narrow", sans-serif;
  text-transform: uppercase;
}
.gallery-item:not(.gallery-item-featured) .gallery-caption h3 {
  font-size: clamp(1.25rem, 2vw, 2rem);
}
.gallery-caption b {
  color: #d5d0c9;
  font-size: 13px;
}

.article-page {
  min-height: 100vh;
  padding: 190px 0 100px;
  background: var(--warm);
}
.article-page .article-kicker {
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}
.article-page h1 {
  max-width: 980px;
  margin: 10px 0 26px;
  font: 700 clamp(3rem, 7vw, 6.5rem)/.96 "Oswald", "Arial Narrow", sans-serif;
  text-transform: uppercase;
}
.article-page .article-media {
  max-height: 680px;
  object-fit: cover;
  margin: 40px 0;
}
.article-content {
  max-width: 780px;
  font-size: 18px;
}
.article-content a { color: var(--orange-dark); }

footer {
  padding: 58px 0 34px;
  color: var(--paper);
  background: var(--ink);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(2, .7fr);
  gap: 48px;
  padding-bottom: 52px;
}
footer .brand { margin-bottom: 22px; }
footer h3 {
  margin: 0 0 16px;
  color: var(--orange);
  font: 600 18px/1.2 "Oswald", "Arial Narrow", sans-serif;
  text-transform: uppercase;
}
footer p { max-width: 390px; margin: 0; color: #aaa49c; }
footer ul { margin: 0; padding: 0; list-style: none; }
footer li + li { margin-top: 9px; }
footer a { color: #ddd8d1; text-decoration: none; }
footer a:hover,
footer a:focus-visible { color: var(--orange); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 25px;
  border-top: 1px solid #373430;
  color: #87827b;
  font-size: 12px;
}

:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
@media (max-width: 900px) {
  .wrap { width: min(calc(100% - 32px), var(--max)); }
  .utility .wrap { justify-content: center; }
  .utility p:first-child { display: none; }
  .site-header .wrap { grid-template-columns: 1fr auto; min-height: 82px; }
  .site-header { inset-block-start: 40px; }
  .admin-bar .site-header { inset-block-start: 86px; }
  .menu-toggle { display: block; position: relative; z-index: 2; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .site-nav {
    position: fixed;
    inset: 40px 0 0;
    display: none;
    padding: 120px 24px 40px;
    background: var(--ink);
  }
  .admin-bar .site-nav { inset-block-start: 86px; }
  .site-nav.open { display: block; }
  .nav-list { display: grid; justify-content: stretch; gap: 0; }
  .nav-list a {
    display: block;
    padding: 18px 0;
    border-bottom: 1px solid #383530;
    font: 600 29px/1.2 "Oswald", "Arial Narrow", sans-serif;
    text-transform: uppercase;
  }
  .header-action { display: none; }
  .hero .wrap { padding-block-end: 42px; }
  .hero-bottom,
  .section-heading,
  .about-grid { grid-template-columns: 1fr; }
  .section-heading { display: grid; }
  .hero-bottom { gap: 24px; }
  .text-link { justify-self: start; }
  .latest-grid { grid-template-columns: 1fr; }
  .latest-card,
  .latest-card.secondary { min-height: 440px; }
  .about-grid { gap: 40px; }
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .gallery-item,
  .gallery-item-featured {
    grid-column: auto;
    grid-row: auto;
    min-height: 430px;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 782px) {
  .admin-bar .site-header { inset-block-start: 86px; }
}
@media (max-width: 560px) {
  .utility { font-size: 11px; }
  .brand strong { font-size: 40px; }
  .brand i { height: 36px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 5.2rem); }
  .hero .wrap { padding-block-start: 160px; }
  .story-meta { align-items: flex-start; flex-direction: column; gap: 3px; }
  .latest-card,
  .latest-card.secondary { min-height: 400px; }
  .latest-card-content { padding: 24px; }
  .gallery,
  .about { padding-block: 78px; }
  .gallery-item,
  .gallery-item-featured { min-height: 330px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}
