/* ==========================================================================
   JYGA ARCHITECTS — achievement-page.css
   A reusable template for individual achievement/award pages (Mark's page
   now, and the two more coming after it). Load this ALONGSIDE the existing
   css/style.css. Class prefix: .achv-

     <link rel="stylesheet" href="css/achievement-page.css">
   ========================================================================== */

/* ---------- Hero ---------- */
.achv-hero {
  padding: calc(var(--nav-h) + 3.5rem) 0 5rem;
  background: var(--stone);
}
.achv-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
@media (max-width: 900px) {
  .achv-hero-grid {
    grid-template-columns: 1fr;
  }
}

.achv-eyebrow-rule {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.4rem;
}
.achv-eyebrow-rule::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--navy);
}

.achv-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.2rem;
}

.achv-hero-visual {
  position: relative;
  padding: 1.4rem;
}
.achv-hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  transform: translate(14px, 14px);
  z-index: 0;
}
.achv-hero-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  display: block;
  box-shadow: 0 30px 60px rgba(18, 20, 26, 0.22);
  background: var(--white);
}

/* ---------- Body / content ---------- */
.achv-body {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}
.achv-body-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.4fr;
  gap: clamp(2rem, 6vw, 5rem);
}
@media (max-width: 860px) {
  .achv-body-grid {
    grid-template-columns: 1fr;
  }
}

.achv-meta-block {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
  align-self: start;
}
.achv-meta-row {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.achv-meta-row:first-child {
  padding-top: 0;
}
.achv-meta-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--graphite);
  margin-bottom: 0.4rem;
}
.achv-meta-value {
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.achv-content h3 {
  margin: 2.2rem 0 1rem;
}
.achv-content h3:first-child {
  margin-top: 0;
}
.achv-content p {
  margin-bottom: 1.1rem;
}

/* ---------- Related work strip ---------- */
.achv-related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 1.5rem;
}
@media (max-width: 700px) {
  .achv-related {
    grid-template-columns: 1fr 1fr;
  }
}
.achv-related a {
  display: block;
}
.achv-related-media {
  aspect-ratio: 4/3;
  overflow: hidden;
  margin-bottom: 0.7rem;
}
.achv-related-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.achv-related a:hover .achv-related-media img {
  transform: scale(1.06);
}
.achv-related-title {
  font-size: 0.88rem;
  font-weight: 600;
}

/* ---------- Full certificate / document viewer ---------- */
.achv-document {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--stone);
  text-align: center;
}
.achv-document img {
  max-width: 720px;
  width: 100%;
  margin: 1.5rem auto 0;
  box-shadow: 0 30px 70px rgba(18, 20, 26, 0.2);
}

@media (max-width: 860px) {
  .achv-meta-block {
    position: static;
    top: auto;
  }
}
