/* ==========================================================================
   Jeremy Ehly | Site stylesheet
   Single source of truth for every page. Gilroy is self-hosted below
   (ExtraBold 800 / Light 300) per the brand guide; General Sans is the
   approved free/self-hostable fallback if the Gilroy files are ever removed.
   ========================================================================== */

@font-face {
  font-family: 'Gilroy';
  src: url('../fonts/Gilroy-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  src: url('../fonts/Gilroy-ExtraBold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --k: #1a1a18;
  --g: #888888;
  --lg: #d0d0d0;
  --b: #444444;
  --bg: #EDECEA;
  --white: #ffffff;
  --maxw: 1200px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--k);
  font-family: 'Gilroy', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 300;
  line-height: 1.6;
}
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 8vw; }
@media (max-width: 1279px) { .wrap { padding: 0 6vw; } }
@media (max-width: 767px) { .wrap { padding: 0 5vw; } }
a { color: inherit; }

/* == header == */
header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(237,236,234,0.92); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--lg);
}
header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 20px; padding-bottom: 20px;
}
.logo { font-weight: 800; font-size: 18px; letter-spacing: -0.02em; text-decoration: none; transition: opacity 0.15s ease; }
body.home-hero .logo { opacity: 0; pointer-events: none; }
body.home-hero.scrolled-past-hero .logo { pointer-events: auto; }
nav { display: flex; gap: 32px; }
nav a {
  font-weight: 300; font-size: 14px; text-decoration: none; color: var(--k);
  padding-bottom: 2px; border-bottom: 1px solid transparent;
}
nav a:hover { border-bottom-color: var(--k); }
nav a.current { font-weight: 800; border-bottom-color: var(--k); }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 34px; height: 34px; border: none; background: none; cursor: pointer; padding: 0;
}
.nav-toggle span { display: block; width: 100%; height: 1.5px; background: var(--k); transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 767px) {
  .nav-toggle { display: flex; }
  nav {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--lg);
    max-height: 0; overflow: hidden; transition: max-height 0.25s ease;
  }
  nav.nav-open { max-height: 320px; }
  nav a { padding: 16px 8vw; border-bottom: 1px solid var(--lg); }
  nav a.current { border-bottom: 1px solid var(--lg); }
}

/* == breadcrumb (course detail pages) == */
.breadcrumb { padding: 26px 0 0; font-size: 12px; font-weight: 300; color: var(--g); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { margin: 0 6px; color: var(--lg); }

/* == page head ==
   Default sizing is the course-detail template. Hub pages (About, Teaching
   index) add the --hub padding modifier; page-title size is set per hub page
   with an explicit modifier since About and Teaching index use two different
   scales. */
.page-head { padding: 18px 0 20px; }
.page-head--hub { padding: 90px 0 20px; }
.page-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.page-eyebrow {
  font-size: 11px; font-weight: 300; color: var(--g);
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px;
}
.page-title { font-size: clamp(34px, 5vw, 54px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; margin: 0 0 10px; }
.page-title--hub { font-size: clamp(40px, 6vw, 64px); letter-spacing: -0.03em; line-height: 0.98; margin-bottom: 28px; }
.page-title--hero { font-size: clamp(56px, 9.5vw, 128px); letter-spacing: -0.04em; line-height: 0.92; margin-bottom: 18px; }
.home-hero-name { transform-origin: top left; will-change: transform, opacity; }
.page-subtitle { font-size: 13px; font-weight: 300; color: var(--g); margin-bottom: 30px; }
.page-subtitle .pipe { color: var(--lg); margin: 0 8px; }
.page-photo { width: 100px; height: 100px; border: 1px solid var(--lg); overflow: hidden; flex-shrink: 0; }
.page-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 600px) { .page-photo { width: 68px; height: 68px; } }
.page-photo--large { width: 240px; height: 240px; }
@media (max-width: 900px) { .page-photo--large { width: 160px; height: 160px; } }
@media (max-width: 600px) { .page-photo--large { width: 110px; height: 110px; } }

/* == Lead Statement, bold intro + Read More (brand guide p.14) ==
   Default sizing is the course-detail / Teaching-index scale. About wraps
   its intro in .about-intro, which carries the larger Onur-style scale. */
.intro-statement {
  font-size: clamp(22px, 3vw, 32px); font-weight: 800; letter-spacing: -0.02em;
  line-height: 1.22; color: var(--k); max-width: 820px;
}
.intro-more { max-height: 0; overflow: hidden; transition: max-height 0.5s ease; }
.intro-more.expanded { max-height: 2400px; }
.intro-more p {
  font-size: clamp(22px, 3vw, 32px); font-weight: 800; letter-spacing: -0.02em;
  color: var(--k); line-height: 1.22; max-width: 820px; margin-top: 16px;
}
.read-more-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: none; font-family: inherit; cursor: pointer;
  font-size: 12px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--k); padding: 0; margin-top: 20px;
  border-bottom: 1px solid var(--k); padding-bottom: 3px;
}
.read-more-btn .arrow { font-weight: 300; transition: transform 0.3s ease; display: inline-block; }
.read-more-btn.expanded .arrow { transform: rotate(180deg); }

