/* ============================================================
   VARIABLES & RESET
   ============================================================ */
:root {
  --bg: #050708;
  --bg-soft: #0b0f11;
  --leaf: #7cc142;
  --leaf-glow: rgba(124, 193, 66, 0.35);
  --royal: #0b4c8c;
  --royal-bright: #1e6fc7;
  --royal-soft: #7fb0e6;
  --text: #f4f7f5;
  --text-soft: #b8c4bd;
  --muted: #6b7a72;
  --line: rgba(124, 193, 66, 0.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Manrope', sans-serif; font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; }
::selection { background: rgba(124, 193, 66, 0.3); color: #fff; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #050708; }
::-webkit-scrollbar-thumb { background: rgba(124, 193, 66, 0.25); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: rgba(124, 193, 66, 0.5); }

/* ============================================================
   CINEMATIC LOADER
   ============================================================ */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  background: #050708;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 1s cubic-bezier(0.7, 0, 0.3, 1), transform 1s cubic-bezier(0.7, 0, 0.3, 1);
}
.loader.done { opacity: 0; transform: scale(1.1); pointer-events: none; }
.loader::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(124, 193, 66, 0.08), transparent 60%);
  opacity: 0; animation: loaderGlow 2.4s ease-out forwards;
}
@keyframes loaderGlow { 0% { opacity: 0; } 40% { opacity: 1; } 100% { opacity: 0.4; } }
.loader-stage { position: relative; width: 180px; height: 180px; display: flex; align-items: center; justify-content: center; }
.aperture { position: absolute; width: 180px; height: 180px; animation: apertureSpin 2.4s cubic-bezier(0.65, 0, 0.35, 1) forwards; }
@keyframes apertureSpin {
  0%   { transform: rotate(0deg) scale(1); }
  40%  { transform: rotate(90deg) scale(0.94); }
  70%  { transform: rotate(140deg) scale(1); }
  100% { transform: rotate(180deg) scale(1.05); opacity: 0; }
}
.blade {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg, rgba(124, 193, 66, 0.4) 12deg, transparent 24deg,
    transparent 60deg, rgba(124, 193, 66, 0.4) 72deg, transparent 84deg,
    transparent 120deg, rgba(124, 193, 66, 0.4) 132deg, transparent 144deg,
    transparent 180deg, rgba(124, 193, 66, 0.4) 192deg, transparent 204deg,
    transparent 240deg, rgba(124, 193, 66, 0.4) 252deg, transparent 264deg,
    transparent 300deg, rgba(124, 193, 66, 0.4) 312deg, transparent 324deg
  );
  -webkit-mask: radial-gradient(circle, transparent 46px, #000 48px, #000 72px, transparent 74px);
          mask: radial-gradient(circle, transparent 46px, #000 48px, #000 72px, transparent 74px);
  filter: drop-shadow(0 0 6px rgba(124, 193, 66, 0.4));
}
.aperture-ring {
  position: absolute; width: 100px; height: 100px; border-radius: 50%;
  border: 1px solid rgba(124, 193, 66, 0.25);
  animation: ringFade 2.4s ease-out forwards;
}
.aperture-ring::after {
  content: ''; position: absolute; inset: -6px; border-radius: 50%;
  border: 1px dashed rgba(30, 111, 199, 0.3);
  animation: ringRotate 5s linear infinite;
}
@keyframes ringRotate { to { transform: rotate(360deg); } }
@keyframes ringFade {
  0% { transform: scale(1.3); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: scale(0.6); opacity: 0; }
}
.reticle {
  position: absolute; inset: 0;
  animation: reticleSnap 2.4s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}
@keyframes reticleSnap {
  0%   { transform: scale(1.4); opacity: 0; }
  25%  { transform: scale(1.25); opacity: 0.9; }
  55%  { transform: scale(0.85); opacity: 1; }
  75%  { transform: scale(0.75); opacity: 1; }
  100% { transform: scale(0.7); opacity: 0; }
}
.reticle span { position: absolute; width: 22px; height: 22px; border-color: var(--leaf); }
.reticle span.tl { top: 0; left: 0; border-top: 1px solid; border-left: 1px solid; }
.reticle span.tr { top: 0; right: 0; border-top: 1px solid; border-right: 1px solid; }
.reticle span.bl { bottom: 0; left: 0; border-bottom: 1px solid; border-left: 1px solid; }
.reticle span.br { bottom: 0; right: 0; border-bottom: 1px solid; border-right: 1px solid; }
.loader-copy { position: absolute; bottom: -80px; left: 50%; transform: translateX(-50%); text-align: center; width: 280px; }
.loader-brand {
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  overflow: hidden; position: relative; display: inline-block;
}
.loader-brand em { font-style: normal; color: var(--leaf); font-weight: 700; }
.loader-brand::after {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(124, 193, 66, 0.5), transparent);
  animation: scanline 1.2s 1.2s ease-out forwards;
}
@keyframes scanline { 0% { left: -100%; } 100% { left: 100%; } }
.loader-bar {
  margin-top: 0.9rem; height: 1px; width: 100%;
  background: rgba(124, 193, 66, 0.15); position: relative; overflow: hidden;
}
.loader-bar span {
  position: absolute; left: 0; top: 0; bottom: 0; width: 0%;
  background: linear-gradient(90deg, transparent, var(--leaf), transparent);
  animation: loadBar 2.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes loadBar {
  0% { width: 0%; } 20% { width: 22%; } 55% { width: 55%; } 85% { width: 88%; } 100% { width: 100%; }
}
.loader-status {
  margin-top: 0.7rem; font-size: 0.6rem;
  letter-spacing: 0.4em; text-transform: uppercase; color: var(--muted);
}
.loader-status::before { content: 'Focusing'; animation: statusSwap 2.4s steps(1) forwards; }
@keyframes statusSwap {
  0%, 33%   { content: 'Focusing'; }
  33%, 66%  { content: 'Exposing'; }
  66%, 100% { content: 'Ready'; }
}
.flash-overlay {
  position: fixed; inset: 0; background: #fff; z-index: 9998; pointer-events: none; opacity: 0;
}
.flash-overlay.flash { animation: cameraFlash 0.4s ease-out forwards; }
@keyframes cameraFlash { 0% { opacity: 0; } 20% { opacity: 1; } 100% { opacity: 0; } }

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor, .cursor-follower {
  position: fixed; top: 0; left: 0; pointer-events: none;
  z-index: 9999; transform: translate(-50%, -50%);
  display: none; 
}
.cursor { width: 8px; height: 8px; background: var(--leaf); border-radius: 50%; transition: width 0.3s, height 0.3s, background 0.3s; }
.cursor-follower { width: 40px; height: 40px; border: 1px solid rgba(124, 193, 66, 0.4); border-radius: 50%; transition: transform 0.1s ease-out, width 0.3s, height 0.3s, border-color 0.3s; }
@media (pointer: fine) {
  body.has-custom-cursor, body.has-custom-cursor a, body.has-custom-cursor button,
  body.has-custom-cursor input, body.has-custom-cursor textarea, body.has-custom-cursor select { cursor: none; }
  body.has-custom-cursor .cursor, body.has-custom-cursor .cursor-follower { display: block; }
}
.cursor.hovering { width: 12px; height: 12px; background: #fff; }
.cursor-follower.hovering { width: 60px; height: 60px; border-color: rgba(255, 255, 255, 0.8); background: rgba(255,255,255,0.05); }

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
.site-header {
  position: fixed; top: 1.4rem; left: 50%; transform: translateX(-50%);
  z-index: 200; width: min(1200px, calc(100% - 2rem));
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.65rem 0.65rem 0.65rem 1.5rem;
  background: linear-gradient(100deg, rgba(11, 76, 140, 0.3) 0%, rgba(12, 26, 20, 0.6) 50%, rgba(124, 193, 66, 0.15) 100%);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  border: 1px solid rgba(124, 193, 66, 0.18); border-radius: 999px;
  box-shadow: 0 12px 44px rgba(0, 0, 0, 0.5);
}
.brand { display: flex; align-items: center; gap: 0.8rem; color: var(--text); text-decoration: none; }
.brand-logo svg { width: 32px; height: 32px; transition: transform 0.4s ease; }
.brand:hover .brand-logo svg { transform: rotate(-10deg) scale(1.1); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: 'Manrope', sans-serif; font-size: 1.1rem; font-weight: 800; letter-spacing: -0.03em; }
.brand-name em { font-style: normal; color: var(--leaf); }
.brand-sub { font-size: 0.55rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--royal-soft); margin-top: 2px; font-weight: 600; }

.desktop-nav { display: flex; gap: 1.8rem; align-items: center; }
.desktop-nav a { color: var(--text-soft); text-decoration: none; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 600; transition: color 0.3s; position: relative; }
.desktop-nav a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--leaf); transition: width 0.3s;
}
.desktop-nav a:hover::after, .desktop-nav a.active::after { width: 100%; }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--leaf); }
.menu-btn { display: none; background: transparent; border: none; color: var(--text); padding: 0.5rem; }
.menu-btn .bars { display: flex; flex-direction: column; gap: 4px; width: 20px; }
.menu-btn .bars span { height: 2px; background: currentColor; display: block; }

