:root {
  --site-width: 1000px;
  --guitar-width: 292px;
  --page-pad: 12px;
  --page-gap: 8px;
  --footer-height: 32px;
  --content-width: 760px;
  --text-width: 680px;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
}

body {
  min-height: 100vh;
  background: #000;
  color: #fff;
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  overflow: hidden;
}

a {
  color: #fff;
}

.page {
  width: 100vw;
  height: 100vh;
  display: grid;
  place-items: center;
  padding: var(--page-pad);
  overflow: hidden;
}

.site-frame,
.index-frame,
.wide-frame {
  width: min(var(--site-width), calc(100vw - 24px));
  height: calc(100vh - 24px);
  max-width: calc(100vw - 24px);
  display: flex;
  flex-direction: column;
  gap: var(--page-gap);
  overflow: hidden;
  background: #000;
  aspect-ratio: auto !important;
}

.main-panel {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  display: grid;
  grid-template-columns: var(--guitar-width) minmax(0, 1fr);
  background: #000;
  overflow: hidden;
}

.full-panel {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  background: #000;
  overflow: hidden;
}

.flash-panel {
  width: var(--guitar-width);
  min-width: var(--guitar-width);
  min-height: 0;
  height: 100%;
  background: #303030;
  overflow: hidden;
}

.flash-container {
  width: 100%;
  height: 100%;
  background: #000;
  overflow: hidden;
}

.content-panel {
  min-width: 0;
  min-height: 0;
  width: 100%;
  max-width: var(--content-width);
  height: 100%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  background: #000;
  overflow: hidden;
}

.title-row,
.header {
  flex: 0 0 auto;
  width: 100%;
  max-width: var(--content-width);
  min-height: 92px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 14px 24px 10px;
  text-align: center;
}

.page-title {
  color: #fff;
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  font-size: clamp(34px, 5.6vw, 58px);
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: normal;
}

.index-title .page-title {
  font-size: clamp(38px, 6vw, 64px);
  text-transform: none;
}

.home-button {
  display: inline-block;
  min-width: 86px;
  padding: 5px 14px;
  border: 1px solid #666;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
  line-height: 1.2;
}

.home-button:hover,
.home-button:focus {
  background: #2b2b2b;
  text-decoration: underline;
}

.content,
.content-area,
.text-area,
.resume-area {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  max-width: var(--text-width);
  margin-left: auto;
  margin-right: auto;
  overflow-y: auto;
  overflow-x: hidden;
  padding: clamp(20px, 3vh, 38px) clamp(24px, 4vw, 42px);
  color: #fff;
  font-size: clamp(15px, 1.8vh, 18px);
  line-height: 1.55;
}

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

.content p,
.content-area p,
.text-area p,
.resume-area p {
  margin: 0 0 18px;
}

.text-area {
  font-style: italic;
}

.text-area blockquote {
  margin: 0 0 12px;
  padding: 0;
}

.text-area .attribution {
  margin: 0 0 28px;
}

.text-area .statement {
  margin: 0 0 18px;
  font-style: normal;
}

.resume-section {
  margin: 0 0 18px;
}

.resume-section h2 {
  margin: 0 0 6px;
  font-size: 1em;
  font-weight: bold;
}

.resume-section ul {
  margin: 0;
  padding-left: 18px;
}

.resume-subtext {
  display: block;
  margin-left: 18px;
}

.image-slot {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  max-width: var(--text-width);
  margin-left: auto;
  margin-right: auto;
  display: grid;
  place-items: center;
  padding: 16px;
  overflow: hidden;
}

.profile-image,
.photo-placeholder {
  width: min(384px, 90%);
  max-height: 90%;
  height: auto;
  display: block;
  object-fit: contain;
  margin-left: auto;
  margin-right: auto;
}

.photo-placeholder {
  height: min(576px, 90%);
  border: 1px dashed #666;
  display: grid;
  place-items: center;
  color: #aaa;
  font-size: 16px;
  text-align: center;
  padding: 20px;
}

.ruffle-content {
  width: min(100%, 601px);
  height: min(100%, 470px);
  margin: 0 auto 24px;
  background: #000;
}

.ruffle-wide {
  width: min(100%, 791px);
  height: min(100%, 460px);
  margin: 0 auto 24px;
  background: #000;
}

