/*
HAROLD BOHORQUEZ — NETLIFY SAFE UPLOAD V13
Graphic hero + uploaded portrait + controlled yellow accents.
*/

:root {
  --bg: #030303;
  --panel: #090909;
  --text: #f4f1ea;
  --muted: rgba(244, 241, 234, 0.64);
  --quiet: rgba(244, 241, 234, 0.44);
  --line: rgba(244, 241, 234, 0.15);
  --faint: rgba(244, 241, 234, 0.10);
  --yellow: #e7b62c;
  --yellow-strong: #f0bc2e;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  width: 100%;
  height: 68px;
  padding: 0 clamp(22px, 4vw, 64px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(3, 3, 3, 0.72);
  border-bottom: 1px solid rgba(244, 241, 234, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand,
.nav a,
.section-heading,
.hero-footer,
.footer,
.corner-label,
.hero-kicker,
.hero-caption-top,
.hero-caption-bottom,
.meta-pill,
.meta-text {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10px;
  line-height: 1.25;
  font-weight: 600;
}

.brand {
  color: var(--yellow);
}

.nav {
  display: flex;
  gap: clamp(18px, 2.6vw, 36px);
  color: var(--muted);
}

.nav a:hover,
.footer a:hover {
  color: var(--yellow-strong);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: 118px clamp(22px, 4vw, 64px) 44px;
  display: grid;
  grid-template-rows: 1fr auto;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 36%, rgba(231, 182, 44, 0.06), transparent 16%),
    linear-gradient(180deg, rgba(255,255,255,0.02), transparent 22%),
    #030303;
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(244,241,234,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244,241,234,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.90), rgba(0,0,0,0.38));
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.90), rgba(0,0,0,0.38));
  opacity: 0.7;
  z-index: 0;
}

.hero-noise {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.03), transparent 25%),
    radial-gradient(circle at 85% 35%, rgba(255,255,255,0.02), transparent 18%);
  opacity: 0.55;
  z-index: 0;
}

.hero-main,
.hero-footer {
  position: relative;
  z-index: 2;
}

.hero-main {
  align-self: center;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: clamp(36px, 6vw, 92px);
  align-items: center;
}

.hero-copy {
  max-width: 760px;
  position: relative;
}

.hero-copy::before {
  content: "";
  position: absolute;
  left: -18px;
  top: -10px;
  width: 1px;
  height: 170px;
  background: rgba(244,241,234,0.15);
}

.hero-kicker,
h1,
h2,
p {
  margin: 0;
}

.hero-kicker {
  color: var(--yellow);
  margin-bottom: 18px;
}

h1 {
  color: var(--text);
  font-size: clamp(68px, 8vw, 138px);
  line-height: 0.96;
  letter-spacing: -0.056em;
  font-weight: 530;
  max-width: 860px;
}

.hero-subline {
  max-width: 690px;
  margin-top: 24px;
  color: rgba(244, 241, 234, 0.86);
  font-size: clamp(22px, 2.1vw, 34px);
  line-height: 1.32;
  letter-spacing: -0.016em;
  font-weight: 420;
}

.hero-meta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 4px;
  background: var(--yellow-strong);
  color: #111;
  font-weight: 800;
}

.meta-text {
  color: var(--quiet);
}

.hero-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.hero-visual-frame {
  position: relative;
  width: min(100%, 520px);
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(244,241,234,0.10);
  padding: 18px;
}

.hero-visual-frame::before,
.hero-visual-frame::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero-visual-frame::before {
  inset: 18px;
  border: 1px solid rgba(244,241,234,0.08);
}

.hero-visual-frame::after {
  top: -10px;
  left: 28px;
  width: 64px;
  height: 4px;
  background: var(--yellow);
  box-shadow: 94px 0 0 rgba(244,241,234,0.16), 188px 0 0 rgba(244,241,234,0.16);
}

.hero-visual-frame img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  filter: grayscale(100%) contrast(1.03);
}

.hero-caption-top,
.hero-caption-bottom {
  position: absolute;
  color: rgba(244,241,234,0.44);
}

.hero-caption-top {
  top: 6px;
  right: 0;
}

.hero-caption-bottom {
  bottom: 6px;
  left: 0;
}

.hero-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--quiet);
}

.work,
.bio {
  padding: clamp(90px, 11vw, 168px) clamp(22px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(40px, 6vw, 86px);
  color: var(--muted);
}

.section-heading span:last-child {
  color: var(--quiet);
  text-align: right;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(42px, 5vw, 88px) clamp(20px, 3vw, 50px);
}

.work-card { display: block; }

.work-card-large { grid-column: span 2; }

.media {
  position: relative;
  margin: 0;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--faint);
  background: var(--panel);
}

.work-card-large .media { aspect-ratio: 16 / 8.5; }

.work-card:not(.work-card-large) .media { aspect-ratio: 4 / 5; }

.media::after {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 2;
  border: 1px solid rgba(244, 241, 234, 0.08);
  pointer-events: none;
}

