/* PopasAssets — paper / ink. A small, independent portfolio. */
:root {
  --paper: #f5f2eb;
  --ink: #282920;
  --quiet: #69695f;
  --rule: #d3cfc3;
  --accent: #984b39;
  --serif: 'Iowan Old Style', 'Baskerville', 'Palatino Linotype', 'Book Antiqua', Georgia, serif;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  color-scheme: light;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 15px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
::selection { background: #e6d5bd; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
figure, p, h1, h2, h3 { margin: 0; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.shell { width: min(1320px, calc(100% - 112px)); margin-inline: auto; }
.skip { position: absolute; top: -100px; left: 20px; padding: 10px 18px; background: var(--ink); color: white; z-index: 10; }
.skip:focus { top: 12px; }
.masthead { display: flex; align-items: center; justify-content: space-between; height: 100px; border-bottom: 1px solid var(--rule); }
.wordmark { font-size: 22px; letter-spacing: -.9px; font-weight: 600; }
.wordmark span { color: var(--accent); }
.masthead nav { display: flex; gap: 36px; font-size: 12px; }
.masthead nav a:hover, .underlined:hover, footer a:hover { color: var(--accent); }
.label { font-size: 10px; text-transform: uppercase; letter-spacing: 1.8px; color: var(--quiet); line-height: 1.5; }
.hero { position: relative; padding-block: 58px 34px; }
.hero-grid { display: grid; grid-template-columns: 1.65fr 1fr; gap: 10px; align-items: center; padding-block: 34px 52px; }
h1 { font-family: var(--serif); font-size: clamp(66px, 7.6vw, 116px); font-weight: 400; line-height: 1.02; letter-spacing: -5.2px; }
em { font-family: var(--serif); font-weight: 400; color: var(--accent); }
.hero-art { position: relative; justify-self: end; width: min(100%, 390px); }
.hero-art img { width: 100%; }
.hero-art figcaption { text-align: right; font-size: 9px; color: var(--quiet); letter-spacing: 1px; text-transform: uppercase; margin-top: -12px; }
.hero-bottom { border-top: 1px solid var(--rule); padding-top: 23px; display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: end; }
.hero-bottom p { max-width: 365px; font-size: 14px; color: var(--quiet); }
.hero-bottom .underlined { justify-self: end; }
.underlined { display: inline-flex; gap: 38px; align-items: center; font-size: 12px; padding-bottom: 5px; border-bottom: 1px solid currentColor; }
.underlined span { color: var(--accent); }
.work { padding-top: 84px; }
.section-index { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.section-index > .label:first-child { color: var(--ink); }
.hero-image { overflow: hidden; background: #deded0; }
.hero-image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.project-caption { display: flex; justify-content: space-between; align-items: baseline; gap: 32px; padding-block: 14px 40px; }
.project-caption h2 { font-family: var(--serif); font-size: 35px; font-weight: 400; letter-spacing: -.9px; }
.project-caption p { font-size: 10px; color: var(--quiet); }
.project-info { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding-block: 9px 36px; }
.project-info h3 { font-family: var(--serif); font-size: 31px; line-height: 1.25; font-weight: 400; letter-spacing: -.7px; max-width: 370px; }
.project-info p { font-size: 14px; color: var(--quiet); max-width: 510px; }
.project-info .release-note { font-size: 11px; margin-top: 14px; }
.inventory { display: grid; grid-template-columns: repeat(4,1fr); border-block: 1px solid var(--rule); padding-block: 22px; margin: 0; gap: 22px; }
.inventory dt { font-family: var(--serif); font-size: 37px; font-weight: 400; line-height: 1; }
.inventory dd { font-size: 10px; color: var(--quiet); margin: 12px 0 0; }
.gallery { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; margin-top: 64px; align-items: start; }
.gallery figure:nth-child(2) { margin-top: 104px; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.gallery figure:nth-child(2) img { aspect-ratio: 1/1; }
.gallery figcaption { display: flex; gap: 18px; margin-top: 14px; font-size: 10px; color: var(--quiet); }
.gallery figcaption span { color: var(--accent); }
.notes { display: grid; grid-template-columns: 1fr 2.3fr; gap: 60px; padding-block: 75px 88px; }
.notes > .label { padding-top: 17px; }
details { border-top: 1px solid var(--rule); padding-block: 15px; }
details:last-child { border-bottom: 1px solid var(--rule); }
summary { font-size: 13px; cursor: pointer; display: flex; justify-content: space-between; gap: 30px; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--accent); font-size: 17px; line-height: 1.3; font-weight: 400; }
details[open] summary::after { content: '−'; }
details p { color: var(--quiet); font-size: 12px; line-height: 1.8; margin-top: 14px; }
details a { text-decoration: underline; text-underline-offset: 3px; }
.support { border-top: 1px solid var(--ink); padding-block: 42px 64px; }
.support-heading { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 40px; }
.support h2 { font-family: var(--serif); font-weight: 400; font-size: 60px; letter-spacing: -2px; line-height: 1.15; }
.support-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 70px; }
.email { font-family: var(--serif); font-size: clamp(22px, 2.5vw, 38px); letter-spacing: -1px; color: var(--accent); display: inline-block; border-bottom: 1px solid #b88978; line-height: 1.4; overflow-wrap: anywhere; }
.support-grid p { max-width: 370px; font-size: 12px; color: var(--quiet); margin-top: 15px; }
.support-grid > p { max-width: 430px; margin-top: 0; }
footer { border-top: 1px solid var(--rule); padding-block: 22px 26px; display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; }
footer .wordmark { font-size: 15px; letter-spacing: -.6px; }
footer nav { display: flex; gap: 27px; font-size: 10px; }
.legal { width: 100%; color: var(--quiet); font-size: 9px; max-width: 800px; }
@media (min-width: 1600px) {
  .hero { padding-top: 74px; }
  .hero-grid { padding-bottom: 74px; }
}
@media (max-width: 1000px) {
  .shell { width: calc(100% - 64px); }
  h1 { font-size: 84px; letter-spacing: -3.8px; }
  .hero-grid { grid-template-columns: 1.6fr 1fr; }
  .hero-art { width: 300px; }
  .hero-art figcaption { margin-top: 0; font-size: 8px; }
  .project-info, .support-grid { gap: 40px; }
  .gallery { gap: 36px; }
}
@media (max-width: 700px) {
  .shell { width: calc(100% - 40px); }
  .masthead { height: 78px; }
  .wordmark { font-size: 21px; }
  .masthead nav { gap: 22px; font-size: 11px; }
  .hero { padding-top: 38px; }
  .hero-grid { display: block; padding-top: 32px; padding-bottom: 28px; }
  h1 { font-size: clamp(53px, 11.8vw, 78px); letter-spacing: -2.6px; line-height: 1.06; }
  .hero-art { width: 225px; margin: 28px auto 10px; }
  .hero-art figcaption { font-size: 8px; text-align: center; margin-top: -6px; }
  .hero-bottom { display: block; padding-top: 22px; }
  .hero-bottom p { max-width: 340px; font-size: 13px; }
  .hero-bottom .underlined { margin-top: 22px; }
  .work { padding-top: 45px; }
  .section-index { margin-bottom: 17px; gap: 15px; }
  .section-index .label { font-size: 9px; letter-spacing: 1px; }
  .section-index .label:last-child { text-align: right; max-width: 150px; }
  .hero-image img { aspect-ratio: 4/3; }
  .project-caption { padding-bottom: 30px; gap: 15px; align-items: center; }
  .project-caption h2 { font-size: 30px; }
  .project-caption p { font-size: 9px; text-align: right; max-width: 120px; }
  .project-info { grid-template-columns: 1fr; gap: 20px; padding-top: 0; }
  .project-info h3 { font-size: 29px; max-width: 320px; }
  .project-info p { font-size: 13px; }
  .inventory { grid-template-columns: 1fr 1fr; gap: 28px; padding-block: 23px; }
  .inventory dt { font-size: 35px; }
  .gallery { display: block; margin-top: 38px; }
  .gallery figure:nth-child(2) { width: 83%; margin: 35px 0 0 auto; }
  .gallery figure:nth-child(2) img { aspect-ratio: 4/3; }
  .gallery figcaption { font-size: 9px; gap: 13px; }
  .notes { grid-template-columns: 1fr; gap: 20px; padding-block: 42px 55px; }
  .notes > .label { padding-top: 0; }
  summary { font-size: 12px; }
  .support { padding-block: 29px 42px; }
  .support-heading { display: block; margin-bottom: 28px; }
  .support-heading .label { margin-bottom: 22px; }
  .support h2 { font-size: 47px; letter-spacing: -1.6px; }
  .support-grid { grid-template-columns: 1fr; gap: 24px; }
  .email { font-size: 26px; letter-spacing: -.9px; }
  footer { align-items: baseline; }
  footer nav { gap: 17px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
