/*
Theme Name: SPJ - Surya Palacejaya
Theme URI: https://suryapalacejaya.com
Author: SPJ
Author URI: https://suryapalacejaya.com
Description: Custom theme for Surya Palacejaya paper distributor company.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: spj
Tags: custom-theme, business
*/

/* ============================================================
   GLOBAL RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', Helvetica, Arial, sans-serif;
  color: #252525;
  background: #ffffff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --red: #bc2427;
  --dark-red: #a72023;
  --gray: #4A4A4A;
  --dark-gray: #252525;
  --light-gray: #ECECEC;
  --mid-gray: #B5B5B5;
  --page-max: 1440px;
  --page-pad: 90px;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.spj-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.spj-navbar.is-transparent {
  background: transparent;
}

.spj-navbar.is-solid {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid #f0f0f0;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

.spj-navbar__inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--page-pad);
  height: 97px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.spj-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-decoration: none;
}

.spj-logo__img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  transition: filter 0.3s ease;
}

/* Logo warna mengikuti kondisi navbar — sama seperti text menu */
.spj-navbar.is-transparent .spj-logo__img {
  filter: brightness(0) invert(1); /* putih di atas hero gelap */
}

.spj-navbar.is-transparent.is-dark .spj-logo__img {
  filter: brightness(0); /* hitam di atas background terang */
}

.spj-navbar.is-solid .spj-logo__img {
  filter: brightness(0); /* hitam saat navbar solid/scroll */
}

.spj-nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.spj-nav-links a {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.32px;
  transition: opacity 0.2s, color 0.2s;
  text-decoration: none;
}

.spj-navbar.is-transparent .spj-nav-links a {
  color: #fff;
}

.spj-navbar.is-transparent.is-dark .spj-nav-links a {
  color: var(--dark-gray);
}

.spj-navbar.is-solid .spj-nav-links a {
  color: var(--gray);
}

.spj-nav-links a:hover,
.spj-nav-links a.active {
  opacity: 0.8;
  color: var(--red);
}

.spj-navbar.is-transparent .spj-nav-links a:hover {
  opacity: 0.8;
  color: #fff;
}

.spj-navbar.is-transparent.is-dark .spj-nav-links a:hover {
  opacity: 1;
  color: var(--red);
}

.spj-navbar__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.spj-search-btn,
.spj-hamburger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.spj-navbar.is-transparent .spj-search-btn,
.spj-navbar.is-transparent .spj-hamburger {
  color: #fff;
}

.spj-navbar.is-transparent.is-dark .spj-search-btn,
.spj-navbar.is-transparent.is-dark .spj-hamburger {
  color: var(--dark-gray);
}

.spj-navbar.is-solid .spj-search-btn,
.spj-navbar.is-solid .spj-hamburger {
  color: var(--gray);
}

.spj-search-btn:hover,
.spj-hamburger:hover {
  color: var(--red);
}

.spj-hamburger {
  display: none;
}

.spj-search-bar {
  display: none;
  border-top: 1px solid #f0f0f0;
  background: #fff;
  padding: 16px var(--page-pad);
}

.spj-search-bar.is-open {
  display: block;
}

.spj-search-bar input {
  width: 100%;
  max-width: 400px;
  border: none;
  border-bottom: 2px solid var(--red);
  outline: none;
  padding: 8px 0;
  font-size: 16px;
  font-family: inherit;
  background: transparent;
  color: var(--dark-gray);
}

.spj-mobile-menu {
  display: none;
  background: #fff;
  border-top: 1px solid #f0f0f0;
  padding: 24px 32px;
  flex-direction: column;
  gap: 20px;
}

.spj-mobile-menu.is-open {
  display: flex;
}

.spj-mobile-menu a {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray);
  transition: color 0.2s;
  text-decoration: none;
}

.spj-mobile-menu a:hover {
  color: var(--red);
}

/* ============================================================
   FOOTER
   ============================================================ */
.spj-footer {
  background: var(--light-gray);
  overflow: hidden;
}

.spj-footer__transition {
  position: relative;
  height: 120px;
  width: 100%;
  overflow: hidden;
  background: #fff;
}

.page-contact .spj-footer__transition {
  background: #BC2427 !important;
}

