/* =========================================================
   Jose Estello – Portfolio (Dark, airy, warm-charcoal)
   Style goals:
   - Diptyque-like thin full-width glass bar
   - Apple-ish soft hairline borders + glass buttons
   - Marvis-inspired playful serif “pops” in headings
   - Airy spacing + balanced type scale
   - Hero = glass, Tiles = matte (bento.css)
   ========================================================= */

:root{
  /* Warm charcoal foundation */
  --bg: #0B0B0A;
  --bg2: #0F0F0D;

  /* Paper/ink tones (warm, airy) */
  --text: rgba(247, 246, 242, .92);
  --muted: rgba(247, 246, 242, .72);
  --muted2: rgba(247, 246, 242, .56);

  /* Surfaces */
  --glass: rgba(255,255,255,.055);
  --glass2: rgba(255,255,255,.075);
  --matte: rgba(255,255,255,.045);

  /* Borders (thin, soft) */
  --stroke: rgba(247, 246, 242, .12);
  --stroke2: rgba(247, 246, 242, .09);

  /* Shadows */
  --shadow: 0 18px 60px rgba(0,0,0,.55);
  --shadow-soft: 0 10px 38px rgba(0,0,0,.38);

  /* Radii */
  --radius: 18px;
  --radius2: 26px;

  /* Width */
  --container: 1080px;

  /* Type */
  --sans: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;

  /* Restrained warm accents */
  --accent1: rgba(208, 176, 120, .26); /* warm gold */
  --accent2: rgba(188, 156, 140, .18); /* warm rose */
}

/* =========================================================
   FIX: Single continuous page background (no tiling seams)
   ========================================================= */

/* Remove background from html/body completely */
html, body {
  background: transparent !important;
}

/* This is the ONLY element that paints the page background */
.bg-fixed{
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background: linear-gradient(
    180deg,
    #151412 0%,
    #0F0F0D 40%,
    #0B0B0A 75%,
    #080807 100%
  );

  background-repeat: no-repeat;
  background-size: cover;

  /* Prevent GPU tiling artifacts */
  transform: translateZ(0);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: var(--sans);
  color: var(--text);

  /* Single cohesive vertical gradient */
  background: linear-gradient(
    180deg,
    #151412 0%,     /* slightly lighter warm charcoal */
    #0F0F0D 40%,
    #0B0B0A 75%,
    #080807 100%    /* deepest tone */
  );
}

a{ color: inherit; text-decoration: none; }
img{ max-width:100%; display:block; }
.container{
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

/* =========================================================
   Header: Signature INSIDE bar + subtle wordmark
   ========================================================= */

.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
}

/* Full-width thin glass bar */
.glass-bar{
  position: relative;
  border-top: 1px solid rgba(247, 246, 242, .08);
  border-bottom: 1px solid rgba(247, 246, 242, .08);
  background: rgba(12, 12, 10, .68);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Signature INSIDE bar, centered, above nav */
.signature-inbar{
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
  z-index: 2;
  pointer-events: none;
  height: 22px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.signature-inbar .signature{
  height: 30px;
  width: auto;
  opacity: .9;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.45));
}

/* Main row inside bar */
.glass-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 34px 0 12px; /* extra top padding to make room for signature */
  gap: 16px;
}

/* Shrink on scroll (premium) */
.site-header.is-scrolled .glass-inner{
  padding: 28px 0 10px;
}
.site-header.is-scrolled .signature-inbar{
  top: 6px;
  height: 18px;
}
.site-header.is-scrolled .signature-inbar .signature{
  height: 18px;
  opacity: .88;
}

/* Left wordmark: smaller + less pronounced */
.brand{
  display:flex;
  align-items:center;
  font-weight: 500;
  letter-spacing: .10em;
  text-transform: uppercase;
  font-size: 11px;         /* smaller */
  color: rgba(247,246,242,.62); /* quieter */
}
.brand:hover{
  color: rgba(247,246,242,.78);
}

/* Desktop nav centered */
.nav{
  display:flex;
  gap: 14px;
  align-items:center;
  justify-content:center;
  flex: 1;
}

.nav a{
  color: rgba(247,246,242,.68);
  font-size: 12px;               /* slightly smaller */
  letter-spacing: .10em;
  text-transform: uppercase;
  padding: 8px 10px;
  border-radius: 999px;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}

.nav a:hover{
  color: rgba(247,246,242,.90);
  background: rgba(255,255,255,.05);
  transform: translateY(-1px);
}


/* Mobile menu button (right) */
.menu-btn{
  display:none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(247, 246, 242, .14);
  background: rgba(255,255,255,.05);
  color: var(--text);
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition: transform .15s ease, background .15s ease;
}
.menu-btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.075);
}

.menu-icon{
  width: 18px;
  height: 2px;
  background: rgba(247,246,242,.86);
  border-radius: 99px;
  position: relative;
  display:block;
}
.menu-icon::before,
.menu-icon::after{
  content:"";
  position:absolute;
  left:0;
  width: 18px;
  height: 2px;
  background: rgba(247,246,242,.72);
  border-radius: 99px;
}
.menu-icon::before{ top: -6px; }
.menu-icon::after{ top: 6px; }

