:root {
  --pink: #FFDAE7;
  --ink: rgb(35, 35, 35);
  --brown: rgb(35, 35, 35);
  --paper: #f8f7f5;
  --max: 1120px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: #111;
  background: var(--paper);
  font-family: "Inter", sans-serif;
  font-size: 15px;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 28px;
  font-size: 14px;
}
.site-header nav {
  display: flex;
  gap: 30px;
}
.site-header nav a:first-child {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.wordmark {
  font-weight: 500;
}
.hero {
  min-height: max(720px, 88svh);
  background: var(--pink);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 90px 24px 60px;
}
.hero .eyebrow {
  font-size: clamp(22px, 2.3vw, 31px);
  margin: 0 0 8px;
}
.hero h1,
.about h2,
.skills-section h2,
.section-title,
.work-card h3 {
  font-family: "Inter", serif;
  font-weight: 400;
}
.hero h1 {
  color: var(--ink);
  font-size: clamp(64px, 8.5vw, 116px);
  line-height: .9;
  margin: 0;
}
.hero-role {
  margin: 12px 0 0;
  font-size: 17px;
}
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}
.about-photo-panel {
  background: #ef9fbe url("assets/about-background.png") center / cover no-repeat;
  display: grid;
  place-items: center;
  padding: 70px;
}
.portrait {
  width: min(62%, 340px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
}
.about-copy {
  background: #fff;
  display: grid;
  place-items: center;
  padding: 70px 9%;
}
.about-copy-inner {
  width: min(100%, 500px);
}
.about-copy h2 {
  font-size: 46px;
  margin: 0 0 28px;
}
.about-copy p {
  line-height: 1.25;
  margin: 0 0 24px;
}
.mini-contact {
  margin: 65px 0 0 auto;
  width: max-content;
  display: grid;
  gap: 5px;
}
.mini-contact strong {
  font-style: italic;
  font-size: 18px;
  margin-bottom: 4px;
  background: var(--pink);
  padding: 2px 6px;
  width: max-content;
}
.mini-contact a {
  font-size: 12px;
}
.skills-section {
  background: var(--brown);
  color: #fff;
}
.section-shell {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}
.skills-shell {
  padding: 65px 80px 85px;
}
.skills-section h2 {
  text-align: center;
  font-size: 38px;
  margin: 0 0 46px;
}
.skills-grid {
  display: grid;
  grid-template-columns: 2.1fr 1fr;
  gap: 85px;
}
.skills-grid h3 {
  color: #ff5b96;
  text-decoration: underline;
  margin: 0 0 12px;
  font-size: 17px;
}
.skills-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 1.45;
}
.skills-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
}
.works-section {
  background: #f8f8f7;
  padding: 70px 0 65px;
}
.works-shell {
  width: min(900px, calc(100% - 48px));
}
.section-title {
  text-align: center;
  font-size: 42px;
  margin: 0 0 65px;
}
.work-card {
  min-height: 330px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  overflow: hidden;
}
.work-copy {
  padding: 55px 35px 42px 50px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.work-card h3 {
  font-size: 38px;
  line-height: .95;
  margin: 0 0 14px;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.tags span {
  border: 1px solid #111;
  border-radius: 999px;
  padding: 5px 10px 4px;
  font-size: 10px;
  line-height: 1;
}
.work-copy p {
  max-width: 390px;
  font-size: 12px;
  line-height: 1.3;
  margin: 0 0 25px;
}
.project-link {
  font-size: 12px;
  font-weight: 600;
  margin-top: auto;
}
.project-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.work-art {
  display: grid;
  place-items: center;
  padding: 25px 35px;
  overflow: hidden;
}
.work-art img {
  max-width: 100%;
  max-height: 270px;
  object-fit: contain;
}
.aya {
  background: linear-gradient(90deg, var(--paper) 0%, #f6dfe7 55%, #d78ba8 100%);
}
.bumble {
  background: linear-gradient(90deg, var(--paper) 0%, #fff1c9 55%, #ffc933 100%);
}
.twc2 {
  background: linear-gradient(90deg, var(--paper) 0%, #dce6f2 55%, #2f63ad 100%);
}
.fruitful {
  background: linear-gradient(90deg, var(--paper) 0%, #f8ded3 55%, #f69561 100%);
}
.rise {
  background: linear-gradient(90deg, var(--paper) 0%, #d8eee6 55%, #1e8b68 100%);
}
/* These two artworks are meant to bleed into the bottom-right edge of their cards. */
.fruitful .work-art,
.rise .work-art {
  place-items: end;
  padding: 20px 0 0 20px;
}
.fruitful .work-art img,
.rise .work-art img {
  width: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: right bottom;
  justify-self: end;
  align-self: end;
}
.contact-section {
  background: var(--pink);
  padding: 75px 24px 70px;
}
.contact-shell {
  width: min(920px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 115px;
  align-items: center;
}
.contact-cta h2 {
  font-size: clamp(52px, 6vw, 82px);
  line-height: .78;
  margin: 0 0 38px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -3px;
}
.contact-card {
  background: #fff;
  width: max-content;
  max-width: 100%;
  padding: 18px 22px;
  display: grid;
  gap: 10px;
  font-style: italic;
}
.contact-form {
  background: #fff;
  padding: 25px;
  display: grid;
  gap: 16px;
}
.contact-form label {
  display: grid;
  gap: 7px;
  font-weight: 700;
  font-size: 12px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #999;
  border-radius: 2px;
  background: transparent;
  padding: 10px;
  font: inherit;
  resize: vertical;
}
.contact-form button {
  border: 0;
  border-radius: 999px;
  padding: 10px;
  background: #f4bdd3;
  color: #111;
  font-weight: 700;
}
.contact-form small {
  text-align: center;
  font-size: 8px;
}
@media (max-width: 760px) {
  .site-header {
    padding: 16px 18px;
  }
  .site-header nav {
    gap: 16px;
  }
  .hero {
    min-height: 560px;
  }
  .hero h1 {
    font-size: clamp(58px, 17vw, 88px);
  }
  .hero-role {
    font-size: 14px;
  }
  .about {
    grid-template-columns: 1fr;
  }
  .about-photo-panel {
    min-height: 480px;
    padding: 60px 30px;
  }
  .portrait {
    width: min(68%, 300px);
  }
  .about-copy {
    padding: 60px 28px;
  }
  .about-copy h2 {
    font-size: 40px;
  }
  .mini-contact {
    margin-top: 45px;
  }
  .section-shell {
    width: min(100% - 32px, var(--max));
  }
  .skills-shell {
    padding: 55px 12px 65px;
  }
  .skills-grid,
  .skills-columns {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .skills-grid {
    gap: 40px;
  }
  .works-shell {
    width: min(100% - 28px, 900px);
  }
  .section-title {
    margin-bottom: 42px;
  }
  .work-card {
    grid-template-columns: 1fr;
  }
  .work-copy {
    padding: 38px 28px 20px;
    min-height: 265px;
  }
  .work-card h3 {
    font-size: 34px;
  }
  .work-art {
    min-height: 260px;
    padding: 20px 30px 35px;
  }
  .work-art img {
    max-height: 230px;
  }
  .fruitful .work-art,
  .rise .work-art {
    padding: 20px 0 0 20px;
  }
  .fruitful .work-art img,
  .rise .work-art img {
    width: 100%;
    max-height: 260px;
  }
  .contact-shell {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .contact-cta h2 {
    font-size: 64px;
  }
}
/* =========================================================
   RESPONSIVE PASS V3
   Desktop styles above remain unchanged.
   \========================================================= */
/* Tablet */
@media (min-width: 761px) and (max-width: 1050px) {
  .hero {
    min-height: 82svh;
  }
  .about {
    min-height: 540px;
  }
  .about-photo-panel {
    padding: 55px;
  }
  .about-copy {
    padding: 60px 7%;
  }
  .about-copy h2 {
    font-size: 42px;
  }
  .mini-contact {
    margin-top: 48px;
  }
  .skills-shell {
    padding: 60px 45px 72px;
  }
  .skills-grid {
    gap: 55px;
  }
  .skills-columns {
    gap: 35px;
  }
  .works-shell {
    width: min(860px, calc(100% - 40px));
  }
  .work-copy {
    padding-left: 40px;
  }
  .contact-shell {
    gap: 65px;
  }
}
/* Phones */
@media (max-width: 760px) {
  body {
    font-size: 14px;
  }
  .site-header {
    padding: 15px 16px;
    font-size: 12px;
  }
  .site-header nav {
    gap: 14px;
  }
  /* Keep the spacious opening composition, just scaled for a phone. */
  .hero {
    min-height: 88svh;
    padding: 80px 18px 48px;
  }
  .hero .eyebrow {
    font-size: clamp(18px, 5.4vw, 23px);
    margin-bottom: 6px;
  }
  .hero h1 {
    font-size: clamp(56px, 18vw, 82px);
    line-height: .88;
  }
  .hero-role {
    max-width: 310px;
    margin: 10px auto 0;
    font-size: 12px;
    line-height: 1.25;
  }
  /* About stacks image first, copy second. */
  .about {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .about-photo-panel {
    min-height: 430px;
    padding: 55px 28px;
  }
  .portrait {
    width: min(72%, 285px);
  }
  .about-copy {
    display: block;
    padding: 52px 28px 55px;
  }
  .about-copy-inner {
    width: 100%;
  }
  .about-copy h2 {
    font-size: 39px;
    margin-bottom: 22px;
  }
  .about-copy p {
    font-size: 13px;
    line-height: 1.35;
    margin-bottom: 20px;
  }
  .mini-contact {
    margin: 38px 0 0 auto;
  }
  .mini-contact strong {
    font-size: 16px;
  }
  /* Skills stay compact without shrinking the text to unreadable sizes. */
  .section-shell {
    width: min(100% - 30px, var(--max));
  }
  .skills-shell {
    padding: 48px 14px 55px;
  }
  .skills-section h2 {
    font-size: 31px;
    margin-bottom: 34px;
  }
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .skills-columns {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
  .skills-grid h3 {
    font-size: 15px;
  }
  .skills-grid ul {
    font-size: 12px;
    line-height: 1.55;
  }
  /* Project cards become intentional vertical compositions. */
  .works-section {
    padding: 50px 0 48px;
  }
  .works-shell {
    width: min(100% - 24px, 900px);
  }
  .section-title {
    font-size: 34px;
    margin-bottom: 36px;
  }
  .work-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .work-copy {
    min-height: 245px;
    padding: 34px 25px 22px;
  }
  .work-card h3 {
    font-size: 32px;
    line-height: .98;
    margin-bottom: 12px;
  }
  .tags {
    margin-bottom: 14px;
  }
  .tags span {
    font-size: 9px;
    padding: 5px 8px 4px;
  }
  .work-copy p {
    max-width: 360px;
    font-size: 11px;
    line-height: 1.35;
  }
  .project-link {
    font-size: 11px;
  }
  .work-art {
    min-height: 220px;
    padding: 10px 24px 28px;
    place-items: center;
  }
  .work-art img {
    width: auto;
    max-width: 88%;
    max-height: 205px;
  }
  .fruitful .work-art,
  .rise .work-art {
    min-height: 225px;
    padding: 8px 0 0 22px;
    place-items: end;
  }
  .fruitful .work-art img,
  .rise .work-art img {
    width: min(92%, 430px);
    max-width: none;
    max-height: 225px;
    object-position: right bottom;
  }
  /* Contact becomes one column. */
  .contact-section {
    padding: 58px 24px 55px;
  }
  .contact-shell {
    grid-template-columns: 1fr;
    gap: 38px;
    width: min(100%, 500px);
  }
  .contact-cta h2 {
    font-size: clamp(54px, 16vw, 70px);
    line-height: .8;
    letter-spacing: -2px;
    margin-bottom: 28px;
  }
  .contact-card {
    font-size: 12px;
    padding: 15px 18px;
  }
  .contact-form {
    padding: 22px;
    gap: 14px;
  }
}
/* Very narrow phones */
@media (max-width: 390px) {
  .site-header nav {
    gap: 10px;
  }
  .hero h1 {
    font-size: 55px;
  }
  .skills-columns {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .skills-columns ul+ul {
    margin-top: 0;
  }
  .work-copy {
    min-height: 235px;
    padding-inline: 22px;
  }
  .contact-section {
    padding-inline: 18px;
  }
}
/* =========================================================
   GLOBAL SCALE PASS V4
   Brings the desktop/tablet site closer to the larger Canva
   proportions while preserving the dedicated phone layout.
   \========================================================= */
@media (min-width: 761px) {
  :root {
    --max: 1280px;
  }
  body {
    font-size: 17px;
  }
  .site-header {
    padding: 20px 32px;
    font-size: 16px;
  }
  .site-header nav {
    gap: 34px;
  }
  .hero .eyebrow {
    font-size: clamp(24px, 2.3vw, 34px);
  }
  .hero-role {
    font-size: 19px;
  }
  .about {
    min-height: 650px;
  }
  .about-photo-panel {
    padding: 76px;
  }
  .portrait {
    width: min(64%, 390px);
  }
  .about-copy {
    padding: 76px 8%;
  }
  .about-copy-inner {
    width: min(100%, 560px);
  }
  .about-copy h2 {
    font-size: 52px;
  }
  .about-copy p {
    font-size: 17px;
    line-height: 1.3;
  }
  .mini-contact strong {
    font-size: 20px;
  }
  .mini-contact a {
    font-size: 14px;
  }
  .skills-shell {
    padding: 72px 82px 92px;
  }
  .skills-section h2 {
    font-size: 43px;
  }
  .skills-grid h3 {
    font-size: 19px;
  }
  .skills-grid ul {
    font-size: 16px;
  }
  .works-section {
    padding: 82px 0 78px;
  }
  .works-shell {
    width: min(1360px, calc(100% - 120px));
  }
  .section-title {
    font-size: 48px;
    margin-bottom: 82px;
  }
  .work-card {
    min-height: 420px;
    grid-template-columns: 1.05fr .95fr;
  }
  .work-copy {
    padding: 72px 44px 54px 72px;
  }
  .work-card h3 {
    font-size: 48px;
    margin-bottom: 18px;
  }
  .tags {
    gap: 8px;
    margin-bottom: 24px;
  }
  .tags span {
    padding: 7px 13px 6px;
    font-size: 13px;
  }
  .work-copy p {
    max-width: 500px;
    font-size: 16px;
    line-height: 1.35;
    margin-bottom: 32px;
  }
  .project-link {
    font-size: 16px;
  }
  .work-art {
    padding: 30px 44px;
  }
  .work-art img {
    max-height: 340px;
  }
  .fruitful .work-art,
  .rise .work-art {
    padding: 24px 0 0 24px;
  }
  .contact-section {
    padding: 88px 28px 82px;
  }
  .contact-shell {
    width: min(1120px, 100%);
    gap: 125px;
  }
  .contact-card {
    font-size: 16px;
    padding: 20px 24px;
  }
  .contact-form {
    padding: 30px;
    gap: 18px;
  }
  .contact-form label {
    font-size: 14px;
  }
  .contact-form input,
  .contact-form textarea {
    padding: 12px;
  }
  .contact-form button {
    padding: 12px;
  }
}
/* Keep the intermediate tablet range comfortably scaled without
   forcing the full desktop card width into a smaller viewport. */
@media (min-width: 761px) and (max-width: 1050px) {
  body {
    font-size: 16px;
  }
  .works-shell {
    width: min(930px, calc(100% - 40px));
  }
  .work-card {
    min-height: 365px;
  }
  .work-copy {
    padding: 55px 34px 42px 45px;
  }
  .work-card h3 {
    font-size: 42px;
  }
  .work-copy p {
    font-size: 14px;
  }
  .project-link {
    font-size: 14px;
  }
  .tags span {
    font-size: 11px;
  }
  .work-art img {
    max-height: 300px;
  }
}
/* Mobile refinement: centre Skills & Knowledge content */
@media (max-width: 760px) {
  .skills-section,
  .skills-grid,
  .skills-columns,
  .skills-grid>div {
    text-align: center;
  }
  .skills-grid ul {
    padding-left: 0;
  }
}
/* =========================================================
   PROJECT PAGE SYSTEM
   \========================================================= */
.project-page {
  background: var(--paper);
}
.project-page .site-header {
  position: absolute;
  background: transparent;
}
.project-hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  background: linear-gradient(105deg, var(--paper) 0%, var(--paper) 47%, #ffe2d5 70%, #f89a6c 100%);
}
.project-hero-copy {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 110px 7vw 70px 7vw;
}
.project-hero-copy-inner {
  width: min(100%, 610px);
}
.project-title {
  font-family: 'Inter', serif;
  font-size: clamp(48px, 4vw, 68px);
  line-height: .95;
  margin: 0 0 18px;
  font-weight: 400;
}
.project-page .tags {
  margin-bottom: 28px;
}
.project-description {
  max-width: 570px;
  font-size: 17px;
  line-height: 1.42;
  margin: 0 0 30px;
}
.project-credit {
  font-size: 12px;
  font-style: italic;
  margin: 0;
}
.project-hero-art {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  min-width: 0;
}
.project-hero-art img {
  width: min(100%, 780px);
  max-height: 620px;
  object-fit: contain;
  object-position: right bottom;
  display: block;
}
.project-media {
  width: 100%;
}
.project-media img {
  display: block;
  width: 100%;
  height: auto;
}
.project-full {
  width: 100%;
  overflow: hidden;
}
.project-full img {
  width: 100%;
  display: block;
}
.project-gallery {
  padding: 24px;
  background: var(--paper);
}
.project-grid {
  display: grid;
  gap: 18px;
  max-width: 1500px;
  margin: 0 auto;
}
.project-grid--feature {
  grid-template-columns: 1.05fr .95fr;
}
.project-grid--feature .stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
}
.project-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.project-dark {
  background: #000;
  padding: 105px 24px;
  display: grid;
  place-items: center;
}
.project-dark img {
  width: min(760px, 70vw);
  height: auto;
  display: block;
}
.project-contact {
  background: var(--paper);
}
@media (max-width: 760px) {
  .project-page .site-header {
    position: absolute;
  }
  .project-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 52px;
  }
  .project-hero-copy {
    justify-content: flex-start;
    padding: 70px 28px 30px;
  }
  .project-title {
    font-size: 44px;
  }
  .project-description {
    font-size: 13px;
  }
  .project-credit {
    font-size: 10px;
  }
  .project-hero-art {
    min-height: 330px;
  }
  .project-hero-art img {
    width: 100%;
    max-height: 360px;
  }
  .project-gallery {
    padding: 10px;
  }
  .project-grid {
    gap: 10px;
  }
  .project-grid--feature {
    grid-template-columns: 1fr;
  }
  .project-grid--feature .stack {
    gap: 10px;
  }
  .project-dark {
    padding: 65px 18px;
  }
  .project-dark img {
    width: min(90vw, 620px);
  }
}
/* =========================================================
   FRUITFUL DECISIONS — VIEWPORT-FIT MEDIA SECTIONS
   Keep each major project section within one desktop viewport
   and show complete images without object-fit cropping.
   \========================================================= */
@media (min-width: 761px) {
  .project-page .project-hero,
  .project-page .project-full,
  .project-page .project-gallery,
  .project-page .project-dark,
  .project-page .project-contact {
    height: 100svh;
    min-height: 680px;
    box-sizing: border-box;
  }
  .project-page .project-full {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--paper);
  }
  .project-page .project-full img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }
  .project-page .project-gallery {
    padding: 2.2vh 1.4vw;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  .project-page .project-grid {
    width: 100%;
    max-width: none;
    height: 100%;
    min-height: 0;
    gap: 1.1vw;
  }
  .project-page .project-grid--feature {
    grid-template-columns: 1.05fr .95fr;
    align-items: stretch;
  }
  .project-page .project-grid--feature>img,
  .project-page .project-grid--feature .stack,
  .project-page .project-grid--feature .stack>img {
    min-width: 0;
    min-height: 0;
  }
  .project-page .project-grid--feature>img,
  .project-page .project-grid--feature .stack>img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }
  .project-page .project-grid--feature .stack {
    height: 100%;
    grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.1vw;
  }
  .project-page .project-dark {
    padding: 6vh 5vw;
    overflow: hidden;
  }
  .project-page .project-dark img {
    width: 100%;
    height: 100%;
    max-width: 980px;
    object-fit: contain;
    object-position: center;
  }
  .project-page .project-contact {
    display: flex;
    align-items: center;
  }
}
/* Mobile should scroll naturally rather than forcing every section to one screen. */
@media (max-width: 760px) {
  .project-page .project-full,
  .project-page .project-gallery,
  .project-page .project-dark,
  .project-page .project-contact {
    height: auto;
    min-height: 0;
  }
  .project-page .project-grid img {
    object-fit: contain;
  }
}
/* =========================================================
   FRUITFUL V3 — Canva-like section rhythm
   Major visual sections are slightly shorter than the viewport
   so the next section peeks through. Full-width photos bleed
   edge-to-edge. Three-image galleries preserve each photo's
   aspect ratio rather than stretching/cropping it.
   \========================================================= */
@media (min-width: 761px) {
  .project-page .project-hero,
  .project-page .project-full,
  .project-page .project-gallery,
  .project-page .project-dark {
    height: 92svh;
    min-height: 640px;
  }
  /* Contact can remain a comfortable final screen. */
  .project-page .project-contact {
    height: 92svh;
    min-height: 640px;
  }
  /* Full-spread photography should bleed across the viewport. */
  .project-page .project-full {
    padding: 0;
    margin: 0;
    width: 100%;
    background: var(--paper);
    overflow: hidden;
  }
  .project-page .project-full img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
  }
  /* Three-image composition: Canva-like 55/45 split. */
  .project-page .project-gallery {
    padding: 1.4vh 1.4vw;
  }
  .project-page .project-grid--feature {
    grid-template-columns: 1.15fr .85fr;
    gap: 1.1vw;
  }
  .project-page .project-grid--feature>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .project-page .project-grid--feature .stack {
    height: 100%;
    display: grid;
    grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.1vw;
  }
  .project-page .project-grid--feature .stack>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  /* Keep the animated spread fully visible against black. */
  .project-page .project-dark {
    padding: 5vh 5vw;
  }
  .project-page .project-dark img {
    object-fit: contain;
  }
}
/* =========================================================
   FRUITFUL V4 — final spacing refinement
   \- Display photo gets one full viewport and remains fully visible.
   \- Three-image galleries get more breathing room on every side.
   \========================================================= */
@media (min-width: 761px) {
  /* This showcase image is the exception: one complete screen. */
  .project-page .project-full {
    height: 100svh;
    min-height: 640px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--paper);
  }
  .project-page .project-full img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }
  /* Give the 3-image compositions noticeably more breathing room. */
  .project-page .project-gallery {
    height: 92svh;
    min-height: 640px;
    padding: 3.6vh 3.2vw;
    box-sizing: border-box;
  }
  .project-page .project-grid--feature {
    grid-template-columns: 1.15fr .85fr;
    gap: 1.35vw;
  }
  .project-page .project-grid--feature .stack {
    gap: 1.35vw;
  }
}
/* =========================================================
   FRUITFUL V5 — matched against Canva side-by-side
   Desktop only: full-bleed display image + narrower gallery.
   \========================================================= */
@media (min-width: 761px) {
  /* Canva's display shot is full-bleed: fill the viewport, allow
     a small amount of crop instead of introducing side margins. */
  .project-page .project-full {
    width: 100vw;
    height: 100svh;
    min-height: 640px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: var(--paper);
  }
  .project-page .project-full img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
  }
  /* Canva gallery is a centered composition rather than a
     viewport-filling grid. The surrounding white is intentional. */
  .project-page .project-gallery {
    height: auto;
    min-height: 0;
    padding: 4.2vh 6.5vw 4.2vh;
    display: block;
    overflow: visible;
    background: var(--paper);
  }
  .project-page .project-grid {
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0 auto;
    gap: 1.45vw;
  }
  .project-page .project-grid--feature {
    grid-template-columns: 1.11fr .89fr;
    align-items: stretch;
  }
  .project-page .project-grid--feature>img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1.035;
    object-fit: cover;
    object-position: center;
  }
  .project-page .project-grid--feature .stack {
    height: 100%;
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 1.45vw;
  }
  .project-page .project-grid--feature .stack>img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center;
  }
}
/* =========================================================
   FRUITFUL V6 — final desktop sizing pass
   - Slightly reduce both 3-image gallery compositions so they
     sit comfortably within the visible browser area.
   - Enlarge the animated publication spread on black.
   ========================================================= */
@media (min-width: 761px) {
  /* Keep the existing Canva-like gallery proportions, but scale
     the whole composition down rather than changing its crop. */
  .project-page .project-gallery {
    padding: 3.2vh 5.5vw;
  }
  .project-page .project-grid {
    width: 90%;
    max-width: 1440px;
    margin: 0 auto;
  }
  /* Give the GIF more presence while keeping the full animation
     visible and centred against black. */
  .project-page .project-dark {
    height: 92svh;
    min-height: 640px;
    padding: 2.5vh 3vw;
    display: grid;
    place-items: center;
    overflow: hidden;
  }
  .project-page .project-dark img {
    width: auto;
    height: 86svh;
    max-width: 82vw;
    max-height: 86svh;
    object-fit: contain;
    object-position: center;
  }
}
/* =========================================================
   FRUITFUL V7 — full-screen hero + GIF section
   Keep the gallery sizing from V6 unchanged.
   ========================================================= */
@media (min-width: 761px) {
  /* Opening project hero fills one browser viewport. */
  .project-page .project-hero {
    height: 100svh;
    min-height: 680px;
  }
  /* Black animated-spread section also fills one viewport. */
  .project-page .project-dark {
    height: 100svh;
    min-height: 680px;
    padding: 3vh 3vw;
  }
  /* Make the GIF more prominent while keeping it fully visible. */
  .project-page .project-dark img {
    width: auto;
    height: 90svh;
    max-width: 88vw;
    max-height: 90svh;
    object-fit: contain;
    object-position: center;
  }
}
/* Aya Takano interactive PDF spacing is controlled by the page-specific
   responsive layout in aya-takano.html. No negative offsets are used. */
/* =========================================================
   BUMBLE CUPID PROJECT
   ========================================================= */
.bumble-project {
  --bumble-yellow: #ffc629;
  --bumble-pink: #ff5f86;
  background: var(--paper);
}
.bumble-project .bumble-hero {
  min-height: 100svh;
  padding: 13vh 11vw 7vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .9fr);
  gap: 7vw;
  align-items: center;
  background: linear-gradient(to bottom, var(--paper) 0%, var(--paper) 37%, #fff2cb 68%, var(--bumble-yellow) 100%);
}
.bumble-project .bumble-hero-copy {
  align-self: start;
  padding-top: 4vh;
  max-width: 560px;
}
.bumble-project .project-title {
  margin: 0 0 18px;
  font-family: "Inter", Georgia, serif;
  font-size: clamp(44px, 4.2vw, 72px);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.03em;
}
.bumble-project .bumble-hero .tags {
  margin-bottom: 28px;
  gap: 8px;
}
.bumble-project .bumble-hero .tags span {
  padding: 6px 12px 5px;
  font-size: 11px;
}
.bumble-project .project-description {
  max-width: 470px;
  margin: 0 0 30px;
  font-size: 13px;
  line-height: 1.45;
}
.bumble-project .project-credit {
  margin: 0;
  font-size: 11px;
  line-height: 1.35;
  font-style: italic;
}
.bumble-project .bumble-hero-art {
  height: 72svh;
  display: grid;
  place-items: center;
  align-self: end;
}
.bumble-project .bumble-hero-art img {
  width: min(100%, 500px);
  max-height: 72svh;
  object-fit: contain;
}
.bumble-project .bumble-yellow,
.bumble-project .bumble-campaign {
  background: var(--bumble-yellow);
}
.bumble-project .bumble-overview {
  padding: 7vh 11vw 5vh;
}
.bumble-project .bumble-wide-block {
  width: min(1180px, 100%);
  min-height: 72svh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.bumble-project .bumble-wide-block h2,
.bumble-project .bumble-feature h2 {
  margin: 0 0 12px;
  font-family: "Inter", Georgia, serif;
  font-size: clamp(30px, 2.5vw, 46px);
  font-weight: 400;
  line-height: 1;
}
.bumble-project .bumble-wide-block>p {
  width: min(430px, 100%);
  margin: 0 0 30px;
  font-size: 12px;
  line-height: 1.4;
}
.bumble-project .bumble-wide-block>img {
  display: block;
  width: 100%;
  max-height: 54svh;
  object-fit: contain;
  object-position: center;
}
.bumble-project .bumble-style-guide {
  min-height: 78svh;
}
.bumble-project .bumble-feature-list {
  padding: 2vh 11vw 8vh;
}
.bumble-project .bumble-feature {
  width: min(1100px, 100%);
  min-height: 78svh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 7vw;
  align-items: center;
}
.bumble-project .bumble-feature--image-right {
  grid-template-columns: .85fr 1.15fr;
}
.bumble-project .bumble-feature-image {
  display: grid;
  place-items: center;
}
.bumble-project .bumble-feature-image img {
  display: block;
  width: 100%;
  max-height: 68svh;
  object-fit: contain;
}
.bumble-project .bumble-feature-copy {
  max-width: 360px;
}
.bumble-project .bumble-feature-copy p {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
}
.bumble-project .bumble-feature--rewards {
  min-height: 72svh;
}
.bumble-project .bumble-campaign {
  overflow: hidden;
}
.bumble-project .bumble-ooh {
  display: block;
}
.bumble-project .bumble-ooh--full {
  width: 100%;
  height: auto;
}
.bumble-project .bumble-ooh-frame {
  min-height: 76svh;
  padding: 9vh 11vw;
  display: grid;
  place-items: center;
}
.bumble-project .bumble-ooh-frame .bumble-ooh {
  width: min(100%, 1100px);
  max-height: 60svh;
  object-fit: contain;
}
.bumble-project .bumble-lockup {
  min-height: 76svh;
  padding: 7vh 11vw 9vh;
  display: grid;
  place-items: center;
}
.bumble-project .bumble-lockup-inner {
  width: min(1050px, 100%);
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 5vw;
  align-items: center;
}
.bumble-project .bumble-logo {
  width: 100%;
  max-height: 45svh;
  object-fit: contain;
}
.bumble-project .bumble-final-phone {
  width: 100%;
  max-height: 58svh;
  object-fit: contain;
}
.bumble-project .bumble-contact {
  background: var(--bumble-yellow);
}
.bumble-project .bumble-contact .contact-form button {
  background: var(--bumble-pink);
}
@media (max-width: 760px) {
  .bumble-project .bumble-hero {
    min-height: auto;
    padding: 105px 24px 55px;
    grid-template-columns: 1fr;
    gap: 35px;
    background: linear-gradient(to bottom, var(--paper) 0%, var(--paper) 44%, #fff2cb 73%, var(--bumble-yellow) 100%);
  }
  .bumble-project .bumble-hero-copy {
    padding-top: 0;
  }
  .bumble-project .project-title {
    font-size: clamp(44px, 14vw, 64px);
  }
  .bumble-project .bumble-hero-art {
    height: auto;
  }
  .bumble-project .bumble-hero-art img {
    width: min(78vw, 390px);
    max-height: none;
  }
  .bumble-project .bumble-overview,
  .bumble-project .bumble-feature-list {
    padding-left: 24px;
    padding-right: 24px;
  }
  .bumble-project .bumble-wide-block {
    min-height: auto;
    padding: 55px 0;
  }
  .bumble-project .bumble-wide-block>img {
    max-height: none;
  }
  .bumble-project .bumble-feature,
  .bumble-project .bumble-feature--image-right {
    min-height: auto;
    padding: 55px 0;
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .bumble-project .bumble-feature--image-right .bumble-feature-copy {
    order: 2;
  }
  .bumble-project .bumble-feature--image-right .bumble-feature-image {
    order: 1;
  }
  .bumble-project .bumble-feature-image img {
    max-height: none;
  }
  .bumble-project .bumble-feature-copy {
    max-width: 100%;
  }
  .bumble-project .bumble-ooh-frame {
    min-height: auto;
    padding: 55px 24px;
  }
  .bumble-project .bumble-lockup {
    min-height: auto;
    padding: 65px 24px;
  }
  .bumble-project .bumble-lockup-inner {
    grid-template-columns: 1fr 42%;
    gap: 18px;
  }
}
/* =========================================================
   BUMBLE CUPID — desktop sizing refinement
   Match the viewport rhythm used across the project pages.
   ========================================================= */
@media (min-width: 761px) {
  /* Hero: keep copy and artwork centred together. */
  .bumble-project .bumble-hero {
    height: 100svh;
    min-height: 680px;
    padding: 9vh 11vw 5vh;
    align-items: center;
  }
  .bumble-project .bumble-hero-copy {
    align-self: center;
    padding-top: 0;
    max-width: 610px;
  }
  .bumble-project .project-description {
    max-width: 570px;
    font-size: 17px;
    line-height: 1.42;
  }
  .bumble-project .project-credit {
    font-size: 12px;
    line-height: 1.4;
  }
  .bumble-project .bumble-hero-art {
    height: 78svh;
    align-self: center;
  }
  .bumble-project .bumble-hero-art img {
    width: min(100%, 590px);
    max-height: 78svh;
  }
  /* User flow and style guide each occupy one complete screen. */
  .bumble-project .bumble-overview {
    padding: 0;
  }
  .bumble-project .bumble-wide-block {
    width: 100%;
    height: 100svh;
    min-height: 680px;
    box-sizing: border-box;
    padding: 7vh 10vw;
  }
  .bumble-project .bumble-wide-block>p {
    width: min(520px, 100%);
    margin-bottom: 3vh;
    font-size: 15px;
    line-height: 1.42;
  }
  .bumble-project .bumble-wide-block>img {
    width: min(100%, 1380px);
    height: 68svh;
    max-height: 68svh;
    margin: 0 auto;
    object-fit: contain;
  }
  .bumble-project .bumble-style-guide {
    height: 100svh;
    min-height: 680px;
    text-align: center;
    align-items: center;
  }
  .bumble-project .bumble-style-guide h2 {
    width: 100%;
    text-align: center;
    margin-bottom: 3vh;
  }
  .bumble-project .bumble-style-guide>img {
    width: min(92vw, 1450px);
    height: 76svh;
    max-height: 76svh;
  }
  /* Phone feature sections size to their content, not a full viewport. */
  .bumble-project .bumble-feature-list {
    padding: 0 9vw;
  }
  .bumble-project .bumble-feature,
  .bumble-project .bumble-feature--rewards {
    width: min(1380px, 100%);
    height: auto;
    min-height: 0;
    padding-block: clamp(36px, 5vw, 76px);
    gap: 6vw;
  }
  .bumble-project .bumble-feature-image img {
    width: 100%;
    max-height: 82svh;
  }
  .bumble-project .bumble-feature-copy {
    max-width: 430px;
  }
  .bumble-project .bumble-feature-copy p {
    font-size: 15px;
    line-height: 1.42;
  }
  /* The framed train OOH gets one complete viewport. */
  .bumble-project .bumble-ooh-frame {
    height: 100svh;
    min-height: 680px;
    box-sizing: border-box;
    padding: 6vh 7vw;
  }
  .bumble-project .bumble-ooh-frame .bumble-ooh {
    width: min(86vw, 1450px);
    height: 84svh;
    max-height: 84svh;
    object-fit: contain;
  }
  /* Final campaign lockup follows the same one-screen rhythm. */
  .bumble-project .bumble-lockup {
    height: 100svh;
    min-height: 680px;
    box-sizing: border-box;
    padding: 7vh 9vw;
  }
  .bumble-project .bumble-lockup-inner {
    width: min(1320px, 100%);
  }
  .bumble-project .bumble-logo {
    max-height: 62svh;
  }
  .bumble-project .bumble-final-phone {
    max-height: 72svh;
  }
}
/* =========================================================
   BUMBLE CUPID — final lockup composition refinement
   Keep the logo and phone visually grouped on desktop.
   ========================================================= */
@media (min-width: 761px) {
  .bumble-project .bumble-lockup-inner {
    width: min(1120px, 82vw);
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr);
    column-gap: clamp(0px, 1.25vw, 20px);
    justify-content: center;
    align-items: center;
  }
  .bumble-project .bumble-logo {
    width: 100%;
    max-height: 64svh;
    justify-self: end;
  }
  .bumble-project .bumble-final-phone {
    width: 122%;
    max-width: none;
    max-height: 78svh;
    justify-self: start;
    transform: translateX(-4%);
  }
}
/* =========================================================
   BUMBLE CUPID — final phone placement
   Deliberately scale/shift only the phone; keep lettering unchanged.
   ========================================================= */
@media (min-width: 761px) {
  .bumble-project .bumble-final-phone {
    width: 100% !important;
    max-width: none !important;
    max-height: none !important;
    justify-self: start !important;
    transform: translateX(-22%) scale(1.28) !important;
    transform-origin: center left;
    position: relative;
    z-index: 2;
  }
}
/* =========================================================
   TWC2 BRAND IDENTITY
   ========================================================= */
.twc2-project {
  --twc2-orange: #f25c36;
  --twc2-blue: #3465ad;
  --twc2-dark: #1d1d1b;
  --twc2-paper: #f7f7f5;
  background: var(--twc2-paper);
}
.twc2-project .twc2-hero {
  min-height: 100svh;
  padding: 9vh 11vw 5vh;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 7vw;
  align-items: center;
  background: linear-gradient(110deg, #ffffff 0%, #ffffff 42%, #eef3fa 66%, #b8cae2 100%);
  box-sizing: border-box;
}
.twc2-project .twc2-hero-copy {
  max-width: 620px;
}
.twc2-project .twc2-hero-art {
  min-width: 0;
  height: 76svh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.twc2-project .twc2-hero-art img {
  display: block;
  width: min(100%, 720px);
  max-height: 76svh;
  object-fit: contain;
}
.twc2-project .project-description {
  max-width: 590px;
  font-size: 17px;
  line-height: 1.42;
}
.twc2-project .project-credit {
  font-size: 12px;
  line-height: 1.4;
  font-style: italic;
}
.twc2-project .twc2-logo-section {
  height: 100svh;
  min-height: 680px;
  padding: 7vh 10vw;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  background: #fff;
}
.twc2-project .twc2-logo-grid {
  width: min(1280px, 100%);
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  align-items: center;
}
.twc2-project .twc2-logo-panel {
  margin: 0;
  min-width: 0;
  height: 78svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.twc2-project .twc2-logo-panel h2 {
  margin: 0 0 2.5vh;
  font-family: "Inter", sans-serif;
  font-size: clamp(18px, 1.45vw, 27px);
  line-height: 1.1;
  font-weight: 700;
}
.twc2-project .twc2-logo-panel img {
  display: block;
  width: 100%;
  height: 67svh;
  object-fit: contain;
  object-position: center top;
}
.twc2-project .twc2-dark,
.twc2-project .twc2-orange {
  height: 100svh;
  min-height: 680px;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.twc2-project .twc2-dark {
  background: var(--twc2-dark);
}
.twc2-project .twc2-orange {
  background: var(--twc2-orange);
}
.twc2-project .twc2-stationery {
  padding: 6vh 8vw;
}
.twc2-project .twc2-stationery img {
  display: block;
  width: min(86vw, 1380px);
  height: 86svh;
  object-fit: contain;
}
.twc2-project .twc2-social {
  padding: 5vh 5vw;
}
.twc2-project .twc2-social img {
  display: block;
  width: min(92vw, 1500px);
  height: 90svh;
  object-fit: contain;
}
.twc2-project .twc2-website {
  padding: 5vh 5vw;
}
.twc2-project .twc2-website img {
  display: block;
  width: min(92vw, 1500px);
  height: 90svh;
  object-fit: contain;
}
.twc2-project .twc2-contact {
  background: var(--twc2-orange);
}
.twc2-project .twc2-contact .contact-form button {
  background: #4b8fd8;
}
@media (max-width: 760px) {
  .twc2-project .twc2-hero {
    min-height: auto;
    padding: 120px 24px 60px;
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .twc2-project .twc2-hero-art {
    height: auto;
  }
  .twc2-project .twc2-hero-art img {
    width: min(88vw, 560px);
    max-height: none;
  }
  .twc2-project .project-description {
    font-size: 16px;
  }
  .twc2-project .twc2-logo-section {
    height: auto;
    min-height: 0;
    padding: 60px 24px;
  }
  .twc2-project .twc2-logo-grid {
    height: auto;
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .twc2-project .twc2-logo-panel {
    height: auto;
  }
  .twc2-project .twc2-logo-panel img {
    height: auto;
    max-height: none;
  }
  .twc2-project .twc2-dark,
  .twc2-project .twc2-orange {
    height: auto;
    min-height: 0;
    padding: 55px 20px;
  }
  .twc2-project .twc2-stationery img,
  .twc2-project .twc2-social img,
  .twc2-project .twc2-website img {
    width: 100%;
    height: auto;
    max-height: none;
  }
}
/* =========================================================
   TWC2 — final visual refinements
   ========================================================= */
@media (min-width: 761px) {
  /* Stronger blue at the right side of the hero. */
  .twc2-project .twc2-hero {
    background: linear-gradient(110deg, #ffffff 0%, #ffffff 40%, #e4ecf7 63%, #91afd2 100%);
  }
  /* The exported logo graphics contain whitespace around the artwork.
     Offset the headings so they align with the visible artwork, not the PNG canvas. */
  .twc2-project .twc2-logo-panel h2 {
    width: 82%;
    margin-left: auto;
    margin-right: auto;
  }
  /* The stationery PNG already contains its own dark background: use it edge-to-edge. */
  .twc2-project .twc2-stationery {
    padding: 0;
  }
  .twc2-project .twc2-stationery img {
    width: 100vw;
    height: 100svh;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center;
  }
}
/* =========================================================
   TWC2 — verified alignment + hero colour correction
   ========================================================= */
@media (min-width: 761px) {
  .twc2-project .twc2-hero {
    background: linear-gradient(110deg, #ffffff 0%, #ffffff 34%, #d5e1f0 56%, #789bc8 100%);
  }
  .twc2-project .twc2-logo-panel h2 {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  .twc2-project .twc2-logo-panel img {
    object-position: left top;
  }
}
/* =========================================================
   TWC2 — composition sizing matched to Canva reference
   ========================================================= */
@media (min-width: 761px) {
  /* Hero: keep the artwork secondary to the copy, as in the Canva layout. */
  .twc2-project .twc2-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
    gap: 5.5vw;
  }
  .twc2-project .twc2-hero-art {
    height: 70svh;
    justify-content: center;
  }
  .twc2-project .twc2-hero-art img {
    width: min(100%, 620px);
    max-height: 70svh;
  }
  /* Logo section: bring the two compositions inward and give the artwork
     more of the available vertical space, matching the Canva proportions. */
  .twc2-project .twc2-logo-grid {
    width: min(1180px, 78vw);
    gap: 8vw;
  }
  .twc2-project .twc2-logo-panel {
    height: 82svh;
  }
  .twc2-project .twc2-logo-panel h2 {
    width: 100%;
    margin: 0 0 2.2vh;
    padding: 0;
    text-align: left;
  }
  .twc2-project .twc2-logo-panel img {
    width: 100%;
    height: 70svh;
    object-fit: contain;
    object-position: left top;
  }
}
/* =========================================================
   TWC2 — final hero + logo section centering
   ========================================================= */
@media (min-width: 761px) {
  /* Slightly reduce the hero artwork without moving the copy. */
  .twc2-project .twc2-hero-art {
    height: 66svh;
  }
  .twc2-project .twc2-hero-art img {
    width: min(100%, 570px);
    max-height: 66svh;
  }
  /* Centre the complete two-column logo composition in the viewport. */
  .twc2-project .twc2-logo-grid {
    width: min(1180px, 78vw);
    margin-left: auto;
    margin-right: auto;
    align-items: center;
  }
  .twc2-project .twc2-logo-panel {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .twc2-project .twc2-logo-panel h2,
  .twc2-project .twc2-logo-panel img {
    width: 100%;
  }
  .twc2-project .twc2-logo-panel img {
    height: 68svh;
    object-fit: contain;
    object-position: left center;
  }
}
/* =========================================================
   TWC2 — optical centering of logo + typography composition
   ========================================================= */
@media (min-width: 761px) {
  .twc2-project .twc2-logo-grid {
    position: relative;
    left: 7vw;
  }
}
/* =========================================================
   RISE BCG project
   ========================================================= */
.rise-project {
  --rise-green: #1f805f;
  --rise-cream: #eee8df;
}
.rise-hero {
  min-height: 100svh;
  padding: 9rem 10vw 5vh;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  align-items: center;
  gap: 5vw;
  background: linear-gradient(115deg, #fff 0%, #f8fbfa 45%, #acd7c9 75%, #4c9a7f 100%)
}
.rise-hero-copy {
  max-width: 620px;
  justify-self: end
}
.rise-hero-art {
  display: grid;
  place-items: center;
  min-width: 0
}
.rise-hero-art img {
  display: block;
  width: min(100%, 720px);
  max-height: 72svh;
  object-fit: contain
}
.rise-responsive {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center
}
.rise-responsive-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover
}
.rise-responsive-devices {
  position: relative;
  z-index: 1;
  width: min(82vw, 1320px);
  height: 78svh
}
.rise-device {
  position: absolute
}
.rise-device img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain
}
.rise-laptop-device {
  width: 70%;
  height: 82%;
  left: 3%;
  top: 9%
}
.rise-phone-device {
  width: 27%;
  height: 68%;
  right: 5%;
  top: 17%
}
.rise-mobile {
  min-height: 100svh;
  background: var(--rise-green);
  display: grid;
  place-items: center;
  padding: 5vh 6vw
}
.rise-mobile img {
  display: block;
  width: min(82vw, 1250px);
  max-height: 86svh;
  object-fit: contain
}
.rise-course {
  height: 100svh;
  overflow: hidden
}
.rise-course img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center
}
.rise-articles {
  min-height: 100svh;
  background: var(--rise-green);
  display: grid;
  place-items: center;
  padding: 4vh 6vw
}
.rise-articles img {
  display: block;
  width: min(82vw, 1250px);
  max-height: 90svh;
  object-fit: contain
}
.rise-contact {
  background: var(--rise-green)
}
.rise-contact .contact-form {
  background: #fff
}
.rise-contact .contact-form button {
  background: var(--rise-cream);
  color: #111
}
@media(max-width:760px) {
  .rise-hero {
    min-height: auto;
    padding: 7rem 7vw 3rem;
    grid-template-columns: 1fr;
    gap: 2.5rem
  }
  .rise-hero-copy {
    justify-self: start
  }
  .rise-hero-art img {
    width: min(90vw, 600px);
    max-height: 55svh
  }
  .rise-responsive {
    min-height: 82svh
  }
  .rise-responsive-devices {
    width: 94vw;
    height: 68svh
  }
  .rise-laptop-device {
    width: 78%;
    height: 70%;
    left: -2%;
    top: 13%
  }
  .rise-phone-device {
    width: 31%;
    height: 57%;
    right: 1%;
    top: 23%
  }
  .rise-mobile,
  .rise-articles {
    min-height: 80svh;
    padding: 3rem 5vw
  }
  .rise-course {
    height: 70svh
  }
}
/* =========================================================
   RISE BCG — final desktop tuning
   ========================================================= */
@media (min-width: 761px) {
  /* Hero artwork: flush to the viewport's right and bottom edges. */
  .rise-project .rise-hero {
    overflow: hidden;
  }
  .rise-project .rise-hero-art {
    align-self: stretch;
    justify-self: stretch;
    position: relative;
    min-height: 0;
  }
  .rise-project .rise-hero-art img {
    position: absolute;
    right: -10vw;
    bottom: -5vh;
    width: min(47vw, 800px);
    max-width: none;
    max-height: 78svh;
    object-fit: contain;
    object-position: right bottom;
  }
  /* Keep the complete responsive showcase mathematically centred. */
  .rise-project .rise-responsive-devices {
    left: auto;
    right: auto;
    transform: none;
    margin-inline: auto;
  }
  /* Frames and GIFs use the same centre point. */
  .rise-project .rise-device {
    overflow: visible;
  }
  .rise-project .rise-device img {
    left: 50%;
    top: 50%;
    right: auto;
    bottom: auto;
    transform: translate(-50%, -50%);
  }
  /* The GIF is fitted inside a smaller centred box. object-fit: contain
     preserves the complete GIF and never crops or stretches it. */
  .rise-project .rise-laptop-device img:first-child {
    z-index: 1;
    width: 88%;
    height: 78%;
    object-fit: contain;
    object-position: center;
  }
  .rise-project .rise-phone-device img:first-child {
    z-index: 1;
    width: 80%;
    height: 94%;
    object-fit: contain;
    object-position: center;
  }
  /* Hardware frames stay untouched and sit above the GIFs. */
  .rise-project .rise-laptop-device img:last-child,
  .rise-project .rise-phone-device img:last-child {
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    pointer-events: none;
  }
}
/* RISE BCG — phone screen corner fit
   Keep the phone GIF at the exact same size and centre point.
   Clip only the extreme corners so the rectangular GIF cannot protrude
   beyond the rounded transparent phone frame. */
@media (min-width: 761px) {
  .rise-project .rise-phone-device img:first-child {
    border-radius: 0;
    clip-path: inset(0.8% 0.8% 0.8% 0.8% round 18% / 8%);
  }
}
/* =========================================================
   RISE BCG — compact contact footer
   ========================================================= */
.rise-project .rise-contact {
  min-height: 0;
  padding: clamp(72px, 7vw, 105px) 7vw clamp(38px, 4vw, 58px);
  background: linear-gradient(to bottom, var(--rise-green) 0%, #3b4b46 24%, #343434 52%, #343434 100%);
  color: #fff;
}
.rise-project .rise-footer-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, .7fr);
  gap: clamp(60px, 10vw, 150px);
  align-items: end;
}
.rise-project .rise-footer-message {
  max-width: 720px;
}
.rise-project .rise-footer-message h2 {
  margin: 0 0 22px;
  font-family: "Inter", Georgia, serif;
  font-size: clamp(52px, 6.2vw, 92px);
  font-weight: 400;
  line-height: .92;
  letter-spacing: -.035em;
}
.rise-project .rise-footer-message p {
  max-width: 620px;
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(18px, 1.55vw, 24px);
  line-height: 1.4;
}
.rise-project .rise-footer-contact {
  display: grid;
  gap: 26px;
  padding-bottom: 4px;
  font-family: "Inter", sans-serif;
}
.rise-project .rise-footer-contact div {
  display: grid;
  gap: 5px;
}
.rise-project .rise-footer-contact span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  opacity: .65;
}
.rise-project .rise-footer-contact a {
  width: max-content;
  max-width: 100%;
  color: inherit;
  font-size: clamp(15px, 1.35vw, 19px);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .55);
  padding-bottom: 2px;
}
.rise-project .rise-footer-contact a:hover {
  border-bottom-color: #fff;
}
@media (max-width: 760px) {
  .rise-project .rise-contact {
    padding: 64px 7vw 42px;
  }
  .rise-project .rise-footer-shell {
    grid-template-columns: 1fr;
    gap: 54px;
    align-items: start;
  }
  .rise-project .rise-footer-message h2 {
    font-size: clamp(48px, 14vw, 70px);
  }
  .rise-project .rise-footer-message p {
    font-size: 20px;
  }
}
/* RISE BCG — final footer proportion tweaks */
@media (min-width: 761px) {
  .rise-project .rise-contact.project-contact {
    height: auto;
    min-height: 0;
    padding-top: clamp(88px, 7.5vw, 118px);
    padding-bottom: clamp(88px, 7.5vw, 118px);
  }
  .rise-project .rise-footer-message p {
    max-width: 560px;
    text-wrap: balance;
  }
}
/* RISE BCG — give the gradient more room before the footer content */
@media (min-width: 761px) {
  .rise-project .rise-contact.project-contact {
    padding-top: clamp(150px, 13vw, 210px);
  }
}
/* =========================================================
   Shared project contact footer
   Matches the approved RISE footer; only the project colour changes.
   ========================================================= */
.portfolio-footer.project-contact {
  --footer-project-color: #343434;
  height: auto;
  min-height: 0;
  padding: clamp(150px, 13vw, 210px) 7vw clamp(88px, 7.5vw, 118px);
  background: linear-gradient(to bottom, var(--footer-project-color) 0%, #343434 30%, #343434 100%);
  color: #fff;
}
.portfolio-footer.twc2-footer {
  --footer-project-color: #f25c36;
}
.portfolio-footer.bumble-footer {
  --footer-project-color: #ffc629;
}
.portfolio-footer.aya-footer {
  --footer-project-color: #dca1b7;
}
.portfolio-footer.fruitful-footer {
  --footer-project-color: #f69561;
}
.portfolio-footer-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, .7fr);
  gap: clamp(60px, 10vw, 150px);
  align-items: end;
}
.portfolio-footer-message {
  max-width: 720px;
}
.portfolio-footer-message h2 {
  margin: 0 0 22px;
  font-family: "Inter", Georgia, serif;
  font-size: clamp(52px, 6.2vw, 92px);
  font-weight: 400;
  line-height: .92;
  letter-spacing: -.035em;
}
.portfolio-footer-message p {
  max-width: 560px;
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(18px, 1.55vw, 24px);
  line-height: 1.4;
  text-wrap: balance;
}
.portfolio-footer-contact {
  display: grid;
  gap: 26px;
  padding-bottom: 4px;
  font-family: "Inter", sans-serif;
}
.portfolio-footer-contact div {
  display: grid;
  gap: 5px;
}
.portfolio-footer-contact span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  opacity: .65;
}
.portfolio-footer-contact a {
  width: max-content;
  max-width: 100%;
  color: inherit;
  font-size: clamp(15px, 1.35vw, 19px);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .55);
  padding-bottom: 2px;
}
.portfolio-footer-contact a:hover {
  border-bottom-color: #fff;
}
@media (max-width: 760px) {
  .portfolio-footer.project-contact {
    padding: 86px 7vw 58px;
  }
  .portfolio-footer-shell {
    grid-template-columns: 1fr;
    gap: 54px;
    align-items: start;
  }
  .portfolio-footer-message h2 {
    font-size: clamp(48px, 14vw, 70px);
  }
  .portfolio-footer-message p {
    font-size: 20px;
  }
}
/* =========================================================
   Project footers — match the section directly above
   ========================================================= */
.portfolio-footer.twc2-footer {
  --footer-project-color: var(--twc2-dark);
}
.portfolio-footer.fruitful-footer,
.portfolio-footer.aya-footer {
  --footer-project-color: var(--paper);
}
.portfolio-footer.bumble-footer {
  --footer-project-color: var(--bumble-yellow);
}
/* =========================================================
   Home page — full-screen opening sections + contact footer
   ========================================================= */
@media (min-width: 761px) {
  .hero,
  .about {
    height: 100svh;
    min-height: 100svh;
  }
}
.portfolio-footer.home-footer {
  --home-footer-pink: var(--pink);
  height: auto;
  min-height: 0;
  padding: clamp(150px, 13vw, 210px) 7vw clamp(88px, 7.5vw, 118px);
  background: linear-gradient(to bottom,
      #f8f8f7 0%,
      var(--home-footer-pink) 30%,
      var(--home-footer-pink) 100%);
  color: var(--ink);
}
.home-footer .portfolio-footer-contact a {
  border-bottom-color: rgba(35, 35, 35, .45);
}
.home-footer .portfolio-footer-contact a:hover {
  border-bottom-color: var(--ink);
}
@media (max-width: 760px) {
  .portfolio-footer.home-footer {
    padding: 86px 7vw 58px;
  }
}
/* =========================================================
   HOME PAGE — final interaction + section sizing
   ========================================================= */
@media (min-width: 761px) {
  .skills-section {
    min-height: 80svh;
    display: flex;
    align-items: center;
  }
  .skills-section .skills-shell {
    width: min(var(--max), calc(100% - 48px));
  }
}
/* Make each Selected Works card one complete clickable target. */
.works-section a.work-card {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.works-section a.work-card .project-link {
  text-decoration: none;
}
.works-section a.work-card:hover .project-link,
.works-section a.work-card:focus-visible .project-link {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.works-section a.work-card:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
/* =========================================================
   HOME PAGE — Skills & Knowledge + equal project cards
   ========================================================= */
.skills-section {
  background: rgb(35, 35, 35);
}
.skills-grid h3 {
  color: #fff;
  font-family: "Inter", serif;
  font-weight: 400;
  text-decoration: none;
}
@media (min-width: 761px) {
  .skills-grid {
    column-gap: 110px;
  }
  .skills-columns {
    column-gap: 75px;
  }
  .skills-grid ul {
    line-height: 1.7;
  }
  .works-section .work-card {
    height: 420px;
    min-height: 420px;
  }
}
@media (min-width: 761px) and (max-width: 1050px) {
  .works-section .work-card {
    height: 365px;
    min-height: 365px;
  }
}
/* =========================================================
   FINAL NAV + HOME ABOUT/SKILLS TUNING
   ========================================================= */
/* Navigation: no permanently underlined Home item; name removed in HTML. */
.site-header {
  justify-content: flex-end;
}
.site-header nav a:first-child {
  text-decoration: none;
}
.site-header nav a:hover,
.site-header nav a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* About contact: use the same label/value treatment as the footer. */
.mini-contact {
  margin: 62px 0 0 auto;
  width: max-content;
  display: grid;
  gap: 24px;
  font-family: "Inter", sans-serif;
}
.mini-contact div {
  display: grid;
  gap: 5px;
}
.mini-contact span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  opacity: .62;
}
.mini-contact a {
  width: max-content;
  max-width: 100%;
  color: inherit;
  font-size: clamp(14px, 1.05vw, 17px);
  line-height: 1.2;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, .45);
  padding-bottom: 2px;
}
.mini-contact a:hover {
  border-bottom-color: currentColor;
}
/* Skills & Knowledge: stronger hierarchy and more breathing room. */
.skills-section {
  background: rgb(35, 35, 35);
}
.skills-grid h3 {
  color: #fff;
  font-family: "Inter", Georgia, serif;
  font-size: clamp(25px, 2vw, 31px);
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  margin: 0 0 24px;
}
@media (min-width: 761px) {
  .skills-section h2 {
    margin-bottom: 72px;
  }
  .skills-grid ul {
    line-height: 2;
  }
}
@media (max-width: 760px) {
  .mini-contact {
    margin-top: 44px;
    margin-left: 0;
  }
  .skills-grid h3 {
    font-size: 24px;
    margin-bottom: 18px;
  }
  .skills-grid ul {
    line-height: 1.75;
  }
}
/* =========================================================
   HOME ABOUT — compact contact block
   ========================================================= */
.mini-contact {
  margin-top: 48px;
  gap: 16px;
}
.mini-contact h3 {
  width: max-content;
  margin: 0 0 2px;
  padding: 3px 7px 4px;
  background: var(--pink);
  color: #111;
  font-family: "Inter", sans-serif;
  font-size: clamp(15px, 1.1vw, 18px);
  font-style: italic;
  font-weight: 700;
  line-height: 1;
}
.mini-contact div {
  gap: 3px;
}
.mini-contact span {
  font-size: 9px;
}
.mini-contact a {
  font-size: clamp(12px, .9vw, 15px);
}
@media (max-width: 760px) {
  .mini-contact {
    margin-top: 36px;
    gap: 14px;
  }
  .mini-contact h3 {
    font-size: 16px;
  }
}

/* Site-wide utility additions */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: rgba(248, 247, 245, .9);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  backdrop-filter: blur(8px);
}
.back-to-top:hover,
.back-to-top:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 218, 231, .18);
}
@media (max-width: 760px) {
  .back-to-top {
    right: 16px;
    bottom: 16px;
  }
}

/* November 2026 — reversible Inter typography and homepage layout preview */
body {
  font-family: "Inter", sans-serif;
}
.hero h1,
.about h2,
.section-title,
.work-card h3,
.project-title,
.skills-section h2 {
  font-family: "Inter", sans-serif;
}
.hero {
  min-height: 100svh;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  padding: 90px 24px 65px;
  background: var(--pink);
  text-align: center;
}
.hero::after {
  display: none;
}
.hero .hero-feature-image {
  position: static;
  z-index: auto;
  display: block;
  width: min(36vw, 440px);
  height: min(48svh, 480px);
  max-width: 100%;
  object-fit: cover;
  border-radius: 0;
}
.hero-feature-copy {
  margin-top: 26px;
}
.hero .hero-feature-copy h1 {
  font-size: clamp(38px, 5vw, 74px);
  line-height: 1.06;
  letter-spacing: -.045em;
  font-weight: 500;
  margin: 0;
}
.hero-feature-subtitle {
  font-size: clamp(13px, 1.4vw, 17px);
  letter-spacing: .04em;
  margin: 12px 0 0;
}
.hero-scroll-cue {
  display: block;
  font-size: 42px;
  line-height: 1;
  margin-top: 25px;
  transition: transform .2s;
}
.hero-scroll-cue:hover {
  transform: translateY(5px);
}
body:has(> main > .about) .about {
  margin-top: 0;
}
@media (max-width: 760px) {
  .hero {
    min-height: 100svh;
    padding: 90px 20px 55px;
  }
  .hero .hero-feature-image {
    width: min(76vw, 340px);
    height: min(44svh, 390px);
  }
  .hero .hero-feature-copy h1 {
    font-size: clamp(35px, 9vw, 54px);
  }
  .hero-scroll-cue {
    margin-top: 25px;
  }
}

/* Homepage landing hero — responsive artwork and typography.
   Edit this section for future landing-page adjustments. */
body:has(.hero-feature-image) .hero {
  background: #fafafa;
  min-height: 100svh;
  height: auto;
  padding: clamp(80px, 9svh, 130px) clamp(20px, 4vw, 72px) clamp(30px, 5svh, 70px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
body:has(.hero-feature-image) .hero .hero-feature-image {
  position: static;
  display: block;
  width: min(84vw, 1300px);
  height: auto;
  max-width: 100%;
  max-height: 66svh;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
}
body:has(.hero-feature-image) .hero-feature-copy {
  margin-top: clamp(14px, 2.5svh, 26px);
}
body:has(.hero-feature-image) .hero .hero-feature-copy h1 {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", system-ui, sans-serif;
  font-size: clamp(34px, 3.8vw, 70px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.12;
  color: #202124;
  margin: 0;
}
body:has(.hero-feature-image) .hero-feature-subtitle {
  display: inline-block;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", system-ui, sans-serif;
  font-size: clamp(14px, 1.25vw, 20px);
  font-weight: 500;
  letter-spacing: -.012em;
  line-height: 1.2;
  color: #303136;
  margin: clamp(10px, 1.5svh, 16px) 0 0;
  padding: 9px 19px;
  border: 1.5px solid #515158;
  border-radius: 999px;
}
body:has(.hero-feature-image) .hero-scroll-cue {
  font-weight: 400;
  color: #303136;
  margin-top: clamp(14px, 2.5svh, 25px);
}
@media (max-width: 760px) {
  body:has(.hero-feature-image) .hero {
    padding: 80px 18px 35px;
  }
  body:has(.hero-feature-image) .hero .hero-feature-image {
    width: 94vw;
    max-height: 58svh;
  }
  body:has(.hero-feature-image) .hero .hero-feature-copy h1 {
    font-size: clamp(32px, 8vw, 49px);
  }
  body:has(.hero-feature-image) .hero-feature-subtitle {
    font-size: clamp(14px, 3.7vw, 18px);
    padding: 8px 17px;
  }
}
@media (max-height: 650px) and (min-width: 761px) {
  body:has(.hero-feature-image) .hero {
    padding-top: 72px;
    padding-bottom: 24px;
  }
  body:has(.hero-feature-image) .hero .hero-feature-image {
    max-height: 49svh;
  }
}

/* Heading typography consistency — match homepage name */
.project-page .project-title,
.project-page .aya-hero-copy .project-title,
.project-page .bumble-hero-copy .project-title,
.project-page .twc2-hero-copy .project-title,
.project-page .rise-hero-copy .project-title,
.about-copy h2,
.section-title,
.work-card h3,
.portfolio-footer-message h2,
.project-page .rise-footer-message h2 {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", system-ui, sans-serif;
  font-weight: 500;
  letter-spacing: -.035em;
}

/* ============================================================
   HOMEPAGE — SELECTED WORKS GALLERY
   Edit these values for future adjustments:
   responsive width | gap: 22px | aspect-ratio: 1.7 / 1
   border-radius: 18px | bottom gradient: ::after
   ============================================================ */
body:has(.hero-feature-image) .works-section {
  background: #fafafa;
}
body:has(.hero-feature-image) .works-shell {
  box-sizing: border-box;
  /* Scale up more on large displays while keeping smaller desktop margins. */
  width: min(84%, 1600px);
  max-width: 1500px;
  margin-inline: auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}
body:has(.hero-feature-image) .works-shell > .section-title {
  grid-column: 1 / -1;
  margin: 0 0 16px;
}
body:has(.hero-feature-image) .works-shell > a.work-card,
body:has(.hero-feature-image) .works-shell > a.work-card:last-child {
  box-sizing: border-box;
  position: relative;
  display: block;
  grid-column: auto;
  grid-row: auto;
  align-self: start;
  width: 100%;
  height: auto;
  min-width: 0;
  min-height: 0;
  max-height: none;
  margin: 0;
  padding: 0;
  aspect-ratio: 1.7 / 1;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
  background: #000;
  background-image: none;
}
body:has(.hero-feature-image) .works-shell .work-card::before {
  content: none;
  display: none;
}
body:has(.hero-feature-image) .works-shell .work-card::after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top,
    rgba(0, 0, 0, .72) 0%,
    rgba(0, 0, 0, .43) 21%,
    rgba(0, 0, 0, .12) 45%,
    transparent 70%);
}
body:has(.hero-feature-image) .works-shell .work-art,
body:has(.hero-feature-image) .works-shell .fruitful .work-art,
body:has(.hero-feature-image) .works-shell .rise .work-art {
  position: absolute;
  inset: 0;
  display: block;
  width: auto;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  background: none;
}
body:has(.hero-feature-image) .works-shell .work-art img,
body:has(.hero-feature-image) .works-shell .fruitful .work-art img,
body:has(.hero-feature-image) .works-shell .rise .work-art img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  object-fit: cover;
  object-position: center;
  transform: none;
}
body:has(.hero-feature-image) .works-shell .work-copy {
  box-sizing: border-box;
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  width: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  color: white;
  background: none;
  text-shadow: none;
}
body:has(.hero-feature-image) .works-shell .work-card h3 {
  margin: 0 0 10px;
  font-size: clamp(25px, 2.8vw, 43px);
  line-height: 1.06;
}
body:has(.hero-feature-image) .works-shell .work-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}
body:has(.hero-feature-image) .works-shell .work-card .tags span {
  color: white;
  background: transparent;
  border: 1px solid white;
  border-radius: 999px;
  padding: 5px 10px 4px;
  font-size: 11px;
  font-weight: 400;
}
body:has(.hero-feature-image) .works-shell .work-copy p,
body:has(.hero-feature-image) .works-shell .project-link {
  display: none;
}
/* Keep cards landscape and margins intentional across screen widths. */
@media (min-width: 761px) and (max-width: 1100px) {
  body:has(.hero-feature-image) .works-shell {
    width: calc(100% - 64px);
  }
}
@media (max-width: 760px) {
  body:has(.hero-feature-image) .works-shell {
    width: calc(100% - 40px);
    max-width: none;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  body:has(.hero-feature-image) .works-shell > a.work-card,
  body:has(.hero-feature-image) .works-shell > a.work-card:last-child {
    aspect-ratio: 1.7 / 1;
    border-radius: 16px;
  }
  body:has(.hero-feature-image) .works-shell .work-art,
  body:has(.hero-feature-image) .works-shell .fruitful .work-art,
  body:has(.hero-feature-image) .works-shell .rise .work-art {
    inset: 0;
  }
  body:has(.hero-feature-image) .works-shell .work-copy {
    padding: clamp(12px, 3vw, 20px);
  }
  body:has(.hero-feature-image) .works-shell .work-card h3 {
    font-size: clamp(19px, 4.7vw, 30px);
    margin-bottom: 7px;
  }
  body:has(.hero-feature-image) .works-shell .work-card .tags span {
    font-size: 9px;
    padding: 4px 7px;
  }
}

/* Aya Takano + TWC2: show the complete artwork within the black cards.
   Other project thumbnails continue to fill their cards edge-to-edge. */
body:has(.hero-feature-image) .works-shell .work-card.aya .work-art img,
body:has(.hero-feature-image) .works-shell .work-card.twc2 .work-art img {
  object-fit: contain;
  object-position: center;
}

/* ============================================================
   PROJECT PAGES — RESPONSIVE LAYOUT
   Shared sizing for Aya Takano, Bumble Cupid, TWC2,
   Fruitful Decisions and RISE BCG.
   Desktop compositions remain unchanged at regular widths.
   ============================================================ */
.project-page {
  overflow-x: clip;
}
.project-page main img {
  max-width: 100%;
}
.project-page .project-title {
  overflow-wrap: break-word;
}
@media (min-width: 1600px) {
  .project-page .project-title {
    font-size: clamp(52px, 3.7vw, 76px);
  }
  .bumble-project .bumble-hero,
  .twc2-project .twc2-hero,
  .rise-project .rise-hero {
    padding-left: max(8vw, calc((100vw - 1600px) / 2));
    padding-right: max(8vw, calc((100vw - 1600px) / 2));
  }
  .bumble-project .bumble-hero-art img,
  .twc2-project .twc2-hero-art img,
  .rise-project .rise-hero-art img {
    width: 100%;
    max-width: 820px;
  }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .bumble-project .bumble-hero,
  .twc2-project .twc2-hero,
  .rise-project .rise-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(22px, 4vw, 48px);
    padding-left: clamp(30px, 5vw, 64px);
    padding-right: clamp(30px, 5vw, 64px);
  }
  .bumble-project .bumble-feature-list {
    padding-left: 5vw;
    padding-right: 5vw;
  }
  .bumble-project .bumble-feature {
    gap: 4vw;
  }
  .twc2-project .twc2-logo-section {
    padding-left: 5vw;
    padding-right: 5vw;
  }
  .twc2-project .twc2-logo-grid {
    gap: 4vw;
  }
  .rise-project .rise-responsive-devices {
    width: 90vw;
  }
  .fruitful-project .project-hero-copy {
    padding-left: 5vw;
    padding-right: 4vw;
  }
  .project-page .project-title {
    font-size: clamp(38px, 4.5vw, 56px);
  }
}
@media (max-width: 760px) {
  .project-page .project-title {
    font-size: clamp(34px, 8vw, 48px);
    line-height: 1.03;
  }
  .project-page .project-description {
    font-size: clamp(13px, 3.6vw, 16px);
    line-height: 1.5;
  }
  .project-page .tags {
    flex-wrap: wrap;
  }
  .bumble-project .bumble-hero,
  .twc2-project .twc2-hero,
  .rise-project .rise-hero {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    padding-left: clamp(20px, 5vw, 32px);
    padding-right: clamp(20px, 5vw, 32px);
  }
  .bumble-project .bumble-hero-art,
  .twc2-project .twc2-hero-art,
  .rise-project .rise-hero-art {
    min-width: 0;
    height: auto;
  }
  .bumble-project .bumble-hero-art img,
  .twc2-project .twc2-hero-art img,
  .rise-project .rise-hero-art img {
    width: 100%;
    height: auto;
    max-height: min(65svh, 600px);
    object-fit: contain;
  }
  .bumble-project .bumble-feature-list {
    padding-left: clamp(20px, 5vw, 32px);
    padding-right: clamp(20px, 5vw, 32px);
  }
  .bumble-project .bumble-feature {
    width: 100%;
    min-height: 0;
    gap: 24px;
  }
  .bumble-project .bumble-feature-image img {
    max-height: none;
    height: auto;
  }
  .twc2-project .twc2-logo-grid {
    gap: clamp(30px, 7vw, 60px);
  }
  .rise-project .rise-responsive-devices {
    width: 94vw;
  }
  .fruitful-project .project-hero-copy {
    padding-left: clamp(20px, 5vw, 32px);
    padding-right: clamp(20px, 5vw, 32px);
  }
  .fruitful-project .project-hero-art {
    min-height: 0;
  }
  .fruitful-project .project-hero-art img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  .fruitful-project .project-gallery {
    padding: clamp(10px, 3vw, 20px);
  }
  .fruitful-project .project-grid {
    gap: clamp(10px, 3vw, 20px);
  }
}
@media (max-width: 480px) {
  .project-page .project-title {
    font-size: clamp(32px, 8.5vw, 40px);
  }
  .project-page .tags span {
    max-width: 100%;
  }
  .rise-project .rise-responsive-devices {
    width: 100%;
  }
}

/* ABOUT OVERLAY — shared across pages; standalone about.html remains available */
body.about-overlay-open {
  overflow: hidden;
}
.about-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #fafafa;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, visibility .22s ease;
}
.about-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.about-overlay-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fafafa;
}
.about-overlay-close {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 26px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #333;
  border-radius: 50%;
  background: #fafafa;
  color: #111;
  font: 400 29px/1 Inter, sans-serif;
  cursor: pointer;
}
.about-overlay-close:hover {
  background: #eaeaea;
}
.about-overlay-close:focus-visible {
  outline: 2px solid #111;
  outline-offset: 3px;
}
/* The iframe uses the existing About design without its navigation or footer. */
body.about-embedded {
  background: #fafafa;
}
body.about-embedded .site-header,
body.about-embedded .portfolio-footer,
body.about-embedded .back-to-top {
  display: none !important;
}
body.about-embedded .about {
  min-height: 100svh;
}
@media (max-width: 760px) {
  .about-overlay-close {
    top: 12px;
    right: 14px;
    width: 40px;
    height: 40px;
    font-size: 26px;
  }
  body.about-embedded .about {
    min-height: 0;
  }
  body.about-embedded .about-photo-panel {
    min-height: 300px;
    padding: 55px 24px 25px;
  }
  body.about-embedded .portrait {
    width: min(62%, 235px);
  }
  body.about-embedded .about-copy {
    padding: 35px 24px 65px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .about-overlay {
    transition: none;
  }
}

/* About overlay close icon: two perfectly centred strokes (not a font glyph). */
.about-overlay-close {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 0;
  line-height: 0;
}
.about-overlay-close::before,
.about-overlay-close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 17px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transform-origin: center;
}
.about-overlay-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.about-overlay-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* Shared fixed navigation: equal spacing around the links. */
.site-header,
.project-page .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: none;
  transform: none;
  box-sizing: border-box;
  padding: 18px max(8%, calc((100% - 1600px) / 2));
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  justify-content: flex-end;
  z-index: 100;
  isolation: isolate;
}
/* The opaque part fills the full header, including its lower padding.
   The fade extends BELOW the header, not through the text/padding area. */
