/* FONT */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap");

/* GENERAL STYLING */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --accent: #d8ae45;
  --hover: #d8ae45;
  --muted: #444444;
  --line: #e4e4e4;
}

html, body {
  min-height: 100%;
  width: 100%;
  overflow-x: hidden;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { background-color: #ffffff; color: #000000; line-height: 1.7; }
button { font: inherit; }
a { color: inherit; text-underline-offset: 5px; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
img { max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3 { font-weight: 400; line-height: 1.3; }
p + p { margin-top: 18px; }

.container { width: 80%; max-width: 1000px; margin: 0 auto; }
main.container { padding-top: 70px; }
.skip { position: absolute; top: 12px; left: 20px; z-index: 3000; transform: translateY(-200%); background: #000; color: #fff; padding: 10px 16px; }
.skip:focus { transform: none; }

/* NAVIGATION MENU */

.navbar { position: absolute; top: 20px; right: 20px; z-index: 1000; font-family: "Inter", sans-serif; }

/* Keep the checkbox accessible to keyboard and screen-reader users. */
#menu-toggle { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.menu-icon { display: flex; flex-direction: column; justify-content: space-between; width: 28px; height: 20px; cursor: pointer; z-index: 2000; position: relative; }
.menu-icon::after { content: ""; position: absolute; inset: -12px; }
.menu-icon span { display: block; height: 3px; width: 100%; background: #000000; border-radius: 2px; transition: transform .3s ease, opacity .3s ease, background .3s ease; }
#menu-toggle:focus-visible + .menu-icon { outline: 2px solid var(--accent); outline-offset: 8px; }

.menu { list-style: none; position: fixed; top: 0; right: -250px; height: 100vh; height: 100dvh; width: min(250px, 100vw); background: rgba(0, 0, 0, .95); padding: 100px 30px; display: flex; flex-direction: column; gap: 25px; visibility: hidden; overflow-y: auto; transition: right .3s ease, visibility .3s ease; z-index: 1500; }
.menu li a { display: inline-flex; align-items: center; min-height: 44px; color: white; text-decoration: none; font-size: 1.4rem; font-weight: 300; letter-spacing: 1px; transition: color .2s ease; }
.menu li a:hover { color: #d8ae45; }
.menu li a:focus-visible { outline-color: #d8ae45; }
#menu-toggle:checked ~ .menu { right: 0; visibility: visible; }
#menu-toggle:checked + .menu-icon span { background: #ffffff; }
#menu-toggle:checked:focus-visible + .menu-icon { outline-color: #ffffff; }
#menu-toggle:checked + .menu-icon span:nth-child(1) { transform: rotate(45deg) translateY(8px); }
#menu-toggle:checked + .menu-icon span:nth-child(2) { opacity: 0; }
#menu-toggle:checked + .menu-icon span:nth-child(3) { transform: rotate(-45deg) translateY(-8px); }


/* PAGE INTRODUCTION */

.back { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: .8rem; color: #333; text-decoration: none; }
.back:hover { color: var(--hover); }
.hero { max-width: 800px; margin: 0 auto; padding: 35px 0 50px; text-align: center; }
.eyebrow { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.hero h1 { font-size: 2rem; text-align: center; margin-top: 14px; margin-bottom: 24px; }
.hero-lead { font-size: 1rem; max-width: 570px; margin: 0 auto; color: #333333; }
.hero-copy { max-width: 620px; margin: 18px auto 0; font-size: .85rem; color: var(--muted); }
.tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  gap: 6px 16px;
  margin-top: 22px;
  padding: 0;
  font-size: .75rem;
  color: var(--muted);
}

.tags li:not(:last-child)::after {
  content: "\00B7";
  padding-left: 16px;
}

/* SECTION NAVIGATION */

.page-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 24px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* SMALLER SECTION NAVIGATION */

.page-nav { gap: 4px 18px; padding: 10px 0; }
.page-nav a { font-size: .72rem; min-height: 34px; }

/* SMALLER DESIGN APPROACH */

.approach { gap: 20px; padding: 22px 0; }
.approach h2 { font-size: .85rem; margin-bottom: 8px; line-height: 1.4; }
.approach p { font-size: .75rem; line-height: 1.6; }

.page-nav a,
.page-nav a:hover {
  text-decoration: none;
}




/* DESIGN APPROACH — THREE COLUMNS */

.approach {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 40px;
  padding: 32px 0;
  border-bottom: 1px solid #e4e4e4;
}

.approach article {
  min-width: 0;
}

.approach h2 {
  font-family: "Inter", sans-serif;
  font-size: .95rem;
  font-weight: 400;
  line-height: 1.4;
  margin: 0 0 16px;
}

.approach p {
  font-family: "Inter", sans-serif;
  font-size: .85rem;
  font-weight: 400;
  line-height: 1.7;
  color: #444444;
  margin: 0;
}

/* MOBILE — STACK THE COLUMNS */

@media (max-width: 600px) {
  .approach {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}




/* DESIGN APPROACH — ART COLLECTION */


  .section-heading p { font-family: "Inter", sans-serif;
  font-size: .95rem;
  font-weight: 400;
  line-height: 1.4;
  margin: 0 0 16px;
}

/* FEATURED STUDENT ARTWORK LAYOUT */

.art-feature {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 0;
  background: transparent;
}

.art-feature > * { min-width: 0; }
.art-feature figcaption { padding: 0; }

.art-feature .preview {
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0, 0, 0, .08);
}

.art-feature .preview img { display: block; width: 100%; height: auto; }

/* FEATURED ARTWORK PDF BUTTON */

.art-feature .pdf-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  padding: 10px 24px;
  border: 1px solid #000;
  border-radius: 5px;
  text-decoration: none;
}

.art-feature .pdf-link:hover { background: #292132; color: #fff; }

/* SMALL ARTWORK IMAGES UNDERNEATH */

.art-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.art-strip a { display: block; border: 0; border-radius: 12px; overflow: hidden; }
.art-strip img { display: block; width: 100%; height: auto; }

/* MOBILE */

@media (max-width: 600px) {
  .art-feature { grid-template-columns: 1fr; gap: 26px; }
  .art-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


/* CAMPAIGNS — SECTION SPACING AND FONT */

#campaigns {
  padding: 60px 0;
  font-family: "Inter", sans-serif;
}

/* SECTION HEADING */

#campaigns .section-heading {
  display: block;
  margin-bottom: 28px; /* Space above the images */
}

#campaigns .eyebrow {
  font-size: .95rem;
  font-weight: 400;
  letter-spacing: .1em;
  margin: 0 0 10px;
}

#campaigns .section-heading h2 {
  font-size: .1.2rem;
  font-weight: 400;
  line-height: 1.4;
  margin: 0;
}



/* IMAGE GRID */

#campaigns .campaign-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;        /* Space between cards */
  max-width: 960px; /* Lower this to make images smaller */
}

#campaigns .work-card {
  min-width: 0;
  margin: 0;
}

/* CLICKABLE IMAGES */

#campaigns .preview {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  background: transparent;
  cursor: zoom-in;
}

#campaigns .preview img {
  display: block;
  width: 100%;
  height: auto;
}

/* CAPTION SPACING */

#campaigns figcaption {
  padding: 14px 0 0; /* Space below each image */
}

/* CAPTION TITLES */

#campaigns figcaption h3 {
  font-size: .9rem;
  font-weight: 400;
  line-height: 1.4;
  margin: 0 0 8px;
}

/* CAPTION DESCRIPTIONS */

#campaigns figcaption p {
  font-size: .8rem;
  line-height: 1.6;
  color: #444444;
  margin: 0;
}

