* {
  padding: 0;
}

@font-face {
  font-family: "Pelikan Condensed";
  src: url("/assets/fonts/ABCPelikanCondensed-Bold-Trial.woff2") format("woff2");
}

@font-face {
  font-family: "Herbik Bold";
  src: url("/assets/fonts/HerbikUnlicencedTrial-Bold.woff2") format("woff2");
}

@font-face {
  font-family: "Herbik Regular";
  src: url("/assets/fonts/HerbikUnlicencedTrial-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "Herbik Medium";
  src: url("/assets/fonts/HerbikUnlicencedTrial-Medium.woff2") format("woff2");
}


@font-face {
  font-family: "Diatype Regular";
  src: url("/assets/fonts/ABCDiatypeEdu-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "Diatype Medium";
  src: url("/assets/fonts/ABCDiatypeEdu-Medium.woff2") format("woff2");
}

@font-face {
  font-family: "Diatype Bold";
  src: url("/assets/fonts/ABCDiatypeEdu-Bold.woff2") format("woff2");
}

@font-face {
  font-family: "Diatype Mono";
  src: url("/assets/fonts/ABCDiatypeMono-Regular-Trial.woff2") format("woff2");
}


@font-face {
  font-family: "Herbik Italics";
  src: url("/assets/fonts/HerbikUnlicencedTrial-Italic.woff2") format("woff2");
}



@keyframes logo-shake {
  0%,to {
      -webkit-transform: rotate(2.5deg) translate3d(0,0,0);
      transform: rotate(2.5deg) translate3d(0,0,0);
  }

  25% {
      -webkit-transform: rotate(0deg)translate3d(0,0,0);
      transform: rotate(0deg) translate3d(0,0,0);
  }

  50% {
      -webkit-transform: rotate(-2.5deg) translate3d(0,0,0);
      transform: rotate(-2.5deg) translate3d(0,0,0);
  }

  75% {
      -webkit-transform: rotate(0deg)translate3d(0,0,0);
      transform: rotate(0deg) translate3d(0,0,0);
  }
}

:root {
  --padding: 0rem;
  --color-black: black;
  --color-white: #fff;
  --color-grey: rgb(231 231 231);
  --color-light: #fffff2;
  --color-text-grey: var(--color-grey);
  --color-code-light-grey:  #f1f0ea;
  --color-code-dark-grey:   rgb(182 182 182);
  --color-code-beige:       #FCF9E2;
  --color-code-red:         #ba0021;
  --color-code-orange:      #ff8200;
  --color-code-yellow:      #faff66;
  --color-code-green:       #253c1b;
  --color-code-aqua:        #a4ffa1;
  --color-code-blue:        #018BE0;
  --color-code-purple:      #8b48d9;
  --color-code-pink:      #ffc2fb;
  --color-text: var(--color-code-black);
  --color-header-background: var(--color-code-dark-grey);
  --color-background:var(--color-grey);
  --color-code-comment:    var(--color-code-dark-grey);
  --font-family-logo:   "Diatype Medium";
  --font-family-sans-bold:     "Diatype Medium";
  --font-family-text-regular:  "Diatype Regular";
  --font-family-italics:  "Herbik Italics";
  --font-family-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
}

html {
  color: var(--color-text);
  background: var(--color-white);
  overflow-x: hidden;
}
img {
  width: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
body {
  margin: 0px;
  background-color: #f0f0f0;
  overflow-x: hidden;
}

/* width */
::-webkit-scrollbar {
  width: 14px;

}

/* Track */
::-webkit-scrollbar-track {
  background: white;
  border-left: 1px solid var(--color-black);
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: white;
  border: 1px solid var(--color-black);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: var(--color-code-comment);
}


.nav-bar{
  display: flex;
}

.schedule {
  font-size: 1rem;
  padding: 0.25rem 0.5rem;
  font-family: var(--font-family-text-regular);
  text-decoration: none;
  color: var(--color-black);
  transition: opacity 0.2s;
}

.schedule-project {
  border-top: 1px solid var(--color-black);
  margin-top: 1rem !important;
  padding-top: 1rem !important;
}

.resources-pill{
  border-radius: 20px;
}

.schedule:hover {
  opacity: 0.6;
}



@keyframes wave {
  from { transform: translateY(0); }
  to { transform: translateY(-10px); }
}

h1.wavey { 
  margin-top: .5em; }

h1.wavey span {
  display: inline-block;
  animation-duration: 1s;
  animation-name: wave;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-timing-function: ease-in-out;
  white-space:pre-wrap;
}



@keyframes projectwave {
  from { transform: translateY(0px); }
  to { transform: translateY(-5px); }
}

/* project-wavey and project-wavey2 are now converted to project-wavey3 */
/* Styles moved to h1.project-wavey3 below */

h1.project-wavey3,
.text h1.project-wavey3,
h1[class*="project-wavey"] { 
  margin-top: 0.5em !important;
  margin-bottom: 0px !important;
  cursor: pointer;
  font-size: 2rem !important;
  letter-spacing: -0.1rem;
  font-family: "Diatype Regular", monospace !important;
  text-decoration: none;
  color: var(--color-black) !important;
  /* padding: 0.5rem 1rem; */
  /* border: 1px solid var(--color-black); */
  /* background: var(--color-white); */
  transition: background 0.2s, color 0.2s;
  font-weight: normal;
  display: inline-flex !important
;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  width: auto;
  position: relative;
  text-transform: lowercase;
}

/* Disable wavey animation on h1 elements with project-wavey classes */
h1.project-wavey span,
h1.project-wavey2 span,
h1[class*="project-wavey"] > span:not(.dropdown-arrow) {
  animation: none !important;
  display: inline !important;
  white-space: normal !important;
}

h1.project-wavey3:hover {
 
  opacity: .7 !important;
}

h1.project-wavey3.active {
  /* background: var(--color-black); */
  /* color: var(--color-white); */
  opacity: 1;
}

h1.project-wavey3 > span:not(.dropdown-arrow) {
  display: inline;
  white-space: normal;
  animation: none;
  line-height: 1.5;
}

h1.project-wavey3 .dropdown-arrow {
  transition: transform 0.2s, color 0.2s;
  display: inline-block;
  font-size: 0.7em;
  line-height: 1;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

h1.project-wavey3.active .dropdown-arrow {
  transform: rotate(90deg) !important;
}

/* Table styling - Diatype Mono */
table {
  font-family: "Diatype Mono", monospace;
  border-collapse: collapse;
  width: 100%;
}

table th,
table td {
  font-family: "Diatype Mono", monospace;
  padding: 0.5rem;
  text-align: left;
  border: 1px solid var(--color-black);
}

table th {
  font-weight: normal;
}

h1.project-wavey3:hover .dropdown-arrow {
  opacity: .7 !important;
}

.project-wavey {
  padding-bottom: 0rem;
  font-size: 1.3rem !important;
  display: flex;
  font-family: var(--font-family-logo);
  border-radius: 40px;
  cursor: pointer;
  margin-top: 0px;
  color: var(--color-code-black);
}

.project-wavey span {
  display: inline-block;
  animation-duration: .5s;
  animation-name: projectwave;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-timing-function: ease-in-out;
}

li {
  list-style: none;
}
a {
  color: currentColor;
  text-decoration: none;
}

em { 
  font-family: var(--font-family-italics);
}

main{
  padding: var(--padding);
  max-width: 1150px;
  margin: 0 auto;
  /* margin-top: 110px; */
  padding-top: 130px;
  padding-left: 2rem;
  padding-right: 2rem;
  font-size: 1.25rem;
  background-color: #f0f0f0;
}

/* Agenda page specific main styling */
.agenda-page main,
main:has(.week-number) {
  padding-left: 2rem;
  padding-right: 2rem;
  max-width: 1200px;
}

.border-above{
  border-top:2px solid black;
  padding-top:30px;
}

.exercise{
  padding: var(--padding);
  max-width: 50rem;
  margin: 0 auto
}

.exercise-no-bullet {
 background:rgb(201, 201, 201);
}

.exercise-no-bullet li{
padding:5px;
}

.exercise-no-bullet li::before{
 content:'';
}
 

.further-reading a{
  color: white;
  background: var(--color-code-yellow);
  /* color: var(--color-background); */
  margin-top: 6px;
  color: var(--color-black);
  /* border: 2px solid var(--color-black); */
  text-align: center;
  line-height: 19px;
  cursor: pointer;
  margin-left: -1px;
  padding: 6px 7px;
  padding-bottom: 5px;
  text-decoration: none !important;
}

.project-list ul ul{
  columns: 2;
}

.further-reading a:hover{
  background: var(--color-code-pink);
  cursor: pointer
}

.further-reading {
  margin: 5px;
}

.further-reading li {
  margin: 16px 0px;
  margin-left:-30px;
}

.further-reading li:before{
 content:""
}

button {
  font: inherit;
  background: none;
  border: 0;
  color: currentColor;
  cursor: pointer;
}
strong, b {
  font-weight: normal;
  font-family: var(--font-family-sans-bold);
  font-feature-settings: "ss01" 1, "ss04" 1;
}

li > strong{
  margin-top:20px;
}

small {
  font-size: inherit;
  color: var(--color-text-grey);
}

.note-excerpt-title{
  color: white;
  font-size: 1.3rem;
  border-radius: 20px;
  font-family: var(--font-family-text-regular);
  display: block;
  margin: 3px 0px;
  width: fit-content;
  /* font-family: "Herbik Medium"; */
  color: var(--color-black);
  border: 2px solid var(--color-black);
  text-align: center;
  line-height: 19px;
  cursor: pointer;
  padding: 5px 12px;
  padding-bottom: 3px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  background-image: -webkit-linear-gradient(top, #f8f8f8, #f1f1f1);
  border: 1px solid #c6c6c6;
  color: #000;
  text-decoration: none !important;
}

.note-excerpt-title:hover{
  opacity: .75;
  -webkit-animation: logo-shake .25s  infinite;
  animation: logo-shake .25s  infinite;
}

.note-excerpt-text{
  font-family: var(--font-family-sans-bold);
  font-size:1rem;
}

#projects {
  padding: 1.4rem;
  /* background: var(--color-code-blue); */
  /* margin-top:40px; */
  margin-left: 0px;
  padding-right:50px;
  background: var(--color-white);
  opacity: 1;
  /* background: white; */
  /* border-radius:30px; */
  /* box-shadow: -3px 3px 0 currentColor;
  transform: translate3d(3px, -3px, 0); */
  font-feature-settings: "ss01" 1, "ss04" 1;
  /* border:2px solid black; */
  /* border-image:  url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAKqADAAQAAAABAAAAKgAAAADUGqULAAABmElEQVRYCe2Y4U4DQQiEr8b3f2VdVr+EHY+DbW0ipk0MZRhYZkL/eDuO42P82ef2FX7k33AZf8q8N7b46xEXbc/ICTR4rudHdXDmklfn0Df5bRx9HzKXzS9yHCHiDP3g5NTBNQcnUtf+mbdxFDUWbXPUVHDPeeR76d02jtqN6kdd1dtRPnVw+iMcHhEefeBLbOUoSlC2KBlJVAdXfjQHntaZozj8WW/jKFtfRVOE6ivevbXS/DaO+l89rl3eyrAtqu86yntRH/X5XhtHbVs2V2W/5ZzOzfLTfdo4mql71Xcd8DfKTXIjUb77RsbP3pv1141mNv7bur9RFcmNKv7snJtd3mlzo941lHjMVIGjUOvguzGbS32+18bRigumDHUV/i6nNL+No2f/Kak6gsvVm93ls8fsa+OodwPFKCHCyerw4dGnODkRHn3gxFlv4yhbWzRFZ6oi3Pc+8j2av+BtHD371eMqt5O5pfwsv2teG0e9a5ETOOC5hsGP6uAZL6qD9/rV79zoonDYhcPg6iB1cM3py/DJa3Ojn5CzaCtx9KTYAAAAAElFTkSuQmCC') 14 /  14px / 0 round;
  border-width:  14px;
  border-style:  solid;  */
}


#projects u {
  background: var(--color-code-pink);
  /* border-radius: 20px; */
  display: block;
  padding: 2px 10px;
  margin: 3px 0px;
  width: fit-content;
  /* font-family: "Herbik Medium"; */
  color: var(--color-black);
  /* border: 1px solid var(--color-black); */
  text-align: center;
  line-height: 19px;
  cursor: pointer;
  padding: 4px 10px;
  padding-bottom: 2px;
  /* box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); */
  /* background-image: -webkit-linear-gradient(top, #f8f8f8, #f1f1f1); */
  /* border: 1px solid #c6c6c6; */
  color: #000;
  text-decoration: none;
}

#projects u:hover{ 
  /* opacity: .75; */
  background: var(--color-code-yellow) ;
  -webkit-animation: logo-shake .25s  infinite;
  animation: logo-shake .25s  infinite;
}


.opening-archives img{
  display: block;
  margin-left: auto;
  margin-right: auto;
  width:70%;
  border-radius:20px;
}

.project-image img{
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 95%;
  border-radius: 0px;
  background: var(--color-code-yellow);
  padding: 30px;
}

.project-image {
  margin-bottom: 20px !important;
}

.opening-manifesto img{
  display: block;
  margin-left: auto;
  margin-right: auto;
  width:95%;
  border-radius:0px;
  background: var(--color-code-yellow) ;
  padding:30px;
  /* box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 3px 10px 0 rgba(0, 0, 0, 0.19); */
}

figure {
  margin:10px;
}

.bg-light {
  background-color: var(--color-light);
}
.color-grey {
  color: var(--color-text-grey);
}

.header {
  position: fixed;
  display: flex;
  flex-wrap: wrap;
  top: 0px;
  padding-top: 7px;
  padding-bottom: 7px;
  height: 100%;
  /* padding: 10px 0px; */
  justify-content: center;
  margin: 0;
  font-size: 1rem;
  z-index: 101;
  /* background: var(--color-white); */
  background: var(--color-black);
  width: 100%;
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  min-height: 60px;
  left: 0;
  right: 0;
}

.logo {
  display: none; /* Hide logo in top nav on desktop */
}

.nav-bar {
  display: none; /* Hide nav-bar in new layout on desktop */
}

.menu {
  display: none; /* Hide sidebar menu */
}

.site-info {
  display: none; /* Hide sidebar site info */
}


.dropdown {
  position: relative;
  display: inline-block;
  padding: 0px 0px;
  margin: 0px;
  margin-right:0px;
  margin-left:0px;
  display: block;
  font-family: var(--font-family-sans-bold);
  /* font-family: "Herbik Regular"; */
}

.dropdown:hover {
  color: var(--color-white);
  opacity: 1;
}

.dropdown-content {
  display: none;
  position: absolute;
  margin-top:100px;
  width:160px;
  overflow-y: scroll;
 
  /* border: 2px solid black; */

  /* columns: 2; */
  /* box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); */
  /* z-index: 1;
 
  border-image:  url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAKqADAAQAAAABAAAAKgAAAADUGqULAAABdUlEQVRYCdWWgY7CMAxDx/3/Px9zK98xKyGhq5BciYU0cYafuonHcRy/5wfrMcPfNdtnQ1bP9ld1Y94P1Y4RDkgFv1/zzJP2aX5LZ0lUCVQ5CVV9Wl/S2RDFkw7HWHzqP82nup7T7Qvvb0OULhH1LFU5tVWf1pd0lkS7TtmnUclprv3MtU/z0WdFNHRw2sj2SSKLmS7b55y3dRuifHfSVSfCOdaKdio/u4772RCNvOlZ0TzS3NnT+ZqP2ZZE1UmV36EIbTX/UrchuvPfU5cwSGHxrdHKbYhOb/N6ORPnVpW/ale+V/MvdUuipHJxEpBl367Yup8VUXW0i1Q2Z+l+NkT5LovcwzlW1pPVs/05Lb9murFvQzTyBwd0h7rmkSbq26qzJKoEqpxkqz6tL+lsiO789wRyWHxLaD6r/+c/61PdyG2I0iUifjnddHL0YH1FZ0l08qkJsU9jRVb7mbd0NkSjp/7VKb7z6az2qzrPv85r6WyIPgFq2N59Ey28LAAAAABJRU5ErkJggg==') 14 /  14px / 0 round;
  border-width:  14px;
  border-style:  solid;  */

}


.dropdown-content a:hover {
    opacity: 1;
    color: #000;
}

.dropdown:hover .dropdown-content {
  display: block;
  position: absolute;
}


.social {
  display: flex;
  height: 100%;
  color: var(--color-black);
  padding: 0 .5rem;
}

.social a {
  padding: 0.05rem 0rem;
}

.section {
  padding: 3rem 0;
}

.grid {
  --columns: 12;
  --gutter: 2rem;
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: 1fr;
}

#notes-grid{
  --columns: 12;
  --gutter: 0rem;
  display: grid;
  margin-top:30px;
  grid-gap: var(--gutter);
  grid-template-columns: 1fr;
}


.autogrid {
  --gutter: 2rem;
  --min: 10rem;
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: repeat(auto-fit, minmax(var(--min), 1fr));
  grid-auto-flow: dense;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

h4 {
  font-family: var(--font-family-sans-bold);
  font-size:3.75rem;
  margin-bottom:0px;
  font-feature-settings: "ss01" 1, "ss04" 1;
  
}



.text {
  line-height: 1.5em;
  /* padding-right:.5rem; */
}
/* .text a {
  text-decoration: underline;
} */
.text :first-child {
  margin-top: 0;
}
.text :last-child {
  /* margin-bottom: 20px; */
}
.text p,
.text ul,
.text ol {
  font-family: var(--font-family-text-regular);
  margin-bottom: 1rem;
  font-size:1.25rem;
  line-height: 1.3;
  letter-spacing: 0px;
  padding-right: 20px;

}
.text ul,
.text ol {
  /* margin-left: .4rem; */
  padding-right:1rem;
}
.text ul p,
.text ol p {
  margin-bottom: 0;
}
.text ul > li {
  position: relative;
  list-style: none;
  padding-left:10px;
}

.text ol > li {
  padding-bottom:10px;
  padding-left:10px
}

/* Align ordered list numbers with preceding paragraph text (for grade components) */
.section2 .text ol {
  padding-left: 0;
  margin-left: 0;
}

.section2 .text ol > li {
  padding-left: 0;
  list-style-position: outside;
  margin-left: 38px;

}

li::before {
  content: '►';
  position: absolute;
  left: -8px;
  top: 7px;
  font-size: 10px;
  color: var(--color-black);
}


li li::before {
  content: '▷';
  position: absolute;
  left: -8px;
  font-size: 10px;
  color:black
}

.text ol > li {
  list-style: decimal;
}
.text ul ol,
.text ul ul,
.text ol ul,
.text ol ol {
  margin-bottom: 0;
}
.text h1,
.h1,
.intro {
  font-family: "Diatype Mono";
  font-size: 1.25rem;
  /* margin-bottom: .5rem !important; */
  line-height: 1.25em;
  font-feature-settings: "ss01" 1, "ss04" 1;
}
.text h2,
.h2 {
  font-family: var(--font-family-sans-bold);
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.text h3,
.h3 {
  font-weight: 600;
  font-family: var(--font-family-sans-bold);
  font-size: 1.4rem;
}



.contact {
  position: fixed;
  display: block;
  bottom: 10px;
  right: 20px;
  padding: 10px;
  /* padding-top: 25px; */
  background: var( --color-code-yellow);
  font-family: var(--font-family-sans-bold);
  text-align: center;
  /* border: 2px solid black; */
  border-radius: 100%;
  font-size: 1.1rem;
  width: 250px;
  height: 250px;
  font-feature-settings: "ss01" 1, "ss04" 1;
  color: var(--color-black);
}

.opening-image {
  margin:0px !important;
}

.opening-image img{
  /* box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); */
  /* border:2px solid black; */
  /* border-radius: 20px; */
  display: block;
}

th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: center;
  /* background-color: #ddd; */
  font-family:var(--font-family-sans-bold);
  color: var(--color-black);
}

.grades-intro{
  padding-top:30px;
}

#grades{
  margin-top:20px;
}

#grades p{
  margin:5px;
}


