* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

:root{
  --red: #e11d2e;
  --red2: #ff3243;
  --black: #0b0b0f;
  --ink: #121427;
  --white: #ffffff;
  --tint: #fff3f4;
  --muted: #5a6177;
  --border: rgba(0,0,0,.10);
  --shadow: 0 18px 50px rgba(0,0,0,.18);
}

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--white);
  color: var(--ink);
}

.wrap{
  max-width: 1100px;
  margin: 0 auto;
  padding: 22px;
}

.muted{ color: var(--muted); }

/* HERO */
.hero{
  position: relative;
  min-height: 92vh;
  background:
    radial-gradient(900px 500px at 20% 20%, rgba(225,29,46,.45), transparent 60%),
    radial-gradient(900px 500px at 80% 10%, rgba(255,50,67,.25), transparent 55%),
    #0b0b0f;
  overflow: hidden;
}

/* Fixed top bar inside hero */
.heroTop{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5; /* above image */
  background: rgba(11,11,15,.35);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.heroTop__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
  color: var(--white);
}

.heroBrand{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: .2px;
}
.heroBrand__dot{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red2);
  box-shadow: 0 0 0 6px rgba(225,29,46,.18);
}
.heroBrand__name{
  font-size: 16px;
}

.heroNav a{
  color: rgba(255,255,255,.88);
  text-decoration:none;
  margin-left: 14px;
  font-size: 14px;
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
}
.heroNav a:hover{
  color: var(--white);
  border-bottom-color: rgba(255,255,255,.45);
}

/* Image layer */
.hero__img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: contain;        /* ✅ no crop */
  object-position: center;
  background: transparent;

  /* Flicker fix helpers */
  backface-visibility: hidden;
  transform: translateZ(0);
  will-change: opacity;
}

/* Fade class (more stable than inline) */
.hero__img.is-fading{
  opacity: 0;
  transition: opacity .22s ease;
}
.hero__img.is-visible{
  opacity: 1;
  transition: opacity .22s ease;
}

/* Overlay content layer */
.hero__overlay{
  position:absolute;
  inset:0;
  z-index: 4;
  background:
    linear-gradient(
      90deg,
      rgba(225,29,46,.30) 0%,
      rgba(225,29,46,.18) 40%,
      rgba(0,0,0,.12) 70%,
      rgba(0,0,0,.18) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0,0,0,.05) 0%,
      rgba(0,0,0,.18) 100%
    );
  display:flex;
  align-items: flex-end;
}



.hero__content{
  padding-top: 110px; /* make space for heroTop bar */
  padding-bottom: 26px;
  color: var(--white);
}

.badge{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
  font-weight: 650;
  font-size: 12px;
}

.hero__title{
  margin: 16px 0 10px;
  font-size: clamp(38px, 5vw, 72px);
  letter-spacing: -0.6px;
}

.hero__subtitle{
  margin: 0;
  max-width: 60ch;
  color: rgba(255,255,255,.86);
  line-height: 1.5;
}

.hero__cta{
  margin-top: 18px;
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.20);
  text-decoration:none;
  color: var(--white);
  font-weight: 700;
}

.btn--primary{
  background: linear-gradient(135deg, var(--red2), var(--white));
  color: #1a1a1a;
  border-color: rgba(255,255,255,.22);
}

.btn--ghost{
  background: rgba(255,255,255,.12);
}

.btn:hover{ filter: brightness(1.05); }

/* Slider controls */
.hero__controls{
  margin-top: 18px;
  display:flex;
  align-items:center;
  gap: 12px;
  max-width: 520px;
}

.iconbtn{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.14);
  color: var(--white);
  font-size: 22px;
  cursor: pointer;
}
.iconbtn:hover{ filter: brightness(1.08); }

.dots{
  display:flex;
  gap: 8px;
  align-items:center;
  justify-content:center;
  flex: 1;
}
.dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.40);
  border: 1px solid rgba(255,255,255,.16);
  cursor: pointer;
}
.dot.is-active{
  width: 24px;
  background: var(--white);
}

/* Sections */
.section{ padding: 50px 0; }
.section--white{ background: var(--white); }

.section--tint{
  background: var(--tint);
  border-top: 1px solid rgba(0,0,0,.06);
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.sectionHead h2{
  margin: 0 0 8px;
  font-size: 28px;
}
.sectionHead p{
  margin: 0;
  max-width: 70ch;
}

/* Intro two column */
.twoCol{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 18px;
  align-items: start;
}
@media (max-width: 900px){
  .twoCol{ grid-template-columns: 1fr; }
  .heroNav{ display:none; }
}

.introText h2{
  margin: 0 0 10px;
  font-size: 28px;
}
.introText p{ line-height: 1.7; }

.infoRow{
  margin-top: 14px;
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pill{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(0,0,0,.06);
  font-weight: 650;
  color: #1d2035;
}
.pillDot{
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

/* Profile card */
.profileCard{
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.profileCard__img{
  width: 100%;
  height: 320px;
  object-fit: contain;    /* ✅ no crop */
  object-position: center;
  background: #ffffff;
  display:block;
}
.profileCard__meta{ padding: 14px; }
.profileCard__name{ font-size: 18px; font-weight: 800; }
.profileCard__role{ margin-top: 6px; color: var(--muted); }

/* Works grid */
.grid{
  margin-top: 16px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 900px){
  .grid{ grid-template-columns: 1fr; }
}

.card{
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(0,0,0,.10);
  transform: translateY(0);
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover{
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0,0,0,.14);
}

.card__img{
  width: 100%;
  height: 190px;
  object-fit: contain;   /* ✅ no crop */
  object-position: center;
  background: #ffffff;
  display:block;
}

.card__body{ padding: 14px; }
.card__body h3{ margin: 0 0 6px; font-size: 18px; }
.card__body p{ margin: 0; color: var(--muted); line-height: 1.6; }

.tagRow{
  margin-top: 12px;
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
}
.tag{
  font-size: 12px;
  font-weight: 750;
  padding: 6px 10px;
  border-radius: 999px;
  background: #111217;
  color: var(--white);
}

/* Footer socials */
.footer{
  background: var(--black);
  color: var(--white);
  padding: 28px 0;
}

.footer__inner{
  display:flex;
  gap: 16px;
  align-items:center;
  justify-content:space-between;
  flex-wrap: wrap;
}

.footer__brand{ font-weight: 900; letter-spacing: .2px; }

.footer__muted{
  margin-top: 6px;
  color: rgba(255,255,255,.70);
  font-size: 13px;
}

.footer__right{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social{
  text-decoration:none;
  color: rgba(255,255,255,.86);
  border: 1px solid rgba(255,255,255,.14);
  padding: 10px 12px;
  border-radius: 999px;
}
.social:hover{ color: var(--white); filter: brightness(1.05); }

.social--primary{
  background: linear-gradient(135deg, var(--red), var(--red2));
  border-color: rgba(255,255,255,.10);
}