/* Mobile dropdown sheet */
.mobile-menu{
  border-top: 1px solid rgba(247, 246, 242, .10);
  background: rgba(12, 12, 10, .72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.mobile-menu-inner{
  padding: 14px 0 18px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 10px;
}

.mobile-menu-inner a{
  width: min(420px, calc(100% - 40px));
  text-align:center;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(247, 246, 242, .10);
  background: rgba(255,255,255,.03);
  color: rgba(247,246,242,.70);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: background .15s ease, transform .15s ease, color .15s ease;
}

.mobile-menu-inner a:hover{
  background: rgba(255,255,255,.06);
  transform: translateY(-1px);
  color: rgba(247,246,242,.92);
}

.mobile-contact{
  border-color: rgba(247, 246, 242, .16) !important;
  background: rgba(255,255,255,.06) !important;
  color: rgba(247,246,242,.92) !important;
}

/* Responsive */
@media (max-width: 960px){
  .nav-desktop{ display:none; }
  .menu-btn{ display:inline-flex; }

  /* keep brand left, menu right */
  .glass-inner{ justify-content:space-between; }
}

/* =========================================================
   Hero: airy + modern + serif pops
   ========================================================= */

.hero{ padding: 68px 0 30px; }
.hero-grid{
  display:grid;
  grid-template-columns: 1.3fr .9fr;
  gap: 26px;
  align-items: stretch;
}

.kicker{
  display:inline-block;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 14px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(247, 246, 242, .12);
  background: rgba(255,255,255,.03);
}

.headline{
  font-size: clamp(32px, 4.2vw, 48px);  /* slightly smaller */
  line-height: 1.08;                   /* tiny breathing room */
  margin: 0 0 14px;
  letter-spacing: -0.015em;
  font-weight: 500;
}


/* Marvis-style serif “pop” */
.serif-pop{
  font-family: var(--serif);
  font-weight: 700;

  /* Make it visually larger */
  font-size: 1.18em;     /* Bigger than surrounding text */
  line-height: 1;

  letter-spacing: .01em;
  color: rgba(247,246,242,.96);

  /* Remove underline (it shrinks perception) */
  border-bottom: none;

  /* Slight vertical alignment correction */
  position: relative;
  top: .02em;
}


.subhead{
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 58ch;
}

.hero-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(247, 246, 242, .14);
  background: rgba(255,255,255,.05);
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.075);
}
.btn-primary{
  border: 1px solid rgba(247, 246, 242, .18);
  background: rgba(255,255,255,.08);
  box-shadow: var(--shadow-soft);
}
.btn-ghost{ background: rgba(255,255,255,.035); }

.mini-meta{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
}
.pill{
  font-size: 12px;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(247, 246, 242, .10);
  background: rgba(255,255,255,.03);
}

/* Hero glass card */
.hero-card{
  position: relative;
  border-radius: var(--radius2);
  border: 1px solid rgba(247, 246, 242, .14);
  background: rgba(255,255,255,.055);
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero-card-inner{
  padding: 18px;
  display:grid;
  gap: 12px;
}

.stat{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(247, 246, 242, .10);
}
.stat-label{
  color: var(--muted2);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.stat-value{ font-weight: 600; }
.divider{ height:1px; background: rgba(247, 246, 242, .10); }
.tiny{
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

/* =========================================================
   Sections: airy spacing + micro-typography
   ========================================================= */

.section{ padding: 44px 0 58px; }

.section.alt{
  padding: 54px 0 64px;
  background: transparent;
  border-top: 0;
  border-bottom: 0;
}

.section-head{ margin-bottom: 16px; }

.section-title{
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-desc{
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.subsection{ margin-top: 22px; }

.subhead-row{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 16px;
  margin: 20px 0 14px;
}
.subsection-title{
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.01em;
  font-weight: 500;
}
.subsection-desc{
  margin: 0;
  color: var(--muted);
  max-width: 62ch;
  font-size: 14px;
  line-height: 1.7;
}

.link{
  color: rgba(247, 246, 242, .90);
  font-weight: 600;
  font-size: 13px;
  opacity: .92;
}
.link[aria-disabled="true"]{ opacity:.55; cursor: default; }

.tag{
  display:inline-flex;
  font-size: 12px;
  color: var(--muted);
  padding: 6px 9px;
  border-radius: 999px;
  border: 1px solid rgba(247, 246, 242, .10);
  background: rgba(255,255,255,.03);
}

/* Video embed frame */
.video-frame{
  margin-top: 12px;
  border-radius: var(--radius);
  overflow:hidden;
  border: 1px solid rgba(247, 246, 242, .10);
  background: rgba(0,0,0,.25);
  aspect-ratio: 16 / 9;
}
.video-frame iframe{
  width:100%;
  height:100%;
  border:0;
}

/* =========================================================
   About + Footer
   ========================================================= */

.about-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  align-items: start;
}

.about-card{
  border: 1px solid rgba(247, 246, 242, .12);
  background: rgba(255,255,255,.04);
  border-radius: var(--radius2);
  padding: 18px;
}

.about-title{
  margin: 0 0 10px;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.list{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.about-actions{ margin-top: 14px; }

.footer{ padding: 26px 0 44px; }

.footer-inner{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items:center;
  justify-content:center;
  color: var(--muted2);
  font-size: 13px;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 960px){
  .hero-grid{ grid-template-columns: 1fr; }
  .about-grid{ grid-template-columns: 1fr; }

  /* Desktop nav hidden, hamburger shown */
  .nav-desktop{ display:none; }
  .menu-btn{ display:inline-flex; }

  /* Center links in bar on small screens if nav wraps */
  .nav{ gap: 10px; flex-wrap: wrap; justify-content: center; }
}