/* == About page's larger Lead Statement treatment, page's one dominant graphic move == */
.about-intro { padding: 40px 0 56px; border-top: 1px solid var(--lg); margin-top: 34px; }
.about-intro .intro-statement { font-size: clamp(30px, 4.6vw, 56px); letter-spacing: -0.025em; line-height: 1.16; max-width: 980px; }
.about-intro .intro-more.expanded { max-height: 3200px; }
.about-intro .intro-more p { font-size: clamp(30px, 4.6vw, 56px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.16; color: var(--k); max-width: 980px; margin-top: 28px; }
.about-intro .read-more-btn { font-size: 13px; margin-top: 30px; }

/* == section shell == */
section.block { padding: 52px 0; border-top: 1px solid var(--lg); }
.block-eyebrow {
  font-size: 11px; font-weight: 300; color: var(--g);
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 10px;
}
.block-title { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px; }
.block-intro { font-size: 15px; font-weight: 300; color: var(--b); max-width: 680px; margin-bottom: 8px; }
.block-intro + .block-intro { margin-top: 12px; }

/* == group header inside a My Approach / Studio Framing block == */
.subhead { font-size: 15px; font-weight: 800; letter-spacing: -0.01em; margin: 26px 0 8px; }
.subhead:first-of-type { margin-top: 8px; }

/* == About: Selected Leadership and Service list == */
.lead-list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 40px; }
@media (max-width: 700px) { .lead-list { grid-template-columns: 1fr; } }
.lead-item { font-size: 14px; font-weight: 300; color: var(--b); padding: 10px 0; border-top: 1px solid var(--lg); }
.lead-item .plus { color: var(--g); font-weight: 800; margin-right: 8px; }

/* == About: contact block, short list, no phone, no web address == */
.contact-block { font-size: 14px; line-height: 2.3; }
.contact-block .k { font-weight: 800; margin-right: 8px; display: inline-block; width: 14px; }
.contact-block .sep { color: var(--lg); margin-right: 8px; }

/* == AI Leadership: engagement types grid == */
.engagement-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; margin-top: 8px; }
@media (max-width: 700px) { .engagement-grid { grid-template-columns: 1fr; } }
.engagement-card { padding-top: 16px; border-top: 1px solid var(--lg); }
.engagement-title { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 8px; }
.engagement-copy { font-size: 14px; font-weight: 300; color: var(--b); line-height: 1.6; }

