/* ===== FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=VT323&family=Caveat:wght@400;700&family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=Bilbo+Swash+Caps&family=Handjet:wght@300;400;600;700&family=Inter:wght@400;500;600&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --color-black: #000000;
  --color-white: #ffffff;
  --color-cream: #FFF5E1;
  --color-pink: #fd5594;
  --color-pink-light: #e88a96;
  --color-green-light: #d8ffd8;
  --color-purple: #7B2D8E;
  --color-purple-light: #9B4DCA;
  --color-cyan: #00CED1;
  --color-magenta: #FF00FF;
  --color-lime: #ADFF2F;

  --font-pixel: 'VT323', monospace;
  --font-handwritten: 'Caveat', cursive;
  --font-serif: 'Cormorant Garamond', serif;

  --transition-smooth: all 0.3s ease;

  /* Max width for layout consistency */
  --max-width: 1920px;
  --content-max-width: 1600px;
}

/* Reduce font-weight globally for pixel font */
[class*="__"] {
  font-weight: 400;
}

/* Make Handjet font lighter (reduce opacity) */
.about-me__label,
.about-me__covenant-title,
.about-contact__title,
.project__category,
.project__cta-btn,
.hero__welcome,
.hero__name,
.hero__title,
.philosophy__quote p {
  opacity: 0.8;
}

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

html {
  scroll-behavior: smooth;
}

/* Desktop layout - responsive, scales to viewport */
@media (min-width: 1025px) {
  html {
    width: 100%;
    max-width: 100%;
    /* Changed from 1920px - allows any desktop size */
    margin: 0 auto;
    overflow-x: hidden;
    overflow-y: auto;
  }

  body {
    width: 100%;
    max-width: 100%;
    /* Changed from 1920px */
    margin: 0 auto;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
  }
}

body {
  font-family: var(--font-serif);
  background-color: var(--color-black);
  color: var(--color-white);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Container wrapper for max-width layouts */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

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

ul {
  list-style: none;
}

/* ===== HEADER / NAVIGATION ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 74px;
  background: transparent;
}

.header .nav {
  max-width: var(--max-width);
  margin: 0 auto;
}

.header--scrolled {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  width: 60px;
  height: 100px;
  transition: transform 0.3s ease;
  z-index: 10;
}

.nav__logo:hover {
  transform: scale(1.05);
}

.nav__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav__menu {
  display: flex;
  gap: 50px;
}

.nav__link {
  font-family: var(--font-pixel);
  font-size: 36px;
  color: var(--color-white);
  letter-spacing: 2px;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-pink), var(--color-purple-light));
  transition: width 0.3s ease;
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__link--active {
  background: linear-gradient(180deg, var(--color-pink) 0%, var(--color-magenta) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav__divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  margin-top: 10px;
}

/* Mobile menu */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 10px;
  z-index: 10;
}

.nav__hamburger span {
  width: 30px;
  height: 3px;
  background: var(--color-white);
  transition: var(--transition-smooth);
}

