/* style.css - Premium Design mimicking Quads.co.jp */
/* ==== Base Settings ==== */
:root {
  --bg-color: #ffffff;
  --text-color: #333333;
  --accent-gold: #d4af37;
  --font-primary: "Inter", sans-serif;
  --font-secondary: "Noto Sans JP", sans-serif;
  --easing: cubic-bezier(0.25, 1, 0.5, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-secondary);
  /* Default to JP font for main text */
  line-height: 1.8;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

/* ==== Loading Screen ==== */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.8s var(--easing), visibility 0.8s;
}

#loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.5;
  }
}
@keyframes slide-in-left {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
/* ==== Header ==== */
/* ==== Header (Transparent/Seamless) ==== */
header {
  padding: 1.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  /* Seamless start */
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  animation: slide-in-left 0.8s var(--easing) forwards;
  color: #fff;
  /* White text on Hero */
}

header.scrolled {
  padding: 1rem 3rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #333;
  /* Black text on scroll */
}

.logo img {
  height: 40px;
  width: auto;
  transition: filter 0.3s;
  /* If we need to invert color */
}

/* Invert logo color (if using white transparent one) when scrolled? 
   Or if using SVG. Assuming image for now. */
nav {
  display: flex;
  gap: 2rem;
}

nav a {
  font-family: var(--font-primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  color: inherit;
  /* Inherit header color */
}

nav a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 1px;
  background: currentColor;
  /* Use current text color */
  left: 0;
  bottom: -4px;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

/* ==== Hero Section (Fade Slider) ==== */
.hero-slider {
  position: relative;
  height: 80vh;
  width: 100%;
  overflow: hidden;
  margin-top: 0;
  background-color: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Semi-transparent overlay */
.hero-slider::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
  z-index: 2;
  pointer-events: none;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.5s ease-in-out, transform 6s linear;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

/* ==== Concept Section (NEW POWER...) ==== */
.concept-section {
  padding: 4rem 10%;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
}

.concept-title {
  flex: 1 1 400px;
  font-family: var(--font-primary);
  font-size: 4rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}

.concept-text {
  flex: 1 1 400px;
  padding-top: 1rem;
}

.concept-text h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.concept-text p {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 1rem;
}

/* ==== Product Slider/Showcase Section ==== */
.product-showcase {
  background: #eef0f2;
  padding: 5rem 10%;
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.showcase-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.showcase-info {
  width: 40%;
  z-index: 2;
}

.showcase-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.showcase-info p {
  margin-bottom: 2rem;
}

.view-more-btn {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-family: var(--font-primary);
  border-bottom: 1px solid #000;
  padding-bottom: 5px;
  transition: opacity 0.3s;
  cursor: pointer;
}

.view-more-btn svg {
  margin-left: 10px;
  transition: transform 0.3s;
}

.view-more-btn:hover svg {
  transform: translateX(5px);
}

.showcase-image {
  width: 50%;
  position: relative;
}

.showcase-image img {
  width: 100%;
  height: auto;
  transform: rotate(-15deg);
  transition: transform 0.5s ease;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.1));
}

.showcase-image:hover img {
  transform: rotate(0deg) scale(1.05);
}

.slider-nav {
  position: absolute;
  bottom: 2rem;
  right: 10%;
  display: flex;
  gap: 1rem;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border: 1px solid #333;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.slider-dot.active {
  background: #333;
}

/* ==== Category Section ==== */
.category-section {
  padding: 6rem 10%;
  text-align: center;
}

.section-title {
  font-family: var(--font-primary);
  font-size: 3rem;
  margin-bottom: 4rem;
  letter-spacing: 0.05em;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.category-item {
  text-align: left;
}

.cat-image {
  background: #f9f9f9;
  padding: 2rem;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.category-item:hover .cat-image {
  transform: translateY(-10px);
}

.cat-image img {
  width: 100%;
  height: 200px;
  object-fit: contain;
}

.cat-title-en {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 700;
  display: block;
}

.cat-title-jp {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
  display: block;
}

/* ==== Topics Section (Updated Layout) ==== */
.topics-section {
  padding: 6rem 10%;
  background: #fff;
}

.topic-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.topic-item {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  padding: 2rem;
  background: #f9f9f9;
  border-radius: 8px;
}

.topic-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.topic-image {
  flex-shrink: 0;
  width: 200px;
  height: auto;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 4px;
}

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

.topic-item:hover .topic-image img {
  transform: scale(1.1);
}

.topic-content {
  flex: 1;
}

.topic-item:nth-child(1) {
  transition-delay: 0.1s;
}

.topic-item:nth-child(2) {
  transition-delay: 0.2s;
}

.topic-item:nth-child(3) {
  transition-delay: 0.3s;
}

.topic-date {
  font-family: var(--font-primary);
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 0.5rem;
  display: block;
}

.topic-text {
  font-weight: 500;
  line-height: 1.6;
}

/* ==== Support Banner ==== */
.support-banner {
  background: #e8eaed;
  padding: 6rem 10%;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.support-content h2 {
  font-family: var(--font-primary);
  font-size: 3rem;
  margin-bottom: 2rem;
}

.scroll-top {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid #333;
  background: transparent;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-top:hover {
  background: #333;
  color: #fff;
}

.scroll-top svg {
  stroke: currentColor;
}

/* ==== Footer ==== */
footer {
  background: #000;
  color: #fff;
  padding: 4rem 10% 2rem;
  font-size: 0.9rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo img {
  height: 40px;
  filter: brightness(0) invert(1);
  display: block;
}

.footer-social {
  display: flex;
  gap: 1.5rem;
}

.footer-social a {
  color: #fff;
  transition: opacity 0.3s;
}

.footer-social a:hover {
  opacity: 0.7;
}

.footer-info {
  padding: 2rem 0;
  line-height: 1.8;
}

.footer-bottom {
  padding-top: 2rem;
  text-align: right;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ==== About Page - Value & Industries (Updated Layout) ==== */
.about-hero {
  text-align: center;
  padding: 6rem 10%;
  background: linear-gradient(135deg, #f4f4f4 0%, #fff 100%);
}

.about-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.4;
}

.about-section {
  padding: 5rem 10%;
}

.about-content {
  max-width: 900px;
  margin: 0 auto 4rem;
}

.about-content h3 {
  font-size: 1.2rem;
  color: #888;
  margin-bottom: 1rem;
}

.about-content h4 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

/* Value Grid: Side-by-Side */
.value-grid {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin-top: 4rem;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
}

.value-item img {
  width: 200px;
  height: 200px;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.value-content {
  flex: 1;
  padding-top: 0.5rem;
}

.value-item h4 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  position: relative;
  padding-left: 0;
}

/* Industries Grid: Side-by-Side */
.industries-section {
  padding: 5rem 10%;
  background: #f9f9f9;
}

.section-subtitle {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
  font-size: 1.1rem;
  color: #666;
}

.industry-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.industry-item {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: flex-start;
  padding: 2rem;
  gap: 2rem;
}

.industry-item img {
  width: 200px;
  height: 200px;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.industry-content {
  flex: 1;
  padding: 0;
}

.industry-item h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent-gold);
}

.commitment-section {
  padding: 6rem 10%;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.stat-item {
  padding: 2rem;
}

.stat-number {
  font-family: var(--font-primary);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

.stat-label {
  font-size: 1.1rem;
  color: #666;
}

.company-info-section {
  padding: 5rem 10%;
  background: #f9f9f9;
}

.company-details {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  padding: 3rem;
  border-radius: 8px;
}

.detail-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid #eee;
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-label {
  font-weight: 700;
  color: #333;
}

.evidence-hero {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 3rem;
  /* Reduced margin */
  height: 350px;
  /* Fixed height for banner look */
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.evidence-hero img {
  width: 100%;
  height: 100%;
  /* Fill container */
  object-fit: cover;
  /* Crop center */
  display: block;
}

.evidence-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 3rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: #fff;
}

.evidence-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  /* Softer shadow */
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
}

.evidence-card:hover {
  transform: translateY(-5px);
}

.evidence-visual {
  height: 260px;
  /* Increased from 180px for visibility */
  width: 100%;
  overflow: hidden;
}

.evidence-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.evidence-content {
  padding: 2rem;
  /* Restored comfortable padding */
  flex: 1;
  display: flex;
  flex-direction: column;
}

.evidence-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: #333;
  font-weight: 700;
  border-left: 4px solid var(--accent-gold);
  padding-left: 1rem;
  line-height: 1.4;
}

.evidence-content h3 span {
  display: block;
  /* Force new line for subtext */
  font-size: 0.95rem;
  font-weight: normal;
  color: #666;
  margin-top: 0.2rem;
}

.detail-value {
  color: #666;
}

.detail-value ol {
  margin-left: 1.5rem;
  list-style: decimal;
}

/* Product Cards used in products.html and accessories.html */
/* IMPORTANT: ensure this .grid and .card definition is present */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem 10%;
}

.card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  /* Force Square */
  object-fit: contain;
  /* Show entire image */
  background: #fff;
  display: block;
}

.card-content {
  padding: 1.5rem;
}

.card-content h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.card-content p {
  color: #666;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.button {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: #333;
  color: #fff;
  border-radius: 4px;
  font-size: 0.9rem;
  transition: background 0.3s;
}

.button:hover {
  background: #555;
}

/* Globals for Animations - Slower, Premium Feel */
/* Globals for Animations - Slower, Premium Feel */
.fade-up {
  opacity: 0;
  transform: translateY(60px);
  /* Increased distance for slower float */
  transition: opacity 1.8s cubic-bezier(0.16, 1, 0.3, 1), transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up-super-slow {
  opacity: 0;
  transform: translateY(80px);
  /* Even longer float for titles */
  transition: opacity 3s cubic-bezier(0.1, 1, 0.2, 1), transform 3s cubic-bezier(0.1, 1, 0.2, 1);
}

.fade-up.visible,
.fade-up-super-slow.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==== Responsive Design ==== */
/* Tablet (768px and below) */
@media (max-width: 768px) {
  header {
    padding: 1rem;
    flex-wrap: wrap;
  }
  nav {
    gap: 1rem;
    font-size: 0.75rem;
  }
  /* Topics: Mobile Stacked */
  .topic-item {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    /* Center align for stacked look */
  }
  .topic-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin-bottom: 0.5rem;
  }
  /* Value: Mobile Stacked */
  .value-item {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
  }
  .value-item img {
    margin: 0 auto;
  }
  /* Industries: Mobile Stacked */
  .industry-item {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
  }
  .industry-item img {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 0 auto;
  }
  .company-details {
    padding: 1.5rem;
  }
  .detail-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}
@media (max-width: 480px) {
  .concept-title {
    font-size: 2.5rem;
  }
  .showcase-container {
    flex-direction: column-reverse;
  }
  .showcase-info,
  .showcase-image {
    width: 100%;
  }
  .showcase-image {
    margin-bottom: 2rem;
  }
}
/* MVV Hero Section - Centered Layout (v2.5) */
.mvv-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  /* Full viewport height */
  background-image: url("/assets/images/hero_bg_v2.jpg") !important;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Center Vertically */
  align-items: center;
  /* Center Horizontally */
  text-align: center;
  color: #fff;
  padding: 0 2rem;
  margin-bottom: 0;
}

.mvv-hero::before {
  display: none;
}

.mvv-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  /* Essential for centering */
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Enforce horizontal centering of children */
  justify-content: center;
  animation: fadeIn 1.5s ease-out;
  background: rgba(255, 255, 255, 0);
}

.mvv-tag {
  display: block;
  font-size: 1.1rem;
  color: var(--accent-gold);
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 0 4px rgba(0, 0, 0, 0.6);
  text-transform: uppercase;
}

.mvv-title {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 22rem;
  /* Large gap to reveal product in middle */
  color: #333;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  /* Keep on one line for PC */
}

/* Centered Grid for Vision & Value */
.mvv-grid {
  display: flex;
  justify-content: center;
  gap: 5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.mvv-item {
  text-align: center;
  min-width: 220px;
}

.mvv-item h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--accent-gold);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
  letter-spacing: 0.1em;
}

.mvv-item p {
  font-size: 1rem;
  color: #333;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
  font-weight: 600;
  line-height: 1.6;
  white-space: nowrap;
}

/* Responsive Scaling to prevent Cut-off */
@media (max-width: 1300px) {
  .mvv-content {
    max-width: 90%;
    /* Ensure margins on sides */
  }
  .mvv-title {
    font-size: 2.5rem;
  }
  .mvv-grid {
    gap: 3rem;
  }
}
@media (max-width: 1000px) {
  .mvv-title {
    font-size: 2.2rem;
    margin-bottom: 14rem;
  }
  .mvv-item h3 {
    font-size: 1.1rem;
  }
  .mvv-item p {
    font-size: 0.9rem;
  }
}
@media (max-width: 768px) {
  .mvv-title {
    font-size: 2rem;
    white-space: normal;
    margin-bottom: 10rem;
  }
  .mvv-grid {
    flex-direction: column;
    gap: 2.5rem;
  }
  .mvv-item p {
    white-space: normal;
  }
}
/* ==== MVV Premium Animations & Visuals (v2.2) ==== */
/* Update Hero Background */
/* Update Hero Background */
/* Update Hero Background */
.mvv-hero {
  background-image: url("/assets/images/hero_bg_v2.jpg") !important;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

/* Enhancing Background with Pseudo-element for Animation */
.mvv-hero::before {
  content: "";
  position: absolute;
  top: -5%;
  left: -5%;
  width: 110%;
  height: 110%;
  background: inherit;
  background-size: cover;
  background-position: center;
  z-index: -1;
  animation: slowZoom 24s ease-in-out infinite alternate;
  pointer-events: none;
}

/* No Dark Overlay */
.mvv-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: none;
  /* Removed dark overlay */
  z-index: 0;
  pointer-events: none;
}

/* Scroll-Driven Fade Out State */
.mvv-hero.faded-out::after {
  opacity: 0;
}

@keyframes slowZoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.08);
  }
}
/* Fluffy Float Up Animation */
@keyframes floatUpSoft {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}
/* Initial Text State (Visible via Animation) */
.mvv-content > * {
  /* Re-enable entry animation for "Movement" request */
  animation: floatUpSoft 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  opacity: 0;
  /* Start hidden for animation */
}