.spj-footer__tri {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.spj-footer__tri--brainstem-gray {
  background: #D9D9D9;
  clip-path: polygon(0% 0%, 40% 100%, 0% 100%);
}

.spj-footer__tri--gray {
  background: var(--light-gray);
  clip-path: polygon(100% 0%, 0% 100%, 100% 100%);
}

/* ── About Us Hero Transition ── */
.spj-about-hero__transition {
  position: absolute;
  height: 120px;
  width: 100%;
  overflow: hidden;
  margin-top: -120px;
  z-index: 1;
}

.spj-about-hero__tri {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.spj-about-hero__tri--white {
  background: #fff;
  clip-path: polygon(100% 40%, 55% 100%, 100% 100%);
}

.spj-about-hero__tri--brainstem-red {
  background: #BC2427;
  clip-path: polygon(0% 40%, 100% 100%, 0% 100%);
}


/* ── Paper Detail Hero Transition ── */
.spj-paper-hero__transition {
  position: absolute;
  height: 120px;
  width: 100%;
  overflow: hidden;
  margin-top: -120px;
  z-index: 1;
}

.spj-paper-hero__tri {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.spj-paper-hero__tri--light-gray {
  background: #D6D6D6;
  clip-path: polygon(100% 5%, 45% 100%, 100% 100%);
}

.spj-paper-hero__tri--white {
  background: #fff;
  clip-path: polygon(0% 10%, 100% 100%, 0% 100%);
}

/* ── SCOPA Hero Transition ── */
.spj-scopa-hero-transition {
  position: absolute;
  height: 120px;
  width: 100%;
  overflow: hidden;
  margin-top: -120px;
  z-index: 1;
}

.spj-scopa-hero-tri {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.spj-scopa-hero-tri--light-gray {
  background: #EBEBEB;
  clip-path: polygon(0% 25%, 40% 100%, 0% 100%);
}

.spj-scopa-hero-tri--white {
  background: #fff;
  clip-path: polygon(100% 0%, 0% 100%, 100% 100%);
}

/* ── Paper Detail Transition ── */
.spj-paper-detail-transition {
  position: absolute;
  height: 120px;
  width: 100%;
  overflow: hidden;
  margin-top: -120px;
  z-index: 1;
}

.spj-paper-detail-tri {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.spj-paper-detail-tri--light-gray {
  background: #D6D6D6;
  clip-path: polygon(100% 5%, 45% 100%, 100% 100%);
}

.spj-paper-detail-tri--white {
  background: #fff;
  clip-path: polygon(0% 10%, 100% 100%, 0% 100%);
}

/* ── Papers Banner Transition ── */
.spj-papers-hero-section {
  position: relative;
}

.spj-papers-banner-transition {
  position: absolute;
  height: 120px;
  width: 100%;
  overflow: hidden;
  margin-top: -120px;
  z-index: 1;
}

.spj-papers-banner-tri {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.spj-papers-banner-tri--red {
  background: #BC2427;
  clip-path: polygon(0% 5%, 80% 100%, 0% 100%);
}

.spj-papers-banner-tri--white {
  background: #fff;
  clip-path: polygon(100% 15%, 0% 100%, 100% 100%);
}

/* ── News Hero Transition ── */
.spj-news-hero__transition {
  position: absolute;
  height: 120px;
  width: 100%;
  overflow: hidden;
  margin-top: -120px;
  z-index: 1;
}

.spj-news-hero__tri {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.spj-news-hero__tri--red {
  background: #BC2427;
  clip-path: polygon(100% 0%, 55% 100%, 100% 100%);
}

.spj-news-hero__tri--white {
  background: #fff;
  clip-path: polygon(0% 10%, 100% 100%, 0% 100%);
}

/* ── Portfolio Intro Transition ── */
.spj-pf-intro-transition {
  position: absolute;
  height: 120px;
  width: 100%;
  overflow: hidden;
  margin-top: -120px;
  z-index: 1;
}

.spj-pf-intro-tri {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.spj-pf-intro-tri--light-gray {
  background: #EBEBEB;
  clip-path: polygon(0% 25%, 40% 100%, 0% 100%);
}

.spj-pf-intro-tri--white {
  background: #fff;
  clip-path: polygon(100% 0%, 0% 100%, 100% 100%);
}

/* ── About Us Divisions Transition ── */
.spj-divisions-transition {
  position: relative;
  height: 140px;
  width: 100%;
  overflow: hidden;
  background: #fff;
}

.spj-divisions-tri {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.spj-divisions-tri--red {
  background: #BC2427;
  clip-path: polygon(0% 30%, 40% 100%, 0% 100%);
}

.spj-divisions-tri--white {
  background: #fff;
  clip-path: polygon(100% 20%, 0% 100%, 100% 100%);
}

/* ── About Us Stats Transition ── */
.spj-stats-transition {
  position: absolute;
  height: 120px;
  width: 100%;
  overflow: hidden;
  margin-top: -120px;
  z-index: 1;
}

.spj-stats-tri {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.spj-stats-tri--light-gray {
  background: #EBEBEB;
  clip-path: polygon(0% 30%, 40% 100%, 0% 100%);
}

.spj-stats-tri--white {
  background: #fff;
  clip-path: polygon(100% 30%, 0% 100%, 100% 100%);
}

.spj-footer__inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 80px var(--page-pad) 40px;
}

.spj-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 64px;
}

.spj-footer__col h4 {
  font-size: 18px;
  font-weight: 700;
  color: #2B2B2B;
  margin-bottom: 24px;
}

.spj-footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.spj-footer__col ul a {
  font-size: 12px;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.2s;
}

.spj-footer__col ul a:hover {
  color: var(--red);
}

.spj-footer__social-handle {
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 16px;
}

.spj-footer__social-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.spj-footer__social-icons a {
  color: #2B2B2B;
  transition: color 0.2s;
  display: flex;
  align-items: center;
}

.spj-footer__social-icons a:hover {
  color: var(--red);
}

.spj-footer__social-icons svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.spj-footer__divider {
  display: flex;
  justify-content: center;
}

.spj-footer__divider-line {
  width: 48px;
  height: 3px;
  background: #000;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.spj-hero {
  position: relative;
  width: 100%;
  height: 810px;
  overflow: hidden;
}

.spj-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.spj-hero__tri {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.spj-hero__tri--red {
  background: #bc2427;
  clip-path: polygon(0% 69%, 95% 100%, 0% 100%);
}

.spj-hero__tri--white {
  background: #ffffff;
  clip-path: polygon(100% 79%, 0% 100%, 100% 100%);
}

@media (max-width: 768px) {
  .spj-hero__tri--red {
    clip-path: polygon(0% 68%, 100% 68%, 0% 100%);
  }
  .spj-hero__tri--white {
    clip-path: polygon(100% 68%, 0% 100%, 100% 100%);
  }
}

.spj-hero__content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 100px;
  padding-left: var(--page-pad);
  padding-right: var(--page-pad);
}

.spj-hero__cta {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  cursor: pointer;
  text-decoration: none;
}

.spj-hero__cta-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  transition: opacity 0.2s;
}

.spj-hero__cta:hover .spj-hero__cta-label {
  opacity: 0.8;
}

.spj-hero__cta-line {
  height: 1px;
  width: 210px;
  background: rgba(255,255,255,0.8);
}

/* ============================================================
   SINCE 1960 SECTION
   ============================================================ */
.spj-since {
  padding: 72px var(--page-pad);
  text-align: center;
  background: #fff;
  margin-top: -2px;
}

.spj-since__wrap {
  max-width: 689px;
  margin: 0 auto;
}

.spj-since__title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: 1.44px;
  color: var(--red);
  text-transform: uppercase;
  line-height: 1.2;
}

.spj-since__text {
  margin-top: 20px;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.34px;
  color: var(--dark-gray);
}

.spj-since__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  background: var(--red);
  color: #fff;
  padding: 12px 24px;
  font-size: 18px;
  font-weight: 400;
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}

.spj-since__btn:hover {
  background: var(--dark-red);
}

/* ============================================================
   GALLERY SECTION
   ============================================================ */
.spj-gallery {
  padding: 0 var(--page-pad);
}

.spj-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 1260px;
  margin: 0 auto;
}

.spj-gallery__item {
  height: 430px;
  overflow: hidden;
  background: #e0e0e0;
}

.spj-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.spj-gallery__item:hover img {
  transform: scale(1.05);
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.spj-features {
  padding: 60px var(--page-pad);
  background: #fff;
}

.spj-features__wrap {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.spj-feature {
  margin-bottom: 54px;
}

.spj-feature:last-child {
  margin-bottom: 0;
}

.spj-feature__title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 1.44px;
  color: var(--red);
  text-transform: uppercase;
  line-height: 1.2;
}

.spj-feature__text {
  margin-top: 12px;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.34px;
  color: var(--dark-gray);
}

/* ============================================================
   WHAT WE DO SECTION (Homepage)
   ============================================================ */
.spj-home-wwd {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.spj-home-wwd__line {
  position: absolute;
  top: 0; left: 0;
  width: 9.4%; /* sqrt(90²+100²)/1440 — ends at top-left of image column */
  height: 1px;
  background: #ccc;
  transform-origin: 0 0;
  transform: rotate(48deg); /* atan(100/90) — page-pad 90px, top-pad 100px */
  pointer-events: none;
  z-index: 3;
}

.spj-home-wwd__ornament {
  position: absolute;
  top: 0; right: 0;
  left: auto;
  width: 100%;
  height: 170px;
  background: #bc2427;
  clip-path: polygon(57% 0%, 100% 0%, 100% 100%);
  pointer-events: none;
  z-index: 3;
}

.spj-home-wwd__inner {
  position: relative;
  padding: 100px var(--page-pad) 96px;
  z-index: 2;
}

.spj-home-wwd__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 103px;
  align-items: center;
  max-width: 1260px;
  margin: 0 auto;
}

.spj-home-wwd__img-wrap {
  height: 560px;
  overflow: hidden;
}

.spj-home-wwd__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spj-home-wwd__title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 1.44px;
  color: var(--red);
  text-transform: uppercase;
}

.spj-home-wwd__text {
  margin-top: 32px;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.34px;
  color: var(--dark-gray);
}

.spj-home-wwd__link {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-top: 48px;
  cursor: pointer;
  text-decoration: none;
}

.spj-home-wwd__link-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  transition: opacity 0.2s;
}

.spj-home-wwd__link:hover .spj-home-wwd__link-label {
  opacity: 0.8;
}

.spj-home-wwd__link-line {
  height: 1px;
  width: 164px;
  background: var(--red);
}

/* ============================================================
   ABOUT HERO
   ============================================================ */
.spj-page-hero {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
}

.spj-about-hero {
  height: 105vh;
}

.spj-page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.spj-page-hero__overlay {
  position: absolute;
  inset: 0;
}

.spj-page-hero__content {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spj-page-hero__title {
  font-size: 72px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.spj-page-hero__subtitle {
  font-size: 18px;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  margin: 12px 0 0;
  letter-spacing: 0.03em;
}

/* ============================================================
   PORTFOLIO HERO
   ============================================================ */
.spj-portfolio-hero {
  height: 96vh;
}

.spj-portfolio-hero__text {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.spj-portfolio-hero__subtitle {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.spj-portfolio-hero__title {
  font-size: 72px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1;
}

/* ============================================================
   PORTFOLIO INTRO SECTION
   ============================================================ */
.spj-portfolio-intro {
  background: #fff;
}

.spj-portfolio-intro__text {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px var(--page-pad);
  text-align: center;
}

.spj-portfolio-intro__text p {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--dark-gray);
  max-width: 640px;
  margin: 0 auto;
}

.spj-portfolio-intro__img {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.spj-portfolio-intro__img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ============================================================
   PORTFOLIO PRODUCTS TEXT SECTION
   ============================================================ */
.spj-portfolio-products {
  background: #fff;
  text-align: center;
  min-height: 75vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px var(--page-pad);
}

.spj-portfolio-products__label {
  font-size: 16px;
  font-weight: 400;
  color: var(--dark-gray);
  margin-bottom: 24px;
}

.spj-portfolio-products__heading {
  font-size: 32px;
  font-weight: 800;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.4;
  margin-bottom: 32px;
}

.spj-portfolio-products__desc {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--dark-gray);
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .spj-portfolio-products__heading {
    font-size: 22px;
  }

  .spj-portfolio-products__desc {
    font-size: 15px;
  }
}

/* ============================================================
   PORTFOLIO BRANDS SECTION
   ============================================================ */
.spj-portfolio-brands {
  background: #fff;
  text-align: center;
  padding: 72px var(--page-pad) 80px;
}

.spj-portfolio-brands__label {
  font-size: 16px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 48px;
}

.spj-portfolio-brands__logos {
  max-width: 960px;
  margin: 0 auto 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 52px;
}

.spj-portfolio-brands__logos img {
  width: calc((960px - 4 * 52px) / 5);
  height: 100px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.spj-portfolio-brands__more {
  font-size: 15px;
  font-weight: 400;
  color: var(--gray);
}

/* ============================================================
   ABOUT STATS
   ============================================================ */
.spj-stats {
  position: relative;
  background: var(--red);
  padding: 64px var(--page-pad) 160px;
  overflow: hidden;
}

.spj-stats__tagline {
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 56px;
}

.spj-stats__grid {
  max-width: 1260px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.spj-stat {
  text-align: center;
}

.spj-stat__value {
  font-size: 96px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.spj-stat__label {
  font-size: 24px;
  font-weight: 500;
  color: #fff;
  margin-top: 12px;
}

/* ============================================================
   ABOUT HISTORY
   ============================================================ */
.spj-history {
  position: relative;
  padding: 150px var(--page-pad);
  overflow: hidden;
}

.spj-history__wedge {
  position: absolute;
  right: 0; top: 0;
  height: 100%;
  width: 496px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.08;
}

.spj-history__text {
  position: relative;
  max-width: 932px;
  margin: 0 auto;
  text-align: center;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--dark-gray);
}

.spj-history__text--gap {
  margin-top: 32px;
}

/* ============================================================
   CAPABILITY SECTION
   ============================================================ */
.spj-capability {
  padding: 40px var(--page-pad);
}

.spj-capability__grid {
  max-width: 1260px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 103px;
  align-items: start;
}

.spj-capability__img {
  height: 600px;
  overflow: hidden;
  background: #e0e0e0;
}

.spj-capability__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spj-capability__content {
  padding-top: 32px;
}

.spj-section-title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 1.44px;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.spj-section-text {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--dark-gray);
  margin-bottom: 56px;
}

/* ============================================================
   SPECIAL DIVISIONS
   ============================================================ */
.spj-divisions {
  position: relative;
  padding: 96px var(--page-pad);
  overflow: hidden;
}

.spj-divisions__wedge {
  position: absolute;
  left: 0; bottom: 0;
  height: 667px;
  width: 588px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.1;
}

.spj-divisions__grid {
  position: relative;
  max-width: 1260px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 103px;
  align-items: start;
}

.spj-divisions__img {
  height: 600px;
  overflow: hidden;
  background: #e0e0e0;
}

.spj-divisions__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spj-division {
  margin-bottom: 40px;
}

.spj-division h3 {
  font-size: 32px;
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 16px;
}

.spj-division p {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--dark-gray);
}

/* ============================================================
   WHAT WE DO PAGE
   ============================================================ */
.spj-services {
  padding: 96px var(--page-pad);
  max-width: var(--page-max);
  margin: 0 auto;
}

.spj-service {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 103px;
  align-items: center;
  margin-bottom: 96px;
}

.spj-service:last-child {
  margin-bottom: 0;
}

.spj-service--reversed {
  direction: rtl;
}

.spj-service--reversed > * {
  direction: ltr;
}

.spj-service__img {
  height: 400px;
  overflow: hidden;
  background: #e0e0e0;
}

.spj-service__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spj-service__title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 1.44px;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.spj-service__text {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--dark-gray);
}

/* ============================================================
   WHAT WE DO PAGE — TIMELINE LAYOUT
   ============================================================ */
.spj-wwd {
  padding: 120px var(--page-pad) 120px;
  background: #fff;
}

.spj-wwd__inner {
  max-width: var(--page-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.spj-wwd__heading-col {
  position: sticky;
  top: 140px;
}

.spj-wwd__heading {
  font-size: 56px;
  font-weight: 800;
  color: var(--red);
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: 1px;
}

/* Timeline list */
.spj-timeline {
  list-style: none;
  position: relative;
  padding-left: 32px;
}

/* Vertical line running through the timeline */
.spj-timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--mid-gray);
}

.spj-timeline__item {
  position: relative;
  padding-bottom: 56px;
}

.spj-timeline__item--last {
  padding-bottom: 0;
}

/* Square marker on the line */
.spj-timeline__marker {
  position: absolute;
  left: -32px;
  top: 6px;
  width: 13px;
  height: 13px;
  background: var(--red);
  flex-shrink: 0;
}

.spj-timeline__title {
  font-size: 22px;
  font-weight: 800;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.spj-timeline__desc {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--gray);
  margin-bottom: 16px;
}

.spj-timeline__sub {
  list-style: none;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spj-timeline__sub li {
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray);
  padding-left: 16px;
  position: relative;
}

.spj-timeline__sub li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--mid-gray);
}

.spj-timeline__sub strong {
  color: var(--dark-gray);
  font-weight: 700;
}

.spj-timeline__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--red);
  color: #fff;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}

.spj-timeline__btn:hover {
  background: var(--dark-red);
  color: #fff;
}

/* ============================================================
   WHAT WE DO — BELIEF SECTION
   ============================================================ */
.spj-belief {
  background: #fff;
  overflow: hidden;
}

/* Container height in vw keeps the geometry proportional at every viewport width.
   At 1440px → ~101px tall; at 768px → ~54px; scales naturally. */
.spj-belief__deco {
  position: relative;
  width: 100%;
  height: 7vw;
  overflow: hidden;
  background: #fff;
}

/* Red triangle: tip (lancip) on the LEFT at 65% height, wide body fills the right. */
.spj-belief__deco-tri {
  position: absolute;
  top: 0;
  right: 0;
  width: 43%;
  height: 100%;
  background: var(--red);
  clip-path: polygon(0% 65%, 100% 0%, 100% 100%);
}

.spj-belief__body {
  padding: 72px var(--page-pad) 96px;
  text-align: center;
}

.spj-belief__text {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.8;
  color: var(--dark-gray);
  max-width: 680px;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .spj-belief__text {
    font-size: 16px;
  }

  .spj-belief__body {
    padding: 48px var(--page-pad) 64px;
  }
}

/* ============================================================
   WHAT WE DO PAGE — HERO BANNER
   ============================================================ */
.spj-wwd-hero {
  position: relative;
  width: 100%;
  height: 78vh;
  min-height: 420px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spj-wwd-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.spj-wwd-hero__content {
  position: relative;
  text-align: center;
  padding: 0 var(--page-pad);
  z-index: 1;
}

.spj-wwd-hero__title {
  font-size: 72px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 20px;
}

.spj-wwd-hero__subtitle {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.spj-wwd-hero__tagline {
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.spj-wwd-hero__tri-red {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: var(--red);
  clip-path: polygon(0% 69%, 95% 100%, 0% 100%);
  pointer-events: none;
}

.spj-wwd-hero__tri-white {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  clip-path: polygon(100% 79%, 0% 100%, 100% 100%);
  pointer-events: none;
}

/* ── WWD Hero Transition ── */
.spj-wwd-hero-transition {
  position: absolute;
  height: 120px;
  width: 100%;
  overflow: hidden;
  margin-top: -120px;
  z-index: 1;
}

.spj-wwd-hero-tri {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.spj-wwd-hero-tri--white {
  background: #fff;
  clip-path: polygon(100% 15%, 55% 100%, 100% 100%);
}

.spj-wwd-hero-tri--silver {
  background: #CDCDCD;
  clip-path: polygon(0% 5%, 100% 100%, 0% 100%);
}

/* ── WWD Paper Float Image ── */
.spj-wwd-paper-float {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  background: #CDCDCD;
  padding: 70px var(--page-pad);
  margin-top: 0;
  overflow: visible;
}

.spj-wwd-paper-float__img {
  width: 540px;
  max-width: 80%;
  display: block;
  -webkit-filter: drop-shadow(20px 25px 15px rgba(0, 0, 0, 0.32));
  filter: drop-shadow(20px 25px 15px rgba(0, 0, 0, 0.32));
}

@media (max-width: 768px) {
  .spj-wwd-paper-float__img {
    width: 320px;
  }
}

@media (max-width: 1024px) {
  .spj-wwd-hero__title {
    font-size: 54px;
  }

  .spj-portfolio-hero__title {
    font-size: 54px;
  }

  .spj-portfolio-hero__subtitle {
    font-size: 14px;
  }
}

@media (max-width: 640px) {
  .spj-wwd-hero {
    height: 55vh;
    min-height: 320px;
  }

  .spj-wwd-hero__title {
    font-size: 38px;
  }

  .spj-wwd-hero__subtitle {
    font-size: 17px;
  }
}

/* ============================================================
   PAPERS LIST PAGE
   ============================================================ */
/* Papers page hero banner */
.spj-papers-hero {
  position: relative;
  width: 100%;
  height: 78vh;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.spj-papers-hero__tri-red {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: var(--red);
  clip-path: polygon(0% 69%, 95% 100%, 0% 100%);
  pointer-events: none;
}

.spj-papers-hero__tri-white {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  clip-path: polygon(100% 79%, 0% 100%, 100% 100%);
  pointer-events: none;
}

.spj-papers-page {
  padding: 48px 0 96px;
}

.spj-papers-page__inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--page-pad);
}

.spj-papers-page__heading {
  text-align: center;
  margin-bottom: 40px;
}

.spj-papers-page__title {
  font-size: 40px;
  font-weight: 800;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.1;
}

.spj-papers-page__subtitle {
  font-size: 20px;
  font-weight: 500;
  color: var(--dark-gray);
  margin-top: 8px;
}

/* Filter bar */
.spj-papers-filterbar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 20px;
  background: #f8f8f8;
  border: 1px solid #e8e8e8;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.spj-papers-filterbar__search {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 200px;
  background: #fff;
  border: 1px solid #ddd;
  padding: 8px 14px;
  color: var(--gray);
}

.spj-papers-filterbar__search input {
  border: none;
  outline: none;
  font-size: 14px;
  font-family: inherit;
  color: var(--dark-gray);
  width: 100%;
  background: transparent;
}

.spj-papers-filterbar__sort {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.spj-papers-filterbar__sort label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.spj-papers-filterbar__sort select {
  border: 1px solid #ddd;
  background: #fff;
  padding: 8px 32px 8px 12px;
  font-size: 14px;
  font-family: inherit;
  color: var(--dark-gray);
  cursor: pointer;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234A4A4A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

/* Layout: sidebar + grid */
.spj-papers-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
}

/* Sidebar */
.spj-papers-sidebar {
  position: sticky;
  top: 110px;
}

.spj-papers-sidebar__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gray);
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--light-gray);
}

.spj-cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.spj-cat-item {
  margin: 0;
  padding: 0;
}

.spj-cat-item > a,
.spj-cat-toggle__label {
  display: block;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  border-radius: 2px;
}

.spj-cat-item > a:hover,
.spj-cat-toggle__label:hover {
  background: #f2f2f2;
  color: var(--dark-gray);
}

.spj-cat-item.is-active > a,
.spj-cat-item.is-active > .spj-cat-toggle > .spj-cat-toggle__label.is-active {
  background: var(--red);
  color: #fff;
}

/* Parent toggle button */
.spj-cat-toggle {
  display: flex;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  gap: 0;
}

.spj-cat-toggle__label {
  flex: 1;
  text-align: left;
}

.spj-cat-toggle__arrow {
  flex-shrink: 0;
  margin-right: 6px;
  color: var(--gray);
  transition: transform 0.2s;
}

.spj-cat-toggle.is-open .spj-cat-toggle__arrow {
  transform: rotate(180deg);
}

/* Children */
.spj-cat-children {
  display: none;
  list-style: none;
  padding: 0 0 0 14px;
  margin: 0;
}

.spj-cat-children.is-open {
  display: block;
}

.spj-cat-children .spj-cat-item > a {
  font-size: 12px;
  font-weight: 500;
  padding: 7px 12px;
}

.spj-cat-children .spj-cat-item.is-active > a {
  background: var(--red);
  color: #fff;
}

/* Swatch grid */
.spj-papers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 24px;
}

.spj-paper-swatch {
  display: block;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s;
}

.spj-paper-swatch:hover {
  transform: translateY(-3px);
}

.spj-paper-swatch__color {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(0,0,0,0.08);
  transition: box-shadow 0.2s;
}

.spj-paper-swatch:hover .spj-paper-swatch__color {
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.spj-paper-swatch__thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
  transition: box-shadow 0.2s;
}

.spj-paper-swatch__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.spj-paper-swatch:hover .spj-paper-swatch__thumb {
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.spj-paper-swatch:hover .spj-paper-swatch__thumb img {
  transform: scale(1.04);
}

.spj-paper-swatch__name {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--dark-gray);
  text-align: center;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.spj-papers-empty {
  font-size: 16px;
  color: var(--gray);
  padding: 32px 0;
}

/* ============================================================
   PAPER DETAIL PAGE
   ============================================================ */
.spj-paper-detail {
  padding-bottom: 96px;
}

.spj-paper-detail__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--page-pad);
}

