/* The 2018 header keeps its original markup, styles and animation. */
.portfolio,.portfolio-footer {
  --ink:#19232d;
  --muted:#606974;
  --line:#dde2e6;
  --paper:#f8fafb;
  color:var(--ink);
  font-family:'Montserrat',sans-serif;
  font-size:16px;
  line-height:1.7;
  background:var(--paper);
  text-align:left;
}
.portfolio *,.portfolio-footer * {
  box-sizing:border-box;
}
.portfolio h2,.portfolio h3,.portfolio h4 {
  color:var(--ink);
  padding:0;
  margin:0;
  font-weight:700;
  letter-spacing:-.045em;
  line-height:1.15;
}
.portfolio p {
  margin:0 0 1.2em;
}
.portfolio a,.portfolio-footer a {
  color:inherit;
}
.portfolio a:focus-visible,.portfolio summary:focus-visible,.portfolio-footer a:focus-visible {
  outline:3px solid #7746d8;
  outline-offset:6px;
  border-radius:3px;
}
.portfolio-nav {
  height:88px;
  max-width:1248px;
  margin:auto;
  padding:0 44px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--line);
}
.portfolio-nav a {
  text-decoration:none;
}
.nav-signature {
  font-size:28px;
  font-weight:bold;
  letter-spacing:-2px;
}
.nav-signature span {
  color:#257760;
}
.portfolio-nav>div {
  display:flex;
  gap:32px;
  font-size:14px;
}
.portfolio-nav>div a:hover {
  color:#257760;
}
.portfolio #about,.portfolio #projects {
  width:auto;
  max-width:1248px;
  margin:0 auto;
  padding:74px 44px;
  scroll-margin-top:24px;
}
.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:36px;
}
.eyebrow {
  font-size:12px;
  font-weight:bold;
  text-transform:uppercase;
  letter-spacing:.15em;
}
.section-index {
  color:#7c858e;
  font-size:13px;
  letter-spacing:.1em;
}
.intro-grid {
  display:grid;
  grid-template-columns:1.12fr 1fr;
  gap:76px;
  align-items:start;
}
.intro-grid h2 {
  font-size:clamp(30px,3.4vw,45px);
  line-height:1.2;
}
.intro-grid h2>span {
  color:#7c858e;
}
.intro-copy p {
  color:var(--muted);
  font-size:16px;
}
.text-link {
  display:inline-flex;
  gap:24px;
  align-items:center;
  text-decoration:none;
  font-size:14px;
  font-weight:bold;
  border-bottom:1px solid #9ca9b2;
  padding-bottom:5px;
}
.text-link:hover {
  border-color:currentColor;
}
.text-link span {
  font-size:21px;
}
.practice-strip {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  padding:23px 0;
  margin-top:46px;
  font-size:12px;
  color:var(--muted);
}
.practice-strip>span {
  font-style:italic;
}
.practice-strip ul {
  display:flex;
  flex-wrap:wrap;
  gap:24px;
  padding:0;
  margin:0;
  list-style:none;
  color:var(--ink);
  font-size:13px;
}
.portfolio #projects {
  padding-top:18px;
}
.projects-heading {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:28px;
  margin-bottom:36px;
}
.projects-heading h2 {
  font-size:clamp(34px,4.2vw,54px);
  line-height:1.12;
}
.projects-heading>p {
  color:var(--muted);
  font-size:14px;
  margin:0 0 4px;
  line-height:1.8;
}
.project-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
  align-items:start;
}
.project-card {
  border:1px solid var(--line);
  border-radius:20px;
  background:#fff;
  overflow:hidden;
  min-width:0;
}
.project-copy {
  padding:34px 36px;
}
.project-kicker {
  display:flex;
  align-items:center;
  gap:10px;
  font-size:12px;
  letter-spacing:.02em;
  color:var(--muted);
  margin-bottom:19px;
}
.project-kicker img {
  border-radius:10px;
}
.project-copy h3 {
  font-size:35px;
  letter-spacing:-.045em;
  margin-bottom:18px;
}
.project-alias {
  display:block;
  font-size:12px;
  letter-spacing:.02em;
  font-weight:400;
  color:var(--muted);
  margin-top:7px;
}
.project-copy .project-lead {
  font-size:22px;
  line-height:1.4;
  letter-spacing:-.03em;
  color:var(--ink);
  margin-bottom:15px;
}
.project-copy>p {
  color:var(--muted);
  font-size:16px;
  line-height:1.85;
}
.tags {
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  padding:0;
  margin:24px 0;
  list-style:none;
}
.tags li {
  font-size:12px;
  color:#515b65;
  padding:4px 10px;
  border:1px solid var(--line);
  border-radius:6px;
  line-height:1.6;
}
.project-details {
  border-top:1px solid var(--line);
  font-size:16px;
}
.project-details summary,.archive-details summary {
  list-style:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  line-height:1.5;
  padding:17px 0 0;
  font-weight:bold;
}
.project-details summary::-webkit-details-marker,.archive-details summary::-webkit-details-marker {
  display:none;
}
.project-details summary>span {
  font-size:22px;
  font-weight:400;
  transition:transform .2s;
}
.project-details[open] summary>span {
  transform:rotate(45deg);
}
.project-details>div {
  padding-top:20px;
  color:var(--muted);
}
.project-details>div p:last-child {
  margin-bottom:0;
}
.foodshare {
  grid-column:1/-1;
  display:grid;
  grid-template-columns:1fr 1.08fr;
  background:#fff;
}
.foodshare .project-copy {
  padding:46px;
}
.foodshare .project-copy h3 {
  font-size:43px;
}
.foodshare .project-lead {
  font-size:30px;
  line-height:1.25;
  letter-spacing:-.04em;
}
.foodshare-visual {
  margin:0;
  position:relative;
  background:#eae3f6;
  min-height:630px;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:24px;
  padding:52px 30px 72px;
}
.phone {
  width:45%;
  max-width:235px;
  flex-shrink:0;
  border:6px solid #fff;
  border-radius:27px;
  overflow:hidden;
  box-shadow:0 24px 40px #3b285b26;
  background:white;
}
.phone img {
  display:block;
  width:100%;
  height:auto;
}
.phone-back {
  transform:translateY(-22px) rotate(-7deg);
}
.phone-front {
  transform:translateY(24px) rotate(7deg);
}
.foodshare-visual figcaption {
  position:absolute;
  bottom:23px;
  text-align:center;
  left:0;
  right:0;
  color:#635775;
  font-size:12px;
}
.project-art {
  min-height:258px;
  padding:35px 38px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}