/* ===== HOME SECTION 1: DoraChann Portfolio (Right Align) ===== */
.home-1 {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ===== HOME SECTION 2: WELCOME TO my Vietnameseland (Left Align) ===== */
.home-2 {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__wrapper {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  position: relative;
}

/* Animated canvas background */
.hero__canvas-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__canvas-bg canvas {
  width: 100% !important;
  height: 100% !important;
  opacity: 0.6;
  transform: scale(1.25);
  transform-origin: center center;
}

/* Hide hero background to show animated canvas */
.hero__bg {
  display: none;
}

.hero__content {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 106px;
  padding-top: 200px;
  position: relative;
  top: 110px;
  z-index: 2;
}

.hero__text {
  flex: 1;
}

.hero__welcome {
  font-family: var(--font-pixel);
  font-size: 120px;
  color: var(--color-white);
  line-height: 1;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
}

.hero__welcome span {
  display: block;
}

.hero__welcome .to {
  position: relative;
  right: -110px;
  display: inline;
  margin-right: 15px;
}

.hero__welcome .my {
  font-family: "Bilbo Swash Caps";
  font-size: 128px;
  font-style: normal;
  line-height: normal;
  position: relative;
  right: -120px;
  text-align: right;
  display: inline;
  color: var(--color-cream);
}

.hero__welcome .land {
  color: #FFF;
  position: relative;
  top: -25px;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  font-family: Handjet;
  font-size: 128px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
}

.hero__portfolio {
  text-align: right;
  position: relative;
  top: -800px;
  /* Nhích lên trên - tăng số âm để lên cao hơn */
}

.hero__name {
  color: #FFF;
  text-align: right;
  font-family: Handjet;
  font-size: 64px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.hero__name .chann {
  color: #FFF;
  font-family: Handjet;
  font-size: 64px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
}

.hero__title {
  color: #FFF;

  text-align: right;
  font-family: Handjet;
  font-size: 128px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;


}

.hero__title .fo {
  color: #FFF;
  font-family: "Bilbo Swash Caps";
  font-size: 128px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.hero__lotus {
  position: absolute;
  bottom: -20px;
  right: 33%;
  width: 400px;
  z-index: 4;
  animation: float 6s ease-in-out infinite;
}

.hero__lotus--small {
  right: 20%;
  width: 275px;
  animation-delay: -2s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

/* ===== PHILOSOPHY SECTION (HOME 2) ===== */
.philosophy {
  min-height: 1080px;
  /* Fixed height for 1920x1080 viewport */
  height: 1280px;
  /* Fixed height for desktop */
  padding: 0;
  display: flex;
  position: relative;
  background: var(--color-black);
  width: 100%;
  overflow: hidden;
  z-index: 0;
  /* Hide overflow for fixed viewport */
}

/* p5 background sketch for Philosophy */
#bg-canvas-philosophy {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

#bg-canvas-philosophy canvas {
  display: block;
  opacity: 0.2;
  /* Increased for visibility */
}

.philosophy__inner {
  max-width: var(--max-width);
  width: 100%;
  position: relative;
}

/* Language toggle button (flower on right side) - Desktop only */
.philosophy__lang-toggle {
  position: absolute;
  right: 100px;
  top: 55%;
  transform: translateY(-50%);
  width: 250px;
  height: 250px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.5s ease;
}

/* Reset for mobile - will be overridden in @media query */
@media (max-width: 576px) {
  .philosophy__lang-toggle {
    transform: none !important;
  }
}

/* Tooltip hint */
.philosophy__lang-toggle::after {
  content: 'Click to switch language';
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-pixel);
  font-size: 14px;
  color: var(--color-cream);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.philosophy__lang-toggle:hover::after {
  opacity: 1;
}

.philosophy__lang-toggle:hover {
  transform: translateY(-50%) scale(1.1);
}

.philosophy__lang-toggle:active {
  transform: translateY(-50%) scale(0.95);
}

.philosophy__lang-toggle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 40px rgba(255, 200, 100, 0.9)) drop-shadow(0 0 80px rgba(255, 180, 100, 0.6)) drop-shadow(0 0 120px rgba(255, 150, 50, 0.4));
  animation: glow 3s ease-in-out infinite;
  transition: transform 0.5s ease;
}

/* Desktop Philosophy Layout (min-width: 1025px) - From Figma */
@media (min-width: 1025px) {
  .philosophy__dragon {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    top: 186px !important;
    /* Scaled: 310 * 0.6 = 186px */
    width: 1003px !important;
    /* Scaled: 1672 * 0.6 = 1003px */
    height: 442px !important;
    /* Scaled: 736 * 0.6 = 442px */
    z-index: 2;
    margin: 0 !important;
  }

  .philosophy__dragon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: none;
    /* Default - will be overridden in mobile */
  }

  .philosophy__content {
    max-width: 100%;
    position: relative;
    z-index: 2;
  }

  /* Desktop: Title - From Figma - Scaled for 1920x1080 */
  .philosophy__title {
    position: absolute;
    left: 106px;
    /* Vietnamese: 106px, English: 140px (handled by JS) */
    top: 600px;
    /* Moved up to make room for larger text */
    font-family: 'Handjet', sans-serif;
    font-size: 128px;
    /* From Figma */
    font-style: normal;
    font-weight: 600;
    /* semibold */
    line-height: normal;
    color: #FFF;
    white-space: nowrap;
    margin: 0;
    z-index: 3;
  }

  /* Desktop: Quote 1 - From Figma - Scaled for 1920x1080 */
  .philosophy__quote--first {
    position: absolute;
    left: 106px;
    /* Vietnamese: 106px, English: 140px (handled by JS) */
    top: 750px;
    /* Adjusted for larger title (128px) + spacing */
    font-family: 'Handjet', sans-serif;
    font-size: 64px;
    /* From Figma */
    font-style: normal;
    font-weight: 500;
    /* medium */
    line-height: normal;
    color: #FFF;
    white-space: nowrap;
    margin: 0;
    z-index: 3;
  }

  /* Desktop: Mirror 1 - From Figma - Scaled for 1920x1080 */
  .philosophy__mirror--first {
    position: absolute;
    left: 125px;
    /* Vietnamese: 135px, English: 169px (handled by JS) */
    top: 820px;
    /* Adjusted for larger quote (64px) + spacing */
    height: 50px;
    /* Increased for 40px font */
    width: 598px;
    /* Scaled: 996 * 0.6 = 598px */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    transform: scaleY(-1);
    z-index: 3;
    opacity: 0.5;
    filter: blur(2px);
  }

  .philosophy__mirror--first p {
    font-family: 'Inter', sans-serif;
    font-size: 43px;
    /* From Figma - English version */
    font-style: italic;
    font-weight: 200;
    /* extralight */
    color: #41D9FF;
    line-height: normal;
    margin: 0;
    white-space: nowrap;
    width: 100%;
  }

  /* Desktop: Quote 2 - From Figma - Scaled for 1920x1080 */
  .philosophy__quote--second {
    position: absolute;
    right: 108px;
    /* 1920 - 1812 = 108px from right */
    left: auto;
    /* Override any left value */
    top: 920px;
    /* Adjusted spacing for larger fonts */
    width: auto;
    /* Vietnamese and English have different widths (handled by JS) */
    font-family: 'Handjet', sans-serif;
    font-size: 64px;
    /* From Figma */
    font-style: normal;
    font-weight: 500;
    /* medium */
    line-height: normal;
    color: #FFF;
    text-align: right;
    white-space: nowrap;
    margin: 0;
    z-index: 3;
  }

  /* Desktop: Mirror 2 - From Figma - Aligned with Quote 2 */
  .philosophy__mirror--second {
    position: absolute;
    right: 108px;
    /* Same as Quote 2 */
    left: auto;
    top: 980px;
    width: auto;
    /* Let content determine width like Quote 2 */
    max-width: calc(100% - 216px);
    /* Prevent overflow */
    display: flex;
    align-items: center;
    justify-content: flex-end;
    /* Align content to right */
    transform: scaleY(-1);
    z-index: 3;
    opacity: 0.5;
    filter: blur(2px);
  }

  .philosophy__mirror--second p {
    font-family: 'Inter', sans-serif;
    font-size: 43px;
    /* From Figma - English version */
    font-style: italic;
    font-weight: 200;
    /* extralight */
    color: #FF71E7;
    text-align: right;
    line-height: normal;
    margin: 0;
    white-space: normal;
    /* Allow wrap like Quote 2 */
    word-break: break-word;
  }

  /* Mirror 2 - Vietnamese version (default): Right aligned, single line */
  body.lang-vi .philosophy__mirror--second {
    right: 108px;
    /* Same as Quote 2 Vietnamese */
    width: auto;
    white-space: nowrap;
  }

  body.lang-vi .philosophy__mirror--second p {
    font-size: 40px;
    white-space: nowrap;
  }

  /* Mirror 2 - English version: Wider, allows text wrap */
  body.lang-en .philosophy__mirror--second {
    right: 100px;
    /* Match Quote 2 English */
    width: 1200px;
    /* Same as Quote 2 English for consistent wrap */
    white-space: normal;
  }

  body.lang-en .philosophy__mirror--second p {
    font-size: 43px;
    white-space: normal;
    word-break: break-word;
  }

  /* Desktop: Flower 1 (top right) - From Figma - Scaled for 1920x1080 */
  .philosophy__flower {
    position: absolute;
    left: 1417px;
    top: 676px;
    /* Scaled: 1126 * 0.6 = 676px */
    width: 168px;
    /* Scaled: 279.527 * 0.6 = 168px */
    height: 171px;
    /* Scaled: 285.775 * 0.6 = 171px */
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(180deg);
    cursor: pointer;
    transition: transform 0.5s ease;
  }

  .philosophy__flower:hover {
    transform: rotate(180deg) scale(1.1);
  }

  .philosophy__flower img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  /* Desktop: Flower 2 (bottom left) - From Figma - Scaled for 1920x1080 */
  .philosophy__flower--bottom-left {
    position: absolute;
    left: 124px;
    top: 938px;
    /* Scaled: 1563 * 0.6 = 938px */
    width: 136px;
    /* Scaled: 227 * 0.6 = 136px */
    height: 139px;
    /* Scaled: 232 * 0.6 = 139px */
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(180deg);
  }

  .philosophy__flower--bottom-left img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  /* Desktop: Attribution - From Figma - Scaled for 1920x1080 */
  .philosophy__attribution {
    position: absolute;
    right: 108px;
    /* 1920 - 1812 = 108px from right */
    top: 1100px;
    /* Adjusted for new layout with larger fonts */
    font-family: 'Handjet', sans-serif;
    font-size: 24px;
    /* From Figma */
    font-style: normal;
    font-weight: 500;
    /* medium */
    line-height: normal;
    color: #FFF;
    text-align: right;
    white-space: nowrap;
    margin: 0;
    z-index: 3;
  }

  /* Desktop: CTA Button - From Figma - Scaled for 1920x1080 */
  .philosophy__cta {
    position: absolute;
    left: 287px;
    top: 1000px;
    /* Adjusted under mirror 1 */
    width: 187px;
    /* Scaled: 311 * 0.6 = 187px */
    height: 47px;
    /* Scaled: 78 * 0.6 = 47px */
    z-index: 3;
    margin: 0;
  }

  .philosophy__cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #FFE7AB;
    border-radius: 12px;
    /* Scaled: 20 * 0.6 = 12px */
    font-family: 'Handjet', sans-serif;
    font-size: 22px;
    /* Scaled: 36 * 0.6 = 22px */
    font-weight: 600;
    /* semibold */
    color: #000;
    text-decoration: none;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
    padding: 0;
  }

  .philosophy__cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 231, 171, 0.3);
  }
}

