/* ============================================
   Vani Kabadagi Portfolio — Custom Styles
   (Tailwind v4 handles primary styling)
   ============================================ */

/* ── Google Fonts Import ── */
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;700&family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Fira+Code:wght@300;400&display=swap');

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #d4a0c0 #0a0a14;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #0a0a14;
  color: #f0e6f0;
  overflow-x: hidden;
}

/* ── Global Layout Grid ── */
:root {
  --content-width: 1280px;
  --content-padding: 32px;
}

.container {
  width: min(var(--content-width), calc(100% - (var(--content-padding) * 2)));
  margin-inline: auto;
  position: relative;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0a0a14;
}

::-webkit-scrollbar-thumb {
  background: #d4a0c044;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #d4a0c088;
}

/* ── Typography ── */
.font-display {
  font-family: 'Playfair Display', serif;
}

.font-script {
  font-family: 'Dancing Script', cursive;
}

.font-mono {
  font-family: 'Fira Code', monospace;
}

/* ── Hero Section ── */
#hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

/* Hero Name Gradient */
.name-gradient {
  background: linear-gradient(135deg, #e8b4d8 0%, #d4a0c0 25%, #a78bfa 50%, #c4b5fd 75%, #f0e6f0 100%);
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  color: transparent !important;
}

/* Hero Portrait Float */
.hero-portrait {
  animation: float 6s ease-in-out infinite;
}

.hero-portrait img {
  filter: drop-shadow(0 0 40px rgba(139, 92, 246, 0.3));
}

/* Orbital Arcs */
.orbital-arc {
  position: absolute;
  border: 1px solid rgba(212, 160, 192, 0.15);
  border-radius: 50%;
  animation: rotate-orbit 20s linear infinite;
}

.orbital-arc:nth-child(1) {
  width: 400px;
  height: 400px;
  top: 10%;
  right: 5%;
  animation-duration: 25s;
}

.orbital-arc:nth-child(2) {
  width: 300px;
  height: 300px;
  top: 30%;
  right: 15%;
  animation-duration: 18s;
  animation-direction: reverse;
}

.orbital-arc:nth-child(3) {
  width: 500px;
  height: 500px;
  top: 5%;
  right: -5%;
  animation-duration: 30s;
}

/* Code Snippets in Hero Background */
.hero-code-snippet {
  position: absolute;
  font-family: 'Fira Code', monospace;
  font-size: 0.7rem;
  color: rgba(167, 139, 250, 0.2);
  white-space: nowrap;
  pointer-events: none;
  animation: drift 15s ease-in-out infinite;
}

.hero-code-snippet:nth-child(1) { top: 25%; left: 35%; animation-delay: 0s; }
.hero-code-snippet:nth-child(2) { top: 35%; left: 30%; animation-delay: -3s; }
.hero-code-snippet:nth-child(3) { top: 45%; right: 5%; animation-delay: -6s; }
.hero-code-snippet:nth-child(4) { top: 55%; left: 40%; animation-delay: -9s; }
.hero-code-snippet:nth-child(5) { top: 30%; right: 3%; animation-delay: -2s; }
.hero-code-snippet:nth-child(6) { top: 50%; right: 8%; animation-delay: -5s; }

/* Sparkle Crosses */
.sparkle-cross {
  position: absolute;
  color: rgba(232, 180, 216, 0.6);
  font-size: 1rem;
  animation: twinkle 3s ease-in-out infinite;
  pointer-events: none;
}

.sparkle-cross:nth-child(1) { top: 10%; left: 45%; animation-delay: 0s; }
.sparkle-cross:nth-child(2) { top: 8%; left: 50%; animation-delay: -1s; font-size: 0.6rem; }
.sparkle-cross:nth-child(3) { top: 20%; left: 55%; animation-delay: -2s; font-size: 0.8rem; }
.sparkle-cross:nth-child(4) { top: 60%; left: 35%; animation-delay: -1.5s; font-size: 0.5rem; }
.sparkle-cross:nth-child(5) { top: 70%; right: 20%; animation-delay: -0.5s; }

/* CTA Button Gradient */
.cta-primary {
  background: linear-gradient(135deg, #8b5cf6, #d4a0c0, #a78bfa);
  background-size: 200% 200%;
  animation: gradient-shift 3s ease infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.4);
}

.cta-secondary {
  border: 1.5px solid rgba(240, 230, 240, 0.4);
  transition: all 0.3s ease;
}

.cta-secondary:hover {
  border-color: #d4a0c0;
  background: rgba(212, 160, 192, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 160, 192, 0.15);
}

/* Scroll Indicator */
.scroll-indicator {
  animation: bounce-scroll 2s ease-in-out infinite;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(240, 230, 240, 0.4);
  border-radius: 12px;
  position: relative;
  display: flex;
  justify-content: center;
}

.scroll-mouse::after {
  content: '';
  width: 3px;
  height: 8px;
  background: rgba(240, 230, 240, 0.6);
  border-radius: 2px;
  margin-top: 6px;
  animation: scroll-dot 2s ease-in-out infinite;
}

/* ── About Section ── */
.photo-collage {
  position: relative;
  width: 100%;
  height: 400px;
}

.photo-collage img {
  position: absolute;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.5s ease, z-index 0.3s;
}

.photo-collage img:nth-child(1) {
  width: 200px;
  height: 260px;
  top: 20px;
  left: 0;
  transform: rotate(-3deg);
  z-index: 1;
}

.photo-collage img:nth-child(2) {
  width: 220px;
  height: 280px;
  top: 0;
  left: 160px;
  transform: rotate(2deg);
  z-index: 2;
}

.photo-collage img:nth-child(3) {
  width: 200px;
  height: 260px;
  top: 30px;
  left: 340px;
  transform: rotate(-1deg);
  z-index: 1;
}

.photo-collage img:hover {
  transform: rotate(0deg) scale(1.05);
  z-index: 10;
}

/* Signature Animation */
.signature {
  opacity: 0;
}

.signature.animated {
  opacity: 1;
  animation: signature-appear 1.5s ease forwards;
}

/* ── Skill Card Icons ── */
.skill-icon-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: linear-gradient(#0f0f1a, #0f0f1a) padding-box,
              linear-gradient(135deg, #d4a0c0, #8b5cf6) border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.skill-card:hover .skill-icon-circle {
  box-shadow: 0 0 25px rgba(139, 92, 246, 0.3);
  transform: scale(1.08);
}

.skill-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.skill-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.15);
}