.accordion-toggle{
  background: var(--color-code-light-grey);
  color:black;
  width:70%;
  padding: 12px;
  margin: 10px auto;
}

.accordion-toggle:hover {
  opacity:.5;
  cursor: pointer
}

.accordion-content {
	display: none;
  overflow: auto;
  width:70%;
  margin: auto !important;
  /* padding:.5rem; */
  padding-left: 4rem;
}
 
.accordion-content, .headline p{
  font-family: var(--font-family-sans-bold);
  font-size:1.25rem;
  /* margin: -30px; */
}


.reading-toggle{
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 0.5rem 1rem;
  margin-bottom: 0;
  font-weight: normal;
  display: block;
  user-select: none;
  -webkit-user-select: none;
  /* border: 1px solid black; */
  width:fit-content;
  outline: none;
  transition: background-color 0.2s ease, color 0.2s ease;
  line-height: 1.5;
  background: #ffe6ea;
  border: 1px solid transparent;
}

.reading-toggle:hover {

}

.reading-content {
	display: none;
  overflow: auto;
  width:90%;
}
 
.reading-content p {
  font-family: var(--font-family-sans-bold);
  font-size:1.25rem;
  margin: -30px;
}

.reading-content a {
  height:20px;
  text-decoration: none !important;
}

.reading-content li {
  background: transparent;
  /* color: white; */
  width: fit-content;
  font-size: 1.1rem !important;
  /* border-radius: 24px; */
  /* color: white; */
  /* background: var(--color-code-yellow); */
  /* color: var(--color-background); */
  margin-top: 6px;
  color: var(--color-black);
  /* border: 2px solid var(--color-black); */
  text-align: center;
  line-height: 19px;
  cursor: pointer;
  margin-left: -1px;
  padding: 6px 10px;
  padding-bottom: 5px;
  /* box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); */
  /* background-image: -webkit-linear-gradient(top, #f8f8f8, #f1f1f1); */
  border: 1px solid black;
  color: #000;
  text-decoration: none;
}

