@media (min-width: 701px) {
  body {
    display: grid;
    grid-template-columns: clamp(170px, 22vw, 320px) minmax(0, 1fr);
    align-items: start;
  }

  header {
    position: sticky;
    top: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 28px;
    margin: 0;
    padding: 36px 12px 30px clamp(20px, 3vw, 48px);
    border: 0;
  }

  header nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  main.wrap {
    width: 100%;
    min-width: 0;
    padding: 24px clamp(20px, 4vw, 70px) 0 16px;
  }
}

@media (max-width: 700px) {
  header {
    justify-content: flex-start;
    gap: 18px;
  }
}

header { background: #ede6f2; }
header .logo img { width: 90px; height: auto; }
@media (min-width: 701px) {
  header {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    padding-inline: clamp(12px, 1.8vw, 28px);
  }
  header .logo { width: 100%; }
  header .logo img { width: 100%; height: auto; }
  main.wrap { padding-inline: clamp(12px, 1.65vw, 28px); }
}
#prints, #motion { max-width: 1390px; }
#prints .work-spring, #prints .work-burrows { max-width: none; }
#motion .pieces {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  align-items: stretch;
  gap: 20px;
}
.art-column, .art-pair { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.art-column { justify-content: space-between; }
#motion .work { display: block; margin: 0; }
@media (max-width: 620px) {
  #motion .pieces { grid-template-columns: 1fr; }
  .art-column, .art-pair { display: contents; }
  .art-column:first-child .work-sunset-creature { grid-row: 11; }
  header { padding-inline: 14px; }
  header .logo img { width: 78px; }
  main.wrap { padding-inline: 12px; }
}

/* Readable typography with two handwritten signature headings. */
body{--regular:"Nunito Sans",Arial,Helvetica,sans-serif;--hand:var(--regular);font-family:var(--regular);font-size:16px;line-height:1.5}
h1,h2,h3,h4,p,a,button,input,select,textarea,figcaption,.placeholder{font-family:var(--regular)}
header nav a{font-family:var(--regular);font-size:18px;font-weight:400}
.intro h1,#about h1{font-family:Gaegu,"Segoe Print","Bradley Hand",cursive}
.intro h1 small{font-family:var(--regular);font-size:16px;font-weight:400;line-height:1.5;margin-top:12px}
.caption h3,.caption h2{font-family:var(--regular);font-size:16px;font-weight:400;line-height:1.5}
.caption span{font-size:14px}
.sound-player .sound-toggle,.media button{font-family:var(--regular);font-size:14px}
.back-projects{font-size:16px;font-weight:400}
footer{font-size:14px}
#about{gap:clamp(24px,5vw,70px)}
#about h1{line-height:1.2;margin-top:0}
#about p{font-size:17px;line-height:1.8;max-width:62ch;margin-top:0;margin-bottom:22px}
#about a{font-size:16px;line-height:1.5}
/* Reveal project names without obscuring the artwork at rest. */
.project-grid a.project-cover::after{content:"";position:absolute;inset:0;background:rgba(25,22,32,.58);opacity:0;transition:opacity .2s ease;pointer-events:none}
.project-grid a.project-cover h2{inset:0;display:flex;align-items:center;justify-content:center;padding:20px;margin:0;background:transparent;color:white;font-family:var(--regular);font-size:clamp(18px,2vw,24px);font-weight:400;line-height:1.4;text-align:center;opacity:0;z-index:1;transition:opacity .2s ease;pointer-events:none}
.project-grid a.project-cover:hover::after,.project-grid a.project-cover:focus-visible::after,.project-grid a.project-cover:hover h2,.project-grid a.project-cover:focus-visible h2{opacity:1}
@media(hover:none),(pointer:coarse){
 .project-grid a.project-cover::after{opacity:1;background:linear-gradient(transparent 55%,rgba(25,22,32,.78))}
 .project-grid a.project-cover h2{opacity:1;align-items:flex-end;font-size:20px}
}
@media(prefers-reduced-motion:reduce){.project-grid a.project-cover::after,.project-grid a.project-cover h2{transition:none}}

/* Airier sidebar spacing inspired by the supplied reference. */
@media(min-width:701px){
 header{padding:clamp(48px,9vh,100px) clamp(22px,3.4vw,52px) 40px;gap:clamp(42px,7vh,76px)}
 header .logo{width:100%;max-width:240px;align-self:center}
 header nav{width:100%;gap:clamp(24px,4vh,42px)}
 header nav a{font-size:20px;line-height:1.5}
 header nav a[href="about.html"]{margin-top:clamp(36px,8vh,86px)}
}
.sketchbook-project>.back-projects{display:inline-block;margin-bottom:28px}
.sketchbook-grid{align-items:start;margin-bottom:44px}
.sketchbook-grid.collages>figure:last-child:nth-child(odd){grid-column:1/-1;width:calc((100% - 28px)/2);justify-self:center}
.sketchbook-grid.portraits{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:650px){
 .sketchbook-grid.portraits{grid-template-columns:1fr}
 .sketchbook-grid.collages>figure:last-child:nth-child(odd){width:100%;grid-column:auto}
 .sketchbook-grid{margin-bottom:28px}
}

/* Consistent spacing between all sidebar links. */
@media(min-width:701px){header nav{gap:clamp(28px,5vh,52px)}header nav a[href="about.html"]{margin-top:0}}
.client-work{margin:32px auto 60px;max-width:1000px}.client-work h1{font-size:28px;font-weight:400}.client-work p{font-size:17px;line-height:1.7;color:var(--muted)}

/* Three square works followed by the moon piece. White mats cover only the photographed paper margins. */
.sketchbook-grid.square-trio{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.white-mat a{background:#fff}
.white-mat.rain-and-reflections img{clip-path:inset(17.8% 18.2% 17.6% 17.9%)}
.white-mat.shelter-and-stars img{clip-path:inset(17.2% 17.4% 16.8% 17.3%)}
.white-mat.floating-in-flowers img{clip-path:inset(17.2% 17.4% 16.8% 17.3%)}
.sketchbook-grid.moon-row{grid-template-columns:1fr;max-width:650px;margin-inline:auto}
@media(max-width:650px){.sketchbook-grid.square-trio{grid-template-columns:1fr}}

header nav .instagram-link{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;margin-left:-9px}
.instagram-link svg{display:block}
#about{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);max-width:1100px;margin-inline:auto;padding-inline:clamp(16px,3vw,40px);gap:clamp(28px,5vw,70px)}
#about h1{text-align:left;margin:0 0 12px;font-size:clamp(36px,4vw,52px)}
#about>div{width:100%;max-width:62ch;margin-inline:auto}
.sketchbook-project>.back-projects{margin-bottom:0}
@media(max-width:700px){header nav .instagram-link{margin-left:0}#about{padding-inline:8px}}

@media(min-width:701px){header nav .instagram-link{margin-top:calc(8px - clamp(28px,5vh,52px))}}
@media(max-width:800px){#about{grid-template-columns:1fr}}

/* Lighter title weights, retaining the established font families. */
main.wrap h1,main.wrap h2,main.wrap h3,.project-grid a.project-cover h2,.intro h1,#about h1{font-weight:300}
