/* ==========================================================================
   TEMPLATUB MAGAZINE 38: NGHỆ THUẬT CHẾ TÁC VÀ DẤU ẤN ĐƯỜNG CHÂN TRỜI PHÍA ĐÔNG
   Design System & Styling
   ========================================================================== */

/* -----------------------------
   FONTS
   ----------------------------- */
@font-face {
  font-family: "Gallery";
  src: url("../font/SVN-Gallery Modern.otf") format("opentype"),
    url("../font/SVN-Gallery%20Modern.otf") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "Hanken";
  src: url("../font/Hanken Design Co - Neue Einstellung Semi Bold.otf") format("opentype"),
    url("../font/Hanken%20Design%20Co%20-%20Neue%20Einstellung%20Semi%20Bold.otf") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "NotoSerif";
  src: url("../font/NotoSerif-Regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "SVN-Saint Monica";
  src: url("../font/SVN-SaintMonica.otf") format("opentype"),
    url("../font/SVN-Saint%20Monica.otf") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "HLT Burgues Script";
  src: url("../font/HLT-Burgues-Script.ttf") format("truetype"),
    url("../font/HLT%20Burgues%20Script.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* -----------------------------
   CSS VARIABLES & DESIGN TOKENS
   ----------------------------- */
:root {
  --blue: #182E4C;
  --dark-blue: #0D1C30;
  --deep-navy: #0A192F;
  --ice: #F4FAFF;
  --ice-light: #EBF4FC;
  --white: #FFFFFF;
  --gold-accent: #C5A880;
  --text-muted: #5A7184;
  --border-soft: rgba(24, 46, 76, 0.12);
  --font-display: "Gallery", "Playfair Display", Georgia, serif;
  --font-sans: "Hanken", "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: "NotoSerif", "Noto Serif", "Merriweather", Georgia, serif;
  --font-script: "SVN-Saint Monica", "HLT Burgues Script", cursive, serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background-color: var(--white);
  color: var(--blue);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.9;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

/* -----------------------------
   READING PROGRESS BAR
   ----------------------------- */
.reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(24, 46, 76, 0.08);
  z-index: 999999;
}

.reading-progress-bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #182E4C, #3B82F6, #C5A880);
  transition: width 0.1s linear;
}

/* -----------------------------
   STICKY HEADER BAR
   ----------------------------- */
.magazine-sticky-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(24, 46, 76, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4vw;
  z-index: 99999;
  transform: translateY(-100%);
  transition: transform 0.4s var(--ease-out), background 0.3s ease;
}

.magazine-sticky-nav.is-visible {
  transform: translateY(0);
}

.nav-brand-logo img {
  height: 32px;
  width: auto;
}

.nav-tag-badge {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
  opacity: 0.85;
}

.nav-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(24, 46, 76, 0.06);
  border: 1px solid rgba(24, 46, 76, 0.1);
  cursor: pointer;
  transition: all 0.25s ease;
}

.nav-share-btn:hover {
  background: var(--blue);
  color: var(--white);
}

/* -----------------------------
   CONTAINER & LAYOUT WRAPPERS
   ----------------------------- */
.magazine-wrapper {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  position: relative;
  background: var(--white);
  overflow-x: clip;
}

.text-wrap {
  width: min(840px, 90vw);
  margin: 0 auto;
}

.article-text p {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 1.35vw, 1.32rem);
  line-height: 1.95;
  color: var(--blue);
  margin-bottom: 28px;
  text-align: justify;
}

.article-text p strong,
.article-text p b {
  font-weight: 700;
  color: #0A192F;
}

/* -----------------------------
   BLOCK 00: HERO COVER
   ----------------------------- */
.hero-cover-block {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 760px;
  overflow: hidden;
  background: #0A2744;
  isolation: isolate;
}

.cover-photo-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 1;
  animation: coverZoomIn 1.8s var(--ease-out) forwards;
}

.cover-photo-bg.pc {
  display: block;
}

.cover-photo-bg.mb {
  display: none;
}

@keyframes coverZoomIn {
  from {
    transform: scale(1.06);
  }

  to {
    transform: scale(1);
  }
}

.cover-gradient-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 25, 48, 0.72) 0%, rgba(8, 25, 48, 0.35) 45%, rgba(8, 25, 48, 0) 75%);
  z-index: 2;
}