/* Mobile styles for philosophy section - Only apply to mobile (576px and below) */
@media (max-width: 576px) {
  .philosophy__dragon {
    width: 100%;
    max-width: 1672px;
    margin: 0 auto 60px;
    position: relative;
    top: 120px;
    z-index: 2;
  }

  .philosophy__dragon img {
    width: 100%;
    height: auto;
    transform: none;
  }

  .philosophy__content {
    max-width: 100%;
    position: relative;
    z-index: 2;
  }

  .philosophy__title {
    font-family: var(--font-pixel);
    font-size: 96px;
    color: var(--color-white);
    margin-bottom: 30px;
  }

  .philosophy__quote {
    margin-bottom: 20px;
  }

  .philosophy__quote p {
    font-family: 'Handjet', sans-serif;
    font-size: 48px;
    font-style: normal;
    font-weight: 400;
    color: var(--color-white);
    margin-bottom: 10px;
    line-height: 1.2;
  }

  .philosophy__quote .mirror {
    font-family: 'Inter', sans-serif;
    font-size: 33px;
    color: var(--color-cyan);
    padding: 0 10px;
    opacity: 0.6;
    transform: scaleY(-1);
    display: block;
    filter: blur(0.8px);
    position: relative;
    top: -19px;
    line-height: 1.2;
  }

  .philosophy__quote--second {
    text-align: right;
  }

  .philosophy__quote--second .mirror {
    color: var(--color-magenta);
  }

  .philosophy__flower {
    width: 180px;
    height: 180px;
    flex-shrink: 0;
  }

  .philosophy__flower img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(255, 200, 100, 0.5));
  }

  .philosophy__attribution {
    font-family: var(--font-serif);
    font-size: 18px;
    font-style: italic;
    color: #FFF;
    text-align: right;
    margin-top: 20px;
  }

  .philosophy__cta {
    margin-top: 20px;
  }
}