.spj-paper-detail__inner--breadcrumb {
  padding-top: 48px;
}

.spj-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 40px;
}

.spj-breadcrumb a {
  color: var(--red);
  text-decoration: none;
  font-weight: 600;
}

.spj-breadcrumb a:hover {
  text-decoration: underline;
}

.spj-breadcrumb__sep {
  color: var(--mid-gray);
}

/* ---- Paper hero banner ---- */
.spj-paper-hero {
  position: relative;
  width: 100%;
  height: 78vh;
  min-height: 420px;
  background-size: cover;
  background-position: center;
  background-color: #ECECEC;
}

.spj-paper-hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 50%, transparent 100%);
  pointer-events: none;
}

.spj-paper-hero__inner {
  position: relative;
  height: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--page-pad);
  display: flex;
  align-items: flex-end;
  padding-bottom: 155px;
}

.spj-paper-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
  position: relative;
  z-index: 1;
}

.spj-paper-hero__btn:hover {
  background: var(--dark-red);
}

/* ---- Title + description block (centered, below hero) ---- */
.spj-paper-hero__title-block {
  text-align: center;
  padding: 56px var(--page-pad) 48px;
  max-width: 900px;
  margin: 0 auto;
}

/* Header row (legacy — kept for reference, no longer rendered) */
.spj-paper-detail__header {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 56px;
}