.cover-stack {
  position: absolute;
  left: 6.5vw;
  top: 42%;
  transform: translateY(-50%);
  max-width: min(820px, 56vw);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  color: var(--white);
}

.cover-row {
  display: block;
  margin: 0;
  padding: 0;
  font-family: var(--font-display);
  font-size: clamp(38px, 4.2vw, 72px);
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--white);
  white-space: nowrap;
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  animation: coverRowIn 0.8s cubic-bezier(0.22, 0.75, 0.22, 1) forwards;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.cover-accent {
  font-family: "HLT Burgues Script", "Great Vibes", "Burgues Script", cursive !important;
  font-size: clamp(56px, 7.2vw, 126px);
  line-height: 0.9;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: #fff;
  margin: 2px 0 6px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}

.cover-r1 {
  animation-delay: 0.15s;
}

.cover-r2 {
  animation-delay: 0.35s;
}

.cover-r3 {
  animation-delay: 0.55s;
}

.cover-r4 {
  animation-delay: 0.75s;
}

.cover-r5 {
  animation-delay: 0.95s;
}

@keyframes coverRowIn {
  from {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.cover-scroll-indicator {
  position: absolute;
  bottom: 4vh;
  left: 6.5vw;
  z-index: 12;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.cover-scroll-line {
  width: 44px;
  height: 1px;
  background: rgba(255, 255, 255, 0.6);
  position: relative;
  overflow: hidden;
}

.cover-scroll-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #FFF;
  animation: scrollLineSlide 2.2s ease-in-out infinite;
}

@keyframes scrollLineSlide {
  0% {
    left: -100%;
  }

  50%,
  100% {
    left: 100%;
  }
}

/* -----------------------------
   BLOCK 01: SAPO & INTRO
   ----------------------------- */
.intro-sapo-section {
  padding: 90px 20px 0;
  background: var(--white);
}

.sapo-copy {
  font-family: var(--font-serif);
  font-size: clamp(1.22rem, 1.55vw, 1.48rem) !important;
  line-height: 1.95 !important;
  font-style: italic;
  font-weight: 500;
  color: #0A1E38;
  position: relative;
  padding-left: 28px;
  border-left: 3px solid var(--blue);
  margin-bottom: 34px !important;
}

.sapo-video-section {
  width: 100%;
  margin: 54px 0;
  overflow: hidden;
  background: #000;
}

.sapo-video-player {
  display: block;
  width: 100%;
  max-height: 85vh;
  object-fit: cover;
  background: #000;
  border: 0;
  outline: none;
}

/* -----------------------------
   BLOCK 02: 5 HERITAGE PROJECTS (GRID & MODAL)
   ----------------------------- */
.sapo-grid-section {
  width: min(1400px, 94vw);
  margin: 64px auto;
  padding: 0 10px;
}

.sapo-grid-layout {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.sapo-grid-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: zoom-in;
  background: #0D1C30;
  aspect-ratio: 16/10;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.sapo-grid-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
}

.sapo-grid-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-out), filter 0.4s ease;
}

.sapo-grid-card:hover img {
  transform: scale(1.05);
}

.sapo-grid-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(8, 24, 46, 0.75) 100%);
}