/* == AI Leadership: mailto contact form == */
.contact-form-block { display: grid; gap: 14px; max-width: 640px; margin-top: 20px; }
.contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 620px) { .contact-form-row { grid-template-columns: 1fr; } }
.contact-form-block label {
  display: grid; gap: 6px; font-size: 11px; font-weight: 300; color: var(--g);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.contact-form-block input,
.contact-form-block textarea,
.contact-form-block select {
  border: 1px solid var(--lg); background: var(--white); color: var(--k);
  font-family: inherit; font-size: 16px; padding: 12px 14px; border-radius: 0;
}
.contact-form-block textarea { min-height: 140px; resize: vertical; }
.contact-form-block button {
  justify-self: start; cursor: pointer; border: 1px solid var(--k); background: var(--k); color: var(--white);
  font-weight: 800; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; padding: 14px 30px;
  transition: background 0.15s ease, color 0.15s ease;
}
.contact-form-block button:hover { background: var(--white); color: var(--k); }
.contact-form-note { font-size: 12px; font-weight: 300; color: var(--g); margin-top: -2px; }
.contact-block a { text-decoration: none; }
.contact-block a:hover { text-decoration: underline; }

/* == inline text link inside prose (e.g. About's Lead Statement, course intros) == */
.inline-link { color: inherit; font-weight: 800; text-decoration: none; border-bottom: 1px solid var(--k); padding-bottom: 1px; }
.inline-link:hover { color: var(--g); border-bottom-color: var(--g); }

/* == course-index progression bar, doubles as the level filter == */
.prog-row { display: flex; margin: 40px 0 4px; border-top: 1px solid var(--lg); padding-top: 32px; cursor: pointer; }
.prog-seg { flex: 1; text-align: center; padding-top: 10px; border-top: 2px solid var(--lg); transition: border-color 0.2s ease; }
.prog-seg.active { border-top-color: var(--k); }
.prog-seg-label { font-size: 11px; font-weight: 800; letter-spacing: 0.03em; color: var(--g); transition: color 0.2s ease; }
.prog-seg.active .prog-seg-label { color: var(--k); }
.prog-seg-sub { font-size: 10px; font-weight: 300; color: var(--g); margin-top: 2px; }
.filter-count { font-size: 12px; font-weight: 300; color: var(--g); margin: 28px 0 30px; }

/* == course-index grid, image-forward == */
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; padding-bottom: 20px; }
@media (max-width: 1000px) { .course-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .course-grid { grid-template-columns: 1fr; } }
.course-card { display: block; text-decoration: none; color: inherit; }
.course-card[hidden] { display: none; }
.course-img {
  aspect-ratio: 4 / 3; background: #cfcdc9; border: 1px solid var(--lg);
  overflow: hidden; margin-bottom: 12px; position: relative;
}
.course-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.course-card.is-link:hover .course-img img { transform: scale(1.04); }
.course-img.no-image { display: flex; align-items: center; justify-content: center; }
.course-img.no-image .no-image-label { font-size: 10px; font-weight: 800; color: var(--g); letter-spacing: 0.08em; text-transform: uppercase; }
.course-card.is-link .course-img { cursor: pointer; }
.course-tagrow { font-size: 10.5px; font-weight: 800; color: var(--g); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 6px; }
.course-tagrow .pipe { color: var(--lg); margin: 0 6px; font-weight: 300; }
.course-tagrow .ai-tag { color: var(--k); }
.course-title { font-size: 17px; font-weight: 800; letter-spacing: -0.015em; margin-bottom: 3px; }
.course-card.is-link:hover .course-title { text-decoration: underline; text-underline-offset: 3px; }
.course-meta { font-size: 11.5px; font-weight: 300; color: var(--g); margin-bottom: 8px; }
.coordinator-badge {
  display: inline-block; font-size: 9.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--k); border: 1px solid var(--k); border-radius: 20px; padding: 2px 9px; margin-left: 8px; vertical-align: middle;
}
.course-desc { font-size: 13px; font-weight: 300; color: var(--b); }
.course-status { font-size: 10.5px; font-weight: 300; color: var(--g); margin-top: 8px; letter-spacing: 0.02em; }

/* == course-detail: project group (used on seminar-style pages like Generative Design with AI) == */
.group-block { padding: 40px 0; border-top: 1px solid var(--lg); }
.group-head { margin-bottom: 8px; }
.group-eyebrow { font-size: 11px; font-weight: 300; color: var(--g); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
.group-title { font-size: 22px; font-weight: 800; letter-spacing: -0.015em; margin-bottom: 8px; }
.group-desc { font-size: 14px; font-weight: 300; color: var(--b); max-width: 640px; margin-bottom: 30px; }
.project { margin-bottom: 34px; }
.project:last-child { margin-bottom: 0; }

/* == course-detail: project block (studio proposals, competition entries, design-build projects) == */
.project-block { padding: 44px 0; border-top: 1px solid var(--lg); scroll-margin-top: 90px; }
.project-head-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; margin-bottom: 8px; }
.project-eyebrow { font-size: 11px; font-weight: 300; color: var(--g); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
.project-title { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 4px; }
.project-title-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 4px; }
.project-title-row .project-title { margin-bottom: 0; }
.project-film-link {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--k); font-size: 12px; font-weight: 800; text-decoration: none;
  border-bottom: 1px solid var(--k); padding-bottom: 2px;
}
.project-film-link:hover { color: var(--g); border-bottom-color: var(--g); }
.project-credit { font-size: 11.5px; font-weight: 300; color: var(--g); margin: 2px 0 8px; }
.project-recognition { font-size: 11px; font-weight: 800; color: var(--k); margin-top: 10px; line-height: 1.5; }
.project-recognition .pipe { color: var(--lg); margin: 0 7px; font-weight: 300; }
.project-client { font-size: 13px; font-weight: 300; color: var(--g); }
.project-award { font-size: 11px; font-weight: 800; color: var(--k); text-align: right; white-space: nowrap; }
.project-tagline { font-size: 14px; font-weight: 300; color: var(--g); margin-bottom: 18px; }
.project-desc { font-size: 14.5px; font-weight: 300; color: var(--b); max-width: 680px; margin: 14px 0 26px; }
.project-statement { font-size: 14px; font-weight: 300; color: var(--k); max-width: 640px; margin-bottom: 14px; line-height: 1.5; }

