/* =========================================================
   CEA Canvas Catalog Storefront
   George Shinn College of Entertainment & the Arts
   ========================================================= */

:root {
  --cea-purple: #2d075f;
  --cea-purple-dark: #25004f;
  --cea-gold: #b59a42;
  --cea-gold-bright: #f6a400;
  --cea-cream: #fbf6e8;
  --cea-text: #252525;
  --cea-muted: #5a5362;
  --cea-white: #ffffff;
  --cea-border: rgba(45, 7, 95, 0.16);
  --cea-max: 1240px;
}

/* =========================================================
   Global storefront wrapper
   ========================================================= */

#cea-storefront-top,
#cea-storefront-bottom {
  width: 100%;
  margin: 0;
  padding: 0;
  color: var(--cea-text);
  background: var(--cea-white);
  font-family: inherit;
  line-height: 1.4;
  box-sizing: border-box;
}

#cea-storefront-top *,
#cea-storefront-top *::before,
#cea-storefront-top *::after,
#cea-storefront-bottom *,
#cea-storefront-bottom *::before,
#cea-storefront-bottom *::after {
  box-sizing: border-box;
}

#cea-storefront-top a,
#cea-storefront-bottom a {
  color: inherit;
  text-decoration: none;
}

#cea-storefront-top img,
#cea-storefront-bottom img {
  display: block;
  max-width: 100%;
}

.cea-container {
  width: min(var(--cea-max), calc(100% - 60px));
  margin: 0 auto;
}


/* =========================================================
   Hero
   ========================================================= */

.cea-hero {
  width: 100%;
  min-height: 430px;

  background-image:
    url("https://i.postimg.cc/mD7HZwtd/header-3.png");

  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #21172f;

  border-top: 4px solid var(--cea-gold);
  border-bottom: 4px solid var(--cea-gold);
}


/* =========================================================
   Intro
   ========================================================= */

.cea-intro {
  text-align: center;
  padding: 90px 0 36px;
  background: #fff;
}

.cea-intro-inner {
  width: min(1120px, calc(100% - 60px));
  margin: 0 auto;
}

.cea-intro h2,
.cea-section-title {
  color: var(--cea-purple-dark);
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  line-height: 1.1;
  margin: 0 0 24px;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.cea-intro h2 span {
  display: inline-block;
  margin-top: 6px;
}

.cea-intro p {
  max-width: 1080px;
  margin: 0 auto 20px;
  color: var(--cea-text);
  font-size: clamp(1.12rem, 1.75vw, 1.45rem);
  line-height: 1.28;
  font-family: Georgia, "Times New Roman", serif;
}


/* =========================================================
   Academic / Master Courses Section
   ========================================================= */

.cea-academic-programs {
  padding: 42px 0 110px;
  background: #fff;
}

.cea-section-intro {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 52px;
}

.cea-section-intro h2 {
  color: var(--cea-purple-dark);
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  line-height: 1.1;
  margin: 0 0 16px;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.cea-section-intro p {
  margin: 0;
  color: var(--cea-text);
  font-size: clamp(1.08rem, 1.5vw, 1.35rem);
  line-height: 1.35;
  font-family: Georgia, "Times New Roman", serif;
}


/* =========================================================
   Program grid
   ========================================================= */

.cea-program-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
}

.cea-program-card {
  width: 100%;
  min-width: 0;
  margin: 0;
}

.cea-program-card img {
  width: 100%;
  aspect-ratio: 1.48 / 1;
  object-fit: cover;
  margin-bottom: 26px;
}

.cea-program-card h3 {
  color: var(--cea-purple-dark);
  margin: 0 0 14px;
  font-size: clamp(1.75rem, 2.6vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 900;
}

.cea-program-card p {
  margin: 0 0 24px;
  color: var(--cea-text);
  font-size: clamp(1.02rem, 1.25vw, 1.22rem);
  line-height: 1.3;
  font-family: Georgia, "Times New Roman", serif;
}


/* =========================================================
   Clickable Screenwriting card
   ========================================================= */

.cea-program-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.cea-program-card-link img {
  transition: transform 180ms ease;
}

.cea-program-card-link:hover img {
  transform: scale(1.015);
}

.cea-program-card-link:hover h3 {
  text-decoration: underline;
  text-decoration-color: #AD974F;
  text-underline-offset: 6px;
}


/* =========================================================
   Coming Soon
   ========================================================= */

.cea-coming-soon {
  margin: 18px 0 0;
  color: #AD974F;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}


/* =========================================================
   Bottom CEA Website CTA
   ========================================================= */

.cea-connect {
  background: var(--cea-cream);
  padding: 92px 0;
}

.cea-connect-card {
  width: min(1040px, calc(100% - 60px));
  margin: 0 auto;
  background: var(--cea-purple-dark);
  color: #fff;
  border-top: 5px solid var(--cea-gold);
  padding: clamp(42px, 6vw, 72px);
  text-align: center;
}

.cea-connect-card h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
  margin: 0 0 20px;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.cea-connect-card p {
  max-width: 820px;
  margin: 0 auto 34px;
  color: #fff;
  font-size: clamp(1.15rem, 1.7vw, 1.5rem);
  line-height: 1.35;
  font-family: Georgia, "Times New Roman", serif;
}

.cea-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 30px;
  background: var(--cea-gold);
  color: var(--cea-purple-dark) !important;
  font-weight: 900;
  border: 2px solid var(--cea-gold);
  transition:
    transform 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.cea-button:hover,
.cea-button:focus {
  transform: translateY(-2px);
  background: #fff;
  color: var(--cea-purple-dark) !important;
}


/* =========================================================
   Responsive
   ========================================================= */

@media screen and (max-width: 900px) {
  .cea-hero {
    min-height: 320px;
    background-size: contain;
    background-position: center center;
  }
}

@media screen and (max-width: 760px) {
  .cea-container,
  .cea-intro-inner {
    width: min(100% - 36px, var(--cea-max));
  }

  .cea-program-grid {
    grid-template-columns: 1fr !important;
    gap: 48px;
  }

  .cea-program-card {
    max-width: 100%;
  }

  .cea-intro {
    padding: 64px 0 56px;
  }

  .cea-academic-programs {
    padding: 72px 0 82px;
  }

  .cea-connect {
    padding: 64px 0;
  }

  .cea-connect-card {
    width: calc(100% - 36px);
    padding: 38px 26px;
  }
}

@media screen and (max-width: 600px) {
  .cea-hero {
    min-height: 220px;
    background-size: contain;
    background-position: center center;
  }
}

@media screen and (max-width: 480px) {
  .cea-program-card img {
    aspect-ratio: 1.25 / 1;
  }

  .cea-button {
    width: 100%;
  }
}

@media screen and (max-width: 400px) {
  .cea-hero {
    min-height: 180px;
  }
}