.spj-paper-detail__swatch {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  border: 1px solid rgba(0,0,0,0.1);
}

.spj-paper-detail__thumb {
  width: 240px;
  height: 180px;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 4px;
}

.spj-paper-detail__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.spj-paper-detail__headline {
  flex: 1;
}

.spj-paper-detail__title {
  font-size: 42px;
  font-weight: 800;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.spj-paper-detail__desc {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--dark-gray);
  max-width: 680px;
}

/* Body: spec + attrs */
.spj-paper-detail__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* Spec table */
.spj-paper-detail__spec-heading {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark-gray);
  margin-bottom: 16px;
}

.spj-spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spj-spec-table tr {
  border-bottom: 1px solid var(--light-gray);
}

.spj-spec-table td {
  padding: 14px 8px;
  font-size: 14px;
  vertical-align: top;
}

.spj-spec-table__label {
  font-weight: 700;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  width: 130px;
  white-space: nowrap;
}

.spj-spec-table__value {
  color: var(--dark-gray);
  font-weight: 500;
}

/* Attributes: Characteristics + Application */
.spj-paper-attr {
  margin-bottom: 40px;
}

.spj-paper-attr:last-child {
  margin-bottom: 0;
}

.spj-paper-attr__heading {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark-gray);
  margin-bottom: 16px;
}

