/* Scope the new composition to the homepage so existing case studies keep their layouts. */
.homepage-v2 {
  --forest: #303e34;
  --cream: #fffdf5;
  --clay: #b86b50;
  --muted: #60695c;
  background: radial-gradient(ellipse at 90% 5%, #e2e7d6 0, transparent 34%), var(--paper);
}
.homepage-v2 main { overflow: clip; }
.homepage-v2 h2 em, .homepage-v2 h3 em { font-weight: normal; }
.homepage-v2 h2 em { color: var(--sage); }
.homepage-v2 [hidden] { display: none !important; }
.homepage-v2 .label { font-size: 10px; letter-spacing: .14em; }
.homepage-v2 .hero-layout { min-height: 660px; grid-template-columns: 1.06fr 1fr; gap: 30px; }
.homepage-v2 h1 { font-size: clamp(64px, 6.7vw, 91px); }
.homepage-v2 .hero-copy > .hero-introduction { color: var(--ink); font-size: 23px; line-height: 1.4; margin-bottom: 14px; }
.homepage-v2 .hero-copy > p:not(.hero-introduction) { font-size: 15px; max-width: 365px; }
.homepage-v2 .hero-actions { gap: 20px; }
.homepage-v2 .hero-actions .button { padding: 14px 20px; font-size: 13px; }
.homepage-v2 .studio-board { height: 550px; }
.homepage-v2 .board-grid { inset: 20px 12px 50px 35px; background-color: #dfe5d2; transform: rotate(2deg); }
.homepage-v2 .board-note { top: 8px; left: 7px; width: 240px; transform: rotate(-8deg); }
.homepage-v2 .board-note p { font-size: 23px; }
.homepage-v2 .board-phone { top: 220px; left: 30px; width: 129px; z-index: 2; }
.homepage-v2 .board-plaid { top: 128px; right: 12px; width: 60%; max-width: 286px; transform: rotate(8deg); }
.homepage-v2 .board-stamp { bottom: 16px; right: 4px; background: #f5f2e9; z-index: 3; }
.board-tool { position: absolute; right: 62px; bottom: 1px; width: 215px; padding: 17px 20px; background: var(--forest); color: var(--cream); transform: rotate(-4deg); text-decoration: none; box-shadow: 0 15px 25px #26321e18; }
.board-tool .label { color: #e3e8d6; font-size: 9px; }
.board-tool > span:last-child { font-size: 10px; }
.board-tool-flow { display: flex; align-items: center; gap: 10px; margin: 15px 0; }
.board-tool-flow i { width: 27px; height: 23px; border: 1px solid #adbb98; border-radius: 3px; }
.board-tool-flow i:last-child { background: #adbb98; }
.board-tool-flow b { font-size: 12px; font-weight: normal; }
.homepage-v2 .hero-footnote { padding: 20px 0; }
.homepage-v2 .hero-footnote span span { margin-left: 14px; }
.homepage-v2 .selected-work { padding: 85px 0 76px; }
.homepage-v2 .section-head { margin-bottom: 42px; }
.homepage-v2 .section-head h2 { font-size: clamp(36px, 4vw, 53px); }
.homepage-v2 .section-head > p { max-width: 310px; font-size: 14px; }

/* Each work has its own visual language, with one shared editorial structure. */
.project { display: grid; grid-template-columns: 1fr 1.08fr; margin-bottom: 28px; min-height: 585px; }
.project:last-child { margin-bottom: 0; }
.project-copy { padding: 48px; display: flex; flex-direction: column; align-items: flex-start; }
.project-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 38px; }
.project-status { font-size: 9px; padding: 4px 9px; border: 1px solid #8c947342; border-radius: 20px; }
.project h3 { margin: 0 0 22px; font-size: clamp(35px, 3.9vw, 52px); line-height: 1.08; letter-spacing: -.045em; }
.project h3 em { color: var(--sage); }
.project-copy > p { font-size: 15px; line-height: 1.75; max-width: 380px; color: var(--muted); margin: 0 0 28px; }
.project-detail { padding-top: 18px; border-top: 1px solid #9c9e873d; max-width: 350px; }
.project-detail p { font-size: 12px; line-height: 1.8; color: var(--muted); margin: 8px 0 25px; }
.project-link { font-size: 13px; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 7px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.project-link span { font-size: 19px; }
.project-name { margin-top: auto; padding-top: 28px; color: var(--muted); font-size: 10px; }
.project-litho { background: #eae5d8; }
.litho-exhibit { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 45px 20px 24px; overflow: hidden; background: radial-gradient(ellipse at 50% 55%, #f9f6eb 0, transparent 62%), #e3dfd0; }
.exhibit-wordmark { position: absolute; top: 23px; left: 25px; color: #c6c4b0; font: 110px/1 Georgia, serif; letter-spacing: -.06em; z-index: -1; }
.litho-screens { display: flex; gap: 18px; justify-content: center; width: 100%; position: relative; }
.litho-screens figure { margin: 0; width: min(42%, 175px); }
.litho-screens.interactive figure { width: 193px; }
.litho-screens img { display: block; width: 100%; height: auto; border: 5px solid #354034; border-radius: 29px; box-shadow: 18px 25px 45px #29372625; }
.litho-screens figcaption { text-align: center; font-size: 10px; margin: 16px -20px 12px; color: #525b49; }
.view-controls { display: flex; gap: 5px; padding: 4px; border: 1px solid #b8beaa; border-radius: 30px; margin-top: 6px; background: #f6f3e9b3; }
.view-controls button { background: transparent; border: 0; color: #58604f; cursor: pointer; padding: 9px 19px; font: inherit; font-size: 11px; border-radius: 20px; }
.view-controls button[aria-pressed="true"] { background: var(--forest); color: var(--cream); }
.exhibit-note { text-align: center; font-size: 9px; line-height: 1.6; margin-top: 17px; color: var(--muted); }
.exhibit-orbit { position: absolute; width: 430px; height: 430px; border: 1px solid #b9beaa70; border-radius: 50%; transform: scaleX(1.25) rotate(-25deg); z-index: -1; }

.project-content { background: var(--forest); color: var(--cream); grid-template-columns: 1fr 1.08fr; }
.project-content .label { color: #c5d2ad; }
.project-content .project-status { border-color: #c5d2ad45; color: #d6decc; }
.project-content h3 em { color: #c5d2ad; }
.project-content .project-copy > p, .project-content .project-detail p, .project-content .project-name { color: #d1d8c7; }
.project-content .project-detail { border-color: #d6decc30; }
.workflow-exhibit { margin: 23px 23px 23px 0; align-self: stretch; padding: 27px; display: flex; flex-direction: column; justify-content: center; background: radial-gradient(#b6c5a12b .8px, transparent .8px), #38483a; background-size: 15px 15px; border: 1px solid #7c8e6b55; }
.workflow-topline { display: flex; justify-content: space-between; font-size: 9px; letter-spacing: .14em; color: #d2ddbf; }
.workflow-topline > span:last-child { font-size: 17px; }
.workflow-map { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 32px 0; }
.map-node { flex: 1; border: 1px solid #b3c19e70; padding: 12px 10px; background: #405140; font-size: 12px; border-radius: 4px; }
.map-node > span { display: block; font-size: 8px; margin-top: 8px; color: #cfdbbd; }
.map-node i { width: 5px; height: 5px; background: #cedab3; display: inline-block; border-radius: 50%; margin-right: 7px; }
.map-node.active { background: #d9e2c9; color: #303e34; }
.map-node.active > span { color: #4a5c3a; }
.map-node.active i { background: #657c50; }
.map-connector { color: #bdcdaa; font-size: 14px; }
.workflow-output { display: grid; grid-template-columns: .85fr 1fr; gap: 24px; align-items: center; min-height: 245px; }
.sample-card { background: #f3efdf; color: var(--forest); padding: 17px; transform: rotate(-5deg); box-shadow: 8px 12px 0 #26372b4f; min-height: 237px; display: flex; flex-direction: column; justify-content: space-between; }
.sample-card > span { font-size: 8px; }
.sample-card > strong { font: 29px/1.05 Georgia, serif; letter-spacing: -.04em; font-weight: normal; margin-top: 20px; }
.sample-card em { color: #788260; }
.sample-card > span:last-child { display: flex; justify-content: space-between; padding-top: 12px; border-top: 1px solid #b9bfaa; }
.sample-lines { height: 36px; margin: 18px 0; background: repeating-linear-gradient(0deg, transparent 0 7px, #b7c2a7 7px 8px); width: 75%; }
.workflow-description h4 { font: 25px/1.15 Georgia, serif; font-weight: normal; letter-spacing: -.02em; margin: 12px 0; }
.workflow-description p { color: #d1d8c7; font-size: 12px; line-height: 1.8; margin: 0; }
.workflow-description .label { font-size: 8px; }
.workflow-controls { display: flex; gap: 0; border-top: 1px solid #88997270; margin-top: 28px; }
.workflow-controls button { flex: 1; border: 0; border-top: 2px solid transparent; background: transparent; color: #c3d0b3; padding: 14px 0 8px; text-align: left; cursor: pointer; font: inherit; font-size: 10px; }
.workflow-controls button span { margin-left: 7px; }
.workflow-controls button[aria-pressed="true"] { border-top-color: #d6e1c1; color: var(--cream); }
.workflow-exhibit .exhibit-note { color: #cad6bc; text-align: left; margin-top: 12px; font-size: 8px; }
.workflow-exhibit[data-step="refine"] .sample-lines { width: 100%; }
.workflow-exhibit[data-step="make"] .sample-card { transform: rotate(0); }

.project-plaid { grid-template-columns: 1.08fr 1fr; background: #efe1d0; }
.project-plaid .project-kicker .label, .project-plaid h3 em { color: #8c4935; }
.project-plaid .project-status { border-color: #9c614741; }
.plaid-exhibit { position: relative; padding: 35px; overflow: hidden; background: linear-gradient(135deg, #c87d5f, #b66b52); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.plaid-edition { font-size: 9px; letter-spacing: .12em; color: #fff0df; position: absolute; left: 28px; top: 28px; }
.plaid-count { position: absolute; right: -12px; top: 4px; font: 220px/1 Georgia, serif; color: #e9b39360; letter-spacing: -.08em; }
.plaid-exhibit > img { display: block; width: 78%; max-width: 350px; height: auto; transform: rotate(-8deg); box-shadow: 18px 25px 35px #65361f38; position: relative; margin: 20px 0 35px; }
.collection-palette { display: flex; align-items: center; gap: 7px; align-self: flex-start; margin-left: 10px; }
.collection-palette > span:not(:last-child) { display: block; width: 22px; height: 22px; background: #f4efdf; border: 1px solid #ffffff33; }
.collection-palette > span:nth-child(2) { background: #747d5e; }
.collection-palette > span:nth-child(3) { background: #303d34; }
.collection-palette > span:nth-child(4) { background: #ac573f; }
.collection-palette > span:last-child { font-size: 9px; color: #fff0df; margin-left: 6px; }

/* The maker study is drawn in code, not presented as a photograph of a real workspace. */
.maker-section { display: grid; grid-template-columns: .95fr 1fr; align-items: center; gap: 90px; padding: 35px 0 80px; }
.maker-study { position: relative; height: 415px; }
.study-grid { position: absolute; inset: 12px 18px 30px 12px; background: linear-gradient(#a7b39536 1px, transparent 1px), linear-gradient(90deg, #a7b39536 1px, transparent 1px), #dce3d1; background-size: 22px 22px; transform: rotate(-3deg); }
.study-sheet { position: absolute; width: 76%; left: 12%; top: 35px; padding: 24px; background: #fffcf1; box-shadow: 8px 15px 25px #37472d15; transform: rotate(7deg); color: #6b795a; }
.study-sheet svg { display: block; width: 100%; height: auto; margin: 5px 0 10px; }
.study-sheet > span:last-child { font: italic 15px Georgia, serif; }
.study-colours { position: absolute; bottom: 22px; left: 20px; padding: 12px; display: flex; align-items: center; gap: 7px; background: #fffdf5; transform: rotate(-7deg); box-shadow: 0 5px 20px #37472d12; }
.study-colours > span:not(:last-child) { width: 22px; height: 36px; background: #dedacb; }
.study-colours > span:nth-child(2) { background: #69765d; }
.study-colours > span:nth-child(3) { background: #ac654b; }
.study-colours > span:last-child { font-size: 9px; margin-left: 6px; }
.study-monogram { position: absolute; right: 0; bottom: 40px; background: var(--forest); color: #f5f2e9; width: 95px; height: 95px; border-radius: 50%; display: grid; place-content: center; font: italic 41px Georgia, serif; transform: rotate(10deg); }
.study-caption { position: absolute; bottom: -12px; left: 36px; font-size: 10px; color: var(--muted); }
.maker-copy h2 { font-size: clamp(37px, 3.8vw, 50px); margin: 18px 0 26px; }
.maker-copy p { font-size: 14px; color: var(--muted); line-height: 1.9; }
.maker-copy .maker-intro { font-size: 18px; color: var(--ink); line-height: 1.5; }
.maker-signoff { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.maker-signature { font: italic 23px "Iowan Old Style", Georgia, serif; color: #85624c; }
.homepage-v2 .studio-services { gap: 85px; padding: 65px 0; }
.homepage-v2 .studio-services h2 { font-size: clamp(36px, 3.6vw, 48px); }
.homepage-v2 .studio-shop-note { background: #e3e7d8; padding: 30px 38px; border: 0; }
.homepage-v2 .studio-shop-note h2 { font-size: 29px; }
.homepage-v2 .studio-shop-note p { max-width: 490px; }
.homepage-v2 .studio-contact { padding: 75px 0 65px; }
.homepage-v2 .studio-contact h2 { font-size: clamp(48px, 6.6vw, 86px); }

/* Arrival motion is optional: no content starts hidden and reduced motion stays still. */
@media (prefers-reduced-motion: no-preference) {
  .arrived { animation: work-arrival .65s ease-out; }
  .project-link span { transition: transform .2s ease; }
  .project-link:hover span { transform: translate(3px, -3px); }
  .sample-card { transition: transform .3s ease; }
  @keyframes work-arrival { from { transform: translateY(16px); } to { transform: translateY(0); } }
}
@media (max-width: 1050px) {
  .homepage-v2 .hero-layout { min-height: 590px; }
  .homepage-v2 h1 { font-size: 69px; }
  .homepage-v2 .studio-board { height: 490px; }
  .homepage-v2 .board-note { width: 215px; padding: 20px; }
  .homepage-v2 .board-note p { font-size: 21px; }
  .homepage-v2 .board-phone { width: 110px; top: 217px; left: 15px; }
  .homepage-v2 .board-plaid { top: 153px; }
  .board-tool { width: 190px; right: 35px; padding: 12px 16px; }
  .project-copy { padding: 35px; }
  .project-kicker { margin-bottom: 28px; }
  .workflow-exhibit { padding: 20px; margin: 18px 18px 18px 0; }
  .workflow-output { gap: 17px; }
  .sample-card { padding: 14px; min-height: 220px; }
  .sample-card > strong { font-size: 25px; }
  .workflow-description h4 { font-size: 23px; }
  .maker-section { gap: 45px; }
  .homepage-v2 .studio-services { gap: 45px; }
}
@media (max-width: 760px) {
  .homepage-v2 .hero-layout { grid-template-columns: 1fr; min-height: auto; }
  .homepage-v2 h1 { font-size: clamp(55px, 11vw, 78px); }
  .homepage-v2 .hero-copy { padding-bottom: 25px; }
  .homepage-v2 .hero-copy > .hero-introduction { font-size: 22px; }
  .homepage-v2 .studio-board { height: 480px; max-width: 470px; margin-top: 15px; margin-bottom: 35px; }
  .homepage-v2 .board-phone { top: 202px; left: 18px; }
  .homepage-v2 .board-plaid { top: 132px; }
  .homepage-v2 .board-stamp { width: 95px; height: 95px; font-size: 16px; }
  .homepage-v2 .selected-work { padding: 48px 0; }
  .homepage-v2 .section-head { margin-bottom: 28px; }
  .homepage-v2 .section-head > p { max-width: 420px; }
  .project, .project-content, .project-plaid { grid-template-columns: 1fr; }
  .project { min-height: auto; margin-bottom: 22px; }
  .project-copy { padding: 30px; }
  .project h3 { font-size: clamp(36px, 7vw, 48px); }
  .project-kicker { margin-bottom: 24px; }
  .project-copy > p { max-width: 100%; margin-bottom: 22px; }
  .project-detail { max-width: 100%; }
  .project-name { padding-top: 22px; }
  .litho-exhibit { padding: 40px 20px 25px; min-height: 545px; }
  .exhibit-wordmark { font-size: 105px; }
  .workflow-exhibit { margin: 0 15px 15px; padding: 23px; }
  .workflow-output { grid-template-columns: .85fr 1fr; gap: 22px; }
  .sample-card { min-height: 230px; }
  .workflow-description h4 { font-size: 25px; }
  .plaid-exhibit { min-height: 430px; grid-row: 2; }
  .plaid-exhibit > img { width: 72%; max-width: 300px; }
  .maker-section { grid-template-columns: 1fr; gap: 40px; padding: 10px 0 50px; }
  .maker-study { height: 390px; max-width: 430px; width: 100%; margin: auto; }
  .maker-copy { max-width: 550px; }
  .maker-copy h2 { font-size: 40px; }
  .homepage-v2 .studio-services { grid-template-columns: 1fr; gap: 35px; padding: 45px 0; }
  .homepage-v2 .studio-shop-note { padding: 26px; gap: 12px; }
  .homepage-v2 .studio-contact { padding: 50px 0; }
}
/* Stack the illustration and explanation on phones so neither becomes a narrow text column. */
@media (max-width: 500px) {
  .workflow-output { grid-template-columns: 1fr; gap: 26px; }
  .sample-card { width: 100%; max-width: 220px; min-height: 215px; justify-self: center; }
  .workflow-description h4 { font-size: 27px; }
  .workflow-description p { font-size: 13px; }
  .workflow-controls button { min-height: 44px; font-size: 12px; }
  .view-controls button { min-height: 44px; font-size: 12px; }
}
@media (max-width: 380px) {
  .homepage-v2 header, .homepage-v2 main, .homepage-v2 footer { padding-left: 18px; padding-right: 18px; }
  .homepage-v2 h1 { font-size: 52px; }
  .homepage-v2 .hero-actions { gap: 17px; }
  .homepage-v2 .board-note { width: 200px; }
  .homepage-v2 .board-plaid { right: 0; }
  .board-tool { right: 15px; width: 175px; }
  .project-copy { padding: 25px; }
  .project-kicker { gap: 8px; }
  .project-kicker .label { font-size: 9px; }
  .workflow-exhibit { padding: 18px; margin: 0 12px 12px; }
  .workflow-output { gap: 17px; }
  .sample-card { padding: 12px; min-height: 210px; }
  .sample-card > strong { font-size: 23px; }
  .workflow-description h4 { font-size: 26px; }
  .map-node { padding: 10px 7px; font-size: 10px; }
  .workflow-map { gap: 5px; }
  .workflow-description p { font-size: 13px; }
  .study-sheet { padding: 20px; }
  .maker-study { height: 355px; }
  .maker-copy h2 { font-size: 37px; }
}