.flash-small {
  width: min(100%, 550px);
  height: 400px;
  margin: 18px auto;
}

.content>.flash-container,
.content-area>.flash-container,
.text-area>.flash-container {
  max-width: 600px;
  max-height: 600px;
  margin-left: auto;
  margin-right: auto;
}

ruffle-player {
  width: 100%;
  height: 100%;
  display: block;
}

.fallback {
  height: 100%;
  display: grid;
  place-items: center;
  padding: 18px;
  color: #fff;
  text-align: center;
  font-size: 14px;
}

.outcome-nav,
.link-grid {
  flex: 0 0 auto;
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 0 24px 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 7px 10px;
  text-align: center;
}

.outcome-nav a,
.outcome-nav .current,
.link-grid a,
.link-grid .current {
  display: block;
  padding: 8px 12px;
  background: #090909;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: bold;
  line-height: 1.15;
}

.outcome-nav a:hover,
.outcome-nav a:focus,
.link-grid a:hover,
.link-grid a:focus {
  background: #1d1d1d;
  text-decoration: underline;
}

.outcome-nav .current,
.link-grid .current {
  background: #2b2b2b;
}

.recommendation-links {
  display: grid;
  gap: 18px;
  place-items: center;
  font-size: clamp(24px, 4vh, 36px);
}

.project-image {
  width: min(329px, 90%);
  height: auto;
  display: block;
  margin: 22px auto;
}

.project-links {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}

.image-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.image-row img,
.content img,
.content-area img,
.text-area img {
  max-width: 100%;
  height: auto;
}

.lost-media {
  width: min(100%, 420px);
  min-height: 150px;
  margin: 24px auto;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #aaa;
  border: 1px dashed #555;
  text-align: center;
}

.footer {
  flex: 0 0 var(--footer-height);
  min-height: var(--footer-height);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  font-size: 14px;
  color: #fff;
  padding: 6px 10px;
  background: #000;
  white-space: nowrap;
}

.footer a {
  color: #fff;
}

/* Add these styles to the bottom of your existing style.css */

.content {
  text-align: left;
}

.evidence-card {
  margin: 0 0 28px;
  padding: 0 0 24px;
  border-bottom: 1px solid #333;
}

.evidence-card:last-child {
  border-bottom: 0;
}

.evidence-card h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 21px;
  line-height: 1.2;
  font-weight: bold;
  text-align: center;
}

.evidence-card p {
  margin: 0 0 14px;
}

.evidence-card img {
  display: block;
  margin: 16px auto;
  max-width: 100%;
  height: auto;
}

.evidence-link {
  text-align: center;
  font-weight: bold;
}

.note {
  color: #ccc;
  font-style: italic;
  text-align: center;
}

.embedded-video {
  width: min(100%, 529px);
  max-height: 431px;
  display: block;
  margin: 24px auto;
  background: #000;
}

.flash-small {
  margin: 20px auto;
}

.image-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}