.spj-paper-attr__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.spj-paper-attr__item {
  padding: 12px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark-gray);
  border-bottom: 1px solid var(--light-gray);
  line-height: 1.5;
}

.spj-paper-attr__item:first-child {
  border-top: 1px solid var(--light-gray);
}

/* Back link */
.spj-paper-detail__back {
  margin-top: 64px;
}

.spj-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
  transition: opacity 0.2s;
}

.spj-back-link:hover {
  opacity: 0.75;
}

/* Legacy: old card styles kept for compatibility */
.spj-papers {
  padding: 96px var(--page-pad);
  max-width: var(--page-max);
  margin: 0 auto;
}

.spj-paper-card {
  cursor: pointer;
}

.spj-paper-card__img {
  height: 280px;
  overflow: hidden;
  background: #e0e0e0;
  margin-bottom: 20px;
}

.spj-paper-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.spj-paper-card:hover .spj-paper-card__img img {
  transform: scale(1.05);
}

.spj-paper-card__name {
  font-size: 20px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 8px;
}

.spj-paper-card__desc {
  font-size: 16px;
  color: var(--dark-gray);
  line-height: 1.6;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */

/* ── 1. Page title / hero banner ── */
.spj-ct-header {
  background: #ffffff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px var(--page-pad) 80px;
}
.spj-ct-header__inner {
  max-width: 820px;
  margin: 0 auto;
  width: 100%;
}
.spj-ct-header__title {
  font-size: 48px;
  font-weight: 800;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  line-height: 1.2;
  margin-bottom: 36px;
}
.spj-ct-header__text {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--dark-gray);
  margin-bottom: 20px;
}
.spj-ct-header__addresses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
  text-align: left;
}
@media (max-width: 768px) {
  .spj-ct-header {
    padding: 120px 32px 60px;
    min-height: 100svh;
  }
  .spj-ct-header__title {
    font-size: 32px;
  }
  .spj-ct-header__addresses {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ── 2. Addresses ── */
.spj-ct-addresses {
  background: #fff;
  padding: 0 var(--page-pad) 72px;
}
.spj-ct-addresses__grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.spj-ct-addr__name {
  font-size: 22px;
  font-weight: 700;
  color: var(--red);
  margin: 0 0 16px;
}
.spj-ct-addr__detail {
  font-style: normal;
  font-size: 18px;
  font-weight: 500;
  line-height: 2;
  color: #444;
}

/* ── 3. Dark form section ── */
.spj-ct-form-section {
  position: relative;
  background-color: #1a1a1a;
  background-size: cover;
  background-position: center;
  padding: 80px var(--page-pad);
  isolation: isolate;
}
.spj-ct-form-section__overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 30, 35, 0.72);
}
.spj-ct-form-section__inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}
.spj-ct-form-section__heading {
  font-size: clamp(16px, 2.2vw, 22px);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  line-height: 1.5;
  margin: 0 0 40px;
  text-transform: uppercase;
}
.spj-ct-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.spj-ct-form__field {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.45);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  padding: 14px 4px;
  outline: none;
  text-align: center;
  transition: border-color 0.2s;
  margin-bottom: 8px;
}
.spj-ct-form__field::placeholder {
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  letter-spacing: 0.04em;
}
.spj-ct-form__field:focus {
  border-bottom-color: #fff;
}
.spj-ct-form__field--ta {
  resize: none;
  height: 100px;
  text-align: center;
}
.spj-ct-form__notice {
  padding: 16px 20px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 24px;
}
.spj-ct-form__notice--success {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
}
.spj-ct-form__notice--error {
  background: rgba(188,36,39,0.25);
  border: 1px solid rgba(188,36,39,0.6);
  color: #fff;
}
.spj-ct-form__submit {
  align-self: center;
  margin-top: 24px;
  background: var(--red);
  color: #fff;
  border: none;
  padding: 10px 28px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}