.reading-content li:hover { 
  /* opacity:.5; */
  cursor: pointer;
  /* animation: logo-shake .3s infinite */
}


.reading-content li::before {
  content: '';
  position: absolute;
  font-size: 10px;
  color:black
}

.reading-content li li {
  margin-left: 10px;
  color:black
}

.reading-content li li::before {
  content: '▶︎';
  position: absolute;
  left: -10px;
  font-size: 10px;
  color:black
}

.reading-content li li:last-child {
  margin-bottom:10px;
}


.division{
  /* border-top: 2px solid black; */
  padding-top: 30px;
  /* margin-left: -35px; */
  /* background: white; */
  /* border-radius: 20px; */
  margin-bottom: 0px;
  margin-top: 36px;
  /* background: #FFECFC; */
}

.resources{
  font-family: var(--font-family-sans-bold);
  font-size: 1.1rem !important;
  margin-bottom: 1rem;
  line-height: 1em;
  color:black;
}

.text .codeblock {
  display: grid;
}
.text code {
  font-family: var(--font-family-mono);
  font-size: 1em;
  background: #ffff81;
  padding: 0 .2rem;
  margin: .5rem;
  display: inline-block;
  color: var(--color-black);
}
.text pre {
  margin: 3rem 0;
  background: var(--color-black);
  color: var(--color-white);
  padding: 1.5rem;
  overflow-x: scroll;
  overflow-y: hidden;
  line-height: 1.5rem;
}
.text pre code {
  padding: 0;
  background: none;
  color: inherit;
}
.text hr {
  margin: 6rem 0;
}
.text dt {
  font-weight: 600;
}
.text blockquote {
  font-size: 1.6rem;
  line-height: 1.325em;
  border-left: 2px solid var(--color-black);
  padding-left: 1rem;
  margin: 3rem 0;
  max-width: 25rem;
}
.text blockquote footer {
  font-size: 1.1rem;
  font-style: italic;
}
.text figure {
  margin: 0rem 0;
}
.text figcaption {
  padding:0rem 0.23rem;

}
.text figure ul {
  line-height: 0;
  display: grid;
  gap: 1.5rem;
  margin: 0;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
}
.text figure ul li {
  list-style: none;
}

hr {
  border: 0;
  background: currentColor;
  height: 2px;
  width: 1.5rem;
  margin: 3rem auto;
}

.align-center {
  text-align: center;
}

.intro {
  max-width: 40rem;
}
.intro *:not(:last-child) {
  margin-bottom: 1em;
}

.cta {
  background: var(--color-black);
  color: var(--color-white);
  display: inline-flex;
  justify-content: center;
  padding: .75rem 1.5rem;
  border: 4px solid var(--color-white);
  outline: 2px solid var(--color-black);
}

.box {
  background: var(--color-light);
  padding: 1.5rem;
  border: 4px solid var(--color-white);
  outline: 2px solid var(--color-light);
}

.video,
.img {
  position: relative;
  display: block;
  --w: 1;
  --h: 1;
  padding-bottom: calc(100% / var(--w) * var(--h));
  /* background: var(--color-black); */
}
.img img,
.video iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit:fill;
  border: 0;
}
.img[data-contain] img {
  object-fit: contain;
}
.img-caption,
.video-caption {
  font-family: var(--font-family-mono);
  font-size: 1rem;
  padding-top: 0rem;
  /* padding-bottom: .25rem; */
  /* line-height: 1.5em; */
  background:white;
  width:fit-content;
  /* border-radius:20px; */
}

.project-name{
  font-family: var(--font-family-sans-bold);
  font-size:1.9rem;
  padding-top: .75rem;
  padding-bottom:.24rem;
  line-height: 1.5em;
}



.project-title {
  font-family: var(--font-family-sans-bold);
  font-size:2.1rem;
  padding-top: .75rem;
  line-height: 1.5em;
  text-align: center;
}

.project-list{
  width:100%;
}

.project-list ul{
 margin-left: .5rem;
}

.project-components{
    padding: 1.5rem;
    padding-left: 2.5rem;
    background: var(--color-grey);
    border-radius: 20px;
    margin-left: 50px;
}

.project1-components{
  /* padding: 1.5rem; */
  padding-top: 0px;
  /* background: var(--color-white); */
  /* border-radius: 20px; */
  /* margin-left: 45px;
  border-image:  url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAKqADAAQAAAABAAAAKgAAAADUGqULAAABmElEQVRYCe2Y4U4DQQiEr8b3f2VdVr+EHY+DbW0ipk0MZRhYZkL/eDuO42P82ef2FX7k33AZf8q8N7b46xEXbc/ICTR4rudHdXDmklfn0Df5bRx9HzKXzS9yHCHiDP3g5NTBNQcnUtf+mbdxFDUWbXPUVHDPeeR76d02jtqN6kdd1dtRPnVw+iMcHhEefeBLbOUoSlC2KBlJVAdXfjQHntaZozj8WW/jKFtfRVOE6ivevbXS/DaO+l89rl3eyrAtqu86yntRH/X5XhtHbVs2V2W/5ZzOzfLTfdo4mql71Xcd8DfKTXIjUb77RsbP3pv1141mNv7bur9RFcmNKv7snJtd3mlzo941lHjMVIGjUOvguzGbS32+18bRigumDHUV/i6nNL+No2f/Kak6gsvVm93ls8fsa+OodwPFKCHCyerw4dGnODkRHn3gxFlv4yhbWzRFZ6oi3Pc+8j2av+BtHD371eMqt5O5pfwsv2teG0e9a5ETOOC5hsGP6uAZL6qD9/rV79zoonDYhcPg6iB1cM3py/DJa3Ojn5CzaCtx9KTYAAAAAElFTkSuQmCC') 14 /  14px / 0 round;
  border-width:  14px;
  border-style:  solid;  */
  /* border:2px solid black; */
}

.project1-components li{ 
  margin-bottom: 20px;
}

.project1-components li::before {
  content: '';
  position: absolute;
  left: -10px;
  font-size: 10px;
  color:black
}

.project1-components li li{
  margin-left:10px;
  margin-bottom: 0px;
  color:black
}

.project1-components li li:first-child{
  margin-top:10px;
}

.project1-components li li::before {
  content: '▶︎';
  position: absolute;
  top: 3px;
  left: -6px;
  font-size: 12px;
  color: black;
}

/* Details dropdown styling for project1-components */
.project1-components details {
  margin-bottom: 20px;
  position: relative;
  display: block;
  list-style: none;
}

/* Override li styles when it contains details */
.project1-components li.has-details {
  list-style: none;
}

.project1-components li.has-details::before {
  content: none !important;
}

/* Override li styles for details elements */
.project1-components details::before {
  content: none !important;
}

.project1-components details summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 0.5rem 1rem;
  padding-left: 24px;
  margin-bottom: 0;
  font-weight: normal;
  display: block;
  user-select: none;
  -webkit-user-select: none;
  /* border: 1px solid black; */
  outline: none;
  transition: background-color 0.2s ease, color 0.2s ease;
  line-height: 1.5;
  background: #ffe6ea;
  border: 1px solid transparent;
}

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

.project1-components details summary::marker {
  display: none;
}

.project1-components details summary::before {
  content: '▶';
  position: absolute;
  left: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  transition: transform 0.2s ease;
  display: inline-block;
  line-height: 1;
  color: var(--color-black);
}

.project1-components details[open] summary::before {
  transform: translateY(-50%) rotate(90deg);
}

.project1-components details summary:hover {
   cursor: pointer;
   background-color: transparent;
   border: 1px solid;
}

.project1-components details summary:hover::before {
  /* color: var(--color-white); */
}

.project1-components details[open] summary {
  background-color: transparent;
  border: 1px solid;
 
}

.project1-components details[open] summary::before {
  /* color: var(--color-white); */
}