.media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.95;
  transition: transform 580ms ease, opacity 220ms ease;
}

.work-card:hover .media img {
  transform: scale(1.012);
  opacity: 0.78;
}

.corner-label {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  color: rgba(244, 241, 234, 0.64);
  text-align: right;
}

.work-caption { padding-top: 18px; }

.work-caption h2 {
  font-size: clamp(22px, 1.55vw, 28px);
  line-height: 1.14;
  letter-spacing: -0.024em;
  font-weight: 540;
  color: var(--text);
}

.work-caption p {
  max-width: 600px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.68;
  letter-spacing: -0.002em;
}

.bio-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: start;
}

.bio-photo {
  margin: 0;
  border: 1px solid var(--faint);
  background: var(--panel);
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.bio-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  opacity: 0.96;
}

.bio-copy p {
  color: var(--muted);
  font-size: clamp(19px, 1.5vw, 25px);
  line-height: 1.56;
  letter-spacing: -0.016em;
  margin-bottom: 28px;
}

.contact {
  min-height: 58vh;
  display: grid;
  place-items: center;
  padding: clamp(90px, 11vw, 168px) clamp(22px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.contact-inner h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(62px, 9vw, 142px);
  line-height: 1.02;
  letter-spacing: -0.048em;
  font-weight: 520;
}

.book-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--yellow-strong);
  color: #111;
  border: 1px solid var(--yellow-strong);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 10px;
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.book-button:hover {
  background: transparent;
  color: var(--yellow-strong);
  transform: translateY(-1px);
}

.footer {
  min-height: 76px;
  padding: 26px clamp(22px, 4vw, 64px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
}

.footer > a {
  color: var(--yellow);
}

.footer div {
  display: flex;
  gap: 22px;
}

@media (max-width: 1000px) {
  .hero-main {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .hero-visual {
    min-height: 420px;
  }

  .hero-visual-frame {
    width: min(100%, 420px);
  }

  .hero-caption-top {
    right: 8px;
    top: -6px;
  }

  .hero-caption-bottom {
    left: 8px;
    bottom: -6px;
  }
}

@media (max-width: 820px) {
  .topbar { height: 62px; }

  .brand,
  .nav a,
  .section-heading,
  .hero-footer,
  .footer,
  .corner-label,
  .hero-kicker,
  .hero-caption-top,
  .hero-caption-bottom,
  .meta-pill,
  .meta-text {
    font-size: 9px;
    letter-spacing: 0.12em;
  }

  .nav { gap: 16px; }

  .nav a:first-child { display: none; }

  .hero {
    min-height: 92vh;
    padding-top: 96px;
  }

  h1 {
    font-size: clamp(52px, 13vw, 74px);
    line-height: 1.00;
  }

  .hero-subline {
    max-width: 420px;
    font-size: clamp(21px, 6vw, 28px);
    line-height: 1.30;
  }

  .hero-copy::before {
    display: none;
  }

  .hero-meta-row {
    gap: 10px;
  }

  .hero-visual {
    min-height: 320px;
  }

  .hero-visual-frame {
    width: min(100%, 300px);
    padding: 12px;
  }

  .hero-footer {
    flex-direction: column;
    gap: 10px;
  }

  .section-heading {
    flex-direction: column;
    gap: 12px;
  }

  .section-heading span:last-child { text-align: left; }

  .work-grid,
  .bio-layout { grid-template-columns: 1fr; }

  .work-card-large { grid-column: span 1; }

  .work-card-large .media,
  .work-card:not(.work-card-large) .media {
    aspect-ratio: 4 / 5;
  }

  .bio-copy p {
    font-size: 19px;
    line-height: 1.58;
  }

  .contact-inner h2 {
    font-size: clamp(56px, 17vw, 92px);
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}


/* ---------- VIDEO / VIMEO CARDS ---------- */

.media iframe,
.media video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  background: var(--panel);
}

.media.is-playing::after {
  display: none;
}

.video-card .media::before {
  content: "Play";
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 4;
  min-height: 32px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(244, 241, 234, 0.28);
  border-radius: 999px;
  background: rgba(3, 3, 3, 0.45);
  color: rgba(244, 241, 234, 0.84);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 10px;
  font-weight: 700;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.video-card .media.is-playing::before {
  display: none;
}

.work-subsection {
  margin-top: clamp(42px, 5vw, 88px);
  padding-top: 0;
}

.section-heading-secondary {
  margin-top: clamp(42px, 5vw, 88px);
  margin-bottom: clamp(34px, 5vw, 72px);
}


/* ---------- MOBILE HERO FOOTER SPACING FIX ---------- */

@media (max-width: 820px) {
  .hero {
    grid-template-rows: auto auto;
    row-gap: clamp(18px, 5vw, 34px);
    padding-bottom: clamp(42px, 10vw, 68px);
  }

  .hero-main {
    gap: clamp(34px, 8vw, 52px);
  }

  .hero-footer {
    margin-top: clamp(18px, 5vw, 34px);
  }
}