.spj-ct-form__submit:hover {
  background: var(--dark-red);
}
.spj-ct-form__submit.is-loading {
  opacity: 0.75;
  cursor: not-allowed;
  gap: 10px;
}
.spj-ct-form__spinner {
  display: inline-block;
  flex-shrink: 0;
  animation: spj-spin 0.8s linear infinite;
}
@keyframes spj-spin {
  to { transform: rotate(360deg); }
}

/* ── 4. Newsletter ── */
.spj-ct-newsletter {
  background: #fff;
  padding: 72px var(--page-pad) 200px;
  text-align: center;
}
.spj-ct-newsletter__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--red);
  margin: 0 0 28px;
}
.spj-ct-newsletter__form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.spj-ct-newsletter__input {
  background: transparent;
  border: none;
  border-bottom: 1px solid #bbb;
  font-family: inherit;
  font-size: 14px;
  padding: 10px 4px;
  outline: none;
  width: 280px;
  text-align: center;
  color: #333;
  transition: border-color 0.2s;
}
.spj-ct-newsletter__input::placeholder {
  color: #aaa;
  letter-spacing: 0.04em;
}
.spj-ct-newsletter__input:focus {
  border-bottom-color: var(--red);
}
.spj-ct-newsletter__btn {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 10px 24px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}
.spj-ct-newsletter__btn:hover {
  background: var(--dark-red);
}
.spj-ct-newsletter__btn.is-loading {
  opacity: 0.75;
  cursor: not-allowed;
}
.spj-ct-nl-notice {
  display: inline-block;
  margin: 0 0 20px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 2px;
  letter-spacing: 0.02em;
}
.spj-ct-nl-notice--success {
  background: #e8f5e9;
  color: #2e7d32;
}
.spj-ct-nl-notice--info {
  background: #e3f2fd;
  color: #1565c0;
}
.spj-ct-nl-notice--error {
  background: #fdecea;
  color: #c62828;
}

/* ── 5. Need Help banner ── */
.spj-ct-help {
  background: var(--red);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 56px var(--page-pad) 90px calc(var(--page-pad) + 16px);
  position: relative;
}
.spj-ct-help__title {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
}
.spj-ct-help__text {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  line-height: 1.7;
  max-width: 400px;
  margin: 0;
}
.spj-ct-help__img-wrap {
  flex-shrink: 0;
  margin-top: -100px;
}
.spj-ct-help__img {
  width: 550px;
  height: 350px;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .spj-ct-addresses__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .spj-ct-help {
    grid-template-columns: 1fr;
  }
  .spj-ct-help__img-wrap {
    display: none;
  }
  .spj-ct-newsletter__input {
    width: 100%;
    max-width: 320px;
  }
}

/* ============================================================
   ARROW ICON HELPER
   ============================================================ */
.spj-arrow {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  :root {
    --page-pad: 40px;
  }

  .spj-paper-hero {
    height: 78vh;
  }

  .spj-gallery__grid {
    grid-template-columns: 1fr;
  }

  .spj-gallery__item {
    height: 300px;
  }

  .spj-home-wwd__grid,
  .spj-capability__grid,
  .spj-divisions__grid,
  .spj-service,
  .spj-contact__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .spj-wwd__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .spj-wwd__heading-col {
    position: static;
  }

  .spj-wwd__heading {
    font-size: 40px;
  }

  .spj-service--reversed {
    direction: ltr;
  }

  .spj-papers__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .spj-papers-layout {
    grid-template-columns: 1fr;
  }

  .spj-papers-sidebar {
    position: static;
  }

  .spj-paper-detail__body {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .spj-paper-detail__header {
    flex-direction: column;
    gap: 24px;
  }

  .spj-paper-hero {
    height: 50vh;
    min-height: 320px;
  }

  .spj-paper-hero__btn {
    font-size: 14px;
    padding: 12px 22px;
  }

  .spj-paper-hero__title-block {
    padding: 40px var(--page-pad) 36px;
  }

  .spj-stats__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .spj-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .spj-nav-links {
    display: none;
  }

  .spj-hamburger {
    display: flex;
  }
}

@media (max-width: 640px) {
  :root {
    --page-pad: 20px;
  }

  .spj-hero {
    height: 500px;
  }

  .spj-since__title {
    font-size: 26px;
  }

  .spj-since__text {
    font-size: 18px;
  }

  .spj-feature__title {
    font-size: 24px;
  }

  .spj-feature__text {
    font-size: 18px;
  }

  .spj-page-hero__title {
    font-size: 40px;
  }

  .spj-portfolio-hero__title {
    font-size: 36px;
  }

  .spj-portfolio-hero__subtitle {
    font-size: 12px;
  }

  .spj-portfolio-hero {
    max-height: none;
    min-height: 320px;
  }

  .spj-wwd__heading {
    font-size: 30px;
  }

  .spj-wwd {
    padding: 80px var(--page-pad);
  }

  .spj-stat__value {
    font-size: 64px;
  }

  .spj-papers__grid {
    grid-template-columns: 1fr;
  }

  .spj-paper-hero {
    height: 45vh;
    min-height: 280px;
  }

  .spj-paper-detail__title {
    font-size: 28px;
  }

  .spj-paper-hero__title-block {
    padding: 32px var(--page-pad) 28px;
  }

  .spj-footer__grid {
    grid-template-columns: 1fr;
  }

  .spj-capability__img {
    height: 400px;
  }

  .spj-divisions__img {
    height: 350px;
  }

  .spj-home-wwd__img-wrap {
    height: 350px;
  }

  .spj-home-wwd__ornament,
  .spj-home-wwd__line {
    display: none;
  }
}

/* ============================================================
   CAREER BANNER
   ============================================================ */
.spj-career-banner {
  background: #ffffff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px var(--page-pad) 80px;
}

.spj-career-banner__inner {
  max-width: 820px;
  margin: 0 auto;
  width: 100%;
}

.spj-career-banner__title {
  font-size: 48px;
  font-weight: 800;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  line-height: 1.2;
  margin-bottom: 36px;
}

.spj-career-banner__text {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--dark-gray);
  margin-bottom: 20px;
}

