@charset "UTF-8";

/* ============================================================
   TYPE-P : FLAGSHIP PREMIUM MODEL (A案: 重厚・信頼型)
============================================================ */

:root {
  /* Color Palette */
  --bg-dark: #0A1128;      /* Deep Navy */
  --bg-darker: #050814;    /* Darker Navy for contrast sections */
  --bg-light: #F8F9FA;     /* Off White for light sections */
  --text-main: #E2E8F0;    /* Light gray text on dark */
  --text-dark: #1A202C;    /* Dark text on light */
  --accent-gold: #D4AF37;  /* Premium Gold */
  --accent-gold-dim: rgba(212, 175, 55, 0.3);

  /* Typography */
  --font-serif: 'Shippori Mincho', serif;
  --font-sans: 'Noto Sans JP', sans-serif;
  --font-en: 'Inter', sans-serif;

  /* Spacing & Easing */
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-dark);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* Typography Utilities */
.ff-serif { font-family: var(--font-serif); }
.ff-en { font-family: var(--font-en); }
.text-gold { color: var(--accent-gold); }
.text-dark { color: var(--text-dark); }
.fw-300 { font-weight: 300; }
.fw-500 { font-weight: 500; }
.fw-700 { font-weight: 700; }

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.section-padding {
  padding: 160px 0;
}
@media (max-width: 768px) {
  .section-padding { padding: 100px 0; }
}

.bg-darker {
  background-color: var(--bg-darker);
}

/* Visibility Utilities */
@media (max-width: 768px) {
  .pc-only { display: none !important; }
}
@media (min-width: 769px) {
  .sp-only { display: none !important; }
}

/* ============================================================
   Header
============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 30px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  transition: all 0.4s var(--ease-smooth);
}
.header.scrolled {
  background-color: rgba(10, 17, 40, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 5%;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo {
  font-family: var(--font-en);
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  color: #fff;
  font-weight: 300;
}
.logo span {
  font-weight: 700;
  color: var(--accent-gold);
}

.entry-btn {
  background-color: var(--accent-gold);
  color: #000;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  padding: 12px 30px;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.entry-btn:hover {
  background-color: #fff;
  transform: translateY(-2px);
}

/* ============================================================
   Hero (Cinematic FV)
============================================================ */
.hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-color: var(--bg-dark);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes slowZoom {
  0% { transform: scale(1.0); }
  100% { transform: scale(1.1); }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(10,17,40,0.85) 0%, rgba(10,17,40,0.3) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 10%;
}

.hero-subtitle {
  font-family: var(--font-en);
  color: var(--accent-gold);
  letter-spacing: 0.4em;
  font-size: 0.85rem;
  margin-bottom: 20px;
  display: block;
  opacity: 0;
  animation: fadeUp 1.2s var(--ease-smooth) 0.5s forwards;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  color: #fff;
  line-height: 1.2;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 1.2s var(--ease-smooth) 0.8s forwards;
}

.scroll-down {
  position: absolute;
  bottom: 40px;
  left: 10%;
  z-index: 2;
  font-family: var(--font-en);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 15px;
  opacity: 0;
  animation: fadeUp 1.2s var(--ease-smooth) 1.2s forwards;
}
.scroll-down::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background-color: var(--accent-gold);
}

/* ============================================================
   Section Titles
============================================================ */
.section-header {
  margin-bottom: 80px;
}
.section-header.center {
  text-align: center;
}
.sec-en {
  font-family: var(--font-en);
  font-size: 0.75rem;
  color: var(--accent-gold);
  letter-spacing: 0.3em;
  display: block;
  margin-bottom: 15px;
}
.sec-jp {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .sec-jp {
    font-size: 1.6rem;
  }
}
.sec-desc {
  color: #94a3b8;
  font-size: 0.95rem;
}

/* ============================================================
   Message Section
============================================================ */
.message-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 900px) {
  .message-grid { grid-template-columns: 1fr; gap: 40px; }
}

.msg-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.msg-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.msg-content p {
  color: #cbd5e1;
  margin-bottom: 30px;
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 2;
}
.msg-content strong {
  color: var(--accent-gold);
  font-weight: 500;
}
.msg-sign {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin-top: 40px;
  border-left: 2px solid var(--accent-gold);
  padding-left: 20px;
}

/* ============================================================
   Works (施工実績)
============================================================ */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 900px) {
  .works-grid { grid-template-columns: 1fr; }
}