.btn {
  display: inline-block;
  padding: 15px 40px;
  font-family: var(--font-pixel);
  font-size: 24px;
  border-radius: 50px;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
}

.btn--cream {
  background: var(--color-cream);
  color: var(--color-black);
}

.btn--cream:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 245, 225, 0.3);
}

/* ===== GALLERY PREVIEW (HOME 3) ===== */
.gallery-preview {
  min-height: 100vh;
  position: relative;
  padding: 163px 0 0;
  background: var(--color-black);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-preview__inner {
  max-width: var(--max-width);
  width: 100%;
  position: relative;
}

.gallery-preview__lanterns {
  width: 100%;
  max-width: var(--max-width);
  max-height: 500px;
  object-fit: cover;
  object-position: top;
  position: relative;
  z-index: 2;
  margin-bottom: -100px;
}

/* Slogan images - FIXED positioning on desktop (no scaling) */
.gallery-preview__slogans {
  position: absolute;
  top: 163px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max-width);
  height: 654px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 40px;
  z-index: 1;
  pointer-events: none;
}

.gallery-preview__slogan-img {
  /* Fixed pixel size - no scaling */
  height: 580px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.gallery-preview__slogan-img--left {
  margin-top: 50px;
  margin-left: 20px;
}

.gallery-preview__slogan-img--right {
  margin-top: 20px;
  margin-right: 20px;
}

/* Slider container */
.gallery-preview__slider {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: -50px;
  position: relative;
  z-index: 3;
  padding: 0 106px;
  width: 100%;
  max-width: var(--max-width);
}

.gallery-preview__slides {
  position: relative;
  width: 732px;
  height: 500px;
  overflow: hidden;
  border-radius: 20px;
}

.gallery-preview__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  transition: opacity 0.5s ease, transform 0.5s ease;
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;
}

.gallery-preview__slide--active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.gallery-preview__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-preview__slide:hover img {
  transform: scale(1.05);
  transition: transform 0.5s ease;
}

.gallery-preview__project-label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-family: var(--font-pixel);
  font-size: 14px;
  color: var(--color-white);
  background: rgba(0, 0, 0, 0.7);
  padding: 5px 10px;
  border-radius: 5px;
}

/* Arrow buttons */
.gallery-preview__arrow {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--color-cream);
  background: transparent;
  color: var(--color-cream);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.gallery-preview__arrow:hover {
  background: var(--color-cream);
  color: var(--color-black);
}

.gallery-preview__arrow svg {
  width: 24px;
  height: 24px;
}

.gallery-preview__cta {
  display: flex;
  justify-content: center;
  margin: 60px 0 80px;
  position: relative;
  z-index: 5;
}

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(180deg, var(--color-green-light) 0%, var(--color-pink-light) 50.75%, var(--color-pink) 100%);
  padding: 80px 106px 40px;
  position: relative;
  z-index: 10;
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: var(--max-width);
  margin: 0 auto;
  margin-bottom: 40px;
}

.footer__nav {
  display: flex;
  gap: 90px;
}

.footer__link {
  font-family: var(--font-pixel);
  font-size: 36px;
  color: var(--color-black);
}