/* ── Project Cards ── */
.project-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.15);
}

.project-card .project-img-wrapper {
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}

.project-card .project-img-wrapper img {
  transition: transform 0.5s ease;
}

.project-card:hover .project-img-wrapper img {
  transform: scale(1.08);
}

.project-arrow {
  transition: transform 0.3s ease, background 0.3s ease;
}

.project-card:hover .project-arrow {
  transform: rotate(45deg);
  background: rgba(212, 160, 192, 0.3);
}

.tech-tag {
  transition: all 0.3s ease;
}

.project-card:hover .tech-tag {
  background: rgba(212, 160, 192, 0.15);
  border-color: rgba(212, 160, 192, 0.3);
}

/* Project Image Placeholder (for missing images) */
.project-img-placeholder {
  width: 100%;
  height: 160px;
  background: linear-gradient(135deg, #1a1a2e 0%, #2a1a3e 50%, #1a1a2e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: rgba(212, 160, 192, 0.3);
}

/* ── Life Beyond Code ── */
.life-card {
  transition: transform 0.4s ease;
}

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

.life-card img {
  transition: transform 0.5s ease;
}

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

.life-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 160, 192, 0.15);
}

/* ── Timeline ── */
.timeline-container {
  position: relative;
}

.timeline-line {
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: rgba(212, 160, 192, 0.15);
  z-index: 0;
}

.timeline-line-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #d4a0c0, #8b5cf6);
  border-radius: 2px;
  transition: width 1.5s ease;
}

.timeline-line-fill.animated {
  width: 100%;
}

.timeline-node {
  position: relative;
  z-index: 1;
  text-align: center;
}

.timeline-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a2e;
  border: 2px solid rgba(212, 160, 192, 0.3);
  transition: all 0.4s ease;
  transform: scale(0);
}

.timeline-icon.animated {
  transform: scale(1);
}

.timeline-icon.active {
  border-color: #d4a0c0;
  box-shadow: 0 0 20px rgba(212, 160, 192, 0.3);
}

/* ── Currently Section ── */
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d4a0c0;
  animation: pulse-glow 2s ease-in-out infinite;
}

/* ── Modal ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 20, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  background: linear-gradient(135deg, #1a1a2e, #222240);
  border: 1px solid rgba(212, 160, 192, 0.2);
  border-radius: 20px;
  padding: 48px;
  max-width: 480px;
  text-align: center;
  transform: scale(0.85);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

/* ── Scroll to Top ── */
.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b5cf6, #d4a0c0);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.scroll-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.6);
}

/* ── Navbar ── */
.navbar {
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

.navbar.scrolled {
  background: rgba(10, 10, 20, 0.85) !important;
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}

.nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #d4a0c0;
  transition: width 0.3s ease;
}

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

.nav-link.active {
  color: #d4a0c0;
}

/* ── Typewriter ── */
.typewriter-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: #d4a0c0;
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink-cursor 0.8s step-end infinite;
}

/* ── Hero Stagger Animations ── */
.hero-stagger {
  opacity: 0 !important;
  transform: translateY(30px) !important;
  transition: opacity 0.7s ease, transform 0.7s ease !important;
}