/* TABLET — TWO IMAGES PER ROW */

@media (max-width: 800px) {
  #campaigns .campaign-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 480px;
  }
}

/* MOBILE — ONE IMAGE PER ROW */

@media (max-width: 480px) {
  #campaigns .campaign-grid {
    grid-template-columns: 1fr;
    max-width: 280px;
  }
}


/* MAGAZINE AD*/

/* PRINT — TEXT BESIDE THE ADVERTISEMENT */

#print {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  align-items: center;
  gap: 48px;
  padding: 60px 0;
  font-family: "Inter", sans-serif;
}

/* PRINT TEXT */

#print .print-copy { max-width: 340px; }

#print .eyebrow {
  font-size: .95rem;
  font-weight: 400;
  margin: 0 0 10px;
}

#print h2 {
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1.4;
  margin: 0 0 14px;
}

#print .print-copy > p:not(.eyebrow) {
  font-size: .85rem;
  line-height: 1.7;
  color: #444444;
  margin: 0;
}

/* ADVERTISEMENT IMAGE */

#print .work-card { min-width: 0; margin: 0; }

#print .preview {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 2px 20px rgba(0, 0, 0, .08);
  cursor: zoom-in;
}

#print .preview img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 1;
}

/* MOBILE — TEXT ABOVE THE IMAGE */

@media (max-width: 600px) {
  #print {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 40px 0;
  }

  #print .work-card { max-width: 380px; }
}

/* EXPANDED CAMPAIGN IMAGE */

html.campaign-lightbox-open,
html.campaign-lightbox-open body {
  overflow: hidden;
}

#campaign-lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 70px 20px 24px;
  border: 0;
  background: transparent;
  color: #fff;
}

#campaign-lightbox[open] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

#campaign-lightbox::backdrop {
  background: rgba(0, 0, 0, .92);
}

#campaign-lightbox-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100vh - 150px);
  max-height: calc(100dvh - 150px);
  min-height: 0;
  object-fit: contain;
  border-radius: 6px;
}

#campaign-lightbox-title {
  margin: 0;
  font-size: .85rem;
  line-height: 1.5;
  text-align: center;
  flex-shrink: 0;
}

#campaign-lightbox .campaign-lightbox-close {
  position: absolute;
  top: 14px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

#campaign-lightbox .campaign-lightbox-close:hover {
  background: #333;
}

/* LOCAL VIDEOS */

#video .video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
  margin-top: 28px;
}

#video .video-card {
  min-width: 0;
  margin: 0;
}

#video .video-card video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 540px;
  object-fit: contain;
  border-radius: 10px;
  background: #000;
}

@media (max-width: 700px) {
  #video .video-grid {
    grid-template-columns: 1fr;
  }
}

.art-feature a,
.art-feature a:hover {
  text-decoration: none;
  color: inherit;
}