/* == scroll-gallery, full board sequence at natural aspect ratio, never cropped == */
.scroll-gallery { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 0 14px; margin-bottom: 2px; -webkit-overflow-scrolling: touch; }
.scroll-gallery::-webkit-scrollbar { height: 6px; }
.scroll-gallery::-webkit-scrollbar-thumb { background: var(--lg); }
.scroll-item { flex: 0 0 auto; scroll-snap-align: start; display: flex; flex-direction: column; }
.scroll-frame { display: block; height: 240px; border: 1px solid var(--lg); background: var(--white); overflow: hidden; cursor: zoom-in; }
.scroll-frame img, .scroll-frame video { height: 100%; width: auto; max-width: 460px; object-fit: contain; display: block; }
@media (max-width: 700px) {
  .scroll-frame { max-width: calc(100vw - 40px); }
  .scroll-frame img, .scroll-frame video { max-width: calc(100vw - 42px); }
}
.scroll-cap { font-size: 10px; font-weight: 300; color: var(--g); margin-top: 6px; max-width: 300px; }
.gallery-hint { font-size: 11px; font-weight: 300; color: var(--g); margin: -6px 0 16px; }

/* == portfolio-grid, generic anonymized tiles that open a full slideshow == */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 8px; }
@media (max-width: 700px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .portfolio-grid { grid-template-columns: 1fr; } }
.portfolio-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; aspect-ratio: 1 / 1; border: 1px solid var(--lg); background: var(--bg); text-decoration: none; color: inherit; cursor: zoom-in; transition: border-color 0.15s ease, background 0.15s ease; }
.portfolio-tile:hover { border-color: var(--k); background: var(--white); }
.portfolio-tile-num { font-size: clamp(28px, 4vw, 40px); font-weight: 800; color: var(--k); line-height: 1; }
.portfolio-tile-name { font-size: 12px; font-weight: 300; color: var(--g); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 10px; }

/* == board-link, jumps the lightbox straight to a project's final board sequence == */
.board-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 800; color: var(--k); text-decoration: none;
  border-bottom: 1px solid var(--k); padding-bottom: 2px; margin-bottom: 18px;
}
.board-link:hover { color: var(--g); border-bottom-color: var(--g); }

/* == external-link, e.g. YouTube walkthrough == */
.external-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 800; color: var(--k); text-decoration: none;
  border-bottom: 1px solid var(--k); padding-bottom: 2px; margin-bottom: 22px;
}
.external-link:hover { color: var(--g); border-bottom-color: var(--g); }