.sapo-grid-card-name {
  position: absolute;
  bottom: 20px;
  left: 22px;
  right: 22px;
  z-index: 3;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(20px, 1.8vw, 30px);
  line-height: 1.15;
  font-weight: 400;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.sapo-grid-card-loc {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

/* Layout spans for 5 cards */
.sapo-grid-card:nth-child(1) {
  grid-column: span 6;
}

.sapo-grid-card:nth-child(2) {
  grid-column: span 6;
}

.sapo-grid-card:nth-child(3) {
  grid-column: span 4;
}

.sapo-grid-card:nth-child(4) {
  grid-column: span 4;
}

.sapo-grid-card:nth-child(5) {
  grid-column: span 4;
}

.sapo-grid-zoom-hint {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(13, 28, 48, 0.45);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  opacity: 0;
  transform: scale(0.85);
  transition: all 0.3s ease;
}

.sapo-grid-card:hover .sapo-grid-zoom-hint {
  opacity: 1;
  transform: scale(1);
}

.sapo-grid-zoom-hint svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* Modal for Sapo Grid */
.sapo-grid-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(7, 18, 31, 0.96);
  padding: 3vw;
}

.sapo-grid-modal.is-open {
  display: flex;
}

.sapo-grid-modal-stage {
  position: relative;
  max-width: 90vw;
  max-height: 86vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sapo-grid-modal-img {
  max-width: 88vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.sapo-grid-modal-copy {
  position: absolute;
  bottom: 24px;
  left: 28px;
  z-index: 5;
  color: #FFF;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.sapo-grid-modal-title {
  font-family: var(--font-display);
  font-size: 28px;
}

.sapo-grid-modal-loc {
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #C5A880;
}

.sapo-grid-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFF;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease;
}

.sapo-grid-close:hover {
  background: rgba(255, 255, 255, 0.35);
}

.sapo-grid-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFF;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.sapo-grid-nav:hover {
  background: rgba(255, 255, 255, 0.3);
}

.sapo-grid-prev {
  left: 24px;
}

.sapo-grid-next {
  right: 24px;
}

/* -----------------------------
   BLOCK 03: QUOTE 1 EDITORIAL
   ----------------------------- */
.quote1-editorial-section {
  position: relative;
  width: 100%;
  min-height: clamp(440px, 42vw, 360px);
  margin: 64px 0 0;
  overflow: hidden;
  background: #3A2010;
  display: flex;
  align-items: center;
}

.quote1-editorial-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.quote1-editorial-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(30, 15, 8, 0.75) 0%, rgba(30, 15, 8, 0.42) 42%, rgba(30, 15, 8, 0.05) 75%);
}

.quote1-editorial-copy {
  position: relative;
  z-index: 3;
  margin-left: 7vw;
  max-width: min(920px, 54vw);
  color: var(--white);
}

.quote1-line {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.2vw, 60px);
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--white);
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
}

.quote1-line:first-child {
  color: #FFF;
}

.quote1-line:last-child {
  color: #E6D2B5;
  margin-top: 6px;
}

/* -----------------------------
   BLOCK 04: SECTION 1 - XÂY DỰNG & CHẾ TÁC
   ----------------------------- */
.section-title-wrap {
  width: min(840px, 90vw);
  margin: 0 auto 52px;
  padding-top: 68px;
}

.section-kicker {
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.4vw, 22px);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #3B82F6;
  margin-bottom: 12px;
}

.section-main-heading {
  max-width: 680px;
  font-family: var(--font-display);
  font-size: clamp(48px, 5.8vw, 92px);
  line-height: 0.95;
  font-weight: 400;
  color: var(--blue);
  margin: 0;
  letter-spacing: -0.02em;
}

.sec1-top-gradient {
  background: linear-gradient(180deg, #CFE2F5 0%, #B8D2EC 55%, #8DA8C4 100%);
  padding: 0 20px 48px;
}

.sec1-white-area {
  background: var(--white);
  padding: 48px 20px 0;
}

/* Media Mix Collage (3 Images + 1 Video) */
.media-mix-block {
  width: min(1400px, 94vw);
  margin: 54px auto;
}

.media-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  background: #0D1C30;
  border-radius: 4px;
  overflow: hidden;
}

.media-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.media-cell {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
}

.media-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.media-cell:hover img {
  transform: scale(1.04);
}

.media-left-top {
  height: 310px;
}

.media-left-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  height: 250px;
}

.media-right {
  position: relative;
  overflow: hidden;
  background: #000;
}

.media-video {
  width: 100%;
  height: 100%;
  min-height: 576px;
  object-fit: cover;
}

.video-ui-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(13, 28, 48, 0.65);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.video-dot {
  width: 8px;
  height: 8px;
  background: #EF4444;
  border-radius: 50%;
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.2);
    opacity: 1;
  }

  100% {
    transform: scale(0.95);
    opacity: 0.8;
  }
}

/* -----------------------------
   BLOCK 05: QUOTE ĐỖ ANH DŨNG & 3 DNA
   ----------------------------- */
.quote2-dad-section {
  position: relative;
  width: 100%;
  min-height: 620px;
  margin: 64px 0;
  background: #061524;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.quote2-bg-img {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 62%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.quote2-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #061524 0%, #061524 40%, rgba(6, 21, 36, 0.82) 60%, rgba(6, 21, 36, 0.2) 100%);
}

