@font-face {
  font-family: "Inter";
  src: url("font/Inter-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("font/Inter-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Added overflow-x: hidden to lock horizontal scrolling */
html, body {
  overflow-x: hidden;
  width: 100%;
}

html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

body {
  min-height: 100vh;
  background: #F7F5F2;
  font-family: "Inter", Arial, sans-serif;
  color: #111111;
}

body.menu-open {
  overflow: hidden;
}

h1, h2, h3, h4, .brand-statement, .footer-logo-text {
  font-family: "Playfair Display", serif !important;
  font-weight: 400 !important;
  font-style: italic;
}

.not-italic {
  font-style: normal !important;
}

/* Added overflow-x: hidden to absolutely prevent elements from breaking layout */
.page-shell {
  width: 100%;
  min-height: 100vh;
  padding: 12px;
  background: #F7F5F2;
  overflow-x: hidden; 
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

.hero-section {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 24px);
  overflow: hidden;
  border-radius: 17px;
  background: #101010; 
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; 
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(16, 16, 16, 0.2); 
  z-index: 2;
  pointer-events: none;
}

.site-header {
  position: fixed;
  top: 12px;
  left: 12px;
  width: calc(100% - 24px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 33px 36px;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  background: transparent;
  border-radius: 17px 17px 0 0;
}

.site-header.is-scrolled {
  padding: 16px 36px;
  background: rgba(16, 16, 16, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 17px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.hamburger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
  z-index: 1001;
}

.hamburger .bar {
  display: block;
  width: 100%;
  height: 2px;
  background: #ffffff;
  position: absolute;
  left: 0;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  border-radius: 2px;
}

.hamburger .bar:nth-child(1) { top: 0; }
.hamburger .bar:nth-child(2) { top: 9px; }
.hamburger .bar:nth-child(3) { top: 18px; }

.hamburger.is-active .bar:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
}

.hamburger.is-active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active .bar:nth-child(3) {
  transform: rotate(-45deg);
  top: 9px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 39px;
  flex-wrap: wrap;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.1;
}

.nav-links a span {
  position: relative;
  display: inline-block;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
}

.nav-links a span::after {
  content: attr(data-text);
  position: absolute;
  left: 120%;
  top: 0;
  color: #ffffff;
}

.nav-links a:hover span {
  transform: translateX(-120%);
}

.nav-links a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  background: #ffffff;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-links a:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

/* =========================================================================
   HOMEPAGE FLOATING SECTION NAVIGATION
   ========================================================================= */

.section-dot-nav {
  position: fixed;
  top: 50%;
  right: 32px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
  transform: translateY(-50%);
}

.section-dot-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 14px;
  min-height: 14px;
  text-decoration: none;
  outline: none;
}

.section-dot {
  position: relative;
  display: block;
  width: 11px;
  height: 11px;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background: #7AABAA;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.16),
    0 0 0 1px rgba(62, 77, 66, 0.12);
  transition:
    width 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.35s ease,
    border-color 0.35s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-dot-label {
  position: absolute;
  top: 50%;
  right: 25px;
  display: flex;
  align-items: center;
  min-height: 32px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(62, 77, 66, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  color: #ffffff;
  font-family: "Inter", Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(8px, -50%);
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-dot-link:hover .section-dot,
.section-dot-link:focus-visible .section-dot {
  width: 15px;
  height: 15px;
  background: #3e4d42;
  border-color: #ffffff;
  transform: scale(1.05);
}

.section-dot-link:hover .section-dot-label,
.section-dot-link:focus-visible .section-dot-label {
  opacity: 1;
  visibility: visible;
  transform: translate(0, -50%);
}

@media (max-width: 800px) {
  .section-dot-nav {
    display: none;
  }
}

.header-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-start-btn {
  min-width: auto !important;
  font-size: 14px !important;
  padding: 0 20px !important;
  min-height: 42px !important;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header.is-scrolled .header-start-btn {
  min-height: 38px !important;
  font-size: 12px !important;
}

.hero-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  align-items: end;
  gap: 40px;
  padding: 0 39px 0 28px;
}

.hero-description {
  max-width: 625px;
  color: rgba(255, 255, 255, 0.93);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.hero-main {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.hero-main h1 {
  color: #ffffff;
  font-size: clamp(58px, 5.9vw, 93px);
  line-height: 0.94;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.hero-main h2 {
  color: #ffffff;
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.14;
  max-width: 760px;
  margin-bottom: 15px;
}

.hero-buttons {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 9px;
  width: 100%;
}

.hero-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 47px;
  overflow: hidden;
  border-radius: 10px;
  padding: 0 26px;
  text-decoration: none;
  font-size: 17px;
  transition: border-color 0.35s ease, background 0.35s ease;
}

.hero-btn span {
  position: relative;
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  color: transparent;
}

.hero-btn span::before,
.hero-btn span::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  white-space: nowrap;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-btn span::before {
  transform: translateX(0);
}

.hero-btn span::after {
  transform: translateX(115%);
}

.hero-btn i {
  display: inline-flex;
  font-style: normal;
  font-size: 17px;
  line-height: 1;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-btn:hover span::before {
  transform: translateX(-115%);
}

.hero-btn:hover span::after {
  transform: translateX(0);
}

.hero-btn:hover i {
  transform: translate(6px, -6px) rotate(8deg);
}

.primary-btn {
  background: #ffffff;
  border: 1px solid #ffffff;
  color: #111111;
  min-width: 220px;
}

.primary-btn span::before,
.primary-btn span::after {
  color: #111111;
}

.primary-btn:hover {
  background: #F7F5F2; 
  border-color: #F7F5F2;
}

.secondary-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.88);
  color: #ffffff;
  min-width: 353px;
}

.secondary-btn span::before,
.secondary-btn span::after {
  color: #ffffff;
}

.secondary-btn:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
}

.outline-btn {
  background: transparent;
  border: 1px solid #7AABAA; 
  color: #7AABAA; 
}

.outline-btn span::before,
.outline-btn span::after {
  color: #7AABAA;
}

.outline-btn:hover {
  background: #Edf5f5; 
  border-color: #7AABAA;
}

.teal-btn {
  background: #7AABAA; 
  border: 1px solid #7AABAA;
  color: #ffffff;
}

.teal-btn span::before,
.teal-btn span::after {
  color: #ffffff;
}

.teal-btn:hover {
  background: #8BBBBB; 
  border-color: #8BBBBB;
}

.hero-section.is-loaded .nav-links a,
.hero-section.is-loaded .header-start-btn,
.hero-section.is-loaded .hero-description,
.hero-section.is-loaded .hero-main h1,
.hero-section.is-loaded .hero-main h2,
.hero-section.is-loaded .hero-buttons {
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.problem-section {
  width: 100%;
  background: #F7F5F2; 
  color: #050505;
  padding: 100px 4vw 100px;
}

.problem-inner {
  width: 100%;
  max-width: 1700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center; 
}

.problem-content-new {
  width: 100%;
  max-width: 1200px;
  text-align: left;
  margin-bottom: 60px;
}

.problem-content-new h2 {
  color: #3e4d42; 
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.15;
  margin-bottom: 30px;
  text-wrap: balance;
}

.problem-texts-new {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.problem-texts-new p {
  color: #333333;
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 400;
  line-height: 1.65;
}

.problem-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 50px;
  width: 100%;
  max-width: 1200px; 
}

.problem-image-card {
  width: 100%;
  aspect-ratio: 1.5;
  overflow: hidden;
  border-radius: 16px;
  background: #99CBC7;
}

.problem-image-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.problem-image-card:hover img {
  transform: scale(1.035);
}

.problem-closing-wrapper {
  width: 100%;
  max-width: 1200px;
  text-align: left;
  margin-bottom: 40px; 
}

.problem-closing-new {
  color: #111111;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.5;
}

.guide-section {
  position: relative;
  width: 100%;
  min-height: 75vh; 
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('img/guide/img1.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column; 
  justify-content: center; /* Enforces vertical center */
  padding: 50px 4vw 60px; 
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 40px;
}

.guide-inner {
  width: 100%;
  max-width: 1700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  flex: 1; 
  justify-content: center; /* Enforces vertical center */
}

.guide-content-new {
  width: 100%;
  max-width: 800px; 
  text-align: left;
  margin-top: auto;
  margin-bottom: auto;
}

.guide-content-new h2 {
  color: #ffffff; 
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.15;
  margin-bottom: 30px;
  text-wrap: balance;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5); 
}

.guide-texts-new {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.guide-texts-new p {
  color: #ffffff; 
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 500;
  line-height: 1.65;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6); 
}

.ways-section {
  width: 100%;
  background: #ffffff; 
  padding: 100px 4vw;
}

.ways-inner {
  width: 100%;
  max-width: 1700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ways-header {
  width: 100%;
  max-width: 1700px; 
  text-align: left;
  margin-bottom: 60px;
}

.ways-header h2 {
  color: #3e4d42; 
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.15;
  text-wrap: balance;
}

.ways-grid {
  width: 100%;
  max-width: 1700px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.ways-card {
  background: #F7F5F2; 
  border: 1px solid #7AABAA; 
  border-radius: 16px;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.ways-card:hover {
  transform: translateY(-4px);
  border-color: #8BBBBB; 
}

.ways-card-content h4 {
  color: #7AABAA; 
  font-size: 24px;
  line-height: 1.3;
  margin-bottom: 16px;
}

.ways-card-content p {
  color: #333333;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.ways-card-content em {
  font-style: italic;
  font-weight: 700;
  color: #7AABAA; 
}

.ways-card-link {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ways-btn {
  width: 100%;
}

.mission-section {
  width: 100%;
  background: #F7E6E6; 
  padding: 100px 0; 
  text-align: center;
}

.mission-inner {
  width: 100%;
  max-width: 1000px; 
  margin: 0 auto;
  padding: 0 4vw;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mission-content h2 {
  color: #3e4d42; 
  font-size: clamp(36px, 4.5vw, 58px);
  line-height: 1.15;
  margin-bottom: 40px;
  text-wrap: balance;
}

.mission-texts {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: left;
}

.mission-texts p {
  color: #333333;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.65;
}

.mission-texts p em {
  font-style: italic;
  font-weight: 600;
  color: #111111; 
}

.mission-media {
  width: 100%;
  position: relative;
  overflow: hidden;
  padding: 40px 0;
  margin-top: 60px; 
}

.mission-media::before,
.mission-media::after {
  content: "";
  position: absolute;
  top: 0;
  width: 15%; 
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.mission-media::before {
  left: 0;
  background: linear-gradient(to right, #F7E6E6 0%, rgba(247, 230, 230, 0) 100%);
}

.mission-media::after {
  right: 0;
  background: linear-gradient(to left, #F7E6E6 0%, rgba(247, 230, 230, 0) 100%);
}

.mission-tiles {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee-left 25s linear infinite;
}

.mission-tiles:hover {
  animation-play-state: paused;
}

@keyframes marquee-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 12px)); } 
}

.mission-item {
  width: clamp(240px, 20vw, 320px);
  flex-shrink: 0;
}

.mission-tile {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5; 
  background: rgba(255, 255, 255, 0.4); 
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  transition: transform 0.5s ease;
  cursor: pointer;
  text-decoration: none;
}

.mission-tile:hover {
  transform: scale(1.02);
  background: rgba(255, 255, 255, 0.6);
}

.mission-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ig-icon {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 24px;
  height: 24px;
  z-index: 2;
  filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.25));
}

/* =========================================================================
   TRANSFORMATION SECTION
   ========================================================================= */

.transformation-section {
  width: 100%;
  background: radial-gradient(
    circle at center top,
    #F7E6E6 0%,
    #F7F5F2 60%
  );
  padding: 120px 4vw;
}

.transformation-inner {
  width: 100%;
  max-width: 1700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

/* Editorial introduction */
.transformation-intro {
  width: 100%;
  max-width: 1050px;
  margin: 0 auto 64px;
  text-align: left;
}

.transformation-intro h2 {
  color: #3e4d42;
  font-size: clamp(38px, 4.6vw, 66px);
  line-height: 1.08;
  margin-bottom: 24px;
  text-wrap: balance;
}

.transformation-intro-note {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  color: #5d5d5d;
  font-family: "Inter", Arial, sans-serif;
  font-size: clamp(15px, 1.15vw, 18px);
  font-weight: 400;
  line-height: 1.6;
  text-align: center;
  text-wrap: balance;
}

/* =========================================================================
   EDITORIAL IMAGE COMPOSITION
   ========================================================================= */

.transformation-gallery {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(7, clamp(72px, 5.5vw, 108px));
  gap: 18px;
  width: 100%;
  height: auto;
  margin: 0 auto 80px;
  isolation: isolate;
}

.transformation-shot {
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  margin: 0;
}

.transformation-shot-media {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #EDE9E4;
  border: 1px solid rgba(62, 77, 66, 0.1);
  box-shadow:
    0 24px 60px rgba(62, 77, 66, 0.08),
    0 5px 18px rgba(62, 77, 66, 0.04);
}

.transformation-shot-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.38);
  pointer-events: none;
}

.transformation-shot img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition:
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.transformation-shot:hover img {
  transform: scale(1.045);
  filter: saturate(1.04);
}

.transformation-shot-index {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 26px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(247, 245, 242, 0.74);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #3e4d42;
  font-family: "Inter", Arial, sans-serif;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.12em;
  transition:
    background 0.35s ease,
    color 0.35s ease;
}

.transformation-shot:hover .transformation-shot-index {
  background: #7AABAA;
  color: #ffffff;
}

/* Large visual anchor */
.transformation-shot-1 {
  grid-column: 1 / 6;
  grid-row: 1 / 5;
}

.transformation-shot-1 .transformation-shot-media {
  border-radius: 28px 8px 28px 28px;
}

.transformation-shot-1 .transformation-shot-index {
  left: 16px;
  bottom: 16px;
}

/* Elevated portrait moment */
.transformation-shot-2 {
  grid-column: 6 / 9;
  grid-row: 1 / 3;
}

.transformation-shot-2 .transformation-shot-media {
  border-radius: 8px 26px 26px 26px;
}

.transformation-shot-2 .transformation-shot-index {
  right: 14px;
  top: 14px;
}

/* Upper-right cinematic frame */
.transformation-shot-3 {
  grid-column: 9 / 13;
  grid-row: 1 / 4;
}

.transformation-shot-3 .transformation-shot-media {
  border-radius: 28px 28px 8px 28px;
}

.transformation-shot-3 .transformation-shot-index {
  right: 14px;
  bottom: 14px;
}

/* Lower-left supporting frame */
.transformation-shot-4 {
  grid-column: 1 / 4;
  grid-row: 5 / 8;
}

.transformation-shot-4 .transformation-shot-media {
  border-radius: 24px 24px 24px 8px;
}

.transformation-shot-4 .transformation-shot-index {
  left: 14px;
  top: 14px;
}

/* Center bridge frame */
.transformation-shot-5 {
  grid-column: 4 / 8;
  grid-row: 5 / 8;
}

.transformation-shot-5 .transformation-shot-media {
  border-radius: 26px 8px 26px 26px;
}

.transformation-shot-5 .transformation-shot-index {
  right: 14px;
  bottom: 14px;
}

/* Lower-right finale */
.transformation-shot-6 {
  grid-column: 8 / 13;
  grid-row: 4 / 8;
}

.transformation-shot-6 .transformation-shot-media {
  border-radius: 8px 28px 28px 28px;
}

.transformation-shot-6 .transformation-shot-index {
  left: 14px;
  bottom: 14px;
}

/* =========================================================================
   TRANSFORMATION COPY
   ========================================================================= */

.transformation-content {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.transformation-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.transformation-copy p {
  color: #333333;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.65;
}

.transformation-copy p em.closing-blue {
  color: #7AABAA;
  font-family: "Playfair Display", serif;
  font-size: 1.1em;
  font-style: italic;
  font-weight: 400;
}

.transformation-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.testimonials-section {
  width: 100%;
  background: #ffffff;
  padding: 120px 4vw;
}

.testimonials-inner {
  width: 100%;
  max-width: 1700px;
  margin: 0 auto;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 60px;
}

.testimonials-header h2 {
  color: #3e4d42;
  font-size: clamp(34px, 4vw, 52px);
  margin-bottom: 16px;
  text-wrap: balance;
}

.testimonials-header p {
  color: #7AABAA;
  font-size: clamp(18px, 1.8vw, 22px);
  font-family: "Playfair Display", serif;
  font-style: italic;
}

.testimonials-masonry {
  column-count: 3;
  column-gap: 24px;
}

.testimonial-card {
  background: #F7F5F2;
  border: 1px solid #Edf5f5;
  border-radius: 16px;
  padding: 40px 30px;
  margin-bottom: 24px;
  break-inside: avoid;
  page-break-inside: avoid;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.04);
  border-color: #7AABAA;
}

.quote-icon {
  font-family: "Playfair Display", serif;
  font-size: 80px;
  color: #F7E6E6; 
  line-height: 1;
  position: absolute;
  top: 10px;
  left: 20px;
  z-index: 0;
  pointer-events: none;
}

.quote-text {
  position: relative;
  z-index: 1;
  font-size: 16px;
  line-height: 1.65;
  color: #333333;
  margin-bottom: 20px;
}

.quote-author {
  position: relative;
  z-index: 1;
  font-size: 14px;
  font-weight: 600;
  color: #7AABAA;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.site-footer {
  width: 100%;
  background: #7AABAA; 
  color: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  padding: 0;
}

.footer-inner {
  width: 100%;
  max-width: 1700px;
  margin: 0 auto;
  padding: 78px 4vw 30px;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-end; 
  flex-wrap: wrap;
  gap: 60px;
  padding-bottom: 76px;
}

.footer-content-left {
  display: flex;
  flex-direction: column;
  gap: 60px;
  max-width: 880px;
}

.brand-statement {
  color: #ffffff;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.1;
  margin-bottom: 0;
}

.footer-nav-wrap {
  display: flex;
  flex-direction: column;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 40px;
}

.footer-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(20px, 2vw, 32px);
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-nav a:hover {
  color: #ffffff;
  transform: translateX(8px);
}

.footer-content-right {
  text-align: right;
  margin-left: auto; 
}

.footer-logo-text {
  font-size: clamp(40px, 5vw, 68px);
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 26px;
}

.footer-bottom p,
.footer-bottom a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  text-decoration: none;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.footer-bottom a:hover {
  color: #ffffff;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================================
   MEDIA QUERIES
   ========================================================================= */

@media (max-width: 1200px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .hero-main {
    align-items: flex-start;
    text-align: left;
  }
  .hero-buttons {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .ways-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .testimonials-masonry {
    column-count: 2;
  }
}

@media (max-width: 900px) {
  .problem-section {
    padding: 60px 28px;
  }
  .problem-images {
    grid-template-columns: 1fr;
    margin-bottom: 40px;
  }
  .guide-section {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('img/guide/img1.png');
    background-size: cover;
    background-position: 65% center; 
    padding: 60px 28px;
    min-height: auto;
  }
  /* Removed breaking override to ensure guide content stays vertically centered */
  .guide-content-new {
    margin-top: auto;
    margin-bottom: auto;
  }
  .ways-section {
    padding: 80px 28px;
  }
  .mission-section {
    padding: 80px 0;
  }
  .transformation-section {
    padding: 80px 28px;
  }

  .transformation-intro {
    margin-bottom: 48px;
  }

  .transformation-intro-note {
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
  }

  .transformation-gallery {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: repeat(8, 92px);
    gap: 14px;
    height: auto;
    margin-bottom: 64px;
  }

  .transformation-shot {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    height: 100%;
  }

  .transformation-shot-1 {
    grid-column: 1 / 5;
    grid-row: 1 / 4;
  }

  .transformation-shot-2 {
    grid-column: 5 / 7;
    grid-row: 1 / 3;
  }

  .transformation-shot-3 {
    grid-column: 1 / 4;
    grid-row: 4 / 6;
  }

  .transformation-shot-4 {
    grid-column: 4 / 7;
    grid-row: 3 / 6;
  }

  .transformation-shot-5 {
    grid-column: 1 / 3;
    grid-row: 6 / 8;
  }

  .transformation-shot-6 {
    grid-column: 3 / 7;
    grid-row: 6 / 9;
  }
  .testimonials-section {
    padding: 80px 28px;
  }
  .footer-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 50px;
  }
  .footer-content-left {
    gap: 40px;
  }
  .footer-content-right {
    text-align: right;
    align-self: flex-end;
  }
  .footer-nav {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 800px) {
  .page-shell {
    padding: 8px;
  }
  .hero-section {
    min-height: calc(100vh - 16px);
    border-radius: 15px;
  }
  
  .site-header {
    top: 8px;
    left: 8px;
    width: calc(100% - 16px);
    padding: 16px 20px;
    gap: 0;
    flex-wrap: nowrap;
  }
  .site-header.is-scrolled {
    padding: 14px 20px;
  }
  
  .hamburger {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(16, 16, 16, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    font-size: 24px;
    font-weight: 400;
  }
  
  .hero-content {
    position: relative;
    min-height: calc(100vh - 120px);
    padding: 120px 22px 27px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* FIXED: Now centers hero text vertically on mobile */
  }
  
  .hero-main {
    order: 1;
    width: 100%;
  }
  
  .hero-description {
    order: 2;
    margin-top: 35px;
  }

  .hero-main h1 {
    font-size: clamp(50px, 13vw, 78px);
  }
  .hero-main h2 {
    font-size: 21px;
  }
  .hero-buttons {
    width: 100%;
  }
  .hero-buttons .hero-btn {
    width: 100%;
    min-width: 0;
  }
  .transformation-actions {
    width: 100%;
  }
  .site-footer {
    border-radius: 14px;
  }
  .footer-inner {
    padding: 40px 22px 20px; 
  }
  .footer-main {
    padding-bottom: 30px; 
    gap: 30px;
  }
  .footer-nav {
    grid-template-columns: 1fr 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .testimonials-masonry {
    column-count: 1;
  }
}

@media (max-width: 520px) {
  .site-header {
    /* FIXED: Removed conflicting align-items rule to ensure vertical centering */
    align-items: center; 
  }
  .header-right {
    gap: 12px;
  }
  .header-start-btn {
    padding: 0 14px !important;
    font-size: 13px !important;
  }
  .hero-main h1 {
    font-size: 48px;
  }
  .hero-main h2 {
    font-size: 19px;
  }
  .problem-section {
    padding: 40px 14px 50px;
  }
  .problem-content-new h2, .guide-content-new h2, .transformation-content h2, .testimonials-header h2 {
    font-size: 30px;
    margin-bottom: 20px;
  }
  .problem-texts-new p, .guide-texts-new p, .transformation-copy p {
    font-size: 15px;
  }
  .guide-section {
    padding: 30px 14px 50px;
  }
  .ways-section {
    padding: 60px 14px;
  }
  .ways-grid {
    grid-template-columns: 1fr;
  }
  .mission-section {
    padding: 60px 0;
  }
  .mission-content h2 {
    font-size: 28px;
  }
  .transformation-section {
    padding: 60px 14px;
  }

  .transformation-intro {
    margin-bottom: 36px;
  }

  .transformation-intro h2 {
    font-size: 34px;
    line-height: 1.1;
    margin-bottom: 18px;
  }

  .transformation-intro-note {
    font-size: 14px;
    line-height: 1.55;
  }

  .transformation-gallery {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    height: auto;
    margin-bottom: 48px;
  }

  .transformation-shot {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    height: auto;
    grid-column: auto;
    grid-row: auto;
  }

  .transformation-shot-1 {
    grid-column: 1 / -1;
  }

  .transformation-shot-1 .transformation-shot-media {
    aspect-ratio: 16 / 10;
    border-radius: 20px 8px 20px 20px;
  }

  .transformation-shot-2 .transformation-shot-media,
  .transformation-shot-3 .transformation-shot-media,
  .transformation-shot-4 .transformation-shot-media,
  .transformation-shot-5 .transformation-shot-media {
    aspect-ratio: 4 / 5;
  }

  .transformation-shot-6 {
    grid-column: 1 / -1;
  }

  .transformation-shot-6 .transformation-shot-media {
    aspect-ratio: 16 / 9;
    border-radius: 8px 20px 20px 20px;
  }

  .transformation-shot-index {
    min-width: 34px;
    height: 24px;
    padding: 0 8px;
    font-size: 9px;
  }
  .testimonials-section {
    padding: 60px 14px;
  }
  .footer-inner {
    padding: 30px 18px 20px; 
  }
  .footer-main {
    padding-bottom: 24px;
    gap: 24px;
  }
  .brand-statement {
    font-size: 26px;
  }
  .footer-nav {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .footer-nav a {
    font-size: 22px;
  }
  .footer-bottom-links {
    flex-wrap: wrap;
  }
}