.work-item {
  background: var(--bg-dark);
  border: 1px solid rgba(255,255,255,0.05);
  transition: transform 0.4s var(--ease-smooth);
}
.work-item:hover {
  transform: translateY(-10px);
  border-color: rgba(212, 175, 55, 0.3);
}

.work-img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.work-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
}
.work-item:hover .work-img img {
  transform: scale(1.05);
}

.work-text {
  padding: 30px;
}
.work-text h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #fff;
}
.work-text p {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.6;
}

/* ============================================================
   Numbers Section
============================================================ */
.numbers-wrap {
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.num-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
@media (max-width: 900px) {
  .num-grid { grid-template-columns: repeat(2, 1fr); gap: 60px 40px; }
}
@media (max-width: 480px) {
  .num-grid { grid-template-columns: 1fr; }
}

.num-item {
  position: relative;
}
.num-val {
  font-family: var(--font-en);
  font-size: 4.5rem;
  font-weight: 300;
  color: var(--accent-gold);
  line-height: 1;
  display: block;
}
.num-val span {
  font-size: 1.5rem;
  margin-left: 5px;
}
.num-label {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: #94a3b8;
  margin-top: 15px;
  display: block;
  letter-spacing: 0.1em;
}

/* ============================================================
   Environment & Benefits
============================================================ */
.env-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
@media (max-width: 768px) {
  .env-grid { grid-template-columns: 1fr; }
}

.env-card {
  background: var(--bg-darker);
  padding: 40px;
  border-left: 2px solid transparent;
  transition: all 0.3s ease;
}
.env-card:hover {
  border-left-color: var(--accent-gold);
  background: rgba(255,255,255,0.02);
}

.env-card i {
  font-size: 2rem;
  color: var(--accent-gold);
  margin-bottom: 20px;
}
.env-card h3 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 15px;
}
.env-card p {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================================
   Daily Schedule (Timeline)
============================================================ */
.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 100px;
  height: 100%;
  width: 1px;
  background: rgba(255,255,255,0.1);
}
@media (max-width: 600px) {
  .timeline::before { left: 20px; }
}

.tl-item {
  position: relative;
  display: flex;
  margin-bottom: 50px;
}
.tl-item:last-child {
  margin-bottom: 0;
}

.tl-time {
  font-family: var(--font-en);
  font-size: 1.2rem;
  color: var(--accent-gold);
  width: 100px;
  flex-shrink: 0;
  padding-top: 3px;
}
@media (max-width: 600px) {
  .tl-time { width: auto; position: absolute; left: 40px; top: -25px; font-size: 1rem; }
}

.tl-content {
  flex-grow: 1;
  padding-left: 40px;
  position: relative;
}
@media (max-width: 600px) {
  .tl-content { padding-left: 40px; padding-top: 10px; }
}

.tl-content::before {
  content: '';
  position: absolute;
  top: 8px;
  left: -4px; /* Align with the line (100px left) */
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-gold);
}
@media (max-width: 600px) {
  .tl-content::before { left: 16px; top: 15px; } /* Adjust for mobile line position */
}

.tl-content h4 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 10px;
}
.tl-content p {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================================
   Interviews
============================================================ */
.interview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
@media (max-width: 900px) {
  .interview-grid { grid-template-columns: 1fr; }
}

.int-card {
  position: relative;
  display: block;
  overflow: hidden;
}
.int-img {
  aspect-ratio: 3/4;
  width: 100%;
  overflow: hidden;
}
.int-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-smooth);
}
.int-card:hover .int-img img {
  transform: scale(1.05);
}

.int-info {
  background: var(--bg-darker);
  padding: 25px 20px;
  transform: translateY(-40px);
  width: 90%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  border-bottom: 2px solid transparent;
  transition: all 0.4s ease;
}
.int-card:hover .int-info {
  border-bottom-color: var(--accent-gold);
}

.int-job {
  font-family: var(--font-en);
  font-size: 0.7rem;
  color: var(--accent-gold);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  display: block;
}
.int-catch {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: #fff;
  line-height: 1.4;
}

/* ============================================================
   Requirements (Table)
============================================================ */
.req-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.req-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.req-table th,
.req-table td {
  padding: 30px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.req-table th {
  width: 200px;
  font-weight: 500;
  color: #fff;
  vertical-align: top;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .req-table th { display: block; width: 100%; padding-bottom: 10px; border-bottom: none; }
  .req-table td { display: block; width: 100%; padding-top: 0; }
}

.req-table td {
  color: #cbd5e1;
  font-weight: 300;
  line-height: 1.8;
}
.req-table td strong {
  color: var(--accent-gold);
  font-weight: 500;
}

.salary-list {
  list-style: none;
}
.salary-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 15px;
}
.salary-list li::before {
  content: '-';
  position: absolute;
  left: 0;
  color: var(--accent-gold);
}
.salary-list li:last-child {
  margin-bottom: 0;
}