.project1-components details summary:focus {
  outline: none;
}

.project1-components details summary:focus-visible {
  outline: 2px solid var(--color-black);
  outline-offset: 2px;
}

.project1-components details > *:not(summary) {
  margin-top: 10px;
  margin-left: 20px;
  display: block;
}

/* Ensure nested lists inside details work correctly */
.project1-components details ul,
.project1-components details ol {
  margin-left: 20px;
  margin-top: 10px;
}


.project2-components{
  padding: 1.5rem;
  background: transparent;
  /* border-image:  url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAKqADAAQAAAABAAAAKgAAAADUGqULAAABQ0lEQVRYCe2W4QrCMAyEp/j+r6y0+EFytLOyjnpD/3S5pknuWwdu2/83l8CtUe4pGjmr9DrOXYayCAsxpVYG/wn9UkRXXYf0Jm2I8kVHatxT9noxZzRvlk7dWs+GKO7Lmu5E2OjpIeWUx9TXhuhjgEW6KyGfuxukoUetRx3VUzFLojhSh5/i5Hwg0Hp6pLlvSbTpRO2eEPMmKU2c5rEkiiNdcaj6rDiR6xW1JAo5dahxz/QsvdnPkmjTySxMO3V4k6QQp3ksieJIVxyqPitO5HpFLYlCTh1q3DM9S2/2syEKxUKj6WRA/5Zk7Ll3Ns1jQ/TIP/xRMnvUyl4i10u2JAohdUiMWc07qnOelX70qboNUVyUtTjBTdRXPad5bIiODJqcBbxn66HVto0Mmg6sCtKX9R5C7yk5q/Q6lg3RVW/yun1ftbhXPIooAuMAAAAASUVORK5CYII=') 14 /  14px / 0 round;
    border-width:  14px;
    border-style:  solid;  */
    background: var(--color-white);
    /* border-radius: 20px; */ 
    margin-left: 45px;
    /* border:2px solid black; */
}

.project2-components li {
position: relative;
list-style: none;
padding-left: 10px;
margin-bottom: 20px !important;
}

.project2-components li::before {
  content: '';
  position: absolute;
  left: -10px;
  font-size: 10px;
  color:black
}

.project2-components ol > li {
  padding-left: 0px;
  left: 10px;
  margin-right:10px;
}


.project2-components li li{
  margin-left:10px;
  color:black;
  margin-bottom: 0px !important;
}

.project2-components li li:first-child{
  margin-top:10px;
}

.project2-components li li strong{
  border: 1px solid black;
  border-radius: 20px;
  padding: 1px 10px;
}

.project2-components li li li::before {
  content: '▶︎';
  position: absolute;
  top: 3px;
  left: -6px;
  font-size: 12px;
  color: black;
}


#project-one-title {
    /* background: var(--color-code-blue); */
     /* background: var(--color-code-blue); */
     color: #000000;
     /* animation: logo-shake .4s infinite; */
     width: fit-content;
     height: auto;
     /* padding: 13px; */
     padding-bottom: 0px;
     border-radius: 30px;
     margin-left: 0px;
     margin-bottom: -5px;
     margin-top: 1rem;
     font-family: 'Diatype Mono';
     font-size: 1rem !important;
}

.project2-components ul{
padding-right:.5rem !important;
}

.project2-components li::before {
  content: '';
  position: absolute;
  left: -8px;
  font-size: 10px;
  color:black
}

#responsibility li::before {
  content: '';
  position: absolute;
  left: -8px;
  font-size: 10px;
  color:black
}

#responsibility li{
  margin-bottom:10px
}



.crit-philosophy {
  /* background:white; */
  padding: 20px 10px;
  /* border-radius: 20px; */
  margin-bottom: 30px !important;

  /* box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); */
  /* border-image:  url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAKqADAAQAAAABAAAAKgAAAADUGqULAAABdUlEQVRYCdWWgY7CMAxDx/3/Px9zK98xKyGhq5BciYU0cYafuonHcRy/5wfrMcPfNdtnQ1bP9ld1Y94P1Y4RDkgFv1/zzJP2aX5LZ0lUCVQ5CVV9Wl/S2RDFkw7HWHzqP82nup7T7Qvvb0OULhH1LFU5tVWf1pd0lkS7TtmnUclprv3MtU/z0WdFNHRw2sj2SSKLmS7b55y3dRuifHfSVSfCOdaKdio/u4772RCNvOlZ0TzS3NnT+ZqP2ZZE1UmV36EIbTX/UrchuvPfU5cwSGHxrdHKbYhOb/N6ORPnVpW/ale+V/MvdUuipHJxEpBl367Yup8VUXW0i1Q2Z+l+NkT5LovcwzlW1pPVs/05Lb9murFvQzTyBwd0h7rmkSbq26qzJKoEqpxkqz6tL+lsiO789wRyWHxLaD6r/+c/61PdyG2I0iUifjnddHL0YH1FZ0l08qkJsU9jRVb7mbd0NkSjp/7VKb7z6az2qzrPv85r6WyIPgFq2N59Ey28LAAAAABJRU5ErkJggg==') 14 /  14px / 0 round;
    border-width:  14px;
    border-style:  solid;  */
  
}

.crit-philosophy.hidden {
  display: none;
}

.section2.hidden {
  display: none;
}

.policies.hidden {
  display: none;
}

.policies {
  margin: 20px 0px !important;
  border: 1px solid;
  padding: 16px;
}

.project3-components{
  padding: 1.5rem;
  padding-left: 1.5rem;
  background: var(--color-grey);
  border-radius: 20px;
  margin-left: 50px;
}

.project3-components ul{
padding-right:.5rem !important;
}

.project3-components li:first-child{
  margin-bottom:.5rem !important;
  }
  

.project3-components li::before {
  content: '';
  position: absolute;
  left: -8px;
  font-size: 10px;
  color:black
}

.project3-components li li:first-child {
  margin-bottom:0rem !important;
}

.project3-components li li::before {
  content: '—';
  position: absolute;
  left: -8px;
  font-size: 10px;
  color:black
}

.project-components ol{
  margin-bottom:0px !important
}

.section2{

    padding: 25px 10px;
    margin: 0px;
    border-radius: 30px;

}


.policies-text h4{
  width: fit-content;
  /* padding: .6rem 1rem; */
  /* background: var(--color-code-yellow); */
  /* margin-left: -10px; */
  color: var(--color-black);
  opacity: 1;
  border-radius: 30px;
  font-feature-settings: "ss01" 1, "ss04" 1;
  /* border: 2px solid black; */
  margin-bottom: -10px !important;
  transform: rotate(356deg);
  font-size:1.1rem;
  -webkit-animation: logo-shake .5s infinite;
  animation: logo-shake .5s  infinite;
  margin-bottom: 20px !important;
}


.wiggle-text{
  width: fit-content;
  padding: .2rem 0rem;
  /* background: var(--color-code-comment); */
  margin-top: 0px;
  /* margin-left: -10px; */
  color: var(--color-black);
  opacity: 1;
  border-radius: 30px;
  font-feature-settings: "ss01" 1, "ss04" 1;
  /* border: 1px solid black; */
  margin-bottom: 10px !important;
  /* transform: rotate(356deg); */
  font-size: 2rem;
  font-family: "Diatype Regular";
  letter-spacing: -0.1rem;
  text-transform: lowercase;
}

/* Align objectives list bullets with header */
h4.wiggle-text + ul {
  padding-left: 12px;
  margin-left: 0;
}

h4.wiggle-text + ul > li {
  padding-left: 0;
}

h4.wiggle-text + ul > li::before {
  left: 0;
}

.assignments{
  width: fit-content;
  padding: .75rem 1rem;
  background: var(--color-code-blue);
  margin-top: 0px;
  margin-left: -5px;
  color: white;
  opacity: 1;
  border-radius: 30px;
  font-feature-settings: "ss01" 1, "ss04" 1;
  /* border: 2px solid black; */
  margin-bottom: 10px !important;
  /* transform: rotate(356deg); */
  font-size:3rem;
  /* -webkit-animation: logo-shake .5s infinite;
  animation: logo-shake .5s  infinite; */
}

.footer {
  display: block;

  padding: 3rem 2rem;
  margin: 0rem auto 0;
  font-family: var(--font-family-text-regular);
  background: #f0f0f0;
  color: var(--color-black);
 
}