@media (max-width: 720px) {
  body {
    overflow: auto;
  }

  .page {
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }

  .site-frame,
  .index-frame,
  .wide-frame {
    height: auto;
    min-height: calc(100vh - 24px);
    overflow: visible;
  }

  .main-panel {
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .flash-panel {
    width: 100%;
    min-width: 0;
    height: 420px;
  }

  .content-panel,
  .full-panel {
    height: auto;
    overflow: visible;
  }

  .content,
  .content-area,
  .text-area,
  .resume-area,
  .image-slot {
    max-height: none;
    overflow: visible;
  }

  .outcome-nav,
  .link-grid {
    grid-template-columns: 1fr;
  }
}

/* 140% size pass
   Increases the site UI while leaving the fixed Projects button untouched. */

:root {
  --site-width: 1400px;
  --guitar-width: 409px;
  --page-pad: 17px;
  --page-gap: 11px;
  --footer-height: 45px;
  --content-width: 1064px;
  --text-width: 952px;
}

.page {
  padding: var(--page-pad);
}

.site-frame,
.index-frame,
.wide-frame {
  width: min(var(--site-width), calc(100vw - 34px));
  height: calc(100vh - 34px);
  max-width: calc(100vw - 34px);
  gap: var(--page-gap);
}

.title-row,
.header {
  min-height: 129px;
  gap: 11px;
  padding: 20px 34px 14px;
}

.page-title {
  font-size: clamp(48px, 7.8vw, 81px);
}

.index-title .page-title {
  font-size: clamp(53px, 8.4vw, 90px);
}

.home-button {
  min-width: 120px;
  padding: 7px 20px;
  font-size: 18px;
}

.content,
.content-area,
.text-area,
.resume-area {
  padding: clamp(28px, 4.2vh, 53px) clamp(34px, 5.6vw, 59px);
  font-size: clamp(21px, 2.5vh, 25px);
}

.content p,
.content-area p,
.text-area p,
.resume-area p {
  margin: 0 0 25px;
}

.text-area blockquote {
  margin: 0 0 17px;
}

.text-area .attribution {
  margin: 0 0 39px;
}

.text-area .statement {
  margin: 0 0 25px;
}

.image-slot {
  padding: 22px;
}

.profile-image,
.photo-placeholder {
  width: min(538px, 90%);
}

.photo-placeholder {
  height: min(806px, 90%);
  font-size: 22px;
  padding: 28px;
}

.ruffle-content {
  width: min(100%, 841px);
  height: min(100%, 658px);
  margin: 0 auto 34px;
}

.ruffle-wide {
  width: min(100%, 1107px);
  height: min(100%, 644px);
  margin: 0 auto 34px;
}

.flash-small {
  width: min(100%, 770px);
  height: 560px;
  margin: 25px auto;
}

.content > .flash-container,
.content-area > .flash-container,
.text-area > .flash-container {
  max-width: 840px;
  max-height: 840px;
}

.fallback {
  padding: 25px;
  font-size: 20px;
}

.outcome-nav,
.link-grid {
  width: min(100%, 1064px);
  padding: 0 34px 20px;
  grid-template-columns: repeat(2, minmax(252px, 1fr));
  gap: 10px 14px;
}

.outcome-nav a,
.outcome-nav .current,
.link-grid a,
.link-grid .current {
  padding: 11px 17px;
  font-size: 21px;
}

.recommendation-links {
  gap: 25px;
  font-size: clamp(34px, 5.6vh, 50px);
}

.project-image {
  width: min(461px, 90%);
  margin: 31px auto;
}

.project-links {
  margin-top: 31px;
  gap: 17px;
}

.image-row {
  gap: 20px;
}

.lost-media {
  width: min(100%, 588px);
  min-height: 210px;
  margin: 34px auto;
  padding: 34px;
}

.footer {
  min-height: var(--footer-height);
  font-size: 20px;
  padding: 8px 14px;
  gap: 8px;
}

.evidence-card {
  margin: 0 0 39px;
  padding: 0 0 34px;
}

.evidence-card h2 {
  margin: 0 0 14px;
  font-size: 29px;
}

.evidence-card p {
  margin: 0 0 20px;
}

.evidence-card img {
  margin: 22px auto;
}

.embedded-video {
  width: min(100%, 741px);
  max-height: 603px;
  margin: 34px auto;
}

@media (max-width: 720px) {
  .site-frame,
  .index-frame,
  .wide-frame {
    height: auto;
    min-height: calc(100vh - 34px);
  }

  .flash-panel {
    height: 588px;
  }

  .outcome-nav,
  .link-grid {
    grid-template-columns: 1fr;
  }
}

/* Resume page polish
   Keeps the old black and white portfolio feel, but makes the resume read like a resume. */

.resume-document {
  text-align: left;
  max-width: 820px;
}

.resume-document .resume-section {
  margin: 0 0 26px;
  padding: 0 0 20px;
  border-bottom: 1px solid #333;
}

.resume-document .resume-section:last-child {
  border-bottom: 0;
}

.resume-document h2 {
  margin: 0 0 10px;
  padding: 0 0 6px;
  border-bottom: 1px solid #555;
  color: #fff;
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: bold;
}

.resume-document p {
  margin: 0 0 14px;
}

.resume-document ul {
  margin: 0;
  padding-left: 26px;
}

.resume-document li {
  margin: 0 0 8px;
}

.resume-entry {
  margin: 0 0 22px;
}

.resume-entry:last-child {
  margin-bottom: 0;
}

.resume-entry p {
  margin-bottom: 8px;
}
