:root {
  --orange: #f76902;
  --black: #000;
  --dark: #1c1c1c;
  --text: #1f2128;
  --white: #fff;
  --grey: #dcdcdc;
  --nav-h: 76px;
  --font: "Helvetica Neue", "Helvetica", "Roboto", "Arial", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
  margin: 0;
}

b,
strong {
  font-weight: 700;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

h1,
h2,
h3,
p,
ul,
figure {
  margin: 0;
}

ul {
  list-style: none;
  padding: 0;
}

a {
  color: inherit;
}

.container {
  margin: 0 auto;
  max-width: 1280px;
  padding: 0 24px;
  width: 100%;
}

.container--narrow {
  max-width: 1080px;
}

section[id] {
  scroll-margin-top: var(--nav-h);
}

h2 {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

h2 span {
  color: var(--orange);
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  min-width: 240px;
  padding: 12px 40px;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.btn--orange {
  background: var(--orange);
  color: var(--white);
}

.btn--orange:hover {
  background: var(--black);
  box-shadow: inset 0 0 0 3px var(--orange);
}

.btn--dark {
  background: var(--dark);
  color: var(--white);
}

.btn--dark:hover {
  background: var(--white);
  color: var(--dark);
}

.btn--light {
  background: var(--grey);
  color: var(--dark);
}

.btn--light:hover {
  background: var(--white);
}

.btn--outline {
  background: transparent;
  box-shadow: inset 0 0 0 3px var(--orange);
  color: var(--orange);
}

.btn--outline:hover {
  background: var(--orange);
  color: var(--white);
}

.section__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 56px;
  text-align: center;
}

/* Navigation */
.nav {
  background: var(--white);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav__inner {
  align-items: center;
  display: flex;
  height: var(--nav-h);
  justify-content: space-between;
}

.nav__logo img {
  width: 155px;
}

.nav__links {
  display: flex;
  gap: 26px;
}

.nav__links a {
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav__links a:hover {
  color: var(--orange);
}

.nav__toggle {
  background: none;
  border: 0;
  cursor: pointer;
  display: none;
  height: 40px;
  padding: 0;
  position: relative;
  width: 40px;
}

.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  background: var(--text);
  content: "";
  display: block;
  height: 2px;
  left: 8px;
  position: absolute;
  width: 24px;
}

.nav__toggle span {
  top: 19px;
}

.nav__toggle span::before {
  left: 0;
  top: -8px;
}

.nav__toggle span::after {
  left: 0;
  top: 8px;
}

/* Hero */
.hero {
  align-items: center;
  color: var(--white);
  display: flex;
  min-height: 640px;
  overflow: hidden;
  position: relative;
}

.hero__image {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.hero__shade {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.45) 55%, rgba(0, 0, 0, 0.25) 100%);
  inset: 0;
  position: absolute;
}

.hero__content {
  padding-bottom: 90px;
  padding-top: 90px;
  position: relative;
}

.hero__eyebrow {
  color: var(--orange);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 60px;
  font-weight: 700;
  line-height: 1.15;
  max-width: 640px;
}

.hero__sub {
  font-size: 28px;
  font-weight: 700;
  margin: 18px 0 40px;
}

.hero__sub span {
  color: var(--orange);
}

/* Stats (orange) */
.stats {
  background: var(--orange);
  color: var(--white);
  padding: 100px 0;
}

.stats h2 {
  color: var(--white);
  margin: 0 auto;
  max-width: 760px;
}

.stats h2 span {
  color: var(--dark);
}

.stats__lead {
  font-size: 22px;
  margin: 24px 0 48px;
  text-align: center;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stats__item {
  padding: 32px 40px;
}

.stats__item:nth-child(odd) {
  border-right: 1px solid rgba(255, 255, 255, 0.45);
}

.stats__item:nth-child(-n + 4) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

.stats__item p {
  font-size: 16px;
  line-height: 1.45;
}

.stats__item strong {
  color: var(--dark);
  display: block;
  font-size: 46px;
  font-weight: 700;
  line-height: 1.15;
  margin: 6px 0 8px;
}

.stats__cta {
  margin-top: 48px;
}

.stats__ctaRow {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  display: flex;
  gap: 40px;
  justify-content: space-between;
  padding: 28px 0;
}

.stats__ctaRow:first-child {
  border-top: 0;
}

.stats__ctaRow p {
  font-size: 19px;
  max-width: 560px;
}

/* About the study */
.study {
  padding: 110px 0 100px;
  position: relative;
}

.study__corner {
  left: 0;
  max-width: 220px;
  position: absolute;
  top: 0;
  width: 18vw;
}

.study__tagline {
  font-size: 22px;
  font-weight: 700;
  margin: 28px 0 24px;
  text-align: center;
}

.study__lead {
  font-size: 19px;
  margin: 0 auto;
  max-width: 860px;
  text-align: center;
}

.study__cards {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 64px;
}

.card {
  border: 3px solid var(--orange);
  padding: 34px 32px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.card:hover {
  box-shadow: 0 10px 28px rgba(247, 105, 2, 0.15);
  transform: translateY(-2px);
}

.card h3 {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 14px;
}

.card p {
  font-size: 19px;
}


/* Projects */
.projects {
  padding: 40px 0 100px;
  text-align: center;
}

.projects h2 {
  margin-bottom: 40px;
}

.projects p {
  font-size: 19px;
  margin: 0 auto 24px;
  max-width: 860px;
}

/* Framed image: orange block offset behind the photo */
.framed {
  position: relative;
}

.framed::before {
  background: var(--orange);
  content: "";
  height: 92%;
  left: -40px;
  position: absolute;
  top: -30px;
  width: 92%;
}

.framed img,
.framed iframe {
  position: relative;
  width: 100%;
}

.framed--wide {
  margin: 70px auto 0;
  max-width: 640px;
}

.framed--portrait {
  max-width: 380px;
}

/* Creative Collisions carousel */
.carousel {
  max-width: 760px;
}

.carousel::before {
  height: calc(92% - 32px);
}

.carousel__track {
  display: flex;
  overflow-x: auto;
  position: relative;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.carousel__track::-webkit-scrollbar {
  display: none;
}

.carousel__track img {
  aspect-ratio: 3 / 2;
  flex: 0 0 100%;
  object-fit: cover;
  scroll-snap-align: start;
}

.carousel__btn {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  color: var(--dark);
  cursor: pointer;
  display: flex;
  font-size: 34px;
  height: 48px;
  justify-content: center;
  line-height: 1;
  padding: 0 0 4px;
  position: absolute;
  /* centred on the photo, not on photo + dots */
  top: calc((100% - 32px) / 2);
  transform: translateY(-50%);
  transition: background-color 0.2s ease, color 0.2s ease;
  width: 48px;
  z-index: 2;
}

.carousel__btn:hover {
  background: var(--orange);
  color: var(--white);
}

.carousel__btn--prev {
  left: 14px;
}

.carousel__btn--next {
  right: 14px;
}

.carousel__dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 22px;
  position: relative;
}

.carousel__dot {
  background: #cfcfcf;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  height: 10px;
  padding: 0;
  transition: background-color 0.2s ease, transform 0.2s ease;
  width: 10px;
}

.carousel__dot[aria-selected="true"] {
  background: var(--orange);
  transform: scale(1.25);
}

.framed--video {
  aspect-ratio: 9 / 16;
  margin-left: 30px;
  max-width: 320px;
}

.framed--video iframe {
  border: 0;
  height: 100%;
}

/* Skills (dark) */
.skills {
  background: var(--dark);
  color: var(--white);
  overflow: hidden;
  padding-top: 100px;
}

.skills h2 {
  color: var(--white);
}

.skills__grid {
  align-items: end;
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr 1fr;
  margin-top: 48px;
}

.skills__media img {
  margin: 0 auto;
  max-height: 640px;
  width: auto;
}

.skills__content {
  padding-bottom: 100px;
}

.skills__content > p {
  font-size: 22px;
  margin-bottom: 24px;
}

.skills__content ul {
  margin-bottom: 40px;
}

.skills__content li {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  padding-left: 28px;
  position: relative;
}

.skills__content li + li {
  margin-top: 6px;
}

.skills__content li::before {
  background: var(--white);
  border-radius: 50%;
  content: "";
  height: 6px;
  left: 8px;
  position: absolute;
  top: 0.6em;
  width: 6px;
}

/* Career */
.career {
  padding: 100px 0;
}

.career__grid {
  align-items: start;
  display: grid;
  gap: 40px;
  grid-template-columns: 340px 1fr;
  margin-top: 48px;
}

.career__stat {
  background: #2a2b31;
  border-radius: 18px;
  color: var(--white);
  padding: 56px 24px;
  text-align: center;
}

.career__stat strong {
  color: var(--orange);
  display: block;
  font-size: 54px;
  font-weight: 700;
  line-height: 1.1;
  margin: 10px 0;
}

.career__text p {
  font-size: 19px;
}

.career__text p + p {
  margin-top: 24px;
}

/* Student success (dark) */
.success {
  background: var(--dark);
  color: var(--white);
  padding: 100px 0;
}

.success h2 {
  color: var(--white);
  margin-bottom: 70px;
}

.success__row {
  align-items: center;
  display: grid;
  gap: 64px;
  grid-template-columns: 1fr 1fr;
}

.success__row + .success__row {
  margin-top: 90px;
}

.success__row--reverse .success__media {
  order: 2;
}

.success__media figcaption {
  font-size: 15px;
  margin-top: 22px;
  text-align: center;
}

.success__media .framed {
  margin-left: 40px;
}

.success__text p {
  font-size: 18px;
}

.success__text p + p {
  margin-top: 22px;
}

/* FAQ */
.faq {
  padding: 110px 0 60px;
}

.faq h2 {
  color: var(--orange);
  margin-bottom: 56px;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.faq__item {
  background: var(--grey);
}

.faq__item summary {
  cursor: pointer;
  font-size: 19px;
  font-weight: 700;
  list-style: none;
  padding: 18px 64px 18px 22px;
  position: relative;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  color: var(--orange);
  content: "+";
  font-size: 26px;
  font-weight: 400;
  position: absolute;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
}

.faq__item[open] summary::after {
  content: "\2212";
}

.faq__answer {
  padding: 0 22px 22px;
}

.faq__answer p {
  font-size: 17px;
}

.faq__answer p + p {
  margin-top: 12px;
}

.faq__answer a {
  color: var(--orange);
}

/* Contact */
.contact {
  padding: 50px 0 110px;
}

.contact h2 {
  font-size: 32px;
}

.contact__list {
  display: flex;
  gap: 40px;
  justify-content: space-around;
  margin-top: 40px;
}

.contact__item {
  align-items: flex-start;
  display: flex;
  gap: 18px;
}

.contact__item img {
  height: 28px;
  width: 28px;
}

.contact__item p {
  font-size: 18px;
  font-weight: 700;
}

.contact__item p + p {
  margin-top: 8px;
}

.contact__item a {
  text-decoration: underline;
}

.contact__item a:hover {
  color: var(--orange);
}

/* Footer */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 86px 0 48px;
}

.footer__wrapper {
  display: flex;
  flex-direction: column;
  gap: 56px;
  max-width: 1120px;
}

.footer__brand {
  align-items: flex-start;
  display: flex;
  gap: 68px;
}

.footer__brand img {
  width: 160px;
}

.footer__brand ul {
  display: flex;
  gap: 46px;
}

.footer__brand li,
.footer__meta span {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.45;
}

.footer__brand a {
  text-decoration: none;
}

.footer__meta {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.footer__socials {
  display: flex;
  gap: 16px;
}

.footer__socials img {
  height: 24px;
  width: 24px;
}

/* Cookie banner (same as the other RIT landing pages) */
.footer_gdpr.gdpr {
  background-color: #555;
  border-bottom: 3px solid var(--orange);
  border-top: 3px solid var(--orange);
  bottom: 0;
  box-shadow: 0 4px 8px #0003, 0 6px 20px #00000030;
  color: var(--white);
  left: 0;
  margin-bottom: 0;
  padding: 30px;
  position: fixed;
  width: 100%;
  z-index: 9999 !important;
}

.footer_gdpr .container {
  max-width: 1280px;
}

.footer_gdpr .mb_20 {
  font-size: 21px;
  font-weight: 700;
  line-height: 32px;
}

.footer_gdpr .mb_20 a {
  color: var(--orange);
  text-decoration: underline;
}

.footer_gdpr .panel1 {
  margin-top: 20px;
}

.footer_gdpr .allCookeSubmit,
.footer_gdpr .mb_10,
.footer_gdpr .cookeSelectSubmit {
  background-color: var(--orange);
  border: 0;
  border-radius: 6px;
  color: var(--white);
  cursor: pointer;
  font-family: var(--font);
  font-size: 18px;
  font-weight: 700;
  line-height: 20px;
  margin-right: 20px;
  padding: 15px 25px;
  text-transform: uppercase;
}

.footer_gdpr .mk-trc.mr_10 {
  align-items: center;
  display: flex;
  font-size: 21px;
  gap: 14px;
  line-height: 29px;
  margin-bottom: 10px;
}

.footer_gdpr .mk-trc.mr_10 input {
  display: inline-block;
}

.footer_gdpr .col-md-12.col-sm-12.mt_10 {
  margin-top: 20px;
}

.triangle-bottomleft {
  border-bottom: 80px solid var(--orange);
  border-right: 80px solid transparent;
  bottom: 0;
  cursor: pointer;
  height: 0;
  left: 0;
  position: fixed;
  width: 0;
  z-index: 99999 !important;
}

.triangle-bottomleft i {
  color: var(--black);
  font-size: 25px;
  left: 15px;
  position: absolute;
  top: 45px;
}

/* Tablet */
@media (max-width: 1100px) {
  .nav__links {
    gap: 16px;
  }

  .nav__links a {
    font-size: 13px;
  }
}

@media (max-width: 960px) {
  :root {
    --nav-h: 64px;
  }

  .nav__toggle {
    display: block;
  }

  .nav__links {
    background: var(--white);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    display: none;
    flex-direction: column;
    gap: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: var(--nav-h);
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__links a {
    display: block;
    font-size: 15px;
    padding: 14px 24px;
  }

  .nav__links li + li {
    border-top: 1px solid #eee;
  }
}

/* Mobile */
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  h2 {
    font-size: 30px;
  }

  .btn {
    min-width: 0;
    width: 100%;
  }

  .section__cta {
    margin-top: 40px;
  }

  .hero {
    min-height: 560px;
  }

  .hero__content {
    padding-bottom: 60px;
    padding-top: 60px;
  }

  .hero__eyebrow {
    font-size: 15px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero__sub {
    font-size: 20px;
    margin-bottom: 32px;
  }

  .stats,
  .career,
  .success {
    padding: 64px 0;
  }

  .stats__lead {
    font-size: 18px;
    margin-bottom: 24px;
  }

  .stats__grid {
    grid-template-columns: 1fr;
  }

  .stats__item {
    border-right: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
    padding: 24px 0;
  }

  .stats__item:last-child {
    border-bottom: 0;
  }

  .stats__item strong {
    font-size: 38px;
  }

  .stats__ctaRow {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
  }

  .stats__ctaRow p {
    font-size: 17px;
  }

  .study {
    padding: 80px 0 64px;
  }

  .study__corner {
    width: 90px;
  }

  .study__tagline {
    font-size: 19px;
  }

  .study__lead,
  .projects p,
  .card p,
  .career__text p {
    font-size: 17px;
  }

  .card {
    padding: 24px 20px;
  }

  .card h3 {
    font-size: 23px;
  }


  .projects {
    padding-bottom: 64px;
  }

  .framed::before {
    left: -16px;
    top: -14px;
  }

  .framed--wide {
    margin-left: 16px;
    margin-top: 48px;
  }

  .carousel__btn {
    font-size: 28px;
    height: 38px;
    width: 38px;
  }

  .carousel__btn--prev {
    left: 8px;
  }

  .carousel__btn--next {
    right: 8px;
  }

  .framed--portrait {
    max-width: 300px;
  }

  .skills {
    padding-top: 64px;
  }

  .skills__grid {
    gap: 32px;
    grid-template-columns: 1fr;
  }

  .skills__content {
    order: -1;
    padding-bottom: 0;
  }

  .skills__content > p,
  .skills__content li {
    font-size: 18px;
  }

  .skills__media img {
    max-height: 460px;
  }

  .career__grid {
    gap: 28px;
    grid-template-columns: 1fr;
  }

  .career__stat {
    padding: 36px 20px;
  }

  .success h2 {
    margin-bottom: 48px;
  }

  .success__row {
    gap: 32px;
    grid-template-columns: 1fr;
  }

  .success__row + .success__row {
    margin-top: 64px;
  }

  .success__row--reverse .success__media {
    order: 0;
  }

  .success__media .framed {
    margin-left: 16px;
  }

  .framed--video {
    margin-left: auto;
    margin-right: auto;
    max-width: 280px;
  }

  .success__text p {
    font-size: 16px;
  }

  .faq {
    padding: 72px 0 40px;
  }

  .faq h2 {
    margin-bottom: 36px;
  }

  .faq__item summary {
    font-size: 16px;
    padding: 16px 52px 16px 16px;
  }

  .faq__item summary::after {
    right: 18px;
  }

  .faq__answer {
    padding: 0 16px 18px;
  }

  .faq__answer p {
    font-size: 15px;
  }

  .contact {
    padding-bottom: 72px;
  }

  .contact h2 {
    font-size: 24px;
  }

  .contact__list {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .contact__item p {
    font-size: 16px;
  }

  .footer__brand,
  .footer__brand ul,
  .footer__meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }
}

@media (max-width: 560px) {
  .footer_gdpr.gdpr {
    padding: 18px;
  }

  .footer_gdpr .mb_20 {
    font-size: 15px;
    line-height: 23px;
  }

  .footer_gdpr .allCookeSubmit,
  .footer_gdpr .mb_10,
  .footer_gdpr .cookeSelectSubmit {
    display: block;
    font-size: 14px;
    margin-bottom: 10px;
    margin-right: 0;
    width: 100%;
  }

  .footer_gdpr .mk-trc.mr_10 {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .card,
  .btn {
    transition: none;
  }
}

/* Scroll-in animation (same behaviour as the other RIT landing pages) */
.animate.isBottom {
  transition: transform 0.7s ease 0.1s, opacity 0.7s ease 0.1s;
}

.animate.isAnimated {
  opacity: 0;
}

.animate.isAnimated.isBottom {
  transform: translateY(100px);
}

