
:root {
  --bg:           #fafafa;
  --fg:           #1c1c1c;
  --muted:        #6b6b6b;
  --border:       rgba(0, 0, 0, 0.1);
  --hover-bg:     #f9f9f8;
  --source-bg:    #f5f5f2;
  --tag-bg: #e9e9e9;  --tag-fg: #262626;
}


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

html {
  scroll-padding-top: 8rem; 
}   

body {
  font-family: serif;
  font-size: 1.234rem;
  line-height: 1.65;
  color: var(--fg);
  background: var(--bg);
}

h1 {
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

h1 a {
  text-decoration: none;
  }

h2 {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

h4 {
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
}

/* sub-headings in Credits */
h3 {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 0.2rem;
  align-self: start;
  padding-bottom: 0.5rem;
}

p { line-height: 1.65; }

a { color: inherit; }

.skip-link {
  position: absolute;
  top: -9999px;
  left: 0;
  padding: 0.5rem 1rem;
  background: var(--fg);
  color: var(--bg);
  font-size: 0.875rem;
  text-decoration: none;
  z-index: 100;
}
.skip-link:focus { top: 0; }

.container {
  max-width: 78rem;
  margin: 0 auto;
  padding: 0 2rem;
}

.site-header {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
  position: sticky; 
  top: 0;
  background: var(--bg);
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.site-nav a {
  font-size: 0.875rem;
  text-decoration: none;
  color: var(--muted);
}
.site-nav a:hover { color: var(--fg); }

.statement {
  padding: 3.5rem 0 3rem;
  border-bottom: 1px solid var(--border);
}

.statement-text {
  font-size: 1.125rem;
  line-height: 1.65;
  max-width: 54rem;
}

.pathways {
  border-bottom: 1px solid var(--border);
}

.pathways details {
  padding: 0.9375rem 0;
}

.pathways summary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--muted);
  user-select: none;
  list-style: none;
}
.pathways summary::-webkit-details-marker { display: none; }
.pathways summary::before { content: '+'; }
.pathways details[open] summary::before { content: '−'; }
.pathways summary:hover { color: var(--fg); }

.pathways-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 1.5rem 0 0.5rem;
}

.pathway-item h4 { margin-bottom: 0.5rem; }

.pathway-item p {
  font-size: 0.875rem;
  line-height: 1.6;
}

.pathway-item a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* -------------------WORK GRID AND FILTER------------------- */

