#ian-hero,
#ian-hero * { box-sizing: border-box; }

#ian-hero {
  --teal: #2fa1a9;
  position: sticky;
  top: 0;
  z-index: 1;
  isolation: isolate;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: #fff;
  color: #222;
  font-family: 'Ian Archivo', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Match the original Framer transition: its dark section overlays the sticky hero. */
#main { position: relative; z-index: 2; }
#main > .framer-jhGie { background: transparent !important; }

#ian-hero .grid-background {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: #fff;
}

#ian-hero .hero-inner { width: min(1200px, calc(100% - 100px)); margin: auto; padding: 38px 0 54px; }
#ian-hero .brand-stage { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 370px; margin-top: 38px; margin-bottom: 31px; }
#ian-hero .stage-caption { color: #999; font-size: 12px; letter-spacing: .2em; text-align: center; white-space: nowrap; }
#ian-hero .brand-sculpture { position: relative; width: 370px; height: 370px; }
#ian-hero .brand-fallback {
  position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%;
  background: linear-gradient(100deg, #0a535b 0%, #2b9ca5 13%, #063940 26%, #72cbd1 37%, #0a6871 48%, #9cdce0 55%, #06454d 65%, #2b9da6 78%, #05383f 92%);
  -webkit-mask-image: url('/assets/ian/logo-ian.png');
  mask-image: url('/assets/ian/logo-ian.png');
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  filter: drop-shadow(1px 1px 0 #083d43);
  opacity: 1; pointer-events: none;
}
#ian-logo { position: absolute; inset: 0; opacity: 0; }

#ian-hero .hero-content { display: grid; grid-template-columns: 1.75fr 1fr; gap: 80px; align-items: start; }
#ian-hero h1 { max-width: 790px; margin: 0; font-size: clamp(48px, 5.3vw, 78px); font-weight: 500; line-height: 1.08; letter-spacing: -.055em; }
#ian-hero h1 .teal { color: var(--teal); }
#ian-hero .hero-aside { padding: 0 0 5px; }
#ian-hero .hero-person { display: flex; align-items: center; gap: 13px; }
#ian-hero .hero-person .avatar { position: relative; display: block; flex: 0 0 56px; width: 56px; height: 56px; overflow: hidden; border-radius: 50%; }
#ian-hero .hero-person .avatar img { position: absolute; top: -1px; left: 50%; width: 90px; height: auto; max-width: none; transform: translateX(-50%); }
#ian-hero .hero-person strong { display: block; font-size: 14px; font-weight: 500; }
#ian-hero .hero-person span { display: block; margin-top: 4px; color: #838383; font-size: 12px; }
#ian-hero .hero-person .role-amp { display: inline; margin: 0 2px; color: #444; font-family: Arial, sans-serif; font-size: 13px; font-weight: 400; }
#ian-hero .hero-aside > p { margin: 24px 0 30px; color: #838383; font-size: 16px; line-height: 1.7; }
#ian-hero .hero-aside > p strong { font-weight: 700; }
#ian-hero .hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
#ian-hero .button { position: relative; isolation: isolate; display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 14px 22px; border-radius: 100px; background: var(--teal); box-shadow: 0 4px 8px #0002, 0 14px 30px #0002, inset 0 -16px 26px #002428; color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: transform .3s, box-shadow .3s; }
#ian-hero .button::before { content: ''; position: absolute; inset: -6px; z-index: -1; border: 1px solid #fff9; border-radius: inherit; background: linear-gradient(#fff5, #ddd1); }
#ian-hero .button:hover { transform: translateY(-4px); }
#ian-hero .button.secondary { border: 1px solid #bbb6; background: transparent; box-shadow: none; color: #222; font-weight: 500; }
#ian-hero .button.secondary::before { display: none; }
#ian-hero .linkedin-button { display: inline-flex; flex: 0 0 52px; width: 52px; height: 52px; align-items: center; justify-content: center; border: 1px solid #bbb6; border-radius: 50%; background: #fff9; color: #0a66c2; text-decoration: none; transition: transform .3s, box-shadow .3s; }
#ian-hero .linkedin-button svg { display: block; width: 22px; height: 22px; fill: currentColor; }
#ian-hero .linkedin-button:hover { transform: translateY(-4px); }
#ian-hero .location { display: block; margin-top: 23px; color: #aaa; font-size: 12px; line-height: 1.5; }
#ian-hero .hero-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 80px; color: #aaa; font-size: 12px; }
#ian-hero .hero-bottom span:last-child { color: #555; }
#ian-hero .hero-bottom span:last-child span { margin-left: 12px; }
#ian-hero a:focus-visible { outline: 3px solid var(--teal); outline-offset: 6px; }

@media (min-width: 1101px) and (max-height: 750px) {
  #ian-hero .hero-inner { padding-top: 22px; padding-bottom: 20px; }
  #ian-hero .brand-stage { min-height: 280px; margin-top: 54px; margin-bottom: 1px; }
  #ian-hero .brand-sculpture { width: 280px; height: 280px; }
  #ian-hero h1 { font-size: clamp(54px, 5vw, 72px); }
  #ian-hero .hero-bottom { margin-top: 38px; }
}

/* Keep Framer's lower sections and animations, replacing only its opening navigation and hero. */
#main > .framer-jhGie > .ssr-variant,
#main [data-framer-name="hero"] { display: none !important; }

/* Remove Framer's floating "Você" cursor and restore native cursor feedback. */
#main > .framer-taIeN { display: none !important; }
body.framer-cursor-none,
body.framer-cursor-none * { cursor: auto !important; }
body.framer-cursor-none a,
body.framer-cursor-none button { cursor: pointer !important; }
body.framer-cursor-none #objetivo2 .ian-metrics,
body.framer-cursor-none #objetivo2 .ian-metrics * { cursor: grab !important; }
body.framer-cursor-none #objetivo2 .ian-metrics:active,
body.framer-cursor-none #objetivo2 .ian-metrics:active * { cursor: grabbing !important; }

/* The gallery's decorative mockups sit above the ticker. Let pointer input reach
   the ticker so Framer's drag interaction can start from any visible card. */
#objetivo2 [data-framer-name="fade"],
#objetivo2 [data-framer-name="01 - Mockup 1"],
#objetivo2 [data-framer-name="MOCKUP"] { pointer-events: none !important; }
#objetivo2 [data-framer-name="1222"] { cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
#objetivo2 [data-framer-name="1222"]:active { cursor: grabbing; }
#objetivo2 [data-framer-name="1222"] img { -webkit-user-drag: none; }

@media (max-width: 1100px) {
  #ian-hero .hero-inner { width: calc(100% - 70px); }
  #ian-hero .hero-content { grid-template-columns: 1.4fr 1fr; gap: 40px; }
  #ian-hero h1 { font-size: 60px; }
  #ian-hero .hero-actions { flex-wrap: wrap; gap: 18px; }
}
@media (max-width: 809px) {
  #ian-hero .hero-inner { width: calc(100% - 40px); padding: 28px 0 32px; }
  #ian-hero .brand-stage { display: flex; justify-content: center; min-height: 210px; margin-top: 40px; margin-bottom: 10px; }
  #ian-hero .brand-sculpture { width: 210px; height: 210px; }
  #ian-hero .stage-caption { display: none; }
  #ian-hero .hero-content { display: flex; flex-direction: column; align-items: center; gap: 30px; text-align: center; }
  #ian-hero h1 { max-width: 580px; margin: 28px auto 0; font-size: 46px; line-height: 1.06; }
  #ian-hero .hero-aside { max-width: 500px; }
  #ian-hero .hero-person { justify-content: center; }
  #ian-hero .hero-person > div { text-align: left; }
  #ian-hero .hero-aside > p { margin: 20px 0 28px; font-size: 16px; line-height: 1.55; }
  #ian-hero .hero-actions { justify-content: center; gap: 15px; }
  #ian-hero .hero-actions .button { min-height: 48px; padding: 12px 21px; }
  #ian-hero .location { margin-top: 24px; }
  #ian-hero .hero-bottom { justify-content: center; margin-top: 50px; }
  #ian-hero .hero-bottom > span:first-child { display: none; }
}
@media (max-width: 809px) and (max-height: 820px) {
  #ian-hero .hero-inner { padding: 20px 0; }
  #ian-hero .brand-stage { min-height: 180px; margin-top: 50px; margin-bottom: 0; }
  #ian-hero .brand-sculpture { width: 180px; height: 180px; }
  #ian-hero .hero-content { gap: 22px; }
  #ian-hero h1 { margin-top: 22px; font-size: 44px; }
  #ian-hero .hero-aside > p { margin: 16px 0 20px; }
  #ian-hero .location { margin-top: 18px; }
  #ian-hero .hero-bottom { display: none; }
}
@media (max-width: 809px) and (max-height: 720px) {
  #ian-hero .brand-stage { min-height: 155px; margin-top: 48px; margin-bottom: -6px; }
  #ian-hero .brand-sculpture { width: 155px; height: 155px; }
  #ian-hero .hero-content { gap: 16px; }
  #ian-hero h1 { font-size: 38px; }
  #ian-hero .hero-aside > p { margin: 12px 0 14px; font-size: 14px; line-height: 1.4; }
  #ian-hero .hero-actions .button { min-height: 44px; }
  #ian-hero .location { display: none; }
}
@media (max-width: 380px) {
  #ian-hero h1 { font-size: 40px; }
  #ian-hero .hero-actions { flex-direction: column; gap: 16px; }
  #ian-hero .hero-actions .button { min-width: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  #ian-hero .brand-fallback { opacity: 1; }
  #ian-hero *, #ian-hero *::before, #ian-hero *::after { animation: none !important; transition: none !important; }
}