.site-header::before,
.project-page .site-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: -12px;
  z-index: -1;
  pointer-events: none;
  background: rgba(250, 250, 250, .96);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 calc(100% - 12px), transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 calc(100% - 12px), transparent 100%);
}
.site-header nav {
  position: relative;
  z-index: 1;
  align-items: center;
}
@media (max-width: 760px) {
  .site-header,
  .project-page .site-header {
    padding: 14px 20px;
  }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .site-header,
  .project-page .site-header {
    padding-inline: 32px;
  }
}

/* Match the navigation's right edge to the Selected Works card grid.
   The translucent header background remains full browser width. */
.site-header,
.project-page .site-header {
  padding-left: 0;
  padding-right: 0;
}
.site-header nav,
.project-page .site-header nav {
  width: min(84%, 1600px);
  max-width: 1500px;
  margin-left: auto;
  margin-right: auto;
  justify-content: flex-end;
}
@media (max-width: 760px) {
  .site-header,
  .project-page .site-header {
    padding-left: 0;
    padding-right: 0;
  }
  .site-header nav,
  .project-page .site-header nav {
    width: calc(100% - 40px);
  }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .site-header,
  .project-page .site-header {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Left-side name, aligned to the Selected Works grid; links stay on right. */
.site-header nav .nav-brand,
.project-page .site-header nav .nav-brand {
  margin-right: auto;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.site-header nav .nav-brand:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 480px) {
  .site-header nav,
  .project-page .site-header nav {
    gap: 12px;
  }
  .site-header nav .nav-brand {
    font-size: 12px;
  }
}

/* Match navigation hover/focus colour to the homepage footer pink. */
.site-header nav a:hover,
.site-header nav a:focus-visible,
.project-page .site-header nav a:hover,
.project-page .site-header nav a:focus-visible {
  color: var(--pink);
}

/* HOMEPAGE MOTION TRIAL — hero, card reveals, and card hover only */
@media (prefers-reduced-motion: no-preference) {
  body:has(.hero-feature-image) .hero-feature-image {
    animation: homeHeroIn .85s cubic-bezier(.22,1,.36,1) both;
  }
  body:has(.hero-feature-image) .hero-feature-copy {
    animation: homeHeroIn .8s .15s cubic-bezier(.22,1,.36,1) both;
  }
  body:has(.hero-feature-image) .hero-scroll-cue {
    animation: homeHeroIn .7s .32s ease-out both;
  }
  @keyframes homeHeroIn {
    from {
      opacity: 0;
      transform: translateY(16px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Only hide cards when JS has successfully enabled scroll observation. */
  body.home-motion-ready .works-shell > .work-card {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.22,1,.36,1);
  }
  body.home-motion-ready .works-shell > .work-card.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
  body:has(.hero-feature-image) .works-shell .work-art img {
    filter: grayscale(1);
    transition: filter .4s ease;
  }
  @media (hover: hover) and (pointer: fine) {
    body:has(.hero-feature-image) .works-shell .work-card:hover .work-art img {
      filter: grayscale(0);
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  body.home-motion-ready .works-shell > .work-card {
    opacity: 1;
    transform: none;
  }
}

/* A darker pink for nav hover, without changing the footer's pink. */
.site-header nav a:hover,
.site-header nav a:focus-visible,
.project-page .site-header nav a:hover,
.project-page .site-header nav a:focus-visible,
.site-header .nav-brand:hover,
.site-header .nav-brand:focus-visible {
  color: #ce668c;
}
@media (prefers-reduced-motion: reduce) {
  body:has(.hero-feature-image) .works-shell .work-art img {
    transition: none;
  }
}

/* Typography: match nav character spacing to standard body copy. */
.site-header nav, .site-header nav a,
.project-page .site-header nav, .project-page .site-header nav a {
  letter-spacing: normal;
  font-family: "Inter", sans-serif;
}

/* ============================================================
   HALFTONE THUMBNAILS — Selected Works cards
   Pure-CSS halftone (screen + threshold), after
   https://leanrada.com/notes/pure-css-halftone/
   - A grey dot screen is blended over the artwork (mix-blend-mode: screen).
   - contrast(999) then snaps every pixel to pure black or white.
   - The dot gradient is shaped so dot size follows tone: shadows go solid
     black, highlights drop out to blank paper.
   Tweak: --halftone-dot (tile size: use an EVEN number of px; dot pitch is about 0.7x this, so 4px = very fine, 6px = fine, 8px = chunkier), brightness() (overall lightness;
   .532 = highlights above ~94% white drop out), blur() (ink softness).
   Hover / focus shows the original colour artwork.
   ============================================================ */
body:has(.hero-feature-image) .works-shell {
  --halftone-dot: 6px;
}
body:has(.hero-feature-image) .works-shell .work-art {
  background: #000;
  filter: brightness(.532) blur(.15px) contrast(999);
}
body:has(.hero-feature-image) .works-shell .work-art img {
  filter: grayscale(1) brightness(1.06);
}
body:has(.hero-feature-image) .works-shell .work-art::before {
  content: none;
  display: none;
}
body:has(.hero-feature-image) .works-shell .work-art::after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* Staggered dot grid (tile corners + centre) = a 45deg halftone screen that
     sits exactly on the pixel grid, so dots stay crisp and never moiré.
     The darkest of the five gradients wins, i.e. the nearest dot centre. */
  background:
    radial-gradient(circle calc(var(--halftone-dot) / 2) at 50% 50%,
      rgb(0 0 0) 19.5%,
      rgb(108 108 108) 25.7%,
      rgb(159 159 159) 31.9%,
      rgb(188 188 188) 38.1%,
      rgb(205 205 205) 44.3%,
      rgb(217 217 217) 50.5%,
      rgb(225 225 225) 56.7%,
      rgb(230 230 230) 62.9%,
      rgb(235 235 235) 69.1%,
      rgb(236 236 236) 75.2%,
      rgb(237 237 237) 81.4%,
      rgb(238 238 238) 87.6%,
      rgb(239 239 239) 93.8%,
      rgb(240 240 240) 100%),
    radial-gradient(circle calc(var(--halftone-dot) / 2) at 0 0,
      rgb(0 0 0) 19.5%,
      rgb(108 108 108) 25.7%,
      rgb(159 159 159) 31.9%,
      rgb(188 188 188) 38.1%,
      rgb(205 205 205) 44.3%,
      rgb(217 217 217) 50.5%,
      rgb(225 225 225) 56.7%,
      rgb(230 230 230) 62.9%,
      rgb(235 235 235) 69.1%,
      rgb(236 236 236) 75.2%,
      rgb(237 237 237) 81.4%,
      rgb(238 238 238) 87.6%,
      rgb(239 239 239) 93.8%,
      rgb(240 240 240) 100%),
    radial-gradient(circle calc(var(--halftone-dot) / 2) at 100% 0,
      rgb(0 0 0) 19.5%,
      rgb(108 108 108) 25.7%,
      rgb(159 159 159) 31.9%,
      rgb(188 188 188) 38.1%,
      rgb(205 205 205) 44.3%,
      rgb(217 217 217) 50.5%,
      rgb(225 225 225) 56.7%,
      rgb(230 230 230) 62.9%,
      rgb(235 235 235) 69.1%,
      rgb(236 236 236) 75.2%,
      rgb(237 237 237) 81.4%,
      rgb(238 238 238) 87.6%,
      rgb(239 239 239) 93.8%,
      rgb(240 240 240) 100%),
    radial-gradient(circle calc(var(--halftone-dot) / 2) at 0 100%,
      rgb(0 0 0) 19.5%,
      rgb(108 108 108) 25.7%,
      rgb(159 159 159) 31.9%,
      rgb(188 188 188) 38.1%,
      rgb(205 205 205) 44.3%,
      rgb(217 217 217) 50.5%,
      rgb(225 225 225) 56.7%,
      rgb(230 230 230) 62.9%,
      rgb(235 235 235) 69.1%,
      rgb(236 236 236) 75.2%,
      rgb(237 237 237) 81.4%,
      rgb(238 238 238) 87.6%,
      rgb(239 239 239) 93.8%,
      rgb(240 240 240) 100%),
    radial-gradient(circle calc(var(--halftone-dot) / 2) at 100% 100%,
      rgb(0 0 0) 19.5%,
      rgb(108 108 108) 25.7%,
      rgb(159 159 159) 31.9%,
      rgb(188 188 188) 38.1%,
      rgb(205 205 205) 44.3%,
      rgb(217 217 217) 50.5%,
      rgb(225 225 225) 56.7%,
      rgb(230 230 230) 62.9%,
      rgb(235 235 235) 69.1%,
      rgb(236 236 236) 75.2%,
      rgb(237 237 237) 81.4%,
      rgb(238 238 238) 87.6%,
      rgb(239 239 239) 93.8%,
      rgb(240 240 240) 100%);
  background-size: var(--halftone-dot) var(--halftone-dot);
  background-blend-mode: darken;
  mix-blend-mode: screen;
}
@media (max-width: 760px) {
  body:has(.hero-feature-image) .works-shell {
    --halftone-dot: 6px;
  }
}
@media (hover: hover) and (pointer: fine) {
  body:has(.hero-feature-image) .works-shell .work-card:hover .work-art,
  body:has(.hero-feature-image) .works-shell .work-card:focus-visible .work-art {
    filter: none;
  }
  body:has(.hero-feature-image) .works-shell .work-card:hover .work-art::after,
  body:has(.hero-feature-image) .works-shell .work-card:focus-visible .work-art::after {
    display: none;
  }
  body:has(.hero-feature-image) .works-shell .work-card:hover .work-art img,
  body:has(.hero-feature-image) .works-shell .work-card:focus-visible .work-art img {
    filter: grayscale(0);
    transform: none;
  }
}

/* ============================================================
   RISO LOOK — one spot-colour ink on warm paper, with grain
   Sits on top of the halftone block above: the black/white halftone
   is recoloured so black dots become ink and white becomes paper.
   Delete this whole block to go back to plain black & white.
   Try other inks: #0078bf (blue), #ff665e (red), #00a95c (green),
   #ff48b0 (fluorescent pink), #ffb511 (yellow).
   ============================================================ */
body:has(.hero-feature-image) .works-shell {
  --riso-ink: #ff5ba7;
  --riso-paper: #fffefc;
  --halftone-dot: 6px;
}
@media (max-width: 760px) {
  body:has(.hero-feature-image) .works-shell {
    --halftone-dot: 6px;
  }
}
body:has(.hero-feature-image) .works-shell > a.work-card,
body:has(.hero-feature-image) .works-shell > a.work-card:last-child {
  background: var(--riso-ink);
}
/* black dots -> ink colour (white stays white) */
body:has(.hero-feature-image) .works-shell .work-art {
  background: #000;
  mix-blend-mode: lighten;
}
/* white -> paper, plus a little paper/ink grain */
body:has(.hero-feature-image) .works-shell .work-card::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: multiply;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.8 -.42'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    var(--riso-paper);
}
@media (hover: hover) and (pointer: fine) {
  body:has(.hero-feature-image) .works-shell .work-card:hover .work-art,
  body:has(.hero-feature-image) .works-shell .work-card:focus-visible .work-art {
    mix-blend-mode: normal;
  }
  body:has(.hero-feature-image) .works-shell .work-card:hover::before,
  body:has(.hero-feature-image) .works-shell .work-card:focus-visible::before {
    display: none;
  }
}

/* Caption fade: black gradient behind the card titles. */
body:has(.hero-feature-image) .works-shell .work-card::after {
  background: linear-gradient(to top,
    rgba(0, 0, 0, .72) 0%,
    rgba(0, 0, 0, .43) 21%,
    rgba(0, 0, 0, .12) 45%,
    transparent 70%);
}

/* OPTIONAL — "no dots" mode: smooth pink-and-white duotone, maximum
   legibility. To use it, delete the two lines below that contain only
   the comment markers (the opening slash-star and the closing star-slash). */
/*
body:has(.hero-feature-image) .works-shell .work-art {
  filter: none;
}
body:has(.hero-feature-image) .works-shell .work-art::after {
  display: none;
}
body:has(.hero-feature-image) .works-shell .work-art img {
  filter: grayscale(1) contrast(1.1);
}
*/

/* Halftone fineness by screen sharpness: standard screens keep 6px so small
   details stay readable; retina / high-density screens get the very fine 4px. */
@media (min-resolution: 1.5dppx) {
  body:has(.hero-feature-image) .works-shell {
    --halftone-dot: 4px;
  }
}