/* == design-build project team credit == */
.team-label { font-size: 11px; font-weight: 300; color: var(--g); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
.team-list { font-size: 12.5px; font-weight: 300; color: var(--b); line-height: 1.9; max-width: 760px; }

/* == speculative-design film row (Generative Design with AI) == */
.film-row { display: grid; grid-template-columns: 1fr 1.3fr; gap: 22px; align-items: start; margin-bottom: 34px; }
@media (max-width: 800px) { .film-row { grid-template-columns: 1fr; } }
.film-video { border: 1px solid var(--lg); background: #000; }
.film-video video { width: 100%; display: block; aspect-ratio: 16/9; }

/* == AI Leadership: workshop lecture hero photo == */
.lecture-hero { margin: 0 -8vw 12px; }
.lecture-hero img { width: 100%; aspect-ratio: 1536/683; object-fit: cover; display: block; }
@media (max-width: 700px) { .lecture-hero img { aspect-ratio: 16/9; } }

/* == hero slideshow, strongest image per project, click through to the project below == */
.hero-slideshow { position: relative; margin: 0 -8vw 12px; }
.hero-slides { position: relative; width: 100%; aspect-ratio: 21/9; overflow: hidden; }
@media (max-width: 700px) { .hero-slides { aspect-ratio: 4/3; } }
.hero-slide {
  position: absolute; inset: 0; display: block;
  background-size: contain; background-repeat: no-repeat; background-position: center; background-color: var(--k);
  opacity: 0; filter: blur(8px); transition: opacity 1s ease, filter 1s ease;
  pointer-events: none;
}
.hero-slide.active { opacity: 1; filter: blur(0); pointer-events: auto; }
.hero-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,26,24,0.6), rgba(26,26,24,0) 45%); }
.hero-slide-label { position: absolute; left: 8vw; bottom: 24px; z-index: 2; color: var(--white); font-size: clamp(18px, 2.4vw, 26px); font-weight: 800; letter-spacing: -0.015em; }
.hero-dots { position: absolute; right: 8vw; bottom: 28px; z-index: 2; display: flex; gap: 0; }
.hero-dot { width: 24px; height: 24px; border-radius: 50%; border: none; background: none; cursor: pointer; padding: 0; position: relative; }
.hero-dot::before {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--white); background: transparent;
}
.hero-dot.active::before { background: var(--white); }

/* == cursor-tracking zoom lens, escapes gallery scroll clipping via fixed position == */
.zoom-lens {
  display: none; position: fixed; width: 360px; height: 360px;
  background-color: var(--white);
  background-repeat: no-repeat;
  z-index: 90; pointer-events: none;
  -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 68%, rgba(0,0,0,0) 75%);
  mask-image: radial-gradient(circle, rgba(0,0,0,1) 68%, rgba(0,0,0,0) 75%);
}
@media (max-width: 700px) { .zoom-lens { display: none !important; } }

/* == lightbox, full-scale view on click, +/- prev/next, caption below == */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(26,26,24,0.94); z-index: 100; align-items: center; justify-content: center; padding: 50px; gap: 24px; }
.lightbox.active { display: flex; }
.lightbox-media { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 100%; max-height: 100%; }
.lightbox-media img { max-width: 100%; max-height: 78vh; object-fit: contain; }
.lightbox-caption { font-size: 13px; font-weight: 300; color: var(--white); opacity: 0.85; text-align: center; max-width: 620px; }
.lightbox-close { position: absolute; top: 24px; right: 32px; background: none; border: none; color: var(--white); font-size: 30px; font-weight: 300; cursor: pointer; line-height: 1; padding: 6px; }
.lightbox-nav {
  background: rgba(255,255,255,0.08); border: none; color: var(--white); font-size: 32px; font-weight: 800;
  cursor: pointer; width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  line-height: 1; flex: 0 0 auto; transition: background 0.2s ease, color 0.2s ease;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.18); color: var(--white); }
@media (max-width: 700px) { .lightbox-nav { width: 48px; height: 48px; font-size: 26px; } }

/* == full-bleed white quote strip == */
.quote-block { background: var(--white); margin: 0 -8vw; }
.quote-block .wrap { padding: 48px 8vw; max-width: var(--maxw); }
.quote-block.quote-block-single { margin: 0 -8vw; }
.quote-eyebrow {
  font-size: 11px; font-weight: 300; color: var(--g);
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px;
}
.quote-text {
  font-size: clamp(18px, 2.2vw, 24px); font-weight: 300; color: var(--k);
  line-height: 1.4; max-width: 780px; margin-bottom: 16px;
}
.quote-attr { font-size: 13px; font-weight: 800; color: var(--k); }
.quote-attr .pipe { font-weight: 300; color: var(--g); margin: 0 8px; }

/* == quote slider variant (course index Student Voices) == */
.quote-slide-text {
  font-size: clamp(18px, 2.4vw, 26px); font-weight: 300; color: var(--k);
  line-height: 1.4; max-width: 760px; margin-bottom: 16px;
  min-height: 3.2em; transition: opacity 0.5s ease, filter 0.5s ease; filter: blur(0);
}
.quote-slide-attr { font-size: 13px; font-weight: 800; color: var(--k); transition: opacity 0.5s ease, filter 0.5s ease; filter: blur(0); margin-bottom: 22px; }
.quote-slide-attr .pipe { font-weight: 300; color: var(--g); margin: 0 8px; }
.quote-fade { opacity: 0; filter: blur(6px); }
.quote-dots { display: flex; gap: 0; }
.quote-dot { width: 24px; height: 24px; border-radius: 50%; background: none; border: none; cursor: pointer; padding: 0; position: relative; }
.quote-dot::before {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 7px; height: 7px; border-radius: 50%; background: var(--lg);
}
.quote-dot.active::before { background: var(--k); }