/* MOBILE MENU */
.menu-overlay {
  position: fixed; inset: 0; z-index: 300; background: rgba(4, 7, 9, 0.98);
  backdrop-filter: blur(24px); opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
  display: flex; flex-direction: column; justify-content: center; padding: 6rem 8vw;
}
.menu-overlay.open { opacity: 1; pointer-events: auto; }
.menu-close { position: absolute; top: 2rem; right: 2rem; width: 44px; height: 44px; border-radius: 50%; background: rgba(11, 76, 140, 0.35); border: 1px solid rgba(124, 193, 66, 0.3); color: var(--leaf); font-size: 1.5rem; display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
.menu-close:hover { background: var(--leaf); color: #06120a; transform: rotate(90deg); }
.menu-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.menu-list a { font-family: 'Manrope', sans-serif; font-size: clamp(2rem, 6vw, 3.5rem); font-weight: 800; color: var(--text); text-decoration: none; letter-spacing: -0.04em; transition: color 0.3s; }
.menu-list a:hover { color: var(--leaf); }
.menu-footer { position: absolute; bottom: 2.5rem; left: 8vw; }
.menu-footer a { color: var(--muted); text-decoration: none; font-size: 0.9rem; letter-spacing: 0.05em; }

/* ============================================================
   HERO SECTION (Slightly smaller heading)
   ============================================================ */
.hero {
  position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
  padding: 11rem 8vw 7rem; z-index: 1; overflow: hidden;
}
.hero-video-wrap { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-video-wrap video { position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%; width: auto; height: auto; transform: translate(-50%, -50%); object-fit: cover; filter: grayscale(50%) contrast(1.1) brightness(0.4); }
.hero-video-overlay { position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 50%, rgba(5, 7, 8, 0.95) 0%, transparent 60%), linear-gradient(90deg, rgba(5, 7, 8, 0.98) 0%, rgba(5, 7, 8, 0.4) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 1000px; will-change: transform; }
.hero-tag {
  color: var(--leaf); font-size: 0.75rem; letter-spacing: 0.42em; text-transform: uppercase;
  margin-bottom: 2rem; display: inline-flex; align-items: center; gap: 0.8rem; font-weight: 700;
  opacity: 0; transform: translateY(20px); animation: fadeUp 0.8s 0.2s forwards;
}
.hero-tag::before { content: ''; width: 40px; height: 1.5px; background: var(--leaf); }

/* REDUCED SIZE H1 */
.hero h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); line-height: 1.05; margin-bottom: 2rem; letter-spacing: -0.05em; }

.hero h1 .word { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.1em; }
.hero h1 .word span { display: inline-block; transform: translateY(110%); animation: slideUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
.hero h1 .word:nth-child(1) span { animation-delay: 0.4s; }
.hero h1 .word:nth-child(2) span { animation-delay: 0.5s; }
.hero h1 .word:nth-child(3) span { animation-delay: 0.6s; }
.hero h1 .word:nth-child(4) span { animation-delay: 0.7s; }
.hero h1 .word:nth-child(5) span { animation-delay: 0.8s; }
.hero h1 .word:nth-child(6) span { animation-delay: 0.9s; }
.hero h1 .word:nth-child(7) span { animation-delay: 1.0s; }
.hero h1 em { font-style: normal; color: var(--leaf); }
.hero h1 .blue { color: var(--royal-soft); }
.hero-lede {
  max-width: 55ch; color: var(--text-soft); font-size: 1.15rem; line-height: 1.85; margin-bottom: 3rem;
  opacity: 0; transform: translateY(20px); animation: fadeUp 0.8s 1.2s forwards;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; opacity: 0; transform: translateY(20px); animation: fadeUp 0.8s 1.4s forwards; }
@keyframes slideUp { to { transform: translateY(0); } }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   BUTTONS & BENTO GRID
   ============================================================ */
.btn { padding: 1rem 2.2rem; border-radius: 999px; text-decoration: none; font-size: 0.85rem; letter-spacing: 0.08em; transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); display: inline-block; font-weight: 700; text-transform: uppercase; border: none; font-family: inherit; }
.btn-primary { background: linear-gradient(120deg, var(--leaf), #a3dd66); color: #06120a; }
.btn-primary:hover { box-shadow: 0 0 30px rgba(124, 193, 66, 0.5); transform: translateY(-2px); }
.btn-ghost { border: 1px solid rgba(124, 193, 66, 0.3); color: var(--text); background: rgba(11, 76, 140, 0.15); }
.btn-ghost:hover { border-color: var(--leaf); color: var(--leaf); background: rgba(124, 193, 66, 0.1); transform: translateY(-2px); }

/* ============================================================
   BENTO BOX GRID (Premium Dark Glass Look)
   ============================================================ */
.bento-section { padding: 6rem 8vw; position: relative; z-index: 1; max-width: 1400px; margin: 0 auto; }
.section-label { display: block; color: var(--leaf); font-size: 0.75rem; letter-spacing: 0.4em; text-transform: uppercase; font-weight: 700; margin-bottom: 3rem; text-align: center; }
.bento-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 300px); gap: 1.5rem; }

.bento-card {
  position: relative; border-radius: 16px; overflow: hidden; text-decoration: none;
  border: 1px solid rgba(124, 193, 66, 0.25); 
  background: #0a0a0a; 
  display: flex; flex-direction: column; justify-content: flex-end;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: all 0.4s ease;
}

/* The Background Image Layer */
.bento-card::before {
  content: ''; position: absolute; inset: 0; 
  background-size: cover; background-position: center;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.5s ease;
  opacity: 0.35; 
  filter: grayscale(30%);
  z-index: 0;
}

/* The Dark Gradient Overlay */
.bento-card::after {
  content: ''; position: absolute; inset: 0; 
  background: linear-gradient(to top, rgba(5,8,10,0.95) 0%, rgba(5,8,10,0.4) 50%, rgba(5,8,10,0.1) 100%);
  z-index: 1; transition: opacity 0.4s;
}

/* Hover Effects */
.bento-card:hover {
  border-color: var(--leaf);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(124, 193, 66, 0.15);
  transform: translateY(-4px);
}
.bento-card:hover::before { 
  transform: scale(1.05); 
  opacity: 0.7; 
  filter: grayscale(0%);
}
.bento-card:hover::after { opacity: 0.9; }

/* Layout Sizes */
.bento-1 { grid-column: span 2; grid-row: span 2; }
.bento-2 { grid-column: span 2; grid-row: span 1; }
.bento-3 { grid-column: span 1; grid-row: span 1; }
.bento-4 { grid-column: span 1; grid-row: span 1; }

/* Content (Text) */
.bento-content { 
  position: relative; z-index: 2; 
  padding: 2.5rem; 
  transform: translateY(10px); 
  transition: transform 0.4s ease; 
}
.bento-card:hover .bento-content { transform: translateY(0); }

.bento-num { font-family: 'Manrope', sans-serif; font-size: 0.85rem; font-weight: 800; color: var(--leaf); letter-spacing: 0.1em; display: block; margin-bottom: 0.5rem; }
.bento-title { font-size: 2rem; color: #fff; margin-bottom: 0.5rem; }
.bento-desc { 
  color: var(--text-soft); font-size: 0.95rem; line-height: 1.5; max-width: 80%; 
  opacity: 0; transform: translateY(10px); 
  transition: all 0.4s 0.1s; 
}
.bento-card:hover .bento-desc { opacity: 1; transform: translateY(0); }

/* Background Images */
.bg-work::before { background-image: url('../assets/work-1.png'); }
.bg-about::before { background-image: url('../assets/portrait.png'); }
.bg-notes::before { background-image: url('../assets/work-2.png'); }
.bg-contact::before { background-image: url('../assets/work-3.png'); }

/* ============================================================
   LATEST JOURNAL PREVIEW (3 Columns)
   ============================================================ */
.latest-note-section { padding: 6rem 8vw; border-top: 1px solid var(--line); position: relative; z-index: 1;}
.latest-header { max-width: 1200px; margin: 0 auto 3rem; display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 1rem; }
.latest-label { color: var(--leaf); font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 700; display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1rem; }
.latest-label::before { content: ''; width: 20px; height: 1.5px; background: var(--leaf); }
.latest-title { font-size: clamp(2rem, 4vw, 3rem); color: var(--text); line-height: 1.1; }
.latest-link { color: var(--leaf); text-decoration: none; font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em; display: inline-flex; align-items: center; gap: 0.5rem; transition: gap 0.3s; }
.latest-link:hover { gap: 1rem; }

.journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: 1200px; margin: 0 auto; }
.journal-card {
  display: flex; flex-direction: column; text-decoration: none; color: var(--text);
  background: rgba(255,255,255,0.02); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.journal-card:hover { transform: translateY(-5px); border-color: var(--leaf); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.journal-img { width: 100%; aspect-ratio: 16/10; background: #0a1014; overflow: hidden; position: relative; }
.journal-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; filter: grayscale(20%); }
.journal-card:hover .journal-img img { transform: scale(1.05); filter: grayscale(0%); }
.journal-content { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; flex-grow: 1; }
.journal-cat { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--leaf); font-weight: 700; }
.journal-title { font-family: 'Manrope', sans-serif; font-size: 1.3rem; font-weight: 700; line-height: 1.3; }
.journal-excerpt { color: var(--text-soft); font-size: 0.9rem; line-height: 1.6; flex-grow: 1; }
.journal-date { font-size: 0.75rem; color: var(--royal-soft); margin-top: 1rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em;}

/* ============================================================
   SHARED FOOTER
   ============================================================ */
.site-footer { padding: 6rem 8vw 3rem; border-top: 1px solid var(--line); position: relative; z-index: 1; background: linear-gradient(to top, #050708, #0a0f11); }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top { padding-bottom: 3rem; border-bottom: 1px solid var(--line); margin-bottom: 3rem; }
.footer-brand-wrap { display: flex; align-items: center; gap: 1.5rem; }
.footer-logo svg { width: 56px; height: 56px; color: var(--leaf); filter: drop-shadow(0 0 10px rgba(124,193,66,0.3)); }
.footer-brand-name { font-size: 2.8rem; letter-spacing: -0.04em; margin-bottom: 0.4rem; }
.footer-brand-name em { font-style: normal; color: var(--leaf); }
.footer-brand-sub { font-size: 0.75rem; letter-spacing: 0.35em; text-transform: uppercase; color: var(--royal-soft); font-weight: 600; }
.footer-brand-desc { margin-top: 1rem; font-size: 1rem; color: var(--muted); max-width: 50ch; line-height: 1.7; }

.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3rem; margin-bottom: 4rem; }
.footer-col h5 { font-family: 'Inter', sans-serif; font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--leaf); margin-bottom: 1.5rem; font-weight: 700; }
.footer-col a, .footer-col span { display: block; font-size: 0.95rem; color: var(--text-soft); text-decoration: none; margin-bottom: 0.8rem; transition: all 0.3s; font-weight: 400; }
.footer-col a:hover { color: var(--leaf); transform: translateX(4px); }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem; padding-top: 2.5rem; border-top: 1px solid rgba(255,255,255,0.05); font-size: 0.85rem; color: var(--muted); }
.footer-socials { display: flex; gap: 1rem; }
.footer-socials a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); color: var(--text-soft); text-decoration: none; transition: all 0.3s; }
.footer-socials a:hover { background: rgba(124, 193, 66, 0.15); border-color: var(--leaf); color: var(--leaf); transform: translateY(-3px); }
.footer-socials a svg { width: 16px; height: 16px; }

