:root {
  --bg: #0f1211;
  --bg-alt: #171b18;
  --surface: #1d231f;
  --surface-2: #242c27;
  --text: #f2f0e9;
  --muted: #adb7ae;
  --accent: #d6a15c;
  --accent-hover: #edb66d;
  --border: rgba(255,255,255,.11);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a { color: inherit; }

.navbar {
  background: rgba(15, 18, 17, .84);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

.navbar-brand {
  letter-spacing: .08em;
}

.nav-link {
  color: rgba(255,255,255,.76);
}

.nav-link:hover,
.nav-link:focus {
  color: #fff;
}

.navbar-logo {
  height: 40px;
  width: auto;
  display: block;
}

/* .hero {
  position: relative;
  min-height: 88vh;
  padding-top: 8rem;
  background:
    radial-gradient(circle at 80% 30%, rgba(214,161,92,.18), transparent 35%),
    linear-gradient(135deg, #111614 0%, #202921 48%, #0d1110 100%);
} */

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.hero-video {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  z-index: 0;

  filter: brightness(0.6);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 760px;
  color: #d8ded9;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.eyebrow,
.project-kicker,
.timeline-date {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 700;
}

.section-padding {
  padding: 6.5rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2.5rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin-bottom: 1rem;
}

.section-heading p:last-child,
.project-card p,
.skill-panel p,
.timeline-item p,
#about p {
  color: var(--muted);
}

.card-surface,
.skill-panel {
  background: linear-gradient(145deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: 0 18px 50px rgba(0,0,0,.2);
}

.project-card {
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(214,161,92,.5);
}

.media-placeholder,
.portrait-placeholder {
  display: grid;
  place-items: center;
  min-height: 240px;
  padding: 2rem;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(214,161,92,.13), rgba(122,161,129,.08)),
    #111613;
  color: #c7d1ca;
  border-bottom: 1px solid var(--border);
}

.media-placeholder-lg {
  min-height: 100%;
  aspect-ratio: 16 / 10;
}

.media-placeholder-sm {
  min-height: 190px;
}

.media-placeholder div {
  display: grid;
  gap: .3rem;
}

.media-placeholder small {
  color: var(--muted);
}

.video-container {
  width: 100%;
  height: 100%;
  min-height: 420px;
  /* or whatever looks best */
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.project-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 1rem;
}

.project-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portrait-placeholder {
  min-height: 460px;
  border: 1px solid var(--border);
  border-radius: 1rem;
}

.project-summary {
  color: #d4dbd5;
  font-size: 1.08rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.tag-list-padded {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2%;
}

.tag-list-padded span,
.tag-list span {
  display: inline-flex;
  padding: .35rem .68rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.035);
  color: #d8dfda;
  font-size: .82rem;
}

.btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #17120c;
  font-weight: 700;
}

.btn-accent:hover,
.btn-accent:focus {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #17120c;
}

.skill-panel {
  padding: 1.6rem;
}

.timeline {
  max-width: 900px;
  border-left: 1px solid var(--border);
  padding-left: 2rem;
}

.timeline-item {
  position: relative;
  padding: 0 0 2.8rem 1rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -2.45rem;
  top: .35rem;
  width: .9rem;
  height: .9rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 .35rem var(--bg);
}

.text-muted-custom {
  color: var(--muted);
}

footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
}

@media (max-width: 991.98px) {
  .hero {
    min-height: 78vh;
  }

  .navbar-collapse {
    padding: 1rem 0;
  }

  .media-placeholder-lg {
    min-height: 360px;
  }
}

.project-highlights {
  margin: 1.25rem 0 1.75rem;
  padding-left: 1.25rem;
}

.project-highlights li {
  margin-bottom: 0.65rem;
  padding-left: 0.35rem;
  color: var(--text-muted, #c5c5c5);
  line-height: 1.55;
}

.project-highlights li::marker {
  color: var(--accent, #8be9fd);
}


/* Featured project card */
.featured-project>.row {
  align-items: stretch;
}

/* Left/video column */
.featured-project .col-lg-7 {
  display: flex;
  padding: 0.5rem;
}

/* Fill the entire column except for the 0.5rem padding */
.featured-project .col-lg-7 .project-media {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 0.75rem;
}

/* Make the trailer fill that space */
.featured-project .portfolio-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Right/content column */
.featured-project .col-lg-5 {
  display: flex;
  align-items: center;
}

.featured-project .col-lg-5>div {
  width: 100%;
}


/* ---------- Award Card ---------- */

.award-card {
  padding: 1.5rem 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.025);
}

.award-card>.d-flex {
  align-items: flex-start !important;
  gap: 0rem !important;
}

/* UROC logo */
.award-logo {
  width: auto;
  height: 130px;

  object-fit: contain;
  flex-shrink: 0;

  margin-top: -5px;
  margin-right: -10px;
}

/* Award text */
.award-content {
  min-width: 0;
}

.award-content .eyebrow {
  margin: 0 0 0.35rem;
  line-height: 1;
}

.award-content h4 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 600;
}

.award-content .text-muted-custom {
  margin-bottom: 0.75rem !important;
}

/* Mobile */
@media (max-width: 576px) {
  .award-card {
    padding: 1.25rem;
  }

  .award-card>.d-flex {
    gap: 0.5rem !important;
  }

  .award-logo {
    height: 90px;
    width: auto;
    align-self: center;
  }

  .award-content h4 {
    font-size: 1.15rem;
  }
}