.spj-career-banner__text:last-child {
  margin-bottom: 0;
}

/* ============================================================
   CAREER — WHY JOIN US
   ============================================================ */
.spj-career-why {
  position: relative;
  padding: 140px var(--page-pad);
  overflow: hidden;
}

.spj-career-why__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.spj-career-why__overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 30, 35, 0.72);
}

.spj-career-why__inner {
  position: relative;
  max-width: 1260px;
  margin: 0 auto;
}

.spj-career-why__heading {
  font-size: 36px;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-align: center;
  margin-bottom: 64px;
}

.spj-career-why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 80px;
  max-width: 900px;
  margin: 0 auto;
}

.spj-career-why__item-title {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.spj-career-why__item-text {
  font-size: 19px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .spj-career-why {
    padding: 72px 32px;
  }

  .spj-career-why__heading {
    font-size: 26px;
    margin-bottom: 40px;
  }

  .spj-career-why__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ============================================================
   CAREER — EXPLORE OPPORTUNITIES
   ============================================================ */
.spj-career-explore {
  background: #ffffff;
  padding: 72px var(--page-pad) 96px;
  text-align: center;
  border-top: 1px solid var(--light-gray);
}

.spj-career-explore__inner {
  max-width: 640px;
  margin: 0 auto;
}

.spj-career-explore__title {
  font-size: 28px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 20px;
}

.spj-career-explore__text {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--dark-gray);
  margin-bottom: 36px;
}

.spj-career-explore__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  padding: 14px 28px;
  text-decoration: none;
  transition: background 0.2s;
}

.spj-career-explore__btn:hover {
  background: var(--dark-red);
  color: #fff;
}

@media (max-width: 768px) {
  .spj-career-banner {
    padding: 120px 32px 60px;
    min-height: 100svh;
  }

  .spj-career-banner__title {
    font-size: 32px;
  }

  .spj-career-banner__text {
    font-size: 16px;
  }

  .spj-career-explore {
    padding: 56px 32px 72px;
  }

  .spj-career-explore__title {
    font-size: 24px;
  }

  .spj-career-explore__text {
    font-size: 16px;
  }
}

/* ============================================================
   SCOPA PAGE
   ============================================================ */

/* ── Hero ── */
.spj-scopa-hero {
  position: relative;
  width: 100%;
  height: 94svh;
  min-height: 540px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.spj-scopa-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-size: cover;
  background-position: center;
}
.spj-scopa-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}
.spj-scopa-hero__tri {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
}
.spj-scopa-hero__tri--red {
  height: 48%;
  background: #bc2427;
  clip-path: polygon(0% 55%, 85% 100%, 0% 100%);
}
.spj-scopa-hero__tri--white {
  height: 28%;
  background: #ffffff;
  clip-path: polygon(0% 75%, 100% 100%, 0% 100%);
}

/* ── SCOPA logo ── */
.spj-scopa-hero__logo {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}
.spj-scopa-hero__logo-img {
  width: clamp(260px, 40vw, 520px);
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.18));
}
.scl {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(80px, 14vw, 180px);
  font-weight: 800;
  letter-spacing: -0.02em;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.25));
}
.scl--s { color: #3ECFCF; }
.scl--c { color: #E86A6A; }
.scl--o { color: #3ECFCF; }
.scl--p { color: #F5C242; }
.scl--a { color: #E86A6A; }

/* ── Intro ── */
.spj-scopa-intro {
  background: #fff;
  padding: 72px 24px;
}
.spj-scopa-intro__wrap {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.spj-scopa-intro__text {
  font-size: 16px;
  line-height: 1.75;
  color: #333;
  margin-bottom: 20px;
}
.spj-scopa-intro__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  background: #bc2427;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s;
}
.spj-scopa-intro__btn:hover {
  background: #a01f22;
  color: #fff;
}
.spj-scopa-intro__btn svg {
  flex-shrink: 0;
}

/* ── Photo strip ── */
.spj-scopa-strip {
  position: relative;
  overflow: hidden;
  margin: 64px 0;
}
.spj-scopa-strip__item {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16/7;
}
.spj-scopa-strip__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.spj-scopa-strip__item:hover img {
  transform: scale(1.03);
}
/* Red triangle between the two images */
.spj-scopa-strip__tri {
  position: relative;
  height: 0;
  z-index: 2;
  pointer-events: none;
}
.spj-scopa-strip__tri::before {
  content: '';
  position: absolute;
  top: -70px;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 140px 140px 0;
  border-color: transparent #bc2427 transparent transparent;
}
@media (max-width: 768px) {
  .spj-scopa-strip__item {
    aspect-ratio: 16/9;
  }
  .spj-scopa-strip__tri::before {
    border-width: 0 80px 80px 0;
    top: -40px;
  }
}

/* ── Feature blocks ── */
.spj-scopa-feat {
  background: #fff;
  padding: 80px 5vw;
}
.spj-scopa-feat + .spj-scopa-feat {
  padding-top: 48px;
  padding-bottom: 48px;
}
.spj-scopa-feat__grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.spj-scopa-feat__img {
  border-radius: 4px;
  overflow: hidden;
}
.spj-scopa-feat__img img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}
.spj-scopa-feat__icon {
  margin-bottom: 18px;
}
.spj-scopa-feat__title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #1a1a1a;
  margin: 0 0 16px;
  text-transform: uppercase;
}
.spj-scopa-feat__text {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 24px;
}
.spj-scopa-feat__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #bc2427;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.2s;
}
.spj-scopa-feat__link:hover {
  text-decoration-color: #bc2427;
  color: #bc2427;
}

/* ── Diagonal divider ── */
.spj-scopa-divider {
  height: 120px;
  margin-top: 40px;
  background: #bc2427;
  clip-path: polygon(0 0, 100% 40%, 100% 100%, 0 100%);
}

/* ── Universities ── */
.spj-scopa-unis {
  background: #fff;
  padding: 120px 5vw 80px;
}
.spj-scopa-unis__wrap {
  max-width: 1000px;
  margin: 0 auto;
}
.spj-scopa-unis__heading {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 32px;
  text-align: center;
}
.spj-scopa-unis__grid {
  display: grid;
  grid-template-columns: auto auto;
  gap: 0 64px;
  justify-content: center;
}
.spj-scopa-unis__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.spj-scopa-unis__list li {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  padding: 8px 0;
  line-height: 1.4;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .spj-scopa-strip__grid {
    grid-template-columns: 1fr;
  }
  .spj-scopa-strip__item {
    aspect-ratio: 16/9;
  }
  .spj-scopa-feat {
    padding: 48px 24px;
  }
  .spj-scopa-feat__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    direction: ltr !important;
  }
  .spj-scopa-feat--reverse .spj-scopa-feat__img {
    order: -1;
  }
  .spj-scopa-feat__img img {
    height: 240px;
  }
  .spj-scopa-unis__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .spj-scopa-unis__list + .spj-scopa-unis__list {
    margin-top: 8px;
  }
}
@media (max-width: 480px) {
  .scl {
    font-size: clamp(56px, 18vw, 90px);
  }
  .spj-scopa-intro {
    padding: 48px 24px;
  }
  .spj-scopa-intro__text {
    font-size: 15px;
  }
}

/* ============================================================
   NEWS PAGE
   ============================================================ */

/* ── Hero ── */
.spj-news-hero {
  position: relative;
  height: 96vh;
  max-height: 96vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.spj-news-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
}
.spj-news-hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 120px var(--page-pad) 80px;
  max-width: 890px;
}
.spj-news-hero__title {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 24px;
}
.spj-news-hero__excerpt {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.75;
  color: rgba(255,255,255,0.82);
}