.footer-content {
  border-top: 1px solid var(--color-black);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-left {
  flex: 1;
  max-width: 36%;
}

.footer-right {
  flex: 0 0 auto;
  text-align: right;
}

.footer-toggle {
  margin-top: 0rem;
}

.footer-toggle:first-child {
  margin-top: 0;
}

.footer-section {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.footer-triangle {
  display: inline-block;
  color: var(--color-black);
  font-size: 0.8rem;
  line-height: 1;
  transition: transform 0.2s ease;
  transform: rotate(-90deg);
}

.footer-toggle.active .footer-triangle {
  transform: rotate(0deg);
}

.footer-content-section {
  max-height: 2000px;
  opacity: 1;
  overflow: hidden;
  transition: max-height 0.3s ease-out, opacity 0.3s ease-out, margin 0.3s ease-out, padding 0.3s ease-out;
  margin-bottom: 0;
  padding-top: 0.5rem;
}

.footer-toggle:not(.active) .footer-content-section {
  max-height: 0;
  opacity: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.footer-label {
  display: inline-block;
  color: var(--color-black);
  font-size: 1rem;
  text-transform: lowercase;
}

.footer-copyright-box {
    /* background: #e6f3ff; */
    /* border: 1px solid var(--color-black); */
    /* padding: 0.25rem 0.5rem; */
    display: inline-block;
}

.footer-text {
  color: var(--color-black);
  line-height: 1.3;
  margin-bottom: 1rem;
  font-size: 1rem;
}


.footer-contact {
  color: var(--color-black);
  font-size: 1rem;
  line-height: 1.6;
}

.footer-contact a {
  color: var(--color-black);
  text-decoration: underline;
}

.footer a {
  color: var(--color-black);
  text-decoration: underline;
}

.footer a:hover {
  opacity: 0.7;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
  }
  
  .footer-left {
    max-width: 100%;
  }
  
  .footer-right {
    text-align: left;
    margin-top: 2rem;
  }
}

.map {
  --w: 2;
  --h: 1;
  padding-bottom: calc(100% / var(--w) * var(--h));
  position: relative;
  overflow: hidden;
  background: var(--color-black);
}
.map iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.margin-s {
  margin-bottom: .75rem;
}
.margin-m {
  margin-bottom: 1.5rem;
}
.margin-l {
  margin-bottom: 3rem;
}
.margin-xl {
  margin-bottom: 0rem;
}
.margin-xxl {
  margin-bottom: 6rem;
}

.mobile-menu {
  display: none;
}

@media only screen and (max-width: 1800px) {
  /* Removed spacing changes - keeping consistent until mobile */
  
  /* Gradually scale carousel images */
  .capstone-carousel-slide img {
    max-height: calc(70vh * 0.95);
  }
}

@media only screen and (max-width: 1600px) {
  .capstone-carousel-slide img {
    max-height: calc(70vh * 0.9);
  }
}

@media only screen and (max-width: 1400px) {
  .capstone-carousel-slide img {
    max-height: calc(70vh * 0.85);
  }
}

@media only screen and (max-width: 1200px) {
  .capstone-carousel-slide img {
    max-height: calc(70vh * 0.8);
  }
}


@media only screen and (max-width: 1260px) {

  .header{
    position: fixed;
    display: flex;
    flex-wrap: wrap;
    top: 0px;
    padding-top: 7px;
    padding-bottom: 5px;
    /* padding: 10px 0px; */
    height: 40px;
    justify-content: space-between;
    margin: 0 auto;
    font-family: var(--font-family-logo);
    /* border-bottom: 2px solid black; */
    /* border-radius: 60px; */
    /* background: var(--color-code-yellow); */
    /* font-feature-settings: "ss01" 1, "ss04" 1; */
    /* border-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVCAYAAACpF6WWAAAAAXNSR0IArs4c6QAAAHFJREFUOE9jZKABYKSBmQyjhlI/VEfDdDRMqRwCNEtS/xkY4GUALjbIL8hyMD6IBjkMRR/MpSBBZAWwAEH2Cbqh2AwGm4HPULLl0MMU3fsw16NHJbLPMIKGbNdAbcEWbER5H+ZKksIUm2JcsU0o4sD6AG1uJhQ8i7j2AAAAAElFTkSuQmCC) 7 / 7px / 0 round; */
    /* border-width: 7px; */
    /* border-style: solid; */
    /* margin-bottom: 0rem; */
    z-index: 100;
    background: var(--color-black);
    width: 100%;
    padding: 1rem;
    border-bottom: 1px solid var(--color-white);
    left: 0;
    right: 0;
    height: auto;
    min-height: 60px;
    justify-content: center;
  }

  .desktop-nav{
    display:none !important;
  }
  
  /* Hide all desktop nav elements */
  .desktop-nav,
  .desktop-nav .nav-column-left,
  .desktop-nav .nav-column-right,
  .desktop-nav .nav-column-center,
  .desktop-nav .nav-logo,
  .desktop-nav #people-dropdown-btn,
  .desktop-nav .resources-pill,
  .desktop-nav .dropdown {
    display: none !important;
  }
  
  /* On smaller screens, adjust main padding for agenda */
  main:has(.week-number),
  .agenda-page main {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .contact{
    display:none;
  }

  .main {
    padding: var(--padding);
    max-width: 90vw;
    margin: 0 auto;
    margin-top: 130px; 
    padding-left: 1rem;
    padding-right: 1rem;
  }

   .logo{
    font-family: "Diatype Regular", monospace;
    font-size: 2.5rem; /* Slightly smaller than desktop 3rem */
    text-decoration: none;
    color: var(--color-white);
    display: inline-block !important;
    align-items: center;
    cursor: pointer;
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    padding: 0;
    margin: 0;
    perspective: 1000px;
    letter-spacing: -0.1rem;
    white-space: nowrap;
    line-height: 1;
   }
   
   .logo .letter {
     display: inline-block;
     position: relative;
     transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
     will-change: transform;
     transform-origin: center center;
     transform-style: preserve-3d;
     vertical-align: baseline;
     line-height: 1;
   }
   
   .nav-bar {
     display: block !important;
   }
   
   /* Make sure Resources shows in mobile menu */
   .about-text .resources-pill {
     display: block !important;
   }

  .menu {
    display: none;
  }

  .table{
    display: none;
  }

  .margin-xl {
    margin-bottom: 0rem;
}

  .mobile-menu {
    display:inline-block;
  }
  .header.open{
    height: auto;
    min-height: 60px;
  }
  
  /* Hide desktop nav items when mobile menu is open */
  .header.open .desktop-nav {
    display: none !important;
  }
  
  .header.open .nav-column-right {
    display: none !important;
  }

  #nav-icon {
    z-index: 20;
    width: 50px;
    height: 50px;
    top: 3.6rem;
    right: 2.3rem;
    position: absolute;
    transform: translateY(-50%);
    -webkit-transition: 0.5s ease-in-out;
    -moz-transition: 0.5s ease-in-out;
    -o-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
    cursor: pointer;
  }
  

  
  #nav-icon span {
    display: block;
    position: absolute;
    height: 2.5px;
    width: 80%;
    background: var(--color-white);
    opacity: 1;
    left: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -webkit-transform: rotate(
  0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(
  0deg);
    -webkit-transition: 0.25s ease-in-out;
    -moz-transition: 0.25s ease-in-out;
    -o-transition: 0.25s ease-in-out;
    transition: 0.25s ease-in-out;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
  }
    
  #nav-icon span:nth-child(1) {
    top: 0px;
  }
  
   #nav-icon span:nth-child(2) {
    top: 8px;
  }
  
   #nav-icon span:nth-child(3) {
    top: 16px;
  }
  
  #nav-icon.open-icon span:nth-child(1) {
    -webkit-transform: rotate(
  45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(
  45deg);
    top: -6px;
    left: 6px;
  }
  
  #nav-icon.open-icon span:nth-child(2) {
    width: 0%;
    opacity: 0;
  }
  
  #nav-icon.open-icon span:nth-child(3) {
    -webkit-transform: rotate(
  -45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(
  -45deg);
  top: 22px;
     left: 6px;
  }

  #about{
   display: none;
   position: relative;
   }
 
   #about.open{
     display:block;
     font-size: 1.2rem;
     position: absolute;
     top: 100%;
     left: 0;
     right: 0;
     width: 100%;
     background: var(--color-black);
     border-top: 1px solid var(--color-white);
     padding: 1rem;
     z-index: 100;
   }

   .about-text{
    display:block;
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
   }
   
   .about-text li {
     margin-bottom: 1rem;
     width: 100%;
   }
   
   .about-text a {
     color: var(--color-white);
     text-decoration: none;
     font-family: var(--font-family-text-regular);
   }
   
   .about-text a:hover {
     opacity: 0.7;
   }
   
   /* Mobile dropdown styling */
   .mobile-dropdown {
     position: relative;
   }
   
   .mobile-dropbtn {
     background: transparent;
     border: none;
     color: var(--color-white);
     font-family: var(--font-family-text-regular);
     font-size: 1.2rem !important;
     letter-spacing: normal !important;
     cursor: pointer;
     padding: 0;
     margin: 0;
     text-align: left;
   }
   
   .mobile-dropbtn .nav-logo {
     font-size: 1.2rem !important;
     font-family: var(--font-family-text-regular) !important;
     letter-spacing: normal !important;
   }
   
   .about-text .resources-pill {
     font-family: var(--font-family-text-regular) !important;
     font-size: 1.2rem !important;
     letter-spacing: normal !important;
     color: var(--color-white);
     text-decoration: none;
     display: block;
   }
   
   .about-text .resources-logo {
     font-size: 1.2rem !important;
     font-family: var(--font-family-text-regular) !important;
     letter-spacing: normal !important;
   }
   
   .mobile-dropdown .dropdown-content {
     display: none;
     flex-direction: column;
     position: fixed !important;
     top: 50% !important;
     left: 50% !important;
     transform: translate(-50%, -50%) !important;
     max-height: calc(100vh - 4rem);
     opacity: 0;
     padding: 0;
     align-items: flex-start;
     justify-content: flex-start;
     min-width: fit-content;
     z-index: 2000;
     overflow: hidden;
     transition: max-height 0.3s ease-out, opacity 0.3s ease-out, padding 0.3s ease-out;
     background: transparent;
     border: none;
   }
   
   .mobile-dropdown .dropdown-content::-webkit-scrollbar {
     display: none;
   }
   
   .mobile-dropdown .dropdown-content.show {
     display: flex !important;
     position: fixed !important;
     top: 50% !important;
     left: 50% !important;
     transform: translate(-50%, -50%) !important;
     max-height: calc(100vh - 4rem);
     height: auto;
     opacity: 1;
     padding: 2rem;
     overflow-y: auto;
     overflow-x: hidden;
     margin-top: 0 !important;
     justify-content: flex-start !important;
     align-items: center !important;
     scrollbar-width: none;
     -ms-overflow-style: none;
     background: transparent;
     border: none;
   }
   
   .mobile-dropdown .person-link {
     display: inline-block;
     padding: 0.5rem 1.5rem;
     color: var(--color-white);
     text-decoration: none;
     background: var(--color-code-blue);
     font-size: 1.5rem;
     font-family: var(--font-family-text-regular);
     transition: background 0.2s, color 0.2s;
     font-weight: normal;
     border-radius: 999px;
     margin-bottom: 0.5rem;
     width: fit-content;
     white-space: nowrap;
   }
   
   .mobile-dropdown .person-link:hover {
     background: #0170b8;
     color: var(--color-white);
     opacity: 1;
   }
  

   .footer {
    width: 1150px;
    
  }