/* When Faded Out (Scroll Down) */
/* When Faded Out (Scroll Down) - Natural Smoke Dissipation */
.mvv-hero.faded-out .mvv-content > * {
  opacity: 0;
  transform: translateY(-80px) scale(1.05);
  /* Rise slowly like smoke */
  filter: blur(15px);
  /* Soft diffusion */
  /* Fade out over 10 seconds uniformly */
  transition: opacity 10s ease, transform 10s ease-out, filter 10s ease;
  animation: none;
}

/* Staggered Delays for Entry */
.mvv-content .mvv-label:first-child {
  animation-delay: 0.2s;
}

.mvv-content .mvv-title {
  animation-delay: 0.5s;
}

.mvv-grid {
  animation-delay: 0.8s;
}

/* 2. Main Title (Mission) */
/* Optimized for Vivid Background (No Overlay) */
.mvv-content .mvv-title {
  color: #ffffff;
  /* White text */
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.5);
  /* Stronger Shadow for contrast */
}

/* 3. Vision & Value Grid */
.mvv-grid {
  /* Layout styling */
}

/* Specific Items in Grid */
.mvv-item h3 {
  /* Gold text with dark shadow */
  color: #d4af37;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.mvv-item p {
  /* White text with dark shadow */
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
  font-weight: 600;
}