/* ============================================================
   FLOATING WIDGET
   ============================================================ */
.floating-widget { position: fixed; bottom: 2rem; right: 2rem; z-index: 900; display: flex; align-items: flex-end; gap: 0.8rem; animation: slideInRight 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s forwards; opacity: 0; transform: translateX(20px); }
@keyframes slideInRight { to { opacity: 1; transform: translateX(0); } }

.leaf-bubble { width: 58px; height: 58px; border-radius: 50%; background: linear-gradient(160deg, rgba(11, 76, 140, 0.6), rgba(12, 22, 18, 0.7)); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(124, 193, 66, 0.35); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4); text-decoration: none; }
.leaf-bubble:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(124, 193, 66, 0.25); border-color: var(--leaf); }
.leaf-bubble svg { width: 26px; height: 26px; color: var(--leaf); transition: transform 0.5s ease; }
.leaf-bubble:hover svg { transform: rotate(-12deg) scale(1.1); }

.message-pill { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.8rem 1.5rem 0.8rem 1.2rem; border-radius: 999px; background: linear-gradient(120deg, rgba(11, 76, 140, 0.6), rgba(12, 22, 18, 0.7)); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(124, 193, 66, 0.4); color: var(--text); font-family: inherit; font-size: 0.85rem; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 700; text-decoration: none; cursor: pointer; transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); }
.message-pill:hover { color: var(--leaf); border-color: var(--leaf); background: linear-gradient(120deg, rgba(124, 193, 66, 0.15), rgba(11, 76, 140, 0.6)); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 24px rgba(124, 193, 66, 0.2); }
.message-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: #25D366; box-shadow: 0 0 8px rgba(37, 211, 102, 0.8); animation: livePulse 1.6s ease-in-out infinite; }
@keyframes livePulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.7); } }

