@charset "UTF-8";
* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
}

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

[hidden] {
  display: none !important;
}

body {
  font: 12.5px/1.4 Helvetica, Arial, sans-serif;
  color: #000;
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

.link-view {
  text-decoration: underline;
}

figure {
  margin: 0;
}

.muted {
  color: #666;
}

.right {
  text-align: right;
}

.section-title {
  font-weight: normal;
  font-size: 12.5px;
  margin: 0 0 2rem 0;
}

.indent-left {
  padding-left: 1.5rem;
}

.click-video {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
  background: transparent; /* removes black box while loading */
}

.layout {
  display: grid;
  grid-template-columns: 20% 80%;
  min-height: 100vh;
}

@media (max-width: 820px) {
  .layout {
    grid-template-columns: 1fr;
  }
}
.sidebar {
  padding: 2rem;
  border-right: 0px solid #ddd;
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  overflow: auto;
}
.sidebar__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1rem;
}

.brand {
  text-decoration: none;
  color: inherit;
  font-weight: 700;
  font-size: 14px;
}

@media (max-width: 820px) {
  .sidebar {
    height: auto;
    overflow: visible;
    border-right: none;
    border-bottom: 0px solid #ddd;
  }
}
.main {
  padding: 2rem;
}

@media (max-width: 820px) {
  .main {
    padding-top: 0;
  }
}
.nav {
  display: grid;
}
.nav a {
  text-decoration: none;
  color: inherit;
}
.nav a[aria-current=page] {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.nav {
  /* Sidebar navigation lists (works list, menu links) */
}
.nav .nav-list {
  list-style: none;
  margin: 0.25rem 0 1rem 0;
  padding: 0;
  padding-inline-start: 5px;
  display: grid;
}
.nav .nav-list li {
  margin: 0;
  padding: 0;
}
.nav .nav-list a {
  font-style: italic;
  text-decoration: none;
  color: inherit;
}
.nav .nav-list a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.nav .nav-list a[aria-current=page] {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Default states */
.nav--mobile {
  display: none;
}

@media (max-width: 820px) {
  .nav--desktop {
    display: none;
  }
  /* Floating overlay menu */
  .nav--mobile {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: fixed;
    inset: 0;
    background: #fff;
    padding: 2.2rem 2rem;
    z-index: 1000;
  }
}
.burger {
  display: none;
  border: 0;
  background: transparent;
  padding: 0;
  width: 34px;
  height: 26px;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 1px;
  background: #000;
  margin: 7px 0;
  width: 100%;
}

@media (max-width: 820px) {
  .burger {
    display: inline-block;
    z-index: 9999;
  }
}
video {
  width: 100%;
  height: auto;
  display: block;
}

.video-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  /* 16:9 */
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* 12-column reusable grid */
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
}

/* Grid items */
.tile {
  display: block;
}

/* Span helpers */
.span-12 {
  grid-column: span 12;
}

.span-8 {
  grid-column: span 8;
}

.span-6 {
  grid-column: span 6;
}

.span-4 {
  grid-column: span 4;
}

.span-3 {
  grid-column: span 3;
}

.span-2 {
  grid-column: span 2;
}

.span-1 {
  grid-column: span 1;
}

/* Centered spans */
.span-8-centered {
  grid-column: 3/span 8;
}

.span-6-centered {
  grid-column: 4/span 6;
}

.span-4-centered {
  grid-column: 5/span 4;
}

/* Mobile collapse — grid becomes single column everywhere */
@media (max-width: 820px) {
  .grid-12 {
    grid-template-columns: 1fr !important;
  }
  .tile {
    grid-column: auto !important;
  }
}
/* Short images */
.short {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
}

.works {
  display: grid;
  gap: 2.25rem;
}

/* Header above each grid */
.work-block__text {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0;
  margin-bottom: 2rem;
}
.work-block__text p {
  margin: 0 0 0.6rem 0;
}

.work-title {
  font-size: 12.5px;
  font-weight: normal;
  margin: 0;
}

/* Index-specific image behaviour */
.tile img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 820px) {
  .work-block__text {
    grid-template-columns: 1fr !important;
  }
  /* Force header items to full width on mobile */
  .work-block__text > * {
    grid-column: span 12 !important;
  }
  .right {
    text-align: left;
  }
}
.work {
  max-width: 1200px;
}

.work__header {
  margin-bottom: 1.25rem;
}

.work__title {
  font-size: 12.5px;
  font-weight: normal;
  margin: 0;
}

.work__meta,
.work__desc {
  margin: 0 0 0.6rem 0;
  max-width: 640px;
}

/* Stack is separate from grid — intentional */
.stack {
  display: grid;
  gap: 2rem;
}
.stack img {
  width: 100%;
  height: auto;
  display: block;
}

/* Prev / next */
.work-pagination {
  margin-top: 4rem;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.work-pagination a {
  text-decoration: none;
  color: inherit;
}
.work-pagination a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 600px) {
  .work-pagination {
    margin-top: 3rem;
  }
}
@media (max-width: 820px) {
  .stack {
    grid-template-columns: 1fr !important;
  }
  /* Force header items to full width on mobile */
  .stack > * {
    grid-column: span 12 !important;
  }
}
.about {
  max-width: 1200px;
}

.about__intro {
  margin-bottom: 2rem;
}
.about__intro p {
  margin: 0;
  max-width: 42ch;
}

/* CV sections */
.cv-section {
  margin-bottom: 2rem;
}

.cv-title {
  font-size: 12.5px;
  font-weight: normal;
  margin: 0 0 0.75rem 0;
}

/* CV list */
.cv-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cv-list li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 2rem;
  margin-bottom: 0.4rem;
}

.cv-year {
  color: #666;
}

.cv-entry {
  line-height: 1.4;
}

@media (max-width: 820px) {
  .cv-list li {
    grid-template-columns: 1fr;
  }
  .cv-year {
    margin-bottom: 0.15rem;
  }
}

/*# sourceMappingURL=style.css.map */