/* Evidence Table Styles */
.evidence-table-wrapper {
  margin-bottom: 2rem;
  overflow-x: auto;
}

.evidence-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  font-size: 1rem;
}

.evidence-table th,
.evidence-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #eaeaea;
  vertical-align: middle;
}

.evidence-table th {
  text-align: left;
  font-weight: 700;
  color: #333;
  width: 50%;
}

.evidence-table td {
  color: #111;
  font-weight: 600;
  width: 50%;
}

.evidence-check {
  color: var(--accent-gold);
  margin-right: 8px;
  font-size: 1.2em;
}

/* About Page History Visuals */
/* History Section Side-by-Side Layout */
.history-row {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #f0f0f0;
}

.history-row:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.history-img-col {
  flex: 0 0 40%;
  /* Image takes 40% width */
  max-width: 350px;
  /* Don't get too huge */
}

.history-text-col {
  flex: 1;
}

.history-visual-side {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  display: block;
  transition: transform 0.3s ease;
}

.history-visual-side:hover {
  transform: translateY(-5px);
}

/* Mobile Responsive for History */
@media (max-width: 768px) {
  .history-row {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    text-align: left;
  }
  .history-img-col {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    margin-bottom: 1rem;
  }
  .history-visual-side {
    max-height: 250px;
    object-fit: contain;
    background: #f9f9f9;
    /* Fallback */
  }
}
/* ==== Global Mobile Optimizations ==== */
@media (max-width: 768px) {
  /* Typography Scaling */
  html {
    font-size: 15px;
    /* Slightly smaller base font for fitting more content */
  }
  h1 {
    font-size: 1.8rem !important;
    /* Prevent huge headers */
    line-height: 1.3;
  }
  h2,
  .section-title {
    font-size: 1.6rem !important;
    margin-bottom: 1.5rem !important;
  }
  h3 {
    font-size: 1.3rem !important;
  }
  p,
  li {
    font-size: 1rem;
    line-height: 1.7;
    /* Readable line height */
    text-align: left;
    /* Ensure readability */
  }
  /* Layout Adjustments */
  .main {
    padding: 0;
  }
  section {
    padding: 3rem 5% !important;
    /* Reduce specific section padding */
  }
  /* Reset specific inline margins if needed (using important sparingly) */
  .concept-section {
    flex-direction: column !important;
    /* Force column stack */
    gap: 2rem !important;
  }
  .about-hero h1 {
    font-size: 2rem !important;
  }
}