/* 
  img{
    aspect-ratio: 11/9 !important;
  } */

  #projects{
    margin-top: -12px;
    margin-left: 0px;
  }

  .project1-components {
    padding:.75rem;
  }

  .project1-components ul{
    margin-left: 0rem;
    padding-top: .5rem;
    padding-right: 0rem;
  }

  .policies{
    margin-top: 0px;
  }

  li::before {
    content: '►';
    position: absolute;
    left: -8px;
    font-size: 10px;
    color: black;
}

.about-text li::before {
  content: '';
  position: absolute;
  left: -8px;
  font-size: 10px;
  color: black;
}

h4{
  line-height: 1;
}

.grid{
  grid-gap:0px !important
}

.grades-intro {
  padding-top: 0px;
}

.opening-manifesto img {
  display: inline;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  border-radius: 20px;
 /* box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 3px 10px 0 rgba(0, 0, 0, 0.19); */
}

 }


@media screen and (min-width: 60rem) {

  
  body {
    --padding: 0rem;
  }

  .grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .grid > .column {
    grid-column: span var(--columns);
  }

}

.pagination {
  display: flex;
  padding-top: 6rem;
}
.pagination > span {
  color: var(--color-text-grey);
}
.pagination > * {
  padding: .5rem;
  width: 3rem;
  text-align: center;
  border: 2px solid currentColor;
  margin-right: 1.5rem;
}
.pagination > a:hover {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}


.note-excerpt header {
  margin-bottom: 1.5rem;
}
.note-excerpt figure {
  margin-bottom: .5rem;
}
.note-excerpt-title {
  font-weight: 600;
}
.note-excerpt-date {
  color: var(--color-text-grey);
}

/* ============================================
   Agenda Page Styles - Matching Reference Site
   ============================================ */

/* Week Number - Large, prominent blocks like reference site */
h2.week-number {
  font-size: 3.5rem;
  font-weight: bold;
  margin: 0;
  line-height: 1;
  font-family: var(--font-family-sans-bold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border: 1px solid var(--color-black);
  text-align: center;
  background: var(--color-white);
  flex-shrink: 0;
}

/* Week Date - First date heading */
h2.week-date {
  font-size: 1.5rem;
  font-weight: normal;
  margin: 0.5rem 0;
  line-height: 1.3;
  font-family: var(--font-family-text-regular);
}

/* Week Date Full - Second date heading */
h3.week-date-full {
  font-size: 1.5rem;
  font-weight: normal;
  margin: 0 0 1.5rem 0;
  line-height: 1.3;
  font-family: var(--font-family-text-regular);
}

/* Section Head - "In class" and "For next week" */
h4.section-head {
  font-size: 1.1rem;
  font-weight: bold;
  margin: 2rem 0 1rem 0;
  text-transform: lowercase;
  font-family: var(--font-family-sans-bold);
}

/* In Class and Homework Lists */
.in-class-list,
.homework-list {
  margin: 0 0 2rem 0;
  padding-left: 1.5rem;
}

.in-class-list ol,
.homework-list ol {
  margin: 0;
  padding-left: 1.5rem;
  list-style-type: decimal;
}

.in-class-list li,
.homework-list li {
  margin: 0.5rem 0;
  line-height: 1.6;
  font-family: var(--font-family-text-regular);
}

.in-class-list ul,
.homework-list ul {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
  list-style-type: disc;
}

.in-class-list ul li,
.homework-list ul li {
  list-style-type: disc;
  margin: 0.25rem 0;
}

/* Links in agenda */
.in-class-list a,
.homework-list a {
  color: currentColor;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.in-class-list a:hover,
.homework-list a:hover {
  text-decoration-thickness: 2px;
}

/* Agenda page container */
.agenda-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Week section spacing and layout */
section[id^="week-"] {
  margin-bottom: 2rem;
}

/* Grid layout for week numbers - matching reference site */
section[id^="week-"] .column {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 80px));
  gap: 0.5rem;
  margin-bottom: 2rem;
}

/* Week number container - large bordered blocks */
section[id^="week-"] h2.week-number {
  flex-shrink: 0;
  margin: 0;
}

/* Week content should appear below the number */
section[id^="week-"] h2.week-date,
section[id^="week-"] h3.week-date-full {
  grid-column: 1 / -1;
  margin-top: 1rem;
}

/* Top Navigation Bar - Matching Reference Site */
.desktop-nav {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  width: 100%;
  margin: 0;
  padding: 0rem;
  align-items: center;
}

/* Three columns */
.desktop-nav .nav-column {
  display: flex;
  flex-direction: row;
}

.desktop-nav .nav-column-left {
  align-items: flex-start;
}

.desktop-nav .nav-column-center {
  align-items: flex-start;
}

.desktop-nav .nav-column-right {
  align-items: center;
  padding-right: 20px;
  display: flex;
  gap: 1rem;
}

/* Nav Logo */
.desktop-nav .nav-logo,
.dropbtn .nav-logo {
  font-family: "Diatype Regular", monospace;
  font-size: 3rem;
  text-decoration: none;
  color: var(--color-white);
  align-items: center;
  letter-spacing: -0.1rem;
  white-space: nowrap;
  display: inline-block;
  position: relative;
  perspective: 1000px;
}

/* Projects section */
.desktop-nav .nav-projects-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

.desktop-nav .nav-projects-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.nav-projects-agenda-wrapper {  
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

/* Unified grid for projects and agenda days */
.nav-projects-agenda-grid {
  display: grid;
  grid-template-columns: repeat(var(--total-days, 31), 1fr);
  gap: 0.25rem;
  align-items: center;
  width: 100%;
  min-height: 2rem;
}

/* Project boxes that span multiple days */
.desktop-nav .schedule.project-box {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  padding: 0.5rem 0.25rem;
  display: flex !important;
  align-items: center;
  justify-content: center;
  align-self: center;
  box-sizing: border-box;
  height: auto;
  min-height: 2.5rem;
  grid-row: 1;
}



/* Agenda section */
.desktop-nav .nav-agenda-section {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  width: 100%;
  align-items: center;
}

/* Deadlines section */
.desktop-nav .nav-deadlines-section {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  width: 100%;
  align-items: center;
  margin-top: 0.5rem;
}

/* Deadline triangle */
.deadline-triangle {
  position: relative;
  width: 100%;
  height: 28px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-top: 0.25rem;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.deadline-triangle:hover {
  opacity: 0.7;
}

.deadline-triangle::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-bottom: 28px solid var(--color-white);
  z-index: 0;
}

.deadline-triangle .deadline-label {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1rem;
  font-family: var(--font-family-sans-bold);
  color: var(--color-black);
  white-space: nowrap;
  font-weight: bold;
  line-height: 1;
  z-index: 2;
}


/* Letter spans for animation */
.desktop-nav .nav-logo .letter,
.dropbtn .nav-logo .letter,
#structure-button .letter {
  display: inline-block;
  position: relative;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  transform-origin: center center;
  transform-style: preserve-3d;
  /* background: var(--color-code-yellow);
  padding: 0.1em 0.00em; */
}

/* Structure dropdown */
.structure {
  display: none; /* Hide the original structure section */
}

/* Structure button in header */
#structure-button {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px 20px;
  margin-right: 1rem;
  margin: 0.5rem;
  text-decoration: none;
  transition: opacity 0.2s;
  /* Inherit nav-logo styles */
  font-family: "Diatype Regular", monospace;
  font-size: 2rem !important;
  color: var(--color-black);
  background: transparent;
  width: fit-content;
  border-radius: 40px;
  align-items: center;
  border: 2px solid var(--color-black);
  display: inline-block;
  position: relative;
  perspective: 1000px;
}

#structure-button:hover {
  opacity: 0.7;
}

/* Structure overlay */
.structure-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  overflow: hidden;
}

.structure-overlay.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.structure-overlay-content {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-black);
  max-width: 90%;
  max-height: calc(100vh - 20rem);
  width: 1100px;
  padding: 4rem 5rem;
  border-radius: 30px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
}

.structure-overlay-content::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.structure-overlay-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  color: var(--color-white);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: opacity 0.2s;
}

.structure-overlay-close:hover {
  opacity: 0.7;
}

.structure-overlay-body {
  color: var(--color-white);
  padding-top: 1rem;
}

.structure-overlay-body * {
  color: var(--color-black);
}

.structure-overlay-body ol > li {
  margin-left: 2.5rem;
}

.structure-overlay-body ul > li {
  margin-left: 2.5rem;
  padding-bottom: 0.5rem;
}

/* Examples list - yellow highlight for underlined text */
.examples u {
  background-color: var(--color-code-yellow);
  text-decoration: none;
}

/* Section structure divider */
.section-structure {
  border-top: 1px solid rgb(190 190 190);
  padding-top: 2rem;
  margin-top: 2rem;
}

/* Remove old nav-row styles - now using columns */

.desktop-nav .nav-label {
  font-size: 1rem;
  font-family: var(--font-family-text-regular);
  color: var(--color-white);
  font-weight: normal;
  display: block;
  min-width: 5rem;
  flex-shrink: 0;
}

.desktop-nav .schedule {
  font-size: 1rem;
  font-family: var(--font-family-text-regular);
  text-decoration: none;
  color: var(--color-white);
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-white);
  /* background: var(--color-white); */
  transition: background 0.2s, color 0.2s;
  font-weight: normal;
  display: inline-block;
}

.desktop-nav .schedule:hover {
  background: var(--color-white);
  color: var(--color-black);
}

/* Dropdown styling for People */
.desktop-nav .dropdown {
  position: relative;
  display: inline-block;
  width: auto;
}

.desktop-nav .dropbtn {
  font-size: 1rem;
  font-family: var(--font-family-text-regular);
  text-decoration: none;
  color: var(--color-white);
  padding: 0.5rem 1rem;

  transition: background 0.2s, color 0.2s;
  font-weight: normal;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  margin: 0;
  margin-right:3rem;
  width: auto;
}

.desktop-nav .dropbtn:hover {
  /* background: var(--color-black);
  color: var(--color-white); */
 
}

.desktop-nav .dropbtn .dropdown-arrow {
  transition: transform 0.2s;
  display: inline-block;
  font-size: 0.7em;
  line-height: 1;
  transform: rotate(0deg);
}