/* ============================================================
   Preloader (Loading Screen)
============================================================ */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-dark);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 1s var(--ease-smooth), visibility 1s;
}
.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}
.preloader-logo {
  font-family: var(--font-en);
  font-size: 2rem;
  letter-spacing: 0.3em;
  color: #fff;
  font-weight: 300;
  opacity: 0;
  animation: logoFadeIn 2s var(--ease-smooth) forwards;
}
.preloader-logo span {
  font-weight: 700;
  color: var(--accent-gold);
}
@keyframes logoFadeIn {
  0% { opacity: 0; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1); }
  100% { opacity: 1; transform: scale(1); }
}

/* ============================================================
   Custom Cursor
============================================================ */
@media (pointer: fine) {
  .cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 12px;
    height: 12px;
    background-color: var(--accent-gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s, opacity 0.3s;
    mix-blend-mode: difference;
  }
  .cursor.hover {
    width: 60px;
    height: 60px;
    background-color: rgba(212, 175, 55, 0.4);
    mix-blend-mode: normal;
  }
  /* Hide default cursor on body when custom cursor is active */
  body {
    cursor: none;
  }
  a, button, .faq-q {
    cursor: none;
  }
}

/* ============================================================
   Infinite Marquee
============================================================ */
.marquee-section {
  width: 100%;
  overflow: hidden;
  background-color: var(--accent-gold);
  padding: 15px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.marquee-inner {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-text {
  font-family: var(--font-en);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--bg-dark);
  letter-spacing: 0.1em;
  white-space: nowrap;
  padding-right: 50px;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   FAQ (Accordion)
============================================================ */
.faq-wrap {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 30px 0;
  background: none;
  border: none;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 1.1rem;
  text-align: left;
  outline: none;
}
.q-icon {
  font-family: var(--font-en);
  color: var(--accent-gold);
  font-size: 1.5rem;
  font-weight: 600;
  margin-right: 20px;
}
.q-text {
  flex-grow: 1;
  padding-right: 20px;
  line-height: 1.5;
}
.q-toggle {
  position: relative;
  width: 20px;
  height: 20px;
}
.q-toggle::before, .q-toggle::after {
  content: '';
  position: absolute;
  background-color: var(--accent-gold);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease-smooth);
}
.q-toggle::before { width: 100%; height: 2px; }
.q-toggle::after { height: 100%; width: 2px; }
.faq-item.open .q-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-smooth);
}
.faq-a p {
  padding: 0 0 30px 45px;
  color: #cbd5e1;
  line-height: 1.8;
}

/* ============================================================
   The New 4K Promise
============================================================ */
.promise-wrap {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 100px 5%;
  background: linear-gradient(rgba(10, 17, 40, 0.9), rgba(10, 17, 40, 0.9)), url('../images/promise_bg.webp') center/cover fixed no-repeat;
  margin: 0 auto;
}
.promise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
@media (max-width: 900px) {
  .promise-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}
@media (max-width: 600px) {
  .promise-grid { grid-template-columns: 1fr; }
}
.promise-item {
  text-align: center;
  background: rgba(255,255,255,0.02);
  padding: 40px 20px;
  border-radius: 4px;
  border-bottom: 2px solid transparent;
  transition: all 0.4s var(--ease-smooth);
}
.promise-item:hover {
  border-bottom-color: var(--accent-gold);
  transform: translateY(-5px);
  background: rgba(255,255,255,0.05);
}
.p-icon {
  font-family: var(--font-en);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 15px;
  line-height: 1;
}
.promise-item h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 15px;
}
.promise-item h3 span {
  font-family: var(--font-en);
  font-size: 0.8rem;
  color: #94a3b8;
  display: block;
  margin-top: 5px;
  letter-spacing: 0.1em;
}
.promise-item p {
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.6;
}

