.work-collection {
  --work-ink: #193e33;
  --work-paper: #f8f6ed;
  --work-rust: #a6482e;
  --work-rule: #c7ccbe;
  --work-serif: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, Georgia, serif;
  padding-block: clamp(66px, 8vw, 120px);
  color: var(--work-ink);
  background: #fffef8;
}
.work-heading { display: flex; align-items: end; justify-content: space-between; gap: 45px; margin-bottom: 46px; }
.work-heading .eyebrow { margin-bottom: 18px; }
.work-heading h2 { font: 600 clamp(37px, 4.4vw, 62px)/1.35 var(--work-serif); letter-spacing: -.055em; margin: 0; }
.work-heading-copy { display: flex; gap: 25px; align-items: end; padding-bottom: 4px; }
.work-count { font: italic 104px/.9 Georgia, serif; letter-spacing: -.09em; color: #c5cbbb; }
.work-heading-copy p { margin: 0; font-size: 14px; line-height: 1.9; color: #4c5c4e; }
.work-grid { display: grid; grid-template-columns: minmax(0, 1.32fr) repeat(2, minmax(0, 1fr)); gap: 50px 29px; align-items: start; }
.work-card { min-width: 0; }
.work-card[hidden] { display: none; }
.work-card a { color: inherit; text-decoration: none; }
.work-card a:focus-visible { outline: 3px solid var(--work-rust); outline-offset: 7px; }
.work-feature { grid-column: 1 / -1; }
.work-feature-link { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); min-height: 450px; border: 1px solid var(--work-rule); background: var(--work-paper); }
.work-visual { position: relative; overflow: hidden; isolation: isolate; }
.work-grams-visual { background: #daddcd; display: grid; align-items: center; padding: clamp(24px, 3.2vw, 45px); min-height: 450px; }
.work-grams-visual::before { content: ''; position: absolute; width: 54%; aspect-ratio: 1; border-radius: 50%; right: -10%; top: -12%; background: #c4ccba; z-index: -1; }
.grams-window { container-type: inline-size; width: 100%; padding: 0; color: #efe7d2; background: #172018; border: 1px solid #2a372a; box-shadow: 12px 17px 0 #193e3315; transform: rotate(-2deg); transition: transform .3s; }
.grams-window-nav { display: flex; justify-content: space-between; align-items: center; gap: 18px; border-bottom: 1px solid #c3b98040; padding: 4cqw 5cqw; }
.grams-window-nav b { font: 600 3.3cqw/1.2 Georgia, serif; letter-spacing: .02em; }
.grams-window-nav > span { font: 400 2cqw/1.3 sans-serif; letter-spacing: .07em; color: #c6c9b9; }
.grams-window-main { display: grid; grid-template-columns: 1.1fr 1fr; padding: 6cqw 5cqw 7cqw; gap: 3cqw; }
.grams-window-copy { min-width: 0; }
.grams-window-copy small { display: block; color: #c7b378; font: 600 1.7cqw/1.4 Arial, sans-serif; letter-spacing: .08em; margin-bottom: 4cqw; }
.grams-window-copy > strong { display: block; font: 500 10.5cqw/.98 Georgia, serif; letter-spacing: -.07em; }
.grams-window-copy em { color: #dfc68b; font-weight: 400; }
.grams-window-copy p { font-size: 2.6cqw; line-height: 1.9; margin: 4cqw 0 5cqw; color: #d9dbcc; }
.grams-window-button { display: flex; align-items: center; justify-content: space-between; width: 90%; padding: 2.7cqw 3cqw; background: #d3be83; color: #213022; font-size: 2cqw; line-height: 1.4; font-weight: 700; }
.grams-window-art { position: relative; display: flex; flex-direction: column; justify-content: center; background: radial-gradient(ellipse at 45% 60%, #48503977, #27362940); border: 1px solid #b9ac6f3d; }
.grams-window-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.grams-art-footer { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; gap: 5px; padding: 0 10% 10%; font: 500 1.7cqw/1.3 Arial, sans-serif; letter-spacing: .1em; color: #d7ca9a; }
.work-visual-label { position: absolute; bottom: 15px; left: 22px; font: 600 9px/1.5 monospace; color: #53674f; letter-spacing: .1em; }
.work-feature-text { display: flex; flex-direction: column; justify-content: center; padding: clamp(26px, 3.2vw, 46px); }
.work-card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 19px 0 10px; }
.work-feature-text .work-card-top { margin: 0 0 33px; }
.work-number { font: italic 23px/1 Georgia, serif; color: var(--work-rust); }
.work-kind { font-size: 12px; line-height: 1.65; color: #51614f; }
.work-category { font-size: 12px; line-height: 1.7; color: #526251; margin: 0 0 10px; }
.work-feature h3 { font: 500 clamp(34px, 4.1vw, 56px)/.98 Georgia, serif; letter-spacing: -.045em; margin: 0 0 23px; }
.work-feature-deck { font: 600 21px/1.55 var(--work-serif); margin: 0 0 14px; letter-spacing: -.025em; }
.work-description { font-size: 14px; line-height: 1.9; color: #4a5b4c; margin: 0; }
.work-action { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; font-size: 13px; line-height: 1.6; font-weight: 700; border-bottom: 1px solid #b7c2ae; margin-top: 15px; }
.work-action > span { width: 31px; height: 31px; flex: 0 0 31px; display: grid; place-items: center; border-radius: 50%; background: #e9eddf; color: var(--work-rust); font-size: 19px; transition: background .2s, transform .2s; }
.work-feature .work-action { margin-top: 15px; border-color: #afbaa5; }
.work-card-link { display: flex; height: 100%; flex-direction: column; }
.work-card-link h3 { font: 600 clamp(22px, 2.05vw, 28px)/1.5 var(--work-serif); letter-spacing: -.045em; margin: 0 0 8px; }
.work-document-visual { min-height: 330px; padding: 29px 34px 39px; background: #d9dfcc; display: grid; place-items: center; container-type: inline-size; }
.work-paper-shadow { position: absolute; width: 72%; height: 74%; background: #71816b; transform: rotate(5deg); opacity: .13; }
.work-paper { width: 100%; max-width: 370px; background: #fffdf6; padding: 20px 22px 16px; box-shadow: 0 5px 18px #30432b17; transform: rotate(-4deg); transition: transform .3s; }
.work-paper-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; border-bottom: 1px solid #8f9f8c; padding-bottom: 11px; }
.work-paper-head b { font: 600 17px/1.4 var(--work-serif); }
.work-paper-head > span { font: 600 6px/1.4 Arial, sans-serif; letter-spacing: .1em; }
.work-paper > p { margin: 18px 0 7px; color: var(--work-rust); font-size: 7px; line-height: 1.5; }
.work-paper > strong { display: block; font: 600 clamp(15px, 5cqw, 21px)/1.6 var(--work-serif); letter-spacing: -.05em; margin-bottom: 15px; }
.work-paper-lines { display: grid; border-top: 1px solid #b4bfaa; }
.work-paper-lines > span { display: flex; align-items: center; gap: 15px; padding: 8px 0; border-bottom: 1px solid #d7dccf; font-size: 11px; line-height: 1.4; font-weight: 600; }
.work-paper-lines i { font: italic 14px/1.3 Georgia, serif; color: var(--work-rust); }
.work-paper-contact { margin-top: 13px; display: grid; gap: 3px; }
.work-paper-contact span { font-size: 8px; }
.work-paper-contact b { font: 500 12px/1.5 Georgia, serif; }
.work-small { padding-top: 54px; }
.work-small .work-visual { aspect-ratio: 1.22; container-type: inline-size; display: flex; flex-direction: column; }
.work-sample-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 5cqw 5cqw 4cqw; }
.work-sample-head b { font-size: 4.3cqw; line-height: 1.3; }
.work-sample-head span { font-size: 2.4cqw; line-height: 1.3; }
.work-sample-foot { padding: 3cqw 5cqw; font-size: 2.7cqw; line-height: 1.7; margin: 0; }
.work-sumika-visual { color: #534334; background: #eae5d9; }
.work-sumika-photo { position: relative; flex: 1; min-height: 0; }
.work-sumika-photo img { display: block; width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.work-sumika-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #1b211cb8, transparent); }
.work-sumika-photo strong { position: absolute; bottom: 9%; left: 6%; z-index: 1; color: #fffdf1; font: 500 9.2cqw/1.45 var(--work-serif); letter-spacing: .025em; }
.work-aoba-visual { color: #214d40; background: #eaf0df; }
.work-aoba-photo { display: flex; flex-direction: column; flex: 1; min-height: 0; position: relative; }
.work-aoba-photo > strong { font: 600 7.8cqw/1.5 var(--work-serif); letter-spacing: -.04em; padding: 0 5cqw 5cqw; }
.work-aoba-photo img { width: 100%; min-height: 0; height: 0; flex: 1; object-fit: cover; object-position: center 44%; }
.work-aoba-visual .work-sample-foot { background: #315a46; color: #f8f6ed; }
.work-card-link .work-action { margin-top: 8px; }
.work-card a:hover .work-action { text-decoration: underline; text-underline-offset: 4px; }
.work-card a:hover .work-action > span { background: #dbe3ce; transform: translateX(2px); }
.work-card a:hover .grams-window, .work-card a:hover .work-paper { transform: rotate(0deg); }
.work-bottom-note { display: flex; flex-wrap: wrap; gap: 10px 30px; justify-content: space-between; align-items: center; margin-top: 28px; font-size: 12px; line-height: 1.8; color: #586850; }
.work-bottom-note p { margin: 0; }
.work-bottom-note a { text-underline-offset: 4px; min-height: 44px; display: inline-flex; align-items: center; gap: 20px; }
@media (max-width: 1050px) {
  .work-heading { gap: 30px; }
  .work-count { font-size: 84px; }
  .work-heading-copy { gap: 18px; }
  .work-heading-copy p { font-size: 13px; }
  .work-feature-link { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .work-feature-text { padding: 27px; }
  .work-feature-text .work-card-top { margin-bottom: 24px; }
  .work-grid { gap: 36px 22px; }
  .work-kind { font-size: 11px; }
  .work-document-visual { padding-inline: 24px; }
  .work-paper { padding-inline: 16px; }
}
@media (max-width: 800px) {
  .work-heading { display: grid; gap: 24px; margin-bottom: 32px; }
  .work-heading-copy { align-items: center; }
  .work-count { font-size: 62px; }
  .work-heading-copy p br { display: none; }
  .work-heading-copy p { font-size: 14px; max-width: 34em; }
  .work-feature-link { grid-template-columns: 1fr; }
  .work-grams-visual { min-height: 0; padding: 30px 9% 40px; }
  .grams-window { max-width: 560px; margin-inline: auto; }
  .work-feature-text { display: grid; grid-template-columns: .9fr 1fr; gap: 0 28px; padding: 27px 30px; align-items: start; }
  .work-feature-text .work-card-top { grid-column: 1 / -1; margin-bottom: 24px; }
  .work-feature h3 { grid-column: 1; grid-row: 3 / 5; font-size: 44px; margin-bottom: 0; }
  .work-category { grid-column: 1; grid-row: 2; }
  .work-feature-deck { grid-column: 2; grid-row: 2 / 4; margin-bottom: 10px; }
  .work-feature-text .work-description { grid-column: 2; grid-row: 4; }
  .work-feature .work-action { grid-column: 1 / -1; margin-top: 9px; }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 22px; }
  .work-document { grid-column: 1 / -1; }
  .work-document .work-card-link { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto 1fr auto; column-gap: 28px; }
  .work-document-visual { grid-row: 1 / -1; min-height: 315px; }
  .work-document .work-card-top { margin-top: 0; }
  .work-document .work-description { margin-top: 4px; }
  .work-small { padding-top: 0; }
  .work-small .work-visual { aspect-ratio: 1.45; }
  .work-kind { font-size: 12px; }
}
@media (max-width: 540px) {
  .work-collection { padding-block: 53px; }
  .work-heading h2 { font-size: clamp(36px, 9.3vw, 47px); }
  .work-heading .eyebrow { margin-bottom: 16px; }
  .work-heading-copy { gap: 21px; }
  .work-count { font-size: 55px; }
  .work-heading-copy p { font-size: 13px; }
  .work-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .work-grams-visual { padding: 30px 20px 37px; }
  .grams-window { box-shadow: 7px 10px 0 #193e3315; }
  .work-visual-label { font-size: 8px; bottom: 10px; left: 19px; }
  .work-feature-text { display: block; padding: 23px; }
  .work-feature-text .work-card-top { margin-bottom: 20px; }
  .work-category { font-size: 12px; }
  .work-feature h3 { font-size: 38px; margin: 0 0 18px; }
  .work-feature h3 br { display: none; }
  .work-feature-deck { font-size: 20px; margin: 0 0 10px; }
  .work-feature-deck br { display: none; }
  .work-description { font-size: 14px; line-height: 1.85; }
  .work-feature .work-action { margin-top: 11px; }
  .work-document .work-card-link { display: flex; }
  .work-document-visual { min-height: 300px; padding: 25px 38px 34px; }
  .work-paper { max-width: 330px; padding: 20px; }
  .work-paper > strong { font-size: 19px; }
  .work-document .work-card-top { margin-top: 19px; }
  .work-card-link h3 { font-size: 25px; }
  .work-small .work-visual { aspect-ratio: 1.68; }
  .work-sample-head { padding-block: 3cqw; }
  .work-sumika-photo strong { font-size: 8cqw; }
  .work-aoba-photo { display: grid; grid-template-columns: 1fr 1fr; }
  .work-aoba-photo > strong { align-self: center; font-size: 5.5cqw; padding: 2cqw 3cqw 2cqw 4cqw; }
  .work-aoba-photo > img { height: 100%; width: 100%; }
  .work-sample-foot { padding-block: 2cqw; }
  .work-bottom-note { margin-top: 20px; gap: 5px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .grams-window, .work-paper, .work-action > span { transition: none; }
}