.footer__link:hover {
  color: var(--color-purple);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer__logo {
  width: 90px;
  height: 103px;
}

.footer__name {
  font-family: var(--font-pixel);
  font-size: 64px;
  color: var(--color-black);
}

.footer__divider {
  width: 100%;
  height: 1px;
  background: var(--color-black);
  margin-bottom: 30px;
}

.footer__contact {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  /* Left align to match HOME */
  gap: 30px;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: left;
  padding-left: 0;
  /* Align with nav above */
}

.footer__contact-label {
  font-family: var(--font-pixel);
  font-size: 36px;
  color: var(--color-black);
}

.footer__contact-item {
  font-family: var(--font-serif);
  font-size: 30px;
  color: var(--color-black);
}

.footer__contact-item a {
  text-decoration: underline;
}

/* ===== ANIMATIONS ===== */
.animate-element {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-element.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animations */
.animate-element:nth-child(1) {
  transition-delay: 0.1s;
}

.animate-element:nth-child(2) {
  transition-delay: 0.2s;
}

.animate-element:nth-child(3) {
  transition-delay: 0.3s;
}

.animate-element:nth-child(4) {
  transition-delay: 0.4s;
}

/* Fade in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Slide up animation */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scale in animation */
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Glow animation for flowers */
@keyframes glow {

  0%,
  100% {
    filter: drop-shadow(0 0 20px rgba(255, 200, 100, 0.5));
  }

  50% {
    filter: drop-shadow(0 0 40px rgba(255, 200, 100, 0.8));
  }
}

.philosophy__flower img,
.project__flower img {
  animation: glow 3s ease-in-out infinite;
}

/* Hover effects */
.gallery-preview__project img,
.project__gallery-item img {
  transition: transform 0.5s ease;
}

.gallery-preview__project:hover img,
.project__gallery-item:hover img {
  transform: scale(1.05);
}

/* Page load animation */
body {
  animation: fadeIn 0.5s ease;
}

/* Mobile scroll fade in animation */
@keyframes fadeInOnScroll {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .hero__welcome {
    font-size: 72px;
  }

  .hero__welcome .my {
    font-size: 90px;
  }

  .hero__title {
    font-size: 80px;
  }

  .philosophy__title {
    font-size: 72px;
  }

  .philosophy__quote p {
    font-size: 36px;
  }

  .philosophy__content {
    padding-right: 200px;
  }

  .philosophy__lang-toggle {
    width: 180px;
    height: 180px;
    right: 50px;
  }

  .philosophy__bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .philosophy__bottom-right {
    max-width: 100%;
  }

  .philosophy__quote--second {
    text-align: left;
  }

  .philosophy__attribution {
    text-align: left;
  }
}

/* Tablet uses desktop layout with adjustments */
@media (max-width: 1024px) and (min-width: 577px) {
  .header {
    padding: 15px 40px;
  }

  .hero__content {
    padding: 0 40px;
    padding-top: 150px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero__welcome {
    font-size: 48px;
    position: relative;
    left: 0;
    text-align: center;
  }

  .hero__welcome .land {
    font-size: 42px;
  }

  .hero__title {
    font-size: 64px;
  }

  .hero__portfolio {
    position: relative;
    top: 0;
    left: 0;
    text-align: center;
    margin-bottom: 30px;
  }

  .hero__name {
    font-size: 28px;
  }

  .hero__title .fo {
    font-size: 80px;
  }

  .hero__lotus {
    width: 200px;
    right: 15%;
    bottom: 10%;
    z-index: 1;
  }

  .hero__lotus--small {
    width: 140px;
    right: 55%;
    bottom: 15%;
  }

  .philosophy {
    padding: 80px 40px;
    min-height: auto;
  }

  .philosophy__dragon {
    max-width: 100%;
    top: 40px;
    margin-bottom: 20px;
  }

  .philosophy__title {
    font-size: 48px;
  }

  .philosophy__quote p {
    font-size: 28px;
  }

  .philosophy__quote .mirror {
    font-size: 20px;
  }

  .philosophy__content {
    padding-right: 0;
  }

  .philosophy__lang-toggle {
    width: 120px;
    height: 120px;
    right: 20px;
  }

  .philosophy__bottom {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .philosophy__bottom-left {
    align-items: center;
  }

  .philosophy__bottom-right {
    max-width: 100%;
    text-align: center;
  }

  .philosophy__quote--second {
    text-align: center;
  }

  .philosophy__attribution {
    text-align: center;
  }

  /* Gallery Preview */
  .gallery-preview__lanterns {
    max-height: 150px;
  }

  .gallery-preview__slogans {
    position: relative;
    height: auto;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
  }

  .gallery-preview__slogan-img {
    position: relative;
    left: auto !important;
    right: auto !important;
    max-width: 200px;
  }

  .gallery-preview__slider {
    padding: 0 40px;
    margin-top: 20px;
  }

  .gallery-preview__slide {
    min-width: 350px;
    height: 350px;
  }

  .gallery-preview__see-more {
    margin-top: 30px;
  }

  .footer {
    padding: 60px 40px 30px;
  }

  .footer__top {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
  }
}

/* Mobile only - below 576px */
@media (max-width: 576px) {
  .header {
    padding: 15px 20px;
  }

  .nav__logo {
    width: 50px;
    height: 57px;
  }

  .nav__menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    padding: 30px;
    gap: 20px;
  }

  .nav__menu.active {
    display: flex;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__link {
    font-size: 24px;
  }

  /* === HOME MOBILE: Layout chính xác theo Figma === */
  /* Frame: 440x956px -> Scale to mobile (375px width) */
  .hero {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    position: relative;
    padding: 80px 20px 60px;
    overflow: hidden;
  }

  .hero__content {
    flex-direction: column;
    padding: 0;
    align-items: flex-start;
    text-align: left;
    position: relative;
    top: 0;
    width: 100%;
    max-width: 100%;
    gap: 0;
  }

  /* === PART 1: DoraChann Portfolio (home1) === */
  /* DoraChann: Figma pos(166, 261) = 37.7% left, 27.3% top, RIGHT align */
  .hero__portfolio {
    order: 1;
    text-align: right;
    margin-bottom: 0;
    position: relative;
    top: 0;
    width: 100%;
    padding-right: 20px;
    margin-top: 60px;
    /* ~27% of 956px */
  }

  /* DoraChann - Figma: 64px, weight 300, line-height 71.5px, RIGHT */
  .hero__name {
    font-size: 55px;
    /* Scaled: 64 * (375/440) = 55px */
    margin-bottom: 15px;
    /* Spacing to PortfoLio: ~57px scaled */
    font-weight: 300;
    line-height: 61px;
    /* Scaled: 71.5 * (375/440) = 61px */
    text-align: right;
    font-family: 'Handjet', monospace;
  }

  /* PortfoLio - Figma: 128px, weight 600, line-height 143px, RIGHT */
  /* Position: Figma pos(41, 318) = 9.3% left, 33.3% top */
  .hero__title {
    font-size: 109px;
    /* Scaled: 128 * (375/440) = 109px */
    margin-bottom: 0;
    font-weight: 600;
    line-height: 122px;
    /* Scaled: 143 * (375/440) = 122px */
    text-align: right;
    font-family: 'Handjet', monospace;
  }

  /* === PART 2: WELCOME TO my Vietnameseland (home2) === */
  /* WELCOME: Figma pos(103, 285) = 23.4% left, 29.8% top, LEFT align */
  .hero__text {
    order: 2;
    margin-top: 40px;
    /* Spacing from Portfolio */
    width: 100%;
    padding-left: 20px;
  }

  /* WELCOME - Figma: 64px, weight 600, line-height 71.5px, LEFT */
  .hero__welcome {
    font-size: 55px;
    /* Scaled: 64 * (375/440) = 55px */
    opacity: 1;
    transform: none;
    animation: none;
    margin-top: 0;
    line-height: 61px;
    /* Scaled: 71.5 * (375/440) = 61px */
    text-align: left;
    font-family: 'Handjet', monospace;
  }

  .hero__welcome span:first-child {
    display: block;
    margin-bottom: 0;
    font-weight: 600;
  }

  /* TO - Figma: 64px, weight 600, LEFT, pos(205, 342) */
  .hero__welcome .to {
    display: inline;
    margin-left: 8px;
    /* Spacing from WELCOME */
    margin-right: 6px;
    /* Spacing to my */
    font-size: 55px;
    font-weight: 600;
    font-family: 'Handjet', monospace;
  }

  /* my - Figma: Bilbo Swash Caps 64px, weight 400, line-height 80px, LEFT */
  .hero__welcome .my {
    font-size: 55px;
    display: inline;
    margin-left: 0;
    margin-right: 0;
    font-weight: 400;
    line-height: 68px;
    /* Scaled: 80 * (375/440) = 68px */
    font-family: 'Bilbo Swash Caps', cursive;
  }

  /* Vietnameseland - Figma: 64px, weight 300, line-height 71.5px, LEFT */
  /* Position: Figma pos(51, 399) = 11.6% left, 41.7% top */
  .hero__welcome .land {
    font-size: 55px;
    display: block;
    margin-top: 12px;
    /* Spacing from "my" */
    font-weight: 300;
    line-height: 61px;
    font-family: 'Handjet', monospace;
  }

  /* Lotus flowers ở bottom - 2 bông hoa */
  .hero__lotus {
    width: 100px;
    bottom: 10px;
    top: auto;
    right: 15%;
    z-index: 1;
    position: absolute;
  }

  .hero__lotus--small {
    width: 70px;
    right: 5%;
    bottom: 20px;
    top: auto;
    position: absolute;
  }

  .hero__canvas-bg canvas {
    opacity: 0.5;
    transform: scale(1.15);
  }

  /* === PHILOSOPHY MOBILE: Layout chính xác theo Figma === */
  /* Frame: 440x956px -> Scaled to 375px width (scale: 0.852) */
  /* Background: #000 - fixed, no overflow */
  /* All elements use absolute positioning */
  .philosophy {
    position: relative;
    width: 100%;
    max-width: 100vw;
    min-height: 814px;
    /* Scaled: 956 * 0.852 = 814px */
    height: 814px;
    /* Fixed height to prevent overflow */
    background: #000;
    padding: 0;
    margin: 0;
    overflow: hidden;
    /* Prevent any overflow */
  }

  /* English version button - Figma: left: 121px, top: 160px, w: 298px, h: 42px */
  /* Scaled: left: 103px, top: 136px, w: 254px, h: 36px */
  .philosophy__lang-toggle {
    position: absolute;
    left: 103px !important;
    /* Fixed from Figma scaled */
    top: 136px !important;
    right: auto !important;
    /* Override desktop right positioning */
    width: 254px !important;
    height: 36px !important;
    background: #FFE7AB;
    border-radius: 20px;
    border: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
    transform: none !important;
    /* Override desktop translateY(-50%) */
  }

  .philosophy__lang-toggle-text {
    color: #000;
    font-family: 'Handjet', monospace;
    font-size: 14px;
    /* Scaled: 16 * 0.852 = 14px */
    font-weight: 600;
    line-height: normal;
    white-space: nowrap;
  }

  .philosophy__lang-toggle:hover {
    transform: scale(1.05) !important;
  }

  .philosophy__lang-toggle:active {
    transform: scale(0.95) !important;
  }

  /* Prevent rotation on mobile when clicked */
  .philosophy__lang-toggle[style*="rotate"] {
    transform: scale(1.05) !important;
  }

  .philosophy__lang-toggle::after {
    display: none;
  }

  /* Dragon - Figma: left calc(50% - 125px) in 440px frame, top: 236px */
  /* Scaled: left calc(50% - 107px) in 375px, top: 201px */
  /* Container: w: 168px, h: 382px (before rotation) */
  /* Image after rotate 90deg: w: 382px, h: 168px */
  /* Scaled image: w: 325px, h: 143px */
  .philosophy__dragon {
    position: absolute;
    left: -95px !important;
    /* Moved left 20px more: -75px - 20px = -95px */
    top: 301px;
    /* Reduced: 351px - 50px = 301px */
    width: (222*1.15)px;
    /* Increased: 193px * 1.15 = 222px (additional 15%) */
    height: (505*1.15)px;
    /* Increased: 439px * 1.15 = 505px (additional 15%) */
    display: flex;
    align-items: left;
    justify-content: left;
    z-index: 1;
  }

  .philosophy__dragon img {
    width: 357px !important;
    /* Reduced 8%: 388px * 0.92 = 357px */
    height: 156px !important;
    /* Reduced 8%: 170px * 0.92 = 156px */
    aspect-ratio: 191 / 84;
    object-fit: contain;
    display: block;
    transform: rotate(90deg) scaleY(-1) translateZ(0) !important;
    /* Rotate 90deg + flip vertically (mirror) so feet point to text */
    transform-origin: center center;
    will-change: transform;
    /* Optimize transform */
  }

  /* Title "ĐỐI VỚI TÔI..." - Figma: left: 204px, top: 273px, w: 183px */
  /* User: font-size: 40px, font-weight: 600, width: 183px */
  /* Scaled: left: 174px, top: 233px, w: 156px, font-size: 34px */
  .philosophy__title {
    position: absolute;
    left: 174px;
    top: 233px;
    width: 156px;
    color: #FFF;
    font-family: 'Handjet', monospace;
    font-size: 34px;
    /* Scaled: 40 * 0.852 = 34px */
    font-weight: 600;
    line-height: normal;
    text-align: left;
    margin: 0;
    padding: 0;
  }

  /* Quote 1 - Figma: left: 204px, top: 349px, w: 200px */
  /* User: font-size: 24px, font-weight: 500, width: 200px */
  /* Scaled: left: 174px, top: 297px, w: 170px, font-size: 20px */
  .philosophy__quote--first {
    position: absolute;
    left: 174px;
    top: 297px;
    width: 170px;
    color: #FFF;
    font-family: 'Handjet', monospace;
    font-size: 20px;
    /* Scaled: 24 * 0.852 = 20px */
    font-weight: 500;
    line-height: normal;
    text-align: left;
    margin: 0;
    padding: 0;
  }

  /* Mirror 1 - Moved closer to text */
  .philosophy__mirror--first {
    position: absolute;
    left: 166px;
    top: 330px !important;
    /* Moved closer: 343px - 13px = 330px */
    width: 200px;
    height: 51px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scaleY(-1);
    /* Mirror vertically */
  }

  .philosophy__mirror--first p {
    color: #41D9FF;
    font-family: 'Inter', sans-serif;
    font-size: 12px !important;
    /* Reduced: 20px - 8px = 12px (smaller than phiso by 8px) */
    font-style: italic;
    font-weight: 200;
    line-height: normal;
    margin: 0;
    padding: 0;
  }

  /* Quote 2 - Figma: left: 179px, top: 494px, w: 225px */
  /* User: font-size: 24px, font-weight: 500, width: 225px */
  /* Scaled: left: 153px, top: 421px, w: 192px, font-size: 20px */
  .philosophy__quote--second {
    position: absolute;
    left: 153px;
    top: 421px;
    width: 192px;
    color: #FFF;
    font-family: 'Handjet', monospace;
    font-size: 20px;
    /* Scaled: 24 * 0.852 = 20px */
    font-weight: 500;
    line-height: normal;
    text-align: left;
    margin: 0;
    padding: 0;
  }

  /* Mirror 2 - Figma: left: 163px, top: 596px, w: 242px, h: 65px */
  /* User: color: #FF71E7, font-size: 20px, font-weight: 200, italic, width: 242px, height: 65px */
  /* Scaled: left: 139px, top: 508px, w: 206px, h: 55px, font-size: 17px */
  .philosophy__mirror--second {
    position: absolute;
    left: 153px !important;
    /* Aligned with phiso2 left: 153px */
    top: 451px !important;
    /* Moved closer: 464px - 13px = 451px (same gap reduction as mirror1) */
    bottom: auto;
    width: 206px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scaleY(-1);
    /* Mirror vertically */
  }

  .philosophy__mirror--second p {
    color: #FF71E7;
    font-family: 'Inter', sans-serif;
    font-size: 12px !important;
    /* Reduced: 20px - 8px = 12px (smaller than phiso by 8px) */
    font-style: italic;
    font-weight: 200;
    line-height: normal;
    margin: 0;
    padding: 0;
  }

  /* Attribution - Figma: left: 232.5px, top: 682px, w: 341px */
  /* User: font-size: 16px, font-weight: 500, text-align: center, width: 341px */
  /* Scaled: left: 198px, top: 581px, w: 291px, font-size: 14px */
  /* Note: 232.5px in 440px frame = center, but we use exact pixel value */
  .philosophy__attribution {
    position: absolute;
    left: 198px;
    /* Scaled from 232.5px (center in 440px frame) */
    top: 581px;
    /* Scaled from 682px */
    width: auto !important;
    /* Auto width to fit content */
    max-width: 291px;
    /* Max width from original */
    transform: none;
    /* Remove translateX since we use exact left value */
    color: #FFF;
    text-align: center;
    font-family: 'Handjet', monospace;
    font-size: 10px !important;
    /* Further reduced to fit one line */
    font-weight: 500;
    line-height: normal;
    margin: 0;
    padding: 0;
    white-space: nowrap !important;
    /* Ensure single line */
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Flower - Figma: left: 42px, top: 771px, w: 106px, h: 108px, rotate 180deg */
  /* User: width: 106px, height: 108px, aspect-ratio: 53/54 */
  /* Scaled: left: 36px, top: 657px, w: 90px, h: 92px */
  .philosophy__flower {
    position: absolute;
    left: 36px;
    top: 657px;
    width: 90px;
    height: 92px;
    aspect-ratio: 53 / 54;
    transform: rotate(180deg);
  }

  .philosophy__flower img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  /* CTA Button "Read more about me" - Figma: left: 160px, top: 804px, w: 167px, h: 42px */
  /* User: border-radius: 20px, background: #FFE7AB, width: 167px, height: 42px */
  /* Text: color: #000, font-size: 16px, font-weight: 600 */
  /* Scaled: left: 136px, top: 685px, w: 142px, h: 36px, font-size: 14px */
  .philosophy__cta {
    position: absolute;
    left: 136px;
    /* Scaled from 160px */
    top: 685px;
    /* Scaled from 804px */
    width: 142px;
    /* Scaled from 167px */
    height: 36px;
    /* Scaled from 42px */
    margin: 0;
    padding: 0;
    z-index: 2;
  }

  .philosophy__cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #FFE7AB;
    border-radius: 20px;
    color: #000;
    font-family: 'Handjet', monospace;
    font-size: 14px;
    /* Scaled: 16 * 0.852 = 14px */
    font-weight: 600;
    line-height: normal;
    text-decoration: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
  }

  .philosophy__cta-btn:hover {
    transform: scale(1.05);
  }

  /* === GALLERY PREVIEW MOBILE: Layout chính xác theo Figma === */
  /* Frame: 440x956px, background black */
  /* Lanterns ở top, Slogans ở giữa, Slider ở dưới */
  .gallery-preview {
    padding-top: 60px;
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    background: var(--color-black);
  }

  /* Lanterns ở top - Figma: 1139x413px (full width banner) */
  .gallery-preview__lanterns {
    max-height: 180px;
    /* Scaled: 413 * (375/440) = 352px, nhưng giữ tỷ lệ */
    margin-bottom: 0;
    width: 100%;
    object-fit: cover;
    order: 1;
  }

  /* Slogans - Figma: left(203x332px), center(112x363px), right(111x299px) */
  /* Position: left pos(0, 478), center pos(233, 447), right pos(329, 479) */
  .gallery-preview__slogans {
    display: flex;
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    max-width: 100%;
    height: auto;
    padding: 15px 10px;
    justify-content: space-around;
    /* Distribute evenly */
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    margin: 0;
    order: 2;
    z-index: 2;
  }

  .gallery-preview__slogan-img {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    height: auto;
    max-height: 280px;
    /* Scaled: 363 * (375/440) = 309px, nhưng giữ tỷ lệ */
    width: auto;
    max-width: 30%;
    /* 3 slogans chia đều */
    margin: 0;
    flex-shrink: 0;
    object-fit: contain;
  }

  /* Slider container - ở dưới slogans */
  /* Figma: có colored box với slider bên trong */
  .gallery-preview__slider {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px 15px;
    margin-top: 20px;
    gap: 15px;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 15px;
    margin: 20px 15px 0;
    width: calc(100% - 30px);
    order: 3;
    position: relative;
    z-index: 3;
  }

  .gallery-preview__slides {
    width: 100%;
    max-width: 320px;
    /* Scaled từ Figma */
    height: 280px;
    /* Scaled từ Figma */
    order: 0;
  }

  .gallery-preview__slide {
    min-width: 280px;
    height: 280px;
  }

  .gallery-preview__arrow {
    width: 40px;
    height: 40px;
  }

  .gallery-preview__arrow--prev {
    order: -1;
  }

  .gallery-preview__arrow--next {
    order: 1;
  }

  /* CTA button */
  .gallery-preview__cta {
    margin-top: 25px;
    order: 4;
    text-align: center;
  }

  .footer {
    padding: 40px 20px;
  }

  .footer__top {
    flex-direction: column;
    gap: 40px;
  }

  .footer__nav {
    flex-wrap: wrap;
    gap: 30px;
  }

  .footer__link {
    font-size: 24px;
  }

  .footer__name {
    font-size: 36px;
  }

  .footer__contact {
    flex-wrap: wrap;
    gap: 15px;
  }

  .footer__contact-label,
  .footer__contact-item {
    font-size: 18px;
  }
}

@media (max-width: 576px) {

  /* English Mobile - Quote 1: top += 20px */
  body.lang-en .philosophy__quote--first {
    left: 166px;
    /* Same as Mirror 1 */
    top: 320px;
    /* 300 + 20 */
  }

  /* English Mobile - Mirror 1: top += 20px, font-size += 1 */
  body.lang-en .philosophy__mirror--first {
    top: 350px !important;
    /* 330 + 20 */
  }

  body.lang-en .philosophy__mirror--first p {
    font-size: 13px !important;
    /* 12 + 1 */
  }

  /* English Mobile - Mirror 2: top += 25px, font-size += 1 */
  body.lang-en .philosophy__mirror--second {
    top: 476px !important;
    /* 451 + 25 */
  }

  body.lang-en .philosophy__mirror--second p {
    font-size: 13px !important;
    /* 12 + 1 */
  }

  /* English Mobile - Attribution: top += 10px */
  body.lang-en .philosophy__attribution {
    top: 591px;
    /* 581 + 10 */
  }
}