.contact-widget-panel { position: absolute; bottom: 80px; right: 0; width: 300px; background: linear-gradient(160deg, rgba(11, 76, 140, 0.85), rgba(12, 18, 14, 0.95)); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); border: 1px solid rgba(124, 193, 66, 0.25); border-radius: 16px; padding: 1.8rem; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6); opacity: 0; transform: translateY(15px) scale(0.95); transform-origin: bottom right; pointer-events: none; transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.floating-widget.open .contact-widget-panel { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.widget-header { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; }
.widget-leaf { width: 18px; height: 18px; color: var(--leaf); }
.contact-widget-panel h4 { font-family: 'Manrope', sans-serif; font-size: 1.1rem; color: var(--text); font-weight: 700; }
.contact-widget-panel p { font-size: 0.8rem; color: var(--text-soft); margin-bottom: 1.5rem; line-height: 1.5; }
.widget-links { display: flex; flex-direction: column; gap: 0.2rem; }
.widget-links a { display: flex; align-items: center; gap: 0.8rem; padding: 0.7rem 0; color: var(--text-soft); text-decoration: none; font-size: 0.85rem; font-weight: 500; transition: color 0.3s; border-bottom: 1px solid rgba(255,255,255,0.05); }
.widget-links a:last-child { border-bottom: none; }
.widget-links a:hover { color: var(--leaf); }
.widget-links a svg { width: 16px; height: 16px; color: var(--leaf); }
.widget-links a .dot { width: 6px; height: 6px; border-radius: 50%; background: #25D366; margin: 0 5px; }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animations for grid items */
.bento-grid .reveal:nth-child(1) { transition-delay: 0.1s; }
.bento-grid .reveal:nth-child(2) { transition-delay: 0.2s; }
.bento-grid .reveal:nth-child(3) { transition-delay: 0.3s; }
.bento-grid .reveal:nth-child(4) { transition-delay: 0.4s; }

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */
@media (max-width: 1024px) {
  .bento-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .bento-1, .bento-2, .bento-3, .bento-4 { grid-column: span 1; grid-row: auto; min-height: 250px; }
  .bento-desc { opacity: 1; transform: none; }
  .journal-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .desktop-nav { display: none; }
  .menu-btn { display: block; }
  .hero { padding: 9rem 6vw 5rem; }
}
@media (max-width: 768px) {
  .journal-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .site-header { width: calc(100% - 1.5rem); top: 1rem; padding: 0.6rem 0.6rem 0.6rem 1rem; }
  .brand-sub { display: none; }
  .hero { padding: 8rem 5vw 4rem; }
  .hero h1 { font-size: 2.2rem; }
  .hero-buttons { flex-direction: column; width: 100%; }
  .btn { text-align: center; }
  .bento-card { padding: 1.5rem; }
  .footer-cols { grid-template-columns: 1fr; }
  .floating-widget { bottom: 1rem; right: 1rem; }
  .message-pill .pill-text { display: none; }
}