.hero-stagger.in-view {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ── Scroll Animations ── */
[data-animate] {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate="fade-up"] {
  transform: translateY(40px);
}

[data-animate="fade-in"] {
  transform: none;
}

[data-animate="slide-left"] {
  transform: translateX(-50px);
}

[data-animate="slide-right"] {
  transform: translateX(50px);
}

[data-animate="scale-in"] {
  transform: scale(0.85);
}

[data-animate].in-view {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* ── Keyframe Animations ── */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

@keyframes bounce-scroll {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes drift {
  0%, 100% { transform: translateY(0px) translateX(0px); opacity: 0.15; }
  25% { transform: translateY(-8px) translateX(5px); opacity: 0.25; }
  50% { transform: translateY(-3px) translateX(-5px); opacity: 0.15; }
  75% { transform: translateY(5px) translateX(3px); opacity: 0.2; }
}

@keyframes rotate-orbit {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; box-shadow: 0 0 4px rgba(212, 160, 192, 0.4); }
  50% { opacity: 0.5; box-shadow: 0 0 12px rgba(212, 160, 192, 0.8); }
}

@keyframes scroll-dot {
  0% { opacity: 1; transform: translateY(0); }
  50% { opacity: 0.3; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@keyframes signature-appear {
  0% { opacity: 0; transform: translateY(10px); filter: blur(4px); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes slide-down {
  0% { transform: translateY(-100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* ── Section Dividers ── */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 160, 192, 0.2), transparent);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .photo-collage {
    height: 300px;
  }

  .photo-collage img:nth-child(1) {
    width: 160px;
    height: 210px;
  }

  .photo-collage img:nth-child(2) {
    width: 180px;
    height: 230px;
    left: 120px;
  }

  .photo-collage img:nth-child(3) {
    width: 160px;
    height: 210px;
    left: 260px;
  }

  .orbital-arc { display: none; }
}

@media (max-width: 768px) {
  .photo-collage {
    height: auto;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 12px 0;
  }

  .photo-collage img {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 160px !important;
    height: 200px !important;
    flex-shrink: 0;
  }

  .hero-code-snippet { display: none; }
  .sparkle-cross { display: none; }

  .timeline-line {
    left: 5%;
    right: 5%;
  }
}

@media (max-width: 480px) {
  .modal-content {
    margin: 16px;
    padding: 32px 24px;
  }
}

/* ============================================================
   HERO — REFINED V2 COMPOSITION
   IMPORTANT:
   This overrides only the hero content layout.
   Existing background, particles, orbital arcs and portrait
   artwork remain untouched.
   ============================================================ */

.hero-content-refined {
  position: relative;
  z-index: 5;

  min-height: calc(100vh - 72px); /* Account for navbar */
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;

  column-gap: 30px;

  padding-top: 72px;
  padding-bottom: 80px;
}


/* ============================================================
   LEFT SIDE
   ============================================================ */

.hero-copy {
  position: relative;
  z-index: 10;

  width: 100%;
  max-width: 620px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  transform: translateY(-5px);
}


/* Greeting */

.hero-greeting {
  display: flex;
  align-items: center;

  min-height: 32px;

  margin-bottom: 10px;

  font-family: 'Inter', sans-serif;
  font-size: clamp(1.15rem, 1.4vw, 1.45rem);
  font-weight: 300;
  line-height: 1.2;

  color: #a0a0b8;
}

.hero-cursor {
  width: 2px;
  height: 1.2em;

  margin-left: 5px;

  background: #e8b4d8;

  border-radius: 2px;

  animation: heroCursorPulse 1.1s ease-in-out infinite;
}

@keyframes heroCursorPulse {
  0%, 45% {
    opacity: 1;
  }

  55%, 100% {
    opacity: 0.15;
  }
}


/* ============================================================
   NAME
   ============================================================ */

.hero-name-block {
  margin: 0;
  padding: 0;
}

.hero-name {
  margin: 0;

  font-size: clamp(5.8rem, 8vw, 8.5rem);
  line-height: 0.88;

  font-weight: 800;
  letter-spacing: -0.055em;
}

.hero-surname {
  margin-top: 14px;

  font-family: 'Inter', sans-serif;

  font-size: clamp(1.65rem, 2.35vw, 2.65rem);
  line-height: 1;

  font-weight: 300;

  letter-spacing: 0.34em;
  text-transform: uppercase;

  color: rgba(240, 230, 240, 0.92);

  white-space: nowrap;
}


/* ============================================================
   PROFESSIONAL IDENTITY
   ============================================================ */

.hero-role-block {
  margin-top: 26px;
}

.hero-role {
  font-family: 'Inter', sans-serif;

  font-size: clamp(1.25rem, 1.65vw, 1.65rem);
  line-height: 1.25;

  font-weight: 700;

  color: #f0e6f0;
}

.hero-role-tagline {
  margin-top: 7px;

  font-family: 'Inter', sans-serif;

  font-size: clamp(0.95rem, 1.1vw, 1.08rem);
  line-height: 1.5;

  font-weight: 500;

  color: #d4a0c0;
}

.hero-role-tagline span {
  color: rgba(232, 180, 216, 0.55);
  margin: 0 3px;
}


/* ============================================================
   DESCRIPTION
   ============================================================ */

.hero-description {
  width: 100%;
  max-width: 610px;

  margin: 17px 0 0;

  font-family: 'Inter', sans-serif;

  font-size: clamp(1rem, 1.15vw, 1.15rem);
  line-height: 1.65;

  font-weight: 400;

  color: #a0a0b8;
}


/* ============================================================
   CTA
   ============================================================ */

.hero-actions-refined {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 14px;

  margin-top: 29px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 46px;

  padding: 0 23px;

  border-radius: 999px;

  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;

  letter-spacing: 0.065em;
  text-transform: uppercase;

  text-decoration: none;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease;

  gap: 9px;
}

.hero-btn-primary {
  color: white;

  background:
    linear-gradient(
      135deg,
      #8b5cf6 0%,
      #d4a0c0 50%,
      #a78bfa 100%
    );

  box-shadow:
    0 8px 30px rgba(139, 92, 246, 0.20);
}

.hero-btn-primary:hover {
  transform: translateY(-3px);

  box-shadow:
    0 14px 40px rgba(139, 92, 246, 0.36);
}

.hero-btn-secondary {
  color: #f0e6f0;

  border: 1px solid rgba(240, 230, 240, 0.42);

  background: rgba(255, 255, 255, 0.015);
}

.hero-btn-secondary:hover {
  transform: translateY(-3px);

  border-color: #d4a0c0;

  background: rgba(212, 160, 192, 0.08);

  box-shadow:
    0 10px 30px rgba(212, 160, 192, 0.12);
}


/* ============================================================
   SOCIAL LINKS
   ============================================================ */

.hero-socials {
  display: flex;
  align-items: center;

  gap: 22px;

  margin-top: 23px;
}

.hero-socials a {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 28px;
  height: 28px;

  color: #a0a0b8;

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.hero-socials a:hover {
  color: #e8b4d8;

  transform: translateY(-3px);
}


/* ============================================================
   RIGHT SIDE / PORTRAIT
   ============================================================ */

.hero-visual {
  position: relative;

  width: 100%;
  height: min(76vh, 760px);

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 4;
}

.hero-portrait {
  position: relative;

  width: 100%;
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  animation: float 6s ease-in-out infinite;
}

.hero-portrait img {
  width: 100%;
  height: 100%;

  object-fit: contain;

  max-width: 850px;

  filter:
    drop-shadow(0 0 40px rgba(139, 92, 246, 0.30))
    drop-shadow(0 0 80px rgba(212, 160, 192, 0.12));
}


/* ============================================================
   DESKTOP WIDTH ADJUSTMENTS
   ============================================================ */

@media (min-width: 1500px) {

  .hero-content-refined {
    grid-template-columns:
      minmax(570px, 0.88fr)
      minmax(700px, 1.12fr);

    column-gap: 20px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-name {
    font-size: 8.5rem;
  }

  .hero-visual {
    height: min(78vh, 800px);
  }
}


/* ============================================================
   LAPTOPS
   ============================================================ */

@media (min-width: 1024px) and (max-width: 1399px) {

  .hero-content-refined {
    grid-template-columns:
      minmax(450px, 0.95fr)
      minmax(500px, 1.05fr);

    column-gap: 5px;

    padding-top: 65px;
  }

  .hero-name {
    font-size: 6.3rem;
  }

  .hero-surname {
    font-size: 2rem;
  }

  .hero-visual {
    height: 68vh;
  }
}


/* ============================================================
   TABLET / MOBILE
   ============================================================ */

@media (max-width: 1023px) {

  .hero-content-refined {
    min-height: auto;

    display: flex;
    flex-direction: column;

    align-items: center;

    padding-top: 120px;
    padding-bottom: 100px;

    gap: 40px;
  }

  .hero-copy {
    max-width: 680px;

    align-items: center;

    text-align: center;

    transform: none;
  }

  .hero-greeting {
    justify-content: center;
  }

  .hero-name {
    font-size: clamp(5rem, 15vw, 7rem);
  }

  .hero-surname {
    font-size: clamp(1.4rem, 4vw, 2.2rem);

    letter-spacing: 0.28em;
  }

  .hero-role-block {
    margin-top: 22px;
  }

  .hero-description {
    max-width: 600px;
  }

  .hero-actions-refined {
    justify-content: center;
  }

  .hero-socials {
    justify-content: center;
  }

  .hero-visual {
    width: 100%;
    height: 60vh;
    min-height: 480px;
  }
}


/* ============================================================
   SMALL MOBILE
   ============================================================ */

@media (max-width: 600px) {

  .hero-content-refined {
    padding-top: 105px;
  }

  .hero-name {
    font-size: clamp(4rem, 19vw, 5.5rem);
  }

  .hero-surname {
    font-size: 1.15rem;
    letter-spacing: 0.23em;
  }

  .hero-role {
    font-size: 1.15rem;
  }

  .hero-role-tagline {
    font-size: 0.88rem;
  }

  .hero-description {
    font-size: 0.95rem;
  }

  .hero-actions-refined {
    width: 100%;
    flex-direction: column;
  }

  .hero-btn {
    width: 100%;
    max-width: 300px;
  }

  .hero-visual {
    height: 55vh;
    min-height: 400px;
  }
}


/* ============================================================
   ACCESSIBILITY
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

  .hero-portrait,
  .hero-cursor,
  .hero-btn,
  .hero-socials a {
    animation: none !important;
    transition: none !important;
  }
}

/* ============================================================
   ABOUT ME — RESTORED LIGHT PAPER CHAPTER
   ============================================================ */

.about-section {
  background-color: #fbf8f5;
  background-image: radial-gradient(rgba(80, 60, 60, 0.025) 1px, transparent 1px);
  background-size: 5px 5px;
  padding: 80px 0 90px;
  position: relative;
  z-index: 10;
}

.about-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

/* Left text side */
.about-text-content {
  flex: 0 0 45%;
  max-width: 500px;
}

.about-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: #c58eae;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.about-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(42px, 4vw, 58px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #151827;
  margin-bottom: 35px;
}

.about-paragraph {
  font-family: 'Inter', sans-serif;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.7;
  color: #565866;
  margin-bottom: 24px;
}

.about-signature {
  margin-top: 40px;
  font-family: var(--font-script, 'Great Vibes', cursive);
  font-size: 42px;
  color: #ba8c9c;
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-signature .heart {
  font-family: sans-serif;
  font-size: 24px;
  color: #e3a6c2;
  font-weight: 300;
}

/* Right photo side */
.about-photo-composition {
  flex: 0 0 55%;
  position: relative;
  height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.polaroid-main {
  position: absolute;
  top: 35px;
  left: 10px;
  width: min(360px, 46vw);
  height: min(450px, 57vw);
  background: #fff;
  padding: 16px 16px 55px 16px;
  transform: rotate(-1deg);
  box-shadow: 0 18px 35px rgba(25, 20, 25, 0.13), 0 5px 12px rgba(25, 20, 25, 0.08);
  z-index: 2;
  transition: transform 0.4s ease;
}

.polaroid-main:hover {
  transform: rotate(-0.5deg) scale(1.01);
}

.polaroid-image {
  width: 100%;
  height: 100%;
  background: #ebebeb;
  overflow: hidden;
}

.polaroid-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Masking Tape */
.polaroid-main::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 50%;
  width: 95px;
  height: 30px;
  background: rgba(215, 191, 151, 0.78);
  transform: translateX(-50%) rotate(-3deg);
  z-index: 5;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* Film Strip */
.film-strip {
  position: absolute;
  top: 60px;
  left: min(375px, 46vw);
  width: min(190px, 25vw);
  background: #fbfbfb;
  padding: 15px;
  transform: rotate(4.5deg);
  box-shadow: 0 12px 25px rgba(25, 20, 25, 0.1), 0 3px 8px rgba(25, 20, 25, 0.06);
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: transform 0.4s ease;
}

.film-strip:hover {
  transform: rotate(4deg) translateY(-2px);
}

/* Perforations */
.film-strip::before,
.film-strip::after {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  width: 7px;
  background: radial-gradient(circle, #e4e2df 2px, transparent 2.5px);
  background-size: 7px 18px;
}

.film-strip::before {
  left: 4px;
}

.film-strip::after {
  right: 4px;
}

.film-photo {
  width: 100%;
  aspect-ratio: 4/3;
  background: #333;
  overflow: hidden;
}

.film-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Botanical Element */
.botanical-element {
  position: absolute;
  left: min(520px, 60vw);
  top: 40px;
  height: 480px;
  width: 120px;
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(2px 5px 8px rgba(0,0,0,0.08));
}

.botanical-element svg {
  width: 100%;
  height: 100%;
}

/* Responsive adjustments */
@media (max-width: 1023px) {
  .about-container {
    flex-direction: column;
    padding: 0 24px;
    gap: 60px;
  }
  .about-text-content {
    max-width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .about-signature {
    justify-content: center;
  }
  .about-photo-composition {
    height: auto;
    min-height: 500px;
    width: 100%;
  }
  .polaroid-main {
    position: relative;
    top: 0;
    left: -20px;
  }
  .film-strip {
    right: 15%;
    top: 30px;
  }
  .botanical-element {
    display: none; 
  }
}
@media (max-width: 600px) {
  .polaroid-main {
    width: 280px;
    height: 340px;
    left: 0;
    margin: 0 auto;
    z-index: 2;
  }
  .film-strip {
    position: absolute;
    right: 0px;
    top: 50%;
    width: 120px;
  }
}

/* ============================================================
   WHAT I DO — FLOW SECTION
   ============================================================ */

.skills-section {
  position: relative;
  background: #0f0f1a;
  padding: 82px 0 92px;
  overflow: hidden;
}

.skills-container {
}


/* ── Heading ─────────────────────────────────────────────── */

.skills-heading {
  text-align: center;
  margin-bottom: 52px;
}

.skills-eyebrow {
  margin: 0 0 8px;

  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;

  text-transform: uppercase;
  letter-spacing: 0.28em;

  color: #d4a0c0;
}

.skills-title {
  margin: 0;

  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 600;
  line-height: 1.1;

  color: #f0e6f0;
}

.skills-title-line {
  width: 42px;
  height: 2px;

  margin: 14px auto 0;

  background: #d4a0c0;
  border-radius: 999px;

  opacity: 0.8;
}


/* ── Capability Flow ────────────────────────────────────── */

.skills-flow {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    120px
    minmax(0, 1fr)
    120px
    minmax(0, 1fr)
    120px
    minmax(0, 1fr);

  align-items: start;
}


/* ── Individual Capability ──────────────────────────────── */

.skill-item {
  min-width: 0;

  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;
}


/* ── Remove old card appearance completely ──────────────── */

.skill-item,
.skill-card {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}


/* ── Icon Node ───────────────────────────────────────────── */

.skill-node {
  width: 72px;
  height: 72px;

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;

  margin-bottom: 22px;

  color: #fff;

  border: none;

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}


/* Soft outer glow */

.skill-node::before {
  content: '';

  position: absolute;
  inset: -5px;

  border-radius: 50%;

  opacity: 0.25;

  filter: blur(10px);

  z-index: -1;
}


/* Purple node */

.skill-item-purple .skill-node {
  background:
    radial-gradient(
      circle at 35% 30%,
      #a78bfa 0%,
      #8060c9 42%,
      #5b438e 100%
    );

  box-shadow:
    0 0 28px rgba(139, 92, 246, 0.28);
}

.skill-item-purple .skill-node::before {
  background: #8b5cf6;
}


/* Pink node */

.skill-item-pink .skill-node {
  background:
    radial-gradient(
      circle at 35% 30%,
      #df9fba 0%,
      #b96886 45%,
      #7e465d 100%
    );

  box-shadow:
    0 0 28px rgba(212, 160, 192, 0.25);
}

.skill-item-pink .skill-node::before {
  background: #d4a0c0;
}


/* Icon itself */

.skill-node-icon {
  width: 30px;
  height: 30px;

  color: #f9edf5;

  stroke-width: 1.5;
}


/* Subtle hover */

.skill-item:hover .skill-node {
  transform: translateY(-3px) scale(1.04);
}


/* ── Capability Text ────────────────────────────────────── */

.skill-item h3 {
  margin: 0 0 8px;

  font-family: 'Inter', sans-serif;

  font-size: 0.92rem;
  font-weight: 600;

  line-height: 1.35;

  color: #f0e6f0;
}

.skill-item p {
  max-width: 220px;

  margin: 0;

  font-family: 'Inter', sans-serif;

  font-size: 0.72rem;
  font-weight: 400;

  line-height: 1.65;

  color: #a0a0b8;
}


/* ── Curved Connectors ──────────────────────────────────── */

.skill-connector {
  height: 55px;

  display: flex;
  align-items: flex-start;

  margin-top: 17px;

  pointer-events: none;
}

.skill-connector svg {
  width: 100%;
  height: 45px;

  overflow: visible;
}

.skill-connector path {
  fill: none;

  stroke: rgba(212, 160, 192, 0.38);

  stroke-width: 1.2;

  stroke-dasharray: 4 5;

  stroke-linecap: round;
}

.skill-connector .connector-arrow {
  stroke: rgba(212, 160, 192, 0.5);

  stroke-width: 1.4;

  stroke-dasharray: none;

  stroke-linecap: round;
  stroke-linejoin: round;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1100px) {

  .skills-flow {
    grid-template-columns:
      minmax(0, 1fr)
      70px
      minmax(0, 1fr)
      70px
      minmax(0, 1fr)
      70px
      minmax(0, 1fr);
  }

  .skill-item p {
    max-width: 190px;
  }

  .skill-connector {
    margin-top: 18px;
  }
}


@media (max-width: 800px) {

  .skills-section {
    padding: 68px 0 72px;
  }

  .skills-container {
    width: min(680px, calc(100% - 40px));
  }

  .skills-flow {
    grid-template-columns: 1fr 1fr;

    column-gap: 40px;
    row-gap: 55px;
  }

  .skill-connector {
    display: none;
  }

  .skill-item p {
    max-width: 240px;
  }
}


@media (max-width: 520px) {

  .skills-container {
    width: calc(100% - 36px);
  }

  .skills-heading {
    margin-bottom: 40px;
  }

  .skills-title {
    font-size: 2rem;
  }

  .skills-flow {
    grid-template-columns: 1fr;
    row-gap: 46px;
  }

  .skill-node {
    width: 68px;
    height: 68px;

    margin-bottom: 18px;
  }

  .skill-item p {
    max-width: 270px;
  }
}

/* ============================================================
   PROJECTS — REFERENCE DESIGN
   ============================================================ */

.projects-reference-section {
  background: #f8f7f5;

  color: #171728;

  padding: 72px 0 78px;

  border-top: 1px solid #dedde0;
}


.projects-reference-container {
  margin: 0 auto;
}


/* ============================================================
   HEADER
   ============================================================ */

.projects-reference-header {
  display: flex;

  align-items: flex-end;

  justify-content: space-between;

  margin-bottom: 28px;
}


.projects-reference-eyebrow {
  margin: 0 0 8px;

  font-family: 'Inter', sans-serif;

  font-size: 0.72rem;

  font-weight: 700;

  letter-spacing: 0.28em;

  text-transform: uppercase;

  color: #d18bb8;
}


.projects-reference-title {
  margin: 0;

  font-family: 'Playfair Display', serif;

  font-size: clamp(2.1rem, 3vw, 3rem);

  font-weight: 600;

  line-height: 1.05;

  letter-spacing: -0.025em;

  color: #171728;
}


.projects-reference-link {
  display: inline-flex;

  align-items: center;

  gap: 7px;

  margin-bottom: 4px;

  color: #d18bb8;

  font-size: 0.9rem;

  font-weight: 500;

  text-decoration: none;

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}


.projects-reference-link:hover {
  color: #ad6796;

  transform: translateX(3px);
}


/* ============================================================
   GRID
   ============================================================ */

.projects-reference-grid {
  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  gap: 20px;
}


/* ============================================================
   CARD
   ============================================================ */

.project-reference-card {
  position: relative;

  overflow: hidden;

  background: #ffffff;

  border: 1px solid #dedde0;

  border-radius: 14px;

  box-shadow:
    0 2px 8px rgba(30, 25, 40, 0.04);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}


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

  box-shadow:
    0 12px 28px rgba(30, 25, 40, 0.10);
}


/* ============================================================
   IMAGE
   ============================================================ */

.project-reference-image {
  position: relative;

  width: 100%;

  height: 168px;

  overflow: hidden;

  background: #e9e7e5;
}


.project-reference-image img {
  display: block;

  width: 100%;

  height: 100%;

  object-fit: cover;

  transition:
    transform 0.5s ease;
}


.project-reference-card:hover
.project-reference-image img {
  transform: scale(1.045);
}


/* ============================================================
   ROUND ARROW
   ============================================================ */

.project-reference-arrow {
  position: absolute;

  top: 12px;

  right: 12px;

  width: 38px;

  height: 38px;

  display: flex;

  align-items: center;

  justify-content: center;

  padding: 0;

  border: 1px solid rgba(30, 30, 40, 0.08);

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.94);

  color: #171728;

  cursor: pointer;

  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.08);

  transition:
    transform 0.3s ease,
    background 0.3s ease;
}


.project-reference-card:hover
.project-reference-arrow {
  transform: rotate(45deg);

  background: #ffffff;
}


/* ============================================================
   CARD CONTENT
   ============================================================ */

.project-reference-body {
  padding: 18px 17px 17px;
}


.project-reference-body h3 {
  margin: 0 0 9px;

  font-family: 'Inter', sans-serif;

  font-size: 1rem;

  font-weight: 700;

  line-height: 1.25;

  color: #1c1b2a;
}


.project-reference-body p {
  margin: 0 0 15px;

  min-height: 58px;

  font-family: 'Inter', sans-serif;

  font-size: 0.78rem;

  font-weight: 400;

  line-height: 1.55;

  color: #777587;
}


/* ============================================================
   TECHNOLOGY PILLS
   ============================================================ */

.project-reference-tags {
  display: flex;

  flex-wrap: wrap;

  gap: 6px;
}


.project-reference-tags span {
  display: inline-flex;

  align-items: center;

  min-height: 24px;

  padding: 3px 9px;

  border: 1px solid #dedde0;

  border-radius: 999px;

  background: #f0efee;

  color: #6c6a72;

  font-size: 0.62rem;

  font-weight: 600;

  line-height: 1;

  white-space: nowrap;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1100px) {

  .projects-reference-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

}


@media (max-width: 700px) {

  .projects-reference-section {
    padding: 58px 0;
  }

  .projects-reference-container {
    width: min(100% - 32px, 600px);
  }

  .projects-reference-header {
    align-items: flex-start;

    flex-direction: column;

    gap: 18px;
  }

  .projects-reference-grid {
    grid-template-columns: 1fr;

    gap: 18px;
  }

  .project-reference-image {
    height: 210px;
  }

}

/* ============================================================
   LIFE BEYOND CODE — REFERENCE DESIGN
   ============================================================ */

.life-reference-section {
  background: #0f0f1a;
  padding: 85px 0 95px;
}

.life-reference-container {
  margin: 0 auto;
}

.life-reference-grid {
  display: grid;
  grid-template-columns: 22% 1fr;
  gap: 40px;
  align-items: start;
}

.life-reference-header {
  padding-right: 20px;
}

.life-reference-eyebrow {
  margin: 0 0 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #d18bb8;
}

.life-reference-title {
  margin: 0 0 16px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 2.8vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  color: #f0e6f0;
}

.life-reference-desc {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.6;
  color: #a0a0b8;
}

.life-reference-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.life-reference-card {
  display: flex;
  flex-direction: column;
}

.life-reference-image-wrapper {
  position: relative;
  width: 100%;
  height: 180px;
  border-radius: 12px;
  margin-bottom: 24px;
}

.life-reference-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.life-reference-icon {
  position: absolute;
  left: 14px;
  bottom: -22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top left, #df9fba, #a78bfa);
  border: 2px solid #0f0f1a;
  color: #ffffff;
}

.life-reference-icon svg {
  width: 20px;
  height: 20px;
}

.life-reference-card h3 {
  margin: 0 0 6px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #f0e6f0;
}

.life-reference-card p {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.55;
  color: #a0a0b8;
}

@media (max-width: 1100px) {
  .life-reference-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .life-reference-header {
    padding-right: 0;
    max-width: 600px;
  }
}

@media (max-width: 800px) {
  .life-reference-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 500px) {
  .life-reference-cards {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   MY JOURNEY — REFERENCE DESIGN
   ============================================================ */
/* ============================================================
   JOURNEY — REFERENCE DESIGN (LIGHT)
   ============================================================ */

.journey-reference-section {
  background: #f8f7f5;
  padding: 120px 0 100px;
}

.journey-reference-container {
}

.journey-reference-header {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 50px;
}

.hero-visual {
  position: relative;
  z-index: 8;

  display: flex;
  justify-content: flex-end;
  align-items: center;

  transform: translateX(4%);
}

.journey-reference-eyebrow {
  position: absolute;
  left: 0;
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #d18bb8;
}

.journey-reference-title {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 2.5vw, 2.5rem);
  font-weight: 600;
  color: #171728;
}

.journey-reference-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding-bottom: 20px;
}

.journey-reference-line {
  position: absolute;
  top: 24px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: transparent;
  border-top: 1px dashed #b8b5c4;
  z-index: 0;
}

.journey-reference-node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 10px;
}

.journey-reference-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e2e0e8;
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #d18bb8;
}

.journey-reference-icon svg {
  width: 20px;
  height: 20px;
}

.journey-reference-year {
  margin: 0 0 4px;
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #171728;
}

.journey-reference-desc {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.5;
  color: #6c6a72;
  max-width: 140px;
}

@media (max-width: 900px) {
  .journey-reference-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .journey-reference-eyebrow {
    position: static;
    margin-bottom: 8px;
  }
  .journey-reference-timeline {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: flex-start;
    padding-left: 20px;
  }
  .journey-reference-line {
    top: 0;
    bottom: 0;
    left: 44px;
    right: auto;
    width: 1px;
    height: 100%;
    border-top: none;
    border-left: 1px dashed #b8b5c4;
  }
  .journey-reference-node {
    display: grid;
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto auto;
    column-gap: 24px;
    text-align: left;
    align-items: flex-start;
    padding: 0;
  }
  .journey-reference-icon {
    grid-row: 1 / span 2;
    margin-bottom: 0;
    margin-right: 0;
  }
  .journey-reference-year {
    grid-column: 2;
    margin-top: 2px;
    margin-bottom: 2px;
  }
  .journey-reference-desc {
    grid-column: 2;
    max-width: none;
  }
}

/* ============================================================
   CURRENTLY — REFERENCE DESIGN (DARK)
   ============================================================ */

.currently-reference-section {
  background: #0f0f1a;
  padding: 100px 0;
}

.currently-reference-container {
  margin: 0 auto;
}

.currently-reference-layout {
  display: flex;
  align-items: center;
}

.currently-reference-header {
  flex: 0 0 25%;
  padding-right: 40px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.currently-reference-eyebrow {
  margin: 0 0 6px;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #d18bb8;
}

.currently-reference-title {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.1;
  color: #f0e6f0;
}

.currently-reference-items {
  flex: 1;
  display: flex;
  justify-content: space-around;
  padding-left: 40px;
}

.currently-reference-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.currently-reference-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #d18bb8;
  margin-top: 2px;
}

.currently-reference-item h4 {
  margin: 0 0 4px;
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #f0e6f0;
}

.currently-reference-item p {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.5;
  color: #a0a0b8;
  max-width: 180px;
}

@media (max-width: 900px) {
  .currently-reference-layout {
    flex-direction: column;
    align-items: flex-start;
  }
  .currently-reference-header {
    flex: none;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-right: 0;
    padding-bottom: 24px;
    margin-bottom: 24px;
    width: 100%;
  }
  .currently-reference-items {
    flex: none;
    flex-direction: column;
    gap: 24px;
    padding-left: 0;
    width: 100%;
  }
  .currently-reference-item p {
    max-width: none;
  }
}

/* ============================================================
   CONTACT FOOTER — REDESIGN
   ============================================================ */

.contact-footer {
  background: #f8f7f5;
  padding: 60px 0 20px;
  position: relative;
  overflow: hidden;
}

.contact-footer-container {
}

.contact-footer-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 35px;
}

/* --- Left Side: Intro --- */
.contact-footer-intro {
  width: 38%;
}

.contact-footer-eyebrow {
  margin: 0 0 12px;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #d18bb8;
}

.contact-footer-title {
  margin: 0 0 16px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 4vw, 4.5rem);
  font-weight: 600;
  color: #171728;
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-footer-rocket {
  font-size: 0.75em;
  line-height: 1;
  display: inline-block;
}

.contact-footer-description {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.6;
  color: #667085;
  max-width: 400px;
}

/* --- Right Side: Links --- */
.contact-footer-links {
  width: 60%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.contact-footer-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  text-decoration: none;
  group: contact; /* For hover logic */
  transition: transform 0.3s ease;
  min-width: 0;
}

.contact-footer-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(210, 138, 184, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d18bb8;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease;
}

.contact-footer-icon svg {
  width: 20px;
  height: 20px;
}

.contact-footer-item:hover .contact-footer-icon {
  transform: translateY(-3px);
  background: rgba(210, 138, 184, 0.15);
}

.contact-footer-content {
  display: flex;
  flex-direction: column;
}

.contact-footer-label {
  margin: 0 0 4px;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #171728;
}

.contact-footer-action {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: #667085;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s ease;
  overflow-wrap: anywhere;
}

.contact-footer-item:hover .contact-footer-action {
  color: #d18bb8;
}

.contact-footer-arrow {
  opacity: 0;
  transform: translateX(-5px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  font-size: 1.1em;
}

.contact-footer-item:hover .contact-footer-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* --- Separator & Signature --- */
.contact-footer-divider {
  height: 1px;
  background: rgba(23, 23, 40, 0.08);
  margin-bottom: 20px;
}

.contact-footer-signature {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: #667085;
  margin: 0;
}

.contact-footer-signature span {
  color: #d18bb8;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .contact-footer-main {
    flex-direction: column;
    gap: 50px;
  }
  .contact-footer-intro {
    width: 100%;
  }
  .contact-footer-links {
    width: 100%;
    padding-top: 0;
  }
}

@media (max-width: 767px) {
  .contact-footer-links {
    flex-direction: column;
    gap: 30px;
  }
}