.work-section {
  padding: 3rem 0 5rem;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.work-count {
  font-size: 0.8125rem;
  color: var(--muted);
  visibility: hidden; /* hides work count */
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.work-section input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* Filter bar */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-bottom: 2rem;
}

.filter-bar label {
  display: inline-block;
  cursor: pointer;
  padding: 0.134rem 0.5rem 0.1rem 0.451rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.8225rem;
  color: var(--muted);
  font-weight: 400;
  user-select: none;
  transition: border-color 0.12s, color 0.12s, background-color 0.12s;
}

.filter-bar label:hover {
  color: var(--fg);
  border-color: rgba(0, 0, 0, 0.3);
}

.work-section:has(#filter-all:checked)          label[for="filter-all"],
.work-section:has(#filter-roleplay:checked)     label[for="filter-roleplay"],
.work-section:has(#filter-research:checked)     label[for="filter-research"],
.work-section:has(#filter-performance:checked)  label[for="filter-performance"],
.work-section:has(#filter-video:checked)        label[for="filter-video"],
.work-section:has(#filter-workshop:checked)     label[for="filter-workshop"],
.work-section:has(#filter-game:checked)         label[for="filter-game"],
.work-section:has(#filter-publication:checked)  label[for="filter-publication"],
.work-section:has(#filter-sculpture:checked)    label[for="filter-sculpture"] {
  background-color: var(--fg);
  border-color: var(--fg);
  color: #ffffff;
}

.work-section:has(#filter-roleplay:checked)     .card:not(.roleplay)     { display: none; }
.work-section:has(#filter-research:checked)     .card:not(.research)     { display: none; }
.work-section:has(#filter-performance:checked)  .card:not(.performance)  { display: none; }
.work-section:has(#filter-video:checked)        .card:not(.video)        { display: none; }
.work-section:has(#filter-workshop:checked)     .card:not(.workshop)     { display: none; }
.work-section:has(#filter-game:checked)         .card:not(.game)         { display: none; }
.work-section:has(#filter-publication:checked)  .card:not(.publication)  { display: none; }
.work-section:has(#filter-sculpture:checked)    .card:not(.sculpture)    { display: none; }

.card {
  position: relative;
  isolation: isolate;
  padding: 1.5rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  background-color: var(--bg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  transition: background-image .7s ease, background-color .1s;
}

.card::after{
  content:"";
  position:absolute;
  inset:0;
  background-image: none;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .25s ease;
  z-index: 1;
  pointer-events: none;
}

.card:hover::after{
  background-image: var(--hover-bg); /* background image on work cards */
  opacity: .2;                       /* background image opacity */
}

.card::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background: rgba(255, 255, 255, 1);
  opacity: 0.1;
  z-index: 1;
}

.card:hover::before{
  opacity: 1;
}
  
.card > * {
  position: relative;
  z-index: 2;
}

.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.375rem;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  flex: 1;
}

.card-year {
  font-size: 0.8125rem;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
  padding-top: 0.125rem;
}

.card-title {
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.35;
}

/* titles in index and related works cards */
h3.card-title {
  font-size: 1.144rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--fg);
  text-transform: none;
  letter-spacing: 0em;
  padding-bottom: 0rem;
}

.card-title a { text-decoration: none; }
.card-title a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.card-desc {
  font-size: 0.975rem;
  line-height: 1.6;
  flex: 1;
  margin-top: 0.25rem;
}

.card-context {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 0.375rem;
  line-height: 1.55;
}

/* tags on cards */
.tag {
  display: inline-block;
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.175rem 0.5rem;
  border-radius: 0.25rem;
  line-height: 1.5;
  font-weight: 400;
  cursor: pointer;
  transition: opacity 0.1s;
  background: var(--tag-bg);
  color: var(--tag-fg);
}

.tag:hover { opacity: 0.75; }

a.tag { text-decoration: none; }


/* ------------------- ABOUT ON INDEX PAGE ------------------- */
#about {
  border-top: 1px solid var(--border);
  padding: 3rem 0 4rem;
}

#about h2 { margin-bottom: 2rem; }

.about-grid {
  display: grid;
  grid-template-columns: 5fr 3fr;
  gap: 5rem;
  align-items: start;
}

.bio p {
  font-size: 0.9375rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.bio a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ------------------- CONTACT BLOCK ON INDEX PAGE ------------------- */
.contact-block h4 { margin-bottom: 1rem; }

.contact-block address {
  font-style: normal;
  font-size: 0.875rem;
  line-height: 2;
  color: var(--muted);
}

.contact-block address a {
  text-decoration: underline;
  text-underline-offset: 2px;
  color: inherit;
}
.contact-block address a:hover { color: var(--fg); }


/* ------------------- FOOTER ------------------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

.footer-inner::after {
content: "© 2026 Brody Condon. All rights reserved.";
}

.footer-inner a {
  text-decoration: underline;
  text-underline-offset: 2px;
  color: inherit;
}

.footer-inner a:hover { color: var(--fg); }


/* ------------------- BREADCRUMB TRAIL ------------------- */ 

.site-name a {
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-decoration: none;
  }

.breadcrumb-nav {
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--muted);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}

.breadcrumb a {
  text-decoration: none;
  color: var(--muted);
}
.breadcrumb a:hover { color: var(--fg); text-decoration: underline; text-underline-offset: 2px; }

.breadcrumb-sep { color: var(--fg); }

.breadcrumb [aria-current="page"] { color: var(--fg); }

.page-header {
  padding: 3rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
}

/* ------------------- PROJECT PAGES ------------------- */

.page-header-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
  margin-bottom: 1rem;
}

.page-title {
  font-size: 2.25rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
}

.page-year-context {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.page-lead {
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 54rem;
}

.page-body {
  padding: 3rem 0;
}

.page-body > section {
  margin-bottom: 0;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}

.page-body > section:last-child {
  border-bottom: none;
}

.page-body h2 {
  margin-bottom: 1.5rem;
}

.page-body p {
  font-size: 0.9375rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  max-width: 54rem;
}

.page-body p:last-child { margin-bottom: 0; }


/* ------------------- IMAGE AND MEDIA SETTINGS ------------------- */
figure {
  margin: 0;
}

figcaption {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 0.3rem;
  line-height: 1.55;
}

.figure-full { width: 100%; }
.figure-full img,
.figure-full .img-placeholder,
.figure-full .video-placeholder { width: 100%; }

.img-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

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

.play-icon {
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.35);
  font-size: 1rem;
}

/* ------------------- DETAIL LIST - USED FOR PROJECT DETAILS ------------------- */

.detail-list dl {
  display: grid;
  grid-template-columns: 9rem 1fr;
  row-gap: 0.75rem;
  column-gap: 2rem;
  font-size: 0.875rem;
}

.detail-list dt {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 0.2rem;
  align-self: start;
}

.detail-list dd {
  line-height: 1.65;
}

.detail-list dd + dd {
  grid-column: 2;
  margin-top: -0.5rem;
}


/* --------------- ENTRY LIST - USED FOR EXHIBITION HISTORY, CV ETC ---------------- */

.entry-list {
  list-style: none;
  font-size: 0.9rem;
}

.entry-list li {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 0 1.5rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}

.entry-list li:first-child {
  border-top: 1px solid var(--border);
}

.entry-year {
  color: var(--muted);
  font-size: 0.8125rem;
  padding-top: 0.05rem;
}

.entry-detail em { font-style: normal; }

.entry-sub {
  display: block;
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 0.1rem;
}

/* ------------------- TWO-COLUMN LIST FOR CREDITS, CV ETC ------------------- */
.col-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 4rem;
}

.col-list h4 { margin-bottom: 0.625rem; }

.col-list ul {
  list-style: none;
  font-size: 0.875rem;
  line-height: 2;
}

.col-list p {
  font-size: 0.875rem !important;
  line-height: 1.7 !important;
  margin-bottom: 0 !important;
  max-width: none !important;
}

/* ------------------- 'BACK TO TOP' LINK FOR CV SECTIONS ------------------- */

.back-link {
  display: block;
  text-align: right;
  font-size: 0.8125rem;
  color: var(--muted);
  text-decoration: none;
  margin-top: 1.5rem;
  }
  
.back-link:hover { color: var(--fg); }

/* ------------------- RELATED WORKS ------------------- */

.related-section {
  background: var(--hover-bg);
  padding: 3rem 0 4rem;
}

.related-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.related-header h2 { margin-bottom: 0; }

.index-link {
  font-size: 0.875rem;
  text-decoration: underline;
  text-underline-offset: 2px;
  color: var(--muted);
}
.index-link:hover { color: var(--fg); }

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

/* ------------------- CONTACT PAGE ------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 5rem;
  align-items: start;
}

.contact-column > * + * {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.contact-sidebar > * + * {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.social-list {
  list-style: none;
  font-size: 0.875rem;
  line-height: 2.2;
}

.social-list a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.social-list a:hover { color: var(--fg); }

/* -----------------------------------------------------------------
    RESPONSIVE BREAKPOINTS
   ----------------------------------------------------------------- */

/* ---- 960px: medium ---- */
@media (max-width: 960px) {
  .pathways-grid    { grid-template-columns: repeat(2, 1fr); }
  .work-grid        { grid-template-columns: repeat(2, 1fr); }
  .about-grid       { grid-template-columns: 1fr; gap: 2.5rem; }
  .col-list-grid    { grid-template-columns: 1fr; gap: 2rem; }
  .related-grid     { grid-template-columns: repeat(2, 1fr); }
  .contact-layout   { grid-template-columns: 1fr; gap: 3rem 0; }
}

/* ---- 640px: small ---- */
@media (max-width: 640px) {
  .container        { padding: 0 1rem; }
  .header-inner     { flex-direction: column; align-items: flex-start; }
  .site-nav ul      { gap: 1.25rem; }
  .statement        { padding: 2rem 0 1.5rem; }
  .statement-text   { font-size: 1rem; }
  .section-header   { flex-direction: column; gap: 0.25rem; }
  .pathways-grid    { grid-template-columns: 1fr; gap: 1.5rem; }
  .work-grid        { grid-template-columns: 1fr; }
  .page-title       { font-size: 1.625rem; }
  .img-grid-2,
  .img-grid-3       { grid-template-columns: 1fr; }
  .detail-list dl   { grid-template-columns: 1fr; }
  .detail-list dt   { margin-bottom: -0.25rem; }
  .related-grid     { grid-template-columns: 1fr; }
}

/* -----------------------------------------------------------------
   PRINT STYLES
   ----------------------------------------------------------------- */
@media print {
  .site-header           { position: static; }
  .skip-link,
  .filter-bar,
  .source-section,
  .related-section,
  .video-section,
  .pathways,
  .pathways-grid,
  .site-nav,  
  .breadcrumb,
  .breadcrumb-nav
                         { display: none; visibility: hidden; }
  .work-grid             { display: block; }
  .card                  { page-break-inside: avoid; border: 1px solid #ccc; margin-bottom: 0.5rem; }
  .figure-full           { max-width: 100%; }

  	img, figure  {	
    break-inside: avoid;
    page-break-inside: avoid;
	}
    .img-grid-2 { 
    display: grid; 
    page-break-inside: avoid;
    }
    
	h1, h2, h3, p {
    break-after: avoid;
    }

  section {
    break-inside: avoid;
    page-break-inside: avoid;
    }

  p {
    break-inside: avoid;
    page-break-inside: avoid;
    }

 footer { display: none; visibility: hidden;}
  
}