.desktop-nav .dropbtn.active .dropdown-arrow {
  transform: rotate(90deg);
}

.desktop-nav .dropdown-content {
  display: none;
  flex-direction: column;
  /* gap: 0.5rem; */
  position: absolute;
  top: 100%;
  padding: 0;
  align-items: center;
  justify-content: flex-start;
  min-width: fit-content;
  z-index: 1000;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease-out, opacity 0.3s ease-out, padding 0.3s ease-out;
}

.desktop-nav .dropdown-content.show {
  display: flex !important;
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  max-height: calc(100vh - 4rem);
  height: auto;
  opacity: 1;
  padding: 2rem;
  overflow-y: auto;
  overflow-x: hidden;
  margin-top: 0 !important;
  justify-content: flex-start !important;
  align-items: center !important;
  /* Hide scrollbar but keep scrolling */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.desktop-nav .dropdown-content.show::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.desktop-nav .dropdown-content.show:hover {
  opacity: 1;
}

/* Disable hover behavior for desktop nav dropdown - only use click */
.desktop-nav .dropdown:hover .dropdown-content:not(.show) {
  display: none;
}

.desktop-nav .dropdown-content a {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  color: var(--color-white);
  text-decoration: none;
  background: var(--color-code-blue);
  font-size: 3rem;
  font-family: var(--font-family-text-regular);
  transition: background 0.2s, color 0.2s;
  font-weight: normal;
  border-radius: 999px;
  margin-bottom: 0.5rem;
  width: fit-content;
}

.desktop-nav .dropdown-content a:hover {
  background: #0170b8;
  color: var(--color-white);
  opacity: 1;
}

/* Crit Philosophy dropdown content styling */
.crit-philosophy-content {
  min-width: 900px;
  max-width: 1200px;
  padding: 2rem !important;
}

.crit-philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.crit-philosophy-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.crit-philosophy-column h3 {
  font-size: 1.25rem;
  font-weight: bold;
  margin: 0;
  font-family: var(--font-family-text-regular);
}

.crit-philosophy-column h4 {
  font-size: 1rem;
  font-weight: bold;
  margin: 0.5rem 0 0 0;
  font-family: var(--font-family-text-regular);
}

.crit-philosophy-column p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  font-family: var(--font-family-text-regular);
}

.crit-philosophy-column ul {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
  font-size: 0.9rem;
  line-height: 1.6;
  font-family: var(--font-family-text-regular);
}

.crit-philosophy-column li {
  margin-bottom: 0.5rem;
}

/* Ensure desktop nav is visible on larger screens */
@media (min-width: 769px) {
  .desktop-nav {
    display: flex !important;
    justify-content: space-between;
  }
}

/* Main content area for agenda */
main .grid {
  /* max-width: 800px; */
  margin: 0 auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  h2.week-number {
    font-size: 2.5rem;
  }
  
  h2.week-date,
  h3.week-date-full {
    font-size: 1.25rem;
  }
  
  .in-class-list,
  .homework-list {
    padding-left: 1rem;
  }
  
  .agenda-page {
    padding: 1rem 0.5rem;
  }
  
  main:has(.week-number),
  .agenda-page main {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Clean up spacing for agenda layout */
section.grid[id^="week-"] {
  margin-bottom: 4rem;
}

/* Agenda Days Grid - styled like project links in nav bar */
.agenda-days-grid {
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
  align-items: center;
}

/* When agenda days are in the unified grid */
.nav-projects-agenda-grid .day-box {
  grid-column: span 1;
  width: 2rem;
  height: 2rem;
  min-width: 2rem;
}

.day-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  width: 2rem;
  height: 2rem;
  font-family: var(--font-family-text-regular);
  text-decoration: none;
  color: var(--color-white);
  padding: 0;
  border: 1px solid var(--color-white);
  /* background: var(--color-white); */
  transition: background 0.2s, color 0.2s;
  font-weight: normal;
  line-height: 1;
  box-sizing: border-box;
}

.day-box:hover {
  background: var(--color-white);
  color: var(--color-black);
}

.day-box.active {
  border-radius: 100%;
}

.day-number {
  font-size: 1rem;
  font-weight: normal;
  font-family: "Diatype Mono", monospace;
  padding-top: 0.1rem;
  line-height: 1;
}

.day-date {
  display: none; /* Hide date in nav bar */
}

/* Capstone Images Carousel */
.capstone-carousel-wrapper {
  margin-top: -130px;
  margin-bottom: 2rem;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 2rem 0;
  padding-top: 150px;
  width: 100vw;
  min-height: 200px;
  position: relative;
  background-color: #f0f0f0;
  left: 50%;
  right: 50%;
  overflow: visible;
}

.capstone-carousel {
  max-width: 100%;
  margin: 0 auto;
  position: relative;
}

/* Show slides before slick initialization */
.capstone-carousel:not(.slick-initialized) .capstone-carousel-slide {
  display: block;
}

.capstone-carousel:not(.slick-initialized) .capstone-carousel-slide:not(:first-child) {
  display: none;
}

.capstone-carousel-slide {
  outline: none;
}

.capstone-carousel-slide figure {
  margin: 0;
  width: 100%;
}

.capstone-carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 70vh;
  object-fit: contain;
  margin: 0 auto;
}

/* Slick carousel customizations for capstone */
.capstone-carousel .slick-dots {
  bottom: -40px;
  text-align: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.capstone-carousel .slick-dots li {
  display: inline-block;
  margin: 0 5px;
  list-style: none;
}

.capstone-carousel .slick-dots li::before,
.capstone-carousel .slick-dots li::after {
  display: none !important;
  content: none !important;
}

.capstone-carousel .slick-dots li button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  cursor: pointer;
  text-indent: -9999px;
  overflow: hidden;
}

.capstone-carousel .slick-dots li button:before {
  display: none !important;
  content: none !important;
}

.capstone-carousel .slick-dots li.slick-active button {
  background: var(--color-black);
}

.capstone-carousel .slick-prev,
.capstone-carousel .slick-next {
  z-index: 100;
  width: 200px;
  height: 200px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.capstone-carousel .slick-prev {
  left: -20px;
}

.capstone-carousel .slick-next {
  right: -20px;
}

.capstone-carousel .slick-prev:before,
.capstone-carousel .slick-next:before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background-image: url('/assets/arrow2.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 1;
  transition: opacity 0.2s;
  /* filter: brightness(0) invert(1); */
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
}

.capstone-carousel .slick-prev:before {
  transform: rotate(180deg);
}

.capstone-carousel .slick-next:before {
  transform: rotate(0deg);
}

.capstone-carousel .slick-prev:hover:before,
.capstone-carousel .slick-next:hover:before {
  opacity: 1;
}

.intro-section {
  border-bottom: 1px solid rgb(190 190 190);
  padding-bottom: 2rem;
  margin-bottom: 2rem !important;
}

/* Main Agenda/Deadlines Section (in main content area) */
.main-agenda-deadlines-wrapper {
  margin: 2rem 0;
  padding: 2rem 0;
}

.main-agenda-section,
.main-deadlines-section {
  margin-bottom: 2rem;
}

.main-agenda-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgb(190 190 190);
  padding-top: 1.2rem;
  margin-bottom: 2rem;
}

.main-agenda-label,
.main-deadlines-label {
  display: block;
  font-size: 2rem !important;
  font-family: "Diatype Regular" !important;
  letter-spacing: -0.1rem;
  text-decoration: none;
  color: var(--color-black);
  margin: 0;
}

.agenda-key {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin: 0;
}

.agenda-key-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.agenda-key-triangle {
  width: 0;
  height: 0;
  border-left: 0.6rem solid transparent;
  border-right: 0.6rem solid transparent;
  border-bottom: 1rem solid var(--color-black);
  flex-shrink: 0;
}

.agenda-key-circle {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: var(--color-code-blue);
  flex-shrink: 0;
}

.agenda-key-square {
  width: 1.2rem;
  height: 1.2rem;
  background: var(--color-code-blue);
  flex-shrink: 0;
}

.agenda-key-label {
  font-size: 1rem;
  font-family: var(--font-family-text-regular);
  color: var(--color-black);
}

.main-agenda-days-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  row-gap: 2.4rem;
  align-items: flex-start;
  padding-top: 2rem;
  position: relative;
}

.month-divider {
  width: 2px;
  height: 3.5rem;
  border-left: 2px dotted var(--color-black);
  margin: 0 0.5rem;
  flex-shrink: 0;
  align-self: flex-start;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.month-divider-label {
  position: absolute;
  top: -1.8rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.2rem;
  font-family: var(--font-family-text-regular);
  color: var(--color-black);
  white-space: nowrap;
  line-height: 1;
  background: #f0f0f0;
  padding: 0 0.5rem;
}

.main-day-box-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  width: 3.5rem;
  flex-shrink: 0;
}

.main-day-box-wrapper .main-deadline-wrapper {
  margin-top: 0.25rem;
}

.main-day-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  width: 3.5rem;
  height: 3.5rem;
  min-width: 2.5rem;
  font-family: var(--font-family-text-regular);
  text-decoration: none;
  color: var(--color-black);
  padding: 0;
  border: 1.5px solid var(--color-black);
  background: transparent;
  transition: background 0.2s, color 0.2s, border-radius 0.2s;
  font-weight: normal;
  line-height: 1;
  box-sizing: border-box;
  cursor: pointer;
  border-radius: 0;
}

.main-day-box:hover {
  background: var(--color-black);
  color: var(--color-white);
}

.main-day-box.active {
  background: var(--color-black);
  color: var(--color-white);
  border-radius: 50%;
}

.main-day-box.OC-presentation {
  background: var(--color-code-blue);
  color: var(--color-white);
  border-radius: 50%;
  border: none;
}

.main-day-box.OC-presentation:hover {
  background: #0170b8;
  color: var(--color-white);
}

.main-day-box.publication-deadline {
  background: var(--color-code-blue);
  color: var(--color-white);
  border: none;
}