.mal-art {
  background:#e7eef7;
  color:#2d4263;
}
.mal-window {
  background:#fff;
  border:1px solid #d1ddeb;
  width:100%;
  max-width:390px;
  border-radius:12px;
  padding:18px 23px;
  box-shadow:0 10px 22px #46668a0c;
}
.window-top {
  display:flex;
  gap:9px;
  align-items:center;
  font-size:16px;
  font-weight:bold;
  margin-bottom:20px;
}
.window-label {
  margin-left:auto;
  border:1px solid #c8d8ec;
  color:#2e5791;
  padding:1px 8px;
  border-radius:5px;
  font-size:11px;
}
.release-row {
  display:flex;
  justify-content:space-between;
  gap:8px;
  font-size:10px;
}
.release-row>span:last-child {
  color:#5274a5;
}
.progress-segments {
  display:flex;
  gap:4px;
  margin:10px 0 18px;
}
.progress-segments i {
  height:12px;
  flex:1;
  background:#547eae;
  border-radius:2px;
}
.progress-segments i:nth-child(n+9) {
  background:#e4eaf2;
}
.mal-features {
  display:flex;
  justify-content:space-between;
  font-size:9px;
  gap:12px;
  color:#6e7e93;
}
.art-caption {
  font-size:11px;
  margin-top:20px;
  color:#5e708a;
}
.title-addon {
  color:#5b7ba4;
}
.invest-art {
  background:#192d2b;
  color:#ecf5ef;
  align-items:stretch;
}
.invest-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.invest-wordmark {
  font-size:23px;
  font-weight:bold;
  letter-spacing:-1px;
}
.invest-wordmark>span {
  color:#a8e7a1;
}
.invest-heading>span:last-child {
  font-size:10px;
  color:#bacbc3;
}
.invest-flow {
  display:flex;
  gap:12px;
  justify-content:space-between;
  list-style:none;
  margin:28px 0 20px;
  padding:0;
}
.invest-flow li {
  font-size:16px;
  line-height:1.7;
}
.invest-flow li>span {
  font-size:10px;
  display:block;
  color:#a8e7a1;
  margin-bottom:8px;
}
.invest-flow small {
  display:block;
  font-size:9px;
  color:#bacbc3;
}
.invest-sources {
  font-size:11px;
  color:#adc5bb;
  display:flex;
  gap:18px;
  border-top:1px solid #42564f;
  padding-top:15px;
}
.archive {
  margin-top:75px;
}
.archive-heading {
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:24px;
  margin-bottom:25px;
}
.archive-heading h3 {
  font-size:23px;
}
.archive-heading p {
  font-size:13px;
  color:var(--muted);
  margin:0;
}
.archive-details {
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.archive-details summary {
  padding:25px 0;
  font-size:16px;
  font-weight:400;
}
.archive-details summary>span {
  font-size:12px;
  color:var(--muted);
  display:flex;
  gap:22px;
  align-items:center;
}
.archive-details summary>span>span {
  font-size:22px;
}
.archive-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
  padding:10px 0 32px;
}
.archive-grid img {
  width:100%;
  height:155px;
  object-fit:cover;
  display:block;
  border-radius:10px;
  margin-bottom:18px;
}
.archive-grid h4 {
  font-size:17px;
  letter-spacing:-.02em;
}
.archive-grid p {
  font-size:13px;
  color:var(--muted);
  margin:12px 0;
}
.archive-grid a {
  font-size:12px;
}
.contact-section {
  max-width:1160px;
  margin:10px auto 0;
  padding:50px 0 65px;
  border-top:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  scroll-margin-top:30px;
}
.contact-section h2 {
  font-size:clamp(40px,5.5vw,70px);
  margin-top:18px;
}
.contact-section .eyebrow {
  font-size:11px;
  letter-spacing:.1em;
}
.contact-link {
  display:flex;
  align-items:center;
  gap:45px;
  text-decoration:none;
  border-bottom:1px solid #7a9384;
  padding:15px 0;
  font-size:14px;
}
.contact-link>span {
  font-size:30px;
  color:#257760;
}
.contact-link:hover {
  color:#257760;
}
.portfolio-footer {
  background:#1a222c;
  color:#c6cdd3;
  display:flex;
  justify-content:space-between;
  gap:24px;
  padding:28px max(44px,calc((100vw - 1160px)/2));
  font-size:12px;
}
.portfolio-footer a {
  text-decoration:none;
}
@media(min-width:1500px) {
  .foodshare-visual {
    min-height:660px;
  }
}
@media(max-width:1000px) {
  .intro-grid {
    gap:40px;
  }
  .practice-strip {
    align-items:start;
    flex-direction:column;
    gap:15px;
  }
  .foodshare .project-copy {
    padding:32px;
  }
  .foodshare-visual {
    gap:12px;
    padding-left:18px;
    padding-right:18px;
    min-height:570px;
  }
  .phone {
    width:46%;
    border-width:4px;
    border-radius:20px;
  }
  .project-copy {
    padding:28px;
  }
  .project-art {
    padding:30px 24px;
  }
  .invest-flow {
    gap:8px;
  }
  .invest-flow li {
    font-size:14px;
  }
  .invest-sources {
    gap:12px;
  }
  .contact-section {
    margin:0 44px;
  }
  .archive-heading {
    display:block;
  }
  .archive-heading p {
    margin-top:12px;
  }
}
@media(max-width:700px) {
  .portfolio-nav {
    height:72px;
    padding:0 24px;
  }
  .portfolio-nav>div {
    gap:20px;
    font-size:14px;
  }
  .portfolio #about,.portfolio #projects {
    padding:48px 24px;
  }
  .portfolio #projects {
    padding-top:6px;
  }
  .section-heading {
    margin-bottom:28px;
  }
  .eyebrow,.section-index {
    font-size:10px;
  }
  .intro-grid {
    grid-template-columns:1fr;
    gap:26px;
  }
  .intro-grid h2 {
    font-size:32px;
  }
  .intro-copy p {
    font-size:16px;
  }
  .practice-strip {
    margin-top:30px;
  }
  .practice-strip ul {
    gap:12px 20px;
    font-size:11px;
  }
  .projects-heading {
    display:block;
    margin-bottom:28px;
  }
  .projects-heading h2 {
    font-size:35px;
  }
  .projects-heading>p {
    margin-top:18px;
    font-size:13px;
  }
  .projects-heading>p br {
    display:none;
  }
  .project-grid {
    grid-template-columns:1fr;
    gap:24px;
  }
  .foodshare {
    display:flex;
    flex-direction:column;
  }
  .foodshare .project-copy {
    padding:28px;
  }
  .foodshare-visual {
    min-height:440px;
    padding:36px 30px 55px;
    gap:22px;
    order:-1;
  }
  .phone {
    max-width:180px;
    width:44%;
  }
  .phone-back {
    transform:translateY(-8px) rotate(-7deg);
  }
  .phone-front {
    transform:translateY(8px) rotate(7deg);
  }
  .foodshare-visual figcaption {
    font-size:10px;
    bottom:15px;
  }
  .foodshare .project-copy h3 {
    font-size:36px;
  }
  .foodshare .project-lead {
    font-size:26px;
  }
  .project-copy h3 {
    font-size:31px;
  }
  .project-copy .project-lead {
    font-size:22px;
  }
  .project-art {
    min-height:250px;
    padding:28px;
  }
  .archive {
    margin-top:48px;
  }
  .archive-heading h3 {
    font-size:21px;
  }
  .archive-details summary {
    font-size:14px;
    align-items:start;
  }
  .archive-details summary>span {
    font-size:0;
    gap:0;
  }
  .archive-grid {
    grid-template-columns:1fr;
    gap:32px;
  }
  .archive-grid img {
    height:190px;
  }
  .archive-grid p {
    font-size:14px;
  }
  .contact-section {
    margin:0 24px;
    padding:35px 0 45px;
    align-items:start;
    flex-direction:column;
  }
  .contact-section .eyebrow {
    font-size:9px;
  }
  .contact-link {
    font-size:13px;
    gap:30px;
  }
  .portfolio-footer {
    padding:24px;
    flex-wrap:wrap;
    font-size:11px;
  }
  .portfolio-footer>span:nth-child(2) {
    display:none;
  }
}
@media(max-width:360px) {
  .portfolio-nav>div {
    gap:13px;
  }
  .foodshare-visual {
    min-height:370px;
    padding-left:16px;
    padding-right:16px;
    gap:18px;
  }
  .project-copy,.foodshare .project-copy {
    padding:23px;
  }
  .project-art {
    padding:22px 18px;
  }
  .projects-heading h2 {
    font-size:30px;
  }
  .intro-grid h2 {
    font-size:28px;
  }
  .invest-flow li {
    font-size:12px;
  }
  .invest-heading>span:last-child {
    font-size:9px;
  }
  .mal-window {
    padding:16px;
  }
  .practice-strip ul {
    gap:10px;
  }
  .contact-section .eyebrow {
    line-height:1.8;
    display:block;
  }
}
@media(prefers-reduced-motion:reduce) {
  .portfolio * {
    transition:none!important;
    scroll-behavior:auto!important;
  }
}
.toybattle {
  grid-column:1/-1;
  display:grid;
  grid-template-columns:1fr 1.08fr;
}
.toy-visual {
  margin:0;
  min-height:435px;
  background:#244e7a;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  overflow:hidden;
}
.toy-terrain {
  width:270px;
  height:360px;
  background-image:url('../img/projects/toybattle-terrains.webp');
  background-size:400% 200%;
  background-position:0 0;
  filter:drop-shadow(0 20px 20px #122d5060);
}
.toy-visual figcaption {
  color:#e1eaf5;
  font-size:12px;
  margin-bottom:14px;
}
.toybattle .project-copy {
  padding:42px 46px;
}
.toy-bottom {
  border-top:1px solid var(--line);
  padding-top:20px;
}
.toy-bottom>span {
  font-size:12px;
  color:var(--muted);
  display:block;
  margin-bottom:16px;
}
.play-link {
  display:inline-flex;
  align-items:center;
  gap:35px;
  background:#19232d;
  color:#fff!important;
  padding:12px 20px;
  border-radius:8px;
  text-decoration:none;
  font-size:14px;
  font-weight:bold;
}
.play-link:hover {
  background:#2d5177;
}
.play-link>span {
  font-size:20px;
}
@media(max-width:1000px) {
  .toybattle .project-copy {
    padding:32px;
  }
  .toy-terrain {
    width:240px;
    height:320px;
  }
}
@media(max-width:700px) {
  .toybattle {
    display:flex;
    flex-direction:column;
  }
  .toy-visual {
    min-height:340px;
  }
  .toy-terrain {
    width:210px;
    height:280px;
  }
  .toybattle .project-copy {
    padding:28px;
  }
  .toy-visual figcaption {
    font-size:11px;
  }
  .play-link {
    justify-content:space-between;
    width:100%;
  }
}