/* ============================================================
   Data Charts (拡張)
============================================================ */
.data-charts-wrap {
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px dashed rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.chart-item {
  width: 100%;
}
.chart-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 10px;
}
.chart-title {
  font-family: var(--font-sans);
  font-weight: 500;
  color: #fff;
  font-size: 1.1rem;
}
.chart-percent {
  font-family: var(--font-en);
  color: var(--accent-gold);
  font-size: 1.2rem;
  font-weight: 300;
}
.chart-percent .num-val {
  display: inline;
  font-size: 2.5rem;
}
.progress-bar {
  width: 100%;
  height: 6px;
  background-color: rgba(255,255,255,0.05);
  border-radius: 3px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background-color: var(--accent-gold);
  width: 0; /* Animated via JS/CSS if needed, but set inline for simplicity */
  transform-origin: left;
  animation: fillBar 2s var(--ease-smooth) forwards;
}
@keyframes fillBar {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* ============================================================
   Family Letter
============================================================ */
.family-section {
  background: url('../images/family_bg.webp') center/cover fixed no-repeat;
  position: relative;
}
.family-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(10, 17, 40, 0.95);
}
.family-letter {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--bg-light);
  padding: 80px;
  border-radius: 4px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  color: var(--text-dark);
}
@media (max-width: 768px) {
  .family-letter { padding: 40px 20px; }
}
.letter-header {
  text-align: center;
  margin-bottom: 50px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 30px;
}
.letter-header h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.letter-header span {
  font-family: var(--font-en);
  font-size: 0.8rem;
  color: var(--accent-gold);
  letter-spacing: 0.2em;
}
.letter-body p {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 2.2;
  color: #334155;
  margin-bottom: 30px;
  letter-spacing: 0.05em;
}
.letter-body strong {
  color: #0f172a;
  background: linear-gradient(transparent 70%, var(--accent-gold-dim) 0);
}
.letter-footer {
  font-family: var(--font-serif);
  text-align: right;
  margin-top: 60px;
  font-size: 1.2rem;
  color: var(--text-dark);
  line-height: 1.6;
}

/* ============================================================
   Interview Modals (Off-canvas)
============================================================ */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(5px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease-smooth);
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 600px;
  height: 100%;
  background-color: var(--bg-dark);
  z-index: 1001;
  overflow-y: auto;
  box-shadow: -10px 0 30px rgba(0,0,0,0.5);
  transition: right 0.5s var(--ease-smooth);
  border-left: 1px solid rgba(255,255,255,0.05);
}
.modal-panel.active {
  right: 0;
}

.modal-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: none; /* using custom cursor */
  transition: color 0.3s ease;
  z-index: 10;
}
.modal-close:hover {
  color: var(--accent-gold);
}

.modal-content {
  padding: 80px 40px 60px;
}
@media (max-width: 600px) {
  .modal-content { padding: 60px 20px 40px; }
}

.m-job {
  font-family: var(--font-en);
  font-size: 0.8rem;
  color: var(--accent-gold);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 15px;
}
.m-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 40px;
}
.m-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  margin-bottom: 40px;
  border-radius: 4px;
}
.m-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.m-qa {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.qa-block .q {
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 15px;
  font-size: 1.1rem;
}
.qa-block .a {
  color: #cbd5e1;
  line-height: 1.8;
  font-size: 0.95rem;
}

/* ============================================================
   Animations (Intersection Observer Classes)
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s var(--ease-smooth);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   Footer
============================================================ */
.footer {
  background-color: var(--bg-darker);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.05);
  text-align: center;
}
.footer-cta {
  margin-bottom: 60px;
}
.footer-cta h2 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.footer-cta p {
  color: #94a3b8;
  margin-bottom: 40px;
}
.btn-large {
  display: inline-block;
  background-color: var(--accent-gold);
  color: #000;
  font-family: var(--font-en);
  font-weight: 600;
  padding: 20px 60px;
  font-size: 1rem;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
}
.btn-large:hover {
  background-color: #fff;
}
.copy {
  font-family: var(--font-en);
  font-size: 0.7rem;
  color: #475569;
  letter-spacing: 0.1em;
}

/* ============================================================
   Global Navigation (Back to Top)
============================================================ */
.global-nav {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 999;
}
@media (max-width: 768px) {
  .global-nav {
    bottom: 20px;
    right: 20px;
  }
}
.nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-darker);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  transition: all 0.3s var(--ease-smooth);
  border: 2px solid var(--accent-gold);
  font-size: 1.2rem;
  cursor: pointer;
}
.nav-btn:hover {
  transform: translateY(-3px);
  background: var(--accent-gold);
  color: var(--bg-darker);
}
.to-top {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}
.to-top.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