.main-day-box.publication-deadline:hover {
  background: #0170b8;
  color: var(--color-white);
}

.main-day-box .day-number {
  font-size: 1.3rem;
  font-weight: normal;
  font-family: "Diatype Mono", monospace;
  line-height: 1;
}

.main-day-box-wrapper .day-date {
  display: block;
  font-size: 0.75rem;
  font-family: var(--font-family-text-regular);
  text-align: center;
  line-height: 1.2;
  color: var(--color-black);
  white-space: nowrap;
}


.main-deadline-triangle {
  position: relative;
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s;
  flex-shrink: 0;
}

.main-deadline-triangle:hover {
  opacity: 0.7;
}

.main-deadline-triangle::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 1.75rem solid transparent;
  border-right: 1.75rem solid transparent;
  border-bottom: 3.5rem solid var(--color-black);
  z-index: 0;
  transition: opacity 0.2s;
}

.main-deadline-triangle:hover::before {
  opacity: 0.8;
}

.main-deadline-triangle .deadline-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -20%);
  font-size: 1.3rem;
  font-family: "Diatype Mono", monospace;
  color: var(--color-white);
  white-space: nowrap;
  font-weight: bold;
  line-height: 1;
  z-index: 2;
}

/* Day Content Popup Modal - styled like the reference image */
.day-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  box-sizing: border-box;
}

.day-popup-content {
  background: var(--color-white); /* Light blue background */
  max-width: 90%;
  max-height: 90%;
  width: 800px;
  display: flex;
  flex-direction: column;
  /* box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); */
  border: 1px solid var(--color-black);
  overflow: hidden;
}

.day-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 2rem 1rem 2rem;
  border-bottom: none;
  position: relative;
}

.day-popup-header h2 {
  margin: 0 auto;
  font-size: 3rem;
  font-weight: bold;
  font-family: var(--font-family-sans-bold);
  color: var(--color-black);
  text-align: center;
  flex: 1;
}

.day-popup-close {
  background: none;
  border: none;
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-black);
  transition: opacity 0.2s;
  font-weight: normal;
  position: absolute;
  right: 2rem;
  top: 2rem;
}

.day-popup-close:hover {
  opacity: 0.6;
}

.day-popup-body {
  padding: 0 2rem 2rem 2rem;
  overflow-y: auto;
  flex: 1;
}

.day-popup-section {
  margin-bottom: 2rem;
}

.day-popup-section:last-child {
  margin-bottom: 0;
}

.day-popup-section h3 {
  font-size: 1rem;
  /* font-weight: bold; */
  font-family: 'Diatype Mono';
  margin: 0 0 1rem 0;
  color: #000000;
  /* background: black; */
  border: 1px solid;
  width: fit-content;
  padding: 0px 10px;
}

.day-popup-text {
  font-size: 1.5rem;
  line-height: 1.6;
  font-family: var(--font-family-text-regular);
  color: var(--color-black);
}

.day-popup-text ol,
.day-popup-text ul {
  margin: 0;
  padding-left: 1.5rem;
}

.day-popup-text li {
  margin-bottom: 0.5rem;
}

.day-popup-text a {
  color: #000000;
  /* text-decoration: underline; */
  background: #d3d3d3;
  padding: 1px 10px;
}

.day-popup-text a:hover {
  opacity: 0.7;
}

/* Agenda page - create grid of week numbers at top */
.agenda-page .grid:first-of-type,
main:has(.week-number) .grid:first-of-type {
  display: none; /* Hide old week number grid, use days grid instead */
}

/* When week numbers are in the same column, display them in a grid */
section[id^="week-"] .column:has(h2.week-number) {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 80px));
  gap: 0.5rem;
  margin-bottom: 2rem;
}

/* Individual week sections should stack vertically */
.agenda-page section[id^="week-"],
main:has(.week-number) section[id^="week-"] {
  display: block;
  margin-bottom: 3rem;
}

/* Ensure proper list styling */
.in-class-list ol li::marker,
.homework-list ol li::marker {
  font-weight: normal;
}

/* Strong text in lists */
.in-class-list strong,
.homework-list strong {
  font-weight: bold;
  font-family: var(--font-family-sans-bold);
}

/* Italic text in lists */
.in-class-list em,
.homework-list em {
  font-style: italic;
  font-family: var(--font-family-italics);
}

/* Large title in footer - matching reference site */
/* Footer grid removed - using new footer layout */

/* Livestream container */
.livestream-container {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  margin: 2rem auto
}

.rock-player-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border: 1px solid var(--color-black);
  background: transparent;
}

/* Rotation button in lower right corner */
.rock-rotate-btn {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 3rem;
  height: 3rem;
  /* background: rgba(255, 255, 255, 0.9); */
  border: 1px solid var(--color-black);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}

.rock-rotate-btn:hover {
  background: var(--color-white);
  transform: rotate(90deg);
}

.rock-rotate-btn:active {
  transform: rotate(90deg) scale(0.95);
}

.rock-rotate-btn svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--color-black);
}

.rock-livestream-video {
  position: absolute;
  top: 10%;
  left: -15%;
  width: 130%;
  height: 130%;
  object-fit: contain;
  z-index: 1;
  -webkit-mask-image: url(../rock-mask.png);
  -webkit-mask-size: 54% auto;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: 45% 7%;
  -webkit-mask-mode: luminance;
  mask-image: url(../rock-mask.png);
  mask-size: 54% auto;
  mask-repeat: no-repeat;
  mask-position: 54% 7%;
  mask-mode: luminance;
}

/* Back view mask */
.rock-livestream-video.back-view {

  position: absolute;
  top: 10%;
  left: -8%;
  width: 120%;
  height: 120%;
  object-fit: contain;
  z-index: 1;
  -webkit-mask-image: url(../rock-mask-back.png);
  -webkit-mask-size: 90% auto;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position:  75% 7%;
  -webkit-mask-mode: luminance;
  mask-image: url(../rock-mask-back.png);
  mask-size: 90% auto;
  mask-repeat: no-repeat;
  mask-position: 75% 7%;
  mask-mode: luminance;
}

/* Black outline around the mask shape - larger mask behind video creates stroke */
/* .rock-player-wrapper::before {
  content: '';
  position: absolute;
  top: 10%;
  left: -15.15%;
  width: 130%;
  height: 130%;
  background: var(--color-black);
  -webkit-mask-image: url(../rock-mask.png);
  -webkit-mask-size: 56% auto;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: 54.4% 6.8%;
  -webkit-mask-mode: luminance;
  mask-image: url(../rock-mask.png);
  mask-size: 54.4% auto;
  mask-repeat: no-repeat;
  mask-position: 54.4% 6.8%;
  mask-mode: luminance;
  z-index: 0;
  pointer-events: none;
} */

/* Timestamp display below video */
.rock-timestamp {
  text-align: center;
  padding: .5rem 0;
  font-family: "Diatype Mono", monospace;
  font-size: .85rem;
  color: var(--color-black);
  margin-top: .5rem;
}

/* Hide any native video controls */
.rock-livestream-video::-webkit-media-controls {
  display: none !important;
}

.rock-livestream-video::-webkit-media-controls-enclosure {
  display: none !important;
}

/* Noise overlay */
/* .rock-player-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.15'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: overlay;
  opacity: 1;
} */

@media (max-width: 768px) {
  .livestream-container {
    padding: 0 1rem;
  }
  
  /* Fix carousel on mobile */
  .capstone-carousel-wrapper {
    margin-left: 0 !important;
    margin-right: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
  }
  
  .capstone-carousel-slide img {
    max-height: 50vh;
  }
  
  /* Hide carousel arrows on mobile */
  .capstone-carousel .slick-prev,
  .capstone-carousel .slick-next {
    display: none !important;
  }
  
  /* Reduce main type sizes on mobile */
  .main {
    font-size: 1rem !important;
  }
  
  .text p,
  .text ul,
  .text ol {
    font-size: 1rem !important;
  }
  
  .text h1,
  .h1,
  .intro {
    font-size: 1rem !important;
  }
  
  .text h2,
  .h2 {
    font-size: 1.8rem !important;
  }
  
  .text h3,
  .h3 {
    font-size: 1.15rem !important;
  }
  
  /* Reduce project-wavey3 size on mobile */
  h1.project-wavey3,
  .text h1.project-wavey3,
  h1[class*="project-wavey"] {
    font-size: 1.5rem !important;
    letter-spacing: -0.05rem;
  }
  
  /* Match wiggle-text size to project-wavey3 on mobile */
  .wiggle-text,
  h4.wiggle-text {
    font-size: 1.5rem !important;
    letter-spacing: -0.05rem;
  }
  
  .main-agenda-header {
    display: flex
;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgb(190 190 190);
    padding-top: 1.2rem;
    gap: 3rem;
    margin-bottom: 2rem;
}

  /* Reduce day-boxes and deadlines size on mobile */
  .main-day-box-wrapper {
    width: 2.5rem;
  }
  
  .main-day-box {
    width: 2.5rem !important;
    height: 2.5rem !important;
    font-size: 0.7rem !important;
  }
  
  .main-day-box .day-number {
    font-size: 0.95rem !important;
  }
  
  .main-deadline-triangle {
    width: 2.5rem !important;
    height: 2.5rem !important;
  }
  
  .main-deadline-triangle::before {
    border-left: 1.25rem solid transparent !important;
    border-right: 1.25rem solid transparent !important;
    border-bottom: 2.5rem solid var(--color-black) !important;
  }
  
  .main-deadline-triangle .deadline-label {
    font-size: 0.95rem !important;
  }
  
  .month-divider {
    height: 2.5rem !important;
  }
  
  .agenda-key-triangle {
    border-left: 0.4rem solid transparent !important;
    border-right: 0.4rem solid transparent !important;
    border-bottom: 0.7rem solid var(--color-black) !important;
  }
  
  .agenda-key-circle,
  .agenda-key-square {
    width: 0.85rem !important;
    height: 0.85rem !important;
  }
  
  .agenda-key-label {
    font-size: 0.85rem !important;
  }
}


