/* Layout & Grid System - Pixel-Perfect Figma Fidelity */

/* Desktop Container: 1920px width, padding left & right 212px */
.container-figma-standard {
  width: 100%;
  max-width: 1920px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(24px, 11vw, 212px);
  padding-right: clamp(24px, 11vw, 212px);
}

.container-figma-header {
  width: 100%;
  max-width: 1920px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(20px, 2.1vw, 40px);
  padding-right: clamp(20px, 2.1vw, 40px);
}

@media (max-width: 1024px) {
  .container-figma-standard {
    padding-left: clamp(24px, 5vw, 48px);
    padding-right: clamp(24px, 5vw, 48px);
  }
}

@media (max-width: 600px) {
  .container-figma-standard,
  .container-figma-header {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* ==========================================================================
   HEADER: Navigation - Page (Figma: 1920x89px, bg #1E3667, Centered Logo)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 89px;
  z-index: 1000;
  background-color: var(--figma-header-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-normal), box-shadow var(--transition-normal);
}

.header-inner-centered {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.header-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-logo-main {
  height: clamp(28px, 2.5vw, 39px);
  width: auto;
  max-width: 293px;
}

/* ==========================================================================
   SECTION 1: Container - Banner (Figma: 1920x826px, padding bottom 150px)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 826px;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 180px;
  padding-bottom: 150px;
  background-color: #0c3143;
}

.hero-bg-layer {
  position: absolute;
  inset: -15% 0;
  width: 100%;
  height: 130%;
  z-index: 1;
  pointer-events: none;
  will-change: transform;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(0, 82, 104, 0.40) 0%,
      rgba(0, 82, 104, 0.26) 39.4%,
      rgba(0, 82, 104, 0.00) 55.8%,
      rgba(255, 0, 0, 0.00) 62.8%,
      rgba(255, 0, 0, 0.25) 100%);
  pointer-events: none;
}

.hero-banner-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  width: 100%;
  will-change: transform;
}

.hero-downloads-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  width: 100%;
}

/* Figma Button: 62px height, CornerRadius: 40px (pill), Padding: 20px 40px, Stroke: 1px #1D191A */
.figma-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 62px;
  padding: 20px 40px;
  background: var(--figma-white);
  color: #1D191A;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 22px;
  line-height: 22px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  border-radius: 40px;
  border: 1px solid #1D191A;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-normal);
  cursor: pointer;
  box-sizing: border-box;
}

.figma-hero-btn:hover {
  background: #1D191A;
  color: var(--figma-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .hero-section {
    min-height: auto;
    padding-top: 140px;
    padding-bottom: 80px;
  }

  .hero-banner-inner {
    gap: 40px;
  }

  .hero-downloads-stack {
    gap: 16px;
  }

  .figma-hero-btn {
    width: 100% !important;
    max-width: 100%;
    padding: 16px 20px;
    font-size: 0.95rem;
    line-height: 1.35;
    text-align: center;
    height: auto;
    white-space: normal;
  }
}

/* ==========================================================================
   SECTION 2: MDs letter (Figma: 1920x1062px, Pad: T:60, R:212, B:120, L:212, Gap: 30)
   ========================================================================== */
.md-letter-section {
  padding-top: 60px;
  padding-bottom: 100px;
  background-color: #F8FAFC;
  background-image: url('../assets/md-letter-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.md-letter-stack {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
}

.md-quote-box {
  display: grid;
  grid-template-columns: 100px 1fr 100px;
  align-items: start;
  gap: 20px;
  width: 100%;
}

.md-quote-svg {
  width: 100px;
  height: auto;
  opacity: 0.3;
}

.md-quote-svg-end {
  align-self: end;
  justify-self: end;
}

.md-quote-content {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

@media (max-width: 992px) {
  .md-quote-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  .md-quote-svg {
    width: 50px;
    height: auto;
    opacity: 0.25;
  }

  .md-quote-svg-end {
    align-self: center;
    justify-self: center;
  }

  .md-quote-content {
    padding: 10px 0;
  }
}

/* Frame 169: Profile Row (Gap: 30px, Image: 179.65x214px on desktop) */
.md-profile-frame {
  display: flex;
  align-items: center;
  gap: 30px;
  padding-left: 0;
}

.md-avatar-box {
  width: 180px;
  height: 214px;
  overflow: hidden;
  border-radius: 2px;
  flex-shrink: 0;
  background: #EAEAEA;
}

.md-avatar-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.md-title-stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

@media (max-width: 768px) {
  .md-profile-frame {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
  }

  .md-avatar-box {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    border-radius: 0;
  }

  .md-title-stack {
    width: 100%;
  }

  .figma-md-name {
    font-size: clamp(2rem, 7vw, 2.75rem) !important;
    margin-bottom: 6px !important;
    line-height: 1.1 !important;
  }

  .figma-md-title {
    font-size: clamp(1rem, 4vw, 1.25rem) !important;
    line-height: 1.3 !important;
  }
}

/* ==========================================================================
   SECTION 3: Performance (Figma: 1920x994px, Heading Left 1102px, Figures Right 798px, Gap 20px)
   ========================================================================== */
.performance-section {
  width: 100%;
  background-color: var(--figma-white);
  padding: 0;
}

.performance-full-grid {
  display: grid;
  grid-template-columns: 1.38fr 1fr;
  gap: 20px;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  min-height: 860px;
}

@media (max-width: 1200px) {
  .performance-full-grid {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: auto;
  }
}

/* Container - Heading - 3D Depth Layout */
.performance-heading-side {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(30px, 5vw, 80px) clamp(20px, 4vw, 60px);
  min-height: clamp(480px, 55vh, 860px);
  background-color: #120904;
}

/* Layer 1: Background Image */
.performance-layer-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  z-index: 1;
  pointer-events: none;
  will-change: transform;
}

/* Layer 1.5: Gradient Overlay for enhanced contrast */
.performance-layer-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(26, 11, 0, 0.35) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Layer 2: Text in Front of Subject */
.performance-heading-content {
  position: relative;
  z-index: 5;
  width: 100%;
  pointer-events: auto;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0;
  will-change: transform;
}

/* Transformed Typography Image - 1:1 pixel match with Figma concept */
.figma-transformed-text-img {
  width: 100%;
  max-width: min(100%, 760px);
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.25));
  user-select: none;
  pointer-events: none;
}

/* Screen-reader only accessibility class */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Layer 3: Eagle Cutout (Behind foreground text) */
.performance-layer-fg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  z-index: 2;
  pointer-events: none;
  will-change: transform;
}

/* Container Figures (Fill: #ECECEC) */
.performance-figures-side {
  background-color: var(--figma-gray-card);
  padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 36px;
  box-sizing: border-box;
}

@media (max-width: 1200px) and (min-width: 641px) {
  .performance-figures-side {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 40px;
    padding: 60px 48px;
  }
}

.figure-entry {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* ==========================================================================
   SECTION 4: Key Achievements
   ========================================================================== */
.achievements-section {
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: clamp(48px, 6vw, 80px);
  background-color: var(--figma-white);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.figma-split-2col {
  display: grid;
  grid-template-columns: minmax(320px, 460px) 1fr;
  gap: clamp(30px, 4vw, 60px);
  align-items: start;
}

@media (max-width: 992px) {
  .figma-split-2col {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.figma-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.figma-bullet-item {
  position: relative;
  padding-left: 24px;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(1.125rem, 1.4vw, 1.625rem);
  line-height: 1.4;
  color: var(--figma-blue-dark);
}

.figma-bullet-item::before {
  content: "•";
  position: absolute;
  left: 0;
  top: -2px;
  font-size: 1.3em;
  line-height: 1.4;
  color: var(--figma-blue-dark);
}

.figma-bullet-item-light {
  position: relative;
  padding-left: 24px;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(1.125rem, 1.4vw, 1.625rem);
  line-height: 1.4;
  color: var(--figma-white);
}

.figma-bullet-item-light::before {
  content: "•";
  position: absolute;
  left: 0;
  top: -2px;
  font-size: 1.3em;
  line-height: 1.4;
  color: var(--figma-white);
}

/* ==========================================================================
   SECTION 5: Future / FY 2027 Outlook
   ========================================================================== */
.future-section {
  width: 100%;
  min-height: 480px;
  padding-top: 60px;
  padding-bottom: 60px;
  background-image:
    linear-gradient(90deg,
      rgba(0, 46, 62, 0) 38%,
      rgba(5, 77, 97, 0.59) 80%),
    url('../assets/future-bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.future-full-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  align-items: start;
}

.future-title-col {
  padding-left: clamp(24px, 11vw, 212px);
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.future-data-col {
  padding-left: clamp(20px, 4.6vw, 90px);
  padding-right: clamp(24px, 11vw, 212px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

@media (max-width: 1024px) {
  .future-section {
    padding-top: 60px;
    padding-bottom: 60px;
    min-height: auto;
    background-image:
      linear-gradient(180deg,
        rgba(0, 46, 62, 0) 30%,
        rgba(5, 77, 97, 0.7) 75%),
      url('../assets/future-bg.jpg');
    background-position: center center;
  }

  .future-full-grid {
    display: flex;
    flex-direction: column;
    gap: 36px;
    padding: 0 clamp(24px, 5vw, 48px);
  }

  .future-title-col,
  .future-data-col {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 600px) {
  .future-full-grid {
    padding: 0 20px;
    gap: 28px;
  }
}

/* ==========================================================================
   SECTION 6: Quick links (Figma: 1920x210px, Pad: T:60, R:212, B:60, L:212, Gap: 20)
   ========================================================================== */
.quicklinks-section {
  padding-top: clamp(40px, 5vw, 60px);
  padding-bottom: clamp(40px, 5vw, 60px);
  background-color: var(--figma-white);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* ==========================================================================
   SECTION 7: Section - Footer (Figma: 1920x310px, Pad: 40px all sides, Gap: 30px, align: CENTER)
   ========================================================================== */
.site-footer {
  padding-top: 40px;
  padding-bottom: 40px;
  background-color: var(--figma-white);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-center-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 30px;
  width: 100%;
  max-width: 1840px;
}

.footer-logo-main {
  height: 24px;
  width: 180px;
  display: flex;
  justify-content: center;
}

.footer-logo-main img {
  height: 24px;
  width: 180px;
  filter: invert(1);
}

.footer-quicklinks-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-socials-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

/* Figma: 60x60px, CornerRadius: 40px, Stroke: 1px #161616 */
.figma-social-icon-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid var(--figma-gray-dark);
  background-color: transparent;
  color: var(--figma-gray-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.figma-social-icon-btn svg,
.figma-social-icon-btn img {
  width: 25px;
  height: 25px;
}

.figma-social-icon-btn:hover {
  background-color: var(--figma-gray-dark);
  color: var(--figma-white);
  transform: translateY(-2px);
}