/* ── Main posts (alternating) ── */
.spj-news-main {
  background: #fff;
  padding-top: 150px;
}
.spj-news-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 360px;
  padding: 0 var(--page-pad);
}
.spj-news-row--reverse {
  direction: rtl;
}
.spj-news-row--reverse > * {
  direction: ltr;
}
.spj-news-row__img {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  overflow: hidden;
  background: transparent;
}
.spj-news-row--reverse .spj-news-row__img {
  justify-content: flex-start;
  direction: ltr;
}
.spj-news-row__img img {
  width: 500px;
  height: 500px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}
.spj-news-row__img-placeholder {
  width: 600px;
  height: 600px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #ddd 0%, #c8c8c8 100%);
}
.spj-news-row__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 60px;
}
.spj-news-row__title {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
  color: #1a1a1a;
}
.spj-news-row__title a {
  color: inherit;
  text-decoration: none;
}
.spj-news-row__title a:hover {
  color: var(--red);
}
.spj-news-row__excerpt {
  font-size: 15px;
  line-height: 1.75;
  color: #555;
  margin-bottom: 24px;
}
.spj-news-row__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
  text-decoration: none;
}
.spj-news-row__link:hover {
  opacity: 0.75;
}

/* ── Other News ── */
.spj-news-other {
  background: #fff;
  padding: 80px var(--page-pad) 100px;
  text-align: center;
  border-top: 1px solid #eee;
}
.spj-news-other__heading {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 40px;
}
.spj-news-other__list {
  list-style: none;
  max-width: 680px;
  margin: 0 auto;
}
.spj-news-other__item {
  padding: 10px 0;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
}
.spj-news-other__item a {
  color: inherit;
  text-decoration: underline;
}
.spj-news-other__item a:hover {
  color: var(--red);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .spj-news-hero {
    flex-direction: column;
    min-height: auto;
  }
  .spj-news-hero__bars {
    width: 100%;
    height: 80px;
  }
  .spj-news-row,
  .spj-news-row--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .spj-news-row__img {
    min-height: 280px;
  }
  .spj-news-row__img img {
    height: 300px;
  }
  .spj-news-row__body {
    padding: 40px 32px;
  }
}

/* ═══════════════════════════════════════════════════════
   NEWS SINGLE — detail halaman post
═══════════════════════════════════════════════════════ */
.spj-news-single__hero {
  position: relative;
  width: 100%;
  max-height: 520px;
  overflow: hidden;
  background: #1a1a1a;
}
.spj-news-single__hero-img {
  display: block;
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center;
}
.spj-news-single__hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.35) 100%);
  pointer-events: none;
}

.spj-news-single__wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px var(--page-pad) 96px;
}

.spj-news-single__back-wrap {
  margin-bottom: 32px;
}

.spj-news-single__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.spj-news-single__cat {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  padding: 4px 12px;
  border-radius: 2px;
}
.spj-news-single__date {
  font-size: 14px;
  color: var(--mid-gray);
  font-weight: 500;
}

.spj-news-single__title {
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  color: #1a1a1a;
  margin-bottom: 40px;
}

.spj-news-single__body {
  font-size: 17px;
  line-height: 1.85;
  color: #3a3a3a;
}
.spj-news-single__body p {
  margin-bottom: 24px;
}
.spj-news-single__body h2,
.spj-news-single__body h3 {
  font-weight: 700;
  color: #1a1a1a;
  margin: 40px 0 16px;
}
.spj-news-single__body h2 { font-size: 24px; }
.spj-news-single__body h3 { font-size: 20px; }
.spj-news-single__body img {
  max-width: 100%;
  border-radius: 4px;
  margin: 24px 0;
}
.spj-news-single__body ul,
.spj-news-single__body ol {
  padding-left: 24px;
  margin-bottom: 24px;
}
.spj-news-single__body li {
  margin-bottom: 8px;
}

.spj-news-single__bottom {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid #ECECEC;
}

/* ── Outline button variant ── */
.spj-btn--outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: 2px solid var(--red);
  color: var(--red);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}
.spj-btn--outline:hover {
  background: var(--red);
  color: #fff;
}

@media (max-width: 768px) {
  .spj-news-single__hero-img {
    height: 260px;
  }
  .spj-news-single__hero {
    max-height: 260px;
  }
  .spj-news-single__wrap {
    padding: 40px 24px 72px;
  }
  .spj-news-single__title {
    font-size: 26px;
  }
  .spj-news-single__body {
    font-size: 16px;
  }
}
