/* Home page (index.html). Scoped under .home; navbar and footer come from style-starter.css. */
.home {
  --h-ink: #1A1D2D;
  --h-text: #585858;
  --h-muted: #8b8b8b;
  --h-rule: #ececec;
  --h-soft: #f7f7f8;
  --h-theme: #cf0e4e;
  color: var(--h-text);
  font-family: 'Hind', sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
.home h1, .home h2, .home h3 { font-family: 'Nunito', sans-serif; color: var(--h-ink); text-wrap: balance; }
.home a { color: var(--h-theme); }
.home :focus-visible { outline: 2px solid var(--h-theme); outline-offset: 2px; }
.nw { white-space: nowrap; }

/* ---------- hero: full-width photo, overlay, text on the left ---------- */
.home-hero {
  position: relative;
  color: #fff;
  background: #d3d6d9;
  min-height: max(620px, 82vh);
  display: flex;
  align-items: center;
}
/* the photo keeps its framing at the right; its left edge fades into the hallway grey */
.home-hero .hero-photo {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(100%, calc(max(620px, 82vh) * 1.254));
  background: url(../images/home/hero.jpg) right center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%);
  mask-image: linear-gradient(90deg, transparent 0, #000 22%);
}
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.38) 0, rgba(0, 0, 0, 0) 130px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.74) 0%, rgba(0, 0, 0, 0.66) 36%, rgba(0, 0, 0, 0.22) 58%, rgba(0, 0, 0, 0.12) 100%);
}
.home-hero > .container { position: relative; z-index: 2; padding-top: 110px; padding-bottom: 60px; }
.home-hero .hero-text { max-width: 640px; text-shadow: 0 1px 14px rgba(0, 0, 0, 0.55); }
.home-hero h1 { color: #fff; font-weight: 400; font-size: 56px; line-height: 1.15; margin: 0; }
.home-hero .role { font-size: 22px; line-height: 1.4; margin: 6px 0 18px; color: #fff; }
.home-hero .pitch { font-size: 20px; line-height: 1.5; color: #fff; margin: 0 0 10px; }
.home-hero .status { font-size: 16.5px; color: #f0f0f4; margin: 0 0 18px; }
.home-hero .status b { color: #fff; font-family: 'Nunito', sans-serif; }
.home-hero .links { display: flex; flex-wrap: wrap; gap: 8px; }
.home-hero .links a {
  display: inline-flex; align-items: center; gap: 6px;
  font: 600 15px 'Nunito', sans-serif; color: #fff; text-decoration: none; text-shadow: none;
  padding: 6px 14px; border-radius: 5px; border: 1px solid rgba(255, 255, 255, 0.75); background: rgba(0, 0, 0, 0.35);
  transition: background 150ms, border-color 150ms;
}
.home-hero .links a:hover { background: rgba(0, 0, 0, 0.55); border-color: #fff; }
.home-hero .links a.primary { background: var(--h-theme); border-color: var(--h-theme); }
.home-hero .links a.primary:hover { background: #a90b40; }
.home-hero .mail { display: inline-block; margin-top: 10px; font-family: SFMono-Regular, Menlo, Consolas, monospace; font-size: 15px; color: #fff; }
@media (max-width: 991px) {
  .home-hero h1 { font-size: 44px; }
}
@media (max-width: 640px) {
  .home-hero { display: block; min-height: 0; background: #262626; }
  .home-hero .hero-photo {
    width: 100%; bottom: auto; height: 440px;
    background: url(../images/home/hero-900.jpg) 64% 0 / auto 440px no-repeat;
    -webkit-mask-image: none; mask-image: none;
  }
  .home-hero::before { background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0, rgba(0, 0, 0, 0.2) 200px, rgba(0, 0, 0, 0.6) 300px, #262626 440px); }
  .home-hero > .container { padding-top: 300px; padding-bottom: 32px; }
  .home-hero h1 { font-size: 40px; }
  .home-hero .role { font-size: 19px; }
  .home-hero .pitch { font-size: 18.5px; }
}

/* ---------- proof strip ---------- */
.proof { background: var(--h-soft); border-bottom: 1px solid var(--h-rule); padding: 14px 0; font-size: 15px; }
.proof .container { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.proof b { font-family: 'Nunito', sans-serif; color: var(--h-ink); }
.venue { display: inline-block; font: 800 13px 'Nunito', sans-serif; color: #fff; background: var(--h-ink); border-radius: 4px; padding: 2px 7px; white-space: nowrap; }
.award { display: inline-flex; gap: 5px; align-items: center; font: 600 12.5px 'Nunito', sans-serif; color: #8a6400; background: #fff6dc; border: 1px solid #e3c25a; border-radius: 4px; padding: 1px 7px; white-space: nowrap; }
.award .fa { color: #d1a91a; }

/* ---------- sections ---------- */
.home-sec { padding: 56px 0; border-bottom: 1px solid var(--h-rule); }
.home-sec h2 { font-size: 30px; font-weight: 800; margin: 0 0 20px; }
.home-sec p { margin: 0 0 0.8em; }

.story { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .story { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.story > div { border-top: 3px solid var(--h-theme); padding-top: 12px; display: flex; flex-direction: column; }
.story .step { font: 800 14px 'Nunito', sans-serif; color: var(--h-theme); }
.story h3 { font-size: 20px; font-weight: 800; margin: 2px 0 8px; }
.story p { font-size: 16px; line-height: 1.6; flex: 1; }
.story .num { font-family: 'Nunito', sans-serif; font-weight: 800; color: var(--h-ink); }
.story a { font-weight: 600; text-decoration: none; }
.story a:hover { text-decoration: underline; }

.split { display: grid; gap: 32px 48px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 992px) { .split { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } .split.rev { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); } }
.split > * { min-width: 0; }
.home figure { margin: 0; }
.home figure img { width: 100%; height: auto; border-radius: 6px; display: block; }
.home figcaption { font-size: 14px; color: var(--h-muted); margin-top: 6px; }

.pubs { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.pubs li { display: grid; grid-template-columns: 5.8rem minmax(0, 1fr); gap: 4px 14px; align-items: start; }
.pubs .t { font: 700 17px/1.35 'Nunito', sans-serif; color: var(--h-ink); text-decoration: none; }
.pubs a.t:hover { color: var(--h-theme); }
.pubs .a { font-size: 15px; line-height: 1.55; }
.pubs .a u { text-decoration-color: var(--h-theme); }
.also-h { font-size: 16px; font-weight: 800; margin: 26px 0 8px; color: var(--h-muted) !important; }
.also { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 15.5px; line-height: 1.5; }
.also a { font-family: 'Nunito', sans-serif; font-weight: 700; color: var(--h-ink); text-decoration: none; }
.also a:hover { color: var(--h-theme); }
.more { display: inline-block; margin-top: 18px; font-weight: 600; }
@media (max-width: 575px) { .pubs li { grid-template-columns: minmax(0, 1fr); } .pubs .venue { justify-self: start; } }

.two { display: grid; gap: 32px 48px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.xp { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.xp b { font-family: 'Nunito', sans-serif; color: var(--h-ink); font-size: 17px; }
.xp .when { color: var(--h-muted); font-size: 14.5px; margin-left: 6px; }
.xp p { margin: 2px 0 0; font-size: 16px; line-height: 1.55; }

.home-sec.last { border-bottom: 0; }