.quote2-copy {
  position: relative;
  z-index: 3;
  margin-left: 6.5vw;
  max-width: min(620px, 48vw);
  color: var(--white);
}

.quote2-mark {
  font-family: Georgia, serif;
  font-size: 72px;
  line-height: 0.5;
  color: #3B82F6;
  margin-bottom: 22px;
  display: block;
}

.quote2-text {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.4vw, 42px);
  line-height: 1.22;
  color: var(--white);
  margin-bottom: 26px;
  text-align: left;
}

.quote2-rule {
  width: 140px;
  height: 1px;
  background: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.quote2-credit strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  color: #FFF;
}

.quote2-credit span {
  display: block;
  font-family: var(--font-sans);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 4px;
}

/* 3 DNA Cards */
.dna-cards-section {
  width: min(1400px, 94vw);
  margin: 54px auto 70px;
}

.dna-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.dna-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  height: 480px;
  background: #0D1C30;
  cursor: zoom-in;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.dna-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.dna-card:hover img {
  transform: scale(1.05);
}

.dna-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, transparent 45%, rgba(0, 0, 0, 0.3) 100%);
}

.dna-card-title {
  position: absolute;
  top: 32px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(36px, 3.8vw, 56px);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

/* -----------------------------
   BLOCK 06: SECTION 2 - D’. DIAMANT BLEU
   ----------------------------- */
.sec2-title-section {
  text-align: center;
  padding: 80px 20px 48px;
  background: var(--white);
}

.sec2-kicker {
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.4vw, 20px);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #3B82F6;
  margin-bottom: 14px;
}

.sec2-main-heading {
  font-family: var(--font-display);
  font-size: clamp(52px, 6.2vw, 98px);
  line-height: 0.95;
  font-weight: 400;
  color: var(--blue);
  margin: 0 auto;
}

.sec2-hero-banner {
  width: min(1500px, 96vw);
  margin: 24px auto 54px;
}

.sec2-hero-banner img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 14px 40px rgba(24, 46, 76, 0.1);
}

/* Architecture Dual Showcase */
.arch-showcase-section {
  position: relative;
  width: 100%;
  padding: 72px 0;
  background: linear-gradient(180deg, #FFF 0%, #F4FAFF 20%, #D9EAFB 60%, #BFD7EF 100%);
  overflow: hidden;
}

.arch-watermark {
  position: absolute;
  top: 10%;
  right: 4%;
  width: min(45vw, 650px);
  opacity: 0.05;
}

.arch-grid {
  width: min(1360px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.arch-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.1);
  cursor: zoom-in;
}

.arch-card img {
  width: 100%;
  aspect-ratio: 16/11;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.arch-card:hover img {
  transform: scale(1.04);
}

.arch-content-box {
  padding: 24px 0;
}

.arch-eyebrow {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #3B82F6;
  margin-bottom: 12px;
}

.arch-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 3.8vw, 64px);
  line-height: 1.05;
  color: var(--blue);
  margin: 0;
}

/* -----------------------------
   BLOCK 07: 3 PILLARS COMPLEX
   ----------------------------- */
.pillars-heading-wrap {
  width: 100%;
  text-align: center;
  padding: 64px 20px 48px;
  background: linear-gradient(180deg, #D7E9F8 0%, #EDF6FD 60%, #FFF 100%);
}

.pillars-main-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.6vw, 56px);
  line-height: 1.15;
  font-weight: 400;
  color: var(--blue);
  max-width: 1100px;
  margin: 0 auto;
}

.pillars-ornament {
  margin-top: 18px;
  font-size: 22px;
  color: #C5A880;
}

.pillars-grid-section {
  width: min(1400px, 94vw);
  margin: 0 auto 64px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pillar-card {
  background: #FFF;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(24, 46, 76, 0.08);
  border: 1px solid rgba(24, 46, 76, 0.06);
  display: flex;
  flex-direction: column;
}

.pillar-tag {
  padding: 16px 20px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #182E4C;
  background: #F4FAFF;
  border-bottom: 1px solid rgba(24, 46, 76, 0.06);
  text-align: center;
}

.pillar-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/11;
  cursor: zoom-in;
}

.pillar-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pillar-img-wrap:hover img {
  transform: scale(1.05);
}

.pillar-caption {
  padding: 22px 24px;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--blue);
  font-weight: 500;
  text-align: center;
  flex-grow: 1;
}