/* == quote static variant (single quote, no slider) == */
.quote-static-text {
  font-size: clamp(18px, 2.4vw, 26px); font-weight: 300; color: var(--k);
  line-height: 1.4; max-width: 760px; margin-bottom: 16px;
}
.quote-static-attr { font-size: 13px; font-weight: 800; color: var(--k); }
.quote-static-attr .pipe { font-weight: 300; color: var(--g); margin: 0 8px; }

/* == reflection grid (Generative Design with AI, critical reflections) == */
.reflection-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 32px; margin-top: 10px; }
@media (max-width: 700px) { .reflection-grid { grid-template-columns: 1fr; } }
.reflection-quote { font-size: 15px; font-weight: 300; color: var(--k); line-height: 1.5; padding: 16px 0; border-top: 1px solid var(--lg); }
.attr-note { font-size: 12px; font-weight: 300; color: var(--g); margin-top: 20px; }

/* == stat row (student experience stats) == */
.stat-row { display: flex; gap: 30px; flex-wrap: wrap; margin: 18px 0 26px; }
.stat { min-width: 140px; }
.stat-num { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.stat-label { font-size: 11px; font-weight: 300; color: var(--g); margin-top: 2px; }

/* == 404 page, full-page hidden scene revealed with the gallery's soft lens == */
.not-found {
  --not-found-x: 50%;
  --not-found-y: 50%;
  --not-found-lens-radius: clamp(110px, 14vw, 180px);
  position: relative;
  min-height: calc(100vh - 104px);
  overflow: hidden;
  outline: none;
  isolation: isolate;
  touch-action: pan-y;
}
.not-found:focus-visible { outline: 1px solid var(--k); outline-offset: -5px; }
.not-found-head {
  position: relative;
  z-index: 1;
  padding-top: clamp(72px, 10vh, 130px);
  padding-bottom: clamp(180px, 30vh, 360px);
}
.not-found-pipe { color: var(--lg); margin: 0 8px; }
.not-found-title {
  max-width: 920px;
  font-size: clamp(48px, 8vw, 112px);
  font-weight: 800;
  line-height: 0.94;
}
.not-found-lead { margin-top: 20px; color: var(--b); font-size: clamp(18px, 2vw, 24px); }
.not-found-nav { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 34px; }
.not-found-nav a {
  border-bottom: 1px solid var(--k);
  padding-bottom: 2px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}
.not-found-nav a:hover,
.not-found-nav a:focus-visible { color: var(--g); border-bottom-color: var(--g); }
.not-found-scene {
  position: absolute;
  inset: 0;
  background: var(--bg) url('../images/404-marmot-disco.webp') center center / cover no-repeat;
  opacity: 0;
  -webkit-mask-image: radial-gradient(
    circle var(--not-found-lens-radius) at var(--not-found-x) var(--not-found-y),
    rgba(0,0,0,1) 68%,
    rgba(0,0,0,0) 75%
  );
  mask-image: radial-gradient(
    circle var(--not-found-lens-radius) at var(--not-found-x) var(--not-found-y),
    rgba(0,0,0,1) 68%,
    rgba(0,0,0,0) 75%
  );
  transition: opacity 120ms ease;
  will-change: mask-image;
}
.not-found.is-revealing .not-found-scene { opacity: 1; }
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
@media (hover: hover) and (pointer: fine) { .not-found { cursor: none; } }
@media (max-width: 767px) {
  .not-found { --not-found-lens-radius: 96px; }
  .not-found-head { padding-top: 64px; padding-bottom: 240px; }
  .not-found-nav { display: flex; gap: 12px 22px; }
  .not-found-scene { background-position: center center; }
}
@media (prefers-reduced-motion: reduce) {
  .not-found-scene { transition: none; }
}

/* == footer == */
footer {
  border-top: 1px solid var(--lg); padding: 22px 0 40px; margin-top: 20px;
  display: flex; justify-content: space-between; font-size: 11px;
  font-weight: 300; color: var(--g); flex-wrap: wrap; gap: 6px;
}