/* -----------------------------
   BLOCK 08: AMENITIES SHOWCASE
   ----------------------------- */
.amenities-section {
  width: 100%;
  padding: 72px 0;
  background: #0B192C;
  color: var(--white);
}

.amenities-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 56px;
  padding: 0 20px;
}

.amenities-star {
  font-size: 26px;
  color: #C5A880;
  margin-bottom: 12px;
}

.amenities-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 4.8vw, 78px);
  line-height: 1;
  font-weight: 400;
  color: var(--white);
  margin: 0 0 18px;
}

.amenities-desc {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

.amenities-mosaic-grid {
  width: min(1420px, 94vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.amenity-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 16/11;
  cursor: zoom-in;
  background: #11223A;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.amenity-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out), filter 0.4s ease;
}

.amenity-card:hover img {
  transform: scale(1.06);
}

/* -----------------------------
   BLOCK 09: CLOSING VIDEO & CREDITS
   ----------------------------- */
.closing-video-section {
  width: 100%;
  background: #000;
  overflow: hidden;
}

.closing-video-player {
  display: block;
  width: 100%;
  max-height: 85vh;
  object-fit: cover;
  background: #000;
}

.magazine-credits-wrap {
  padding: 64px 20px 90px;
  text-align: center;
  background: #F8FAFC;
  border-top: 1px solid rgba(24, 46, 76, 0.08);
}

.credits-line {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: #5A7184;
  margin-bottom: 12px;
}

.credits-line a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
}

.brand-signature {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.8vw, 26px);
  letter-spacing: 0.12em;
  color: var(--blue);
  margin-top: 18px;
  text-transform: uppercase;
}

/* -----------------------------
   GLOBAL LIGHTBOX (POPUP)
   ----------------------------- */
.global-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: none;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  padding: 40px;
  background: rgba(6, 18, 32, 0.96);
  overflow: hidden;
}

.global-lightbox.is-open {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 92vw;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 84vh;
  object-fit: contain;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.lightbox-btn {
  position: absolute;
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(13, 28, 48, 0.6);
  color: #FFF;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.lightbox-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-close {
  top: 24px;
  right: 28px;
}

.lightbox-prev {
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}

/* -----------------------------
   REVEAL ANIMATIONS ON SCROLL
   ----------------------------- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.85s var(--ease-out);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: none;
}

/* -----------------------------
   RESPONSIVE QUERIES
   ----------------------------- */
@media (max-width: 1024px) {
  .cover-stack {
    max-width: 80vw;
  }

  .dna-row {
    grid-template-columns: repeat(3, 1fr);
    height: auto;
  }

  .dna-card {
    height: 380px;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .amenities-mosaic-grid {
    grid-template-columns: 1fr 1fr;
  }

  .arch-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 800px) {
  body {
    font-size: 1.05rem;
  }

  .article-text p {
    font-size: 1.08rem;
    line-height: 1.85;
  }

  .hero-cover-block {
    min-height: 620px;
  }

  .cover-photo-bg.pc {
    display: none !important;
  }

  .cover-photo-bg.mb {
    display: block !important;
  }

  .cover-stack {
    left: 15%;
    top: 24%;
    max-width: 88vw;
    gap: 4px;
  }

  .cover-row {
    font-size: clamp(28px, 7.5vw, 42px);
    white-space: normal;
  }

  .cover-accent {
    font-size: clamp(42px, 11vw, 68px);
  }

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

  .sapo-grid-card {
    grid-column: span 1 !important;
    aspect-ratio: 16/10;
  }

  .quote1-editorial-section {
    min-height: 420px;
  }

  .quote1-editorial-copy {
    margin-left: 20px;
    max-width: 88vw;
  }

  .quote1-line {
    font-size: clamp(28px, 8vw, 44px);
  }

  .media-collage {
    grid-template-columns: 1fr;
  }

  .media-left-bottom {
    height: 180px;
  }

  .media-video {
    min-height: 320px;
  }

  .quote2-dad-section {
    min-height: auto;
    padding: 48px 20px;
  }

  .quote2-bg-img {}

  .quote2-copy {
    margin-left: 0;
    max-width: 100%;
  }

  .dna-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .dna-card {
    height: 320px;
  }

  .amenities-mosaic-grid {
    grid-template-columns: 1fr;
  }

  .lightbox-btn {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}