:root {
  --paper: #fff;
  --cream: #f8f2e2;
  --about-paper: #f8f1df;
  --family-paper: #f5edd8;
  --ink: #39332f;
  --muted: #615b57;
  --line: #d7d1cd;
  --diagram: #beb18f;
  --diagram-edge: #d7d7d7;
  --diagram-arrow: #dbd1b8;
  --sans: "Noto Sans JP", sans-serif;
  --serif: "Shippori Mincho", serif;
  --latin: "Marcellus", Georgia, serif;
  --rail: 24%;
  --inset: clamp(20px, 3vw, 46px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 68px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 14px/1.85 var(--sans); }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid #785a52; outline-offset: 3px; }
img { display: block; width: 100%; height: auto; }
figure, dl, dd { margin: 0; }
h1, h2 { font: 400 clamp(26px, 1.95vw, 28px)/1.5 var(--serif); margin: .5em 0; letter-spacing: .035em; }
p { margin: .65em 0; }
.label { font: 400 12px/1.45 var(--latin); letter-spacing: .1em; }
.section-tag { font-size: 20px; letter-spacing: .03em; }
.about dl { color: var(--muted); font-size: 12px; }
mark { background: #fff; color: inherit; padding-inline: .12em; box-decoration-break: clone; }

.header {
  position: sticky;
  top: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  min-height: 66px;
  padding: 8px var(--inset);
  font: 400 12px/1.3 var(--latin);
}
.logo { letter-spacing: .05em; }
.navigation { display: flex; }
.navigation, .pill-link {
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 1px 4px #39332f14;
}
.navigation a, .pill-link { padding: 11px 15px; }
.pill-link { display: inline-block; margin-top: 18px; font: 400 12px/1.4 var(--latin); }
.navigation a:hover { text-decoration: underline; text-underline-offset: .25em; }
.pill-link:is(:hover, :focus-visible) { background-color: var(--diagram); color: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .pill-link { transition: background-color .2s ease, color .2s ease; }
}

.intro, .case, .about { display: grid; grid-template-columns: var(--rail) minmax(0, 1fr); }
.intro { background: var(--paper); padding-bottom: 144px; }
.intro mark { background: var(--cream); }
.intro-copy, .case-info, .about-copy { padding: 0 var(--inset); }
.intro-copy { padding-top: clamp(62px, 8.1vw, 126px); }
.intro-copy h1 { margin-block: 22px 18px; }
.intro-copy .lead { color: var(--muted); font-size: 13px; line-height: 1.7; }
.role-summary { margin-top: clamp(42px, 11vw, 158px); color: var(--muted); font-size: 12px; line-height: 1.55; }
.role-summary ol { list-style-type: decimal-leading-zero; list-style-position: inside; padding: 0; margin: .3em 0 1em; }
dt { font-family: var(--latin); }

.works-mosaic, .about-cards { min-width: 0; }
.work-group { padding: 0 4px 0 0; margin-top: clamp(36px, 3.8vw, 60px); }
.work-group + .work-group { margin-top: clamp(40px, 7.5vw, 110px); }
.work-group h2 { margin: 0 0 4px; }
.work-group h2 .work-label-ja { margin-left: .7em; color: var(--muted); }
.work-row, .three-phone, .amazon-grid, .imomochi-visual, .about-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(6px, 1.05vw, 16px);
}
.work-tile { display: block; position: relative; overflow: hidden; aspect-ratio: 352 / 626; background: #e2ddda; }
.work-tile img { height: 100%; object-fit: cover; object-position: 50% 0px; }
@media (min-width: 901px) and (hover: hover) and (prefers-reduced-motion: no-preference) {
  :is(.work-tile:not(.coa-tile), .is-pinned .coa-tile) { container-type: size; }
  :is(.work-tile:not(.coa-tile), .is-pinned .coa-tile) img {
    transition: object-position .65s ease;
  }
  /* Reveal the same fraction of each visible frame, regardless of source height. */
  :is(.work-tile:not(.coa-tile), .is-pinned .coa-tile):is(:hover, :focus-visible) img {
    object-position: 50% -18cqh;
  }
}

.case { align-items: center; padding-block: clamp(55px, 7.5vw, 115px) 0; }
.case-info > :is(p:not(.label), .case-scope), .about-copy > p:not(.label) { color: var(--muted); font-size: 13px; line-height: 1.7; }
.case-scope { margin: .65em 0; padding-inline-start: 1.2em; }
.case-visual { position: relative; min-width: 0; padding-right: 4px; align-items: start; }
.case-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 16px; }
.case-actions .pill-link { margin-top: 0; }
.visual-kicker { position: absolute; top: -19px; left: 0; margin: 0; }
.case-tonkatsu { padding-bottom: clamp(40px, 7vw, 100px); }
.tonkatsu-visual { display: grid; grid-template-columns: 4fr 4.2fr; gap: 9%; padding-right: 10%; }
.lp-window { width: 100%; max-width: 530px; margin-inline: auto; }
.thinking-list { display: grid; gap: clamp(14px, 1vw, 16px); margin: 0; padding: 0; list-style: none; }
.thinking-list li { position: relative; display: flex; flex-direction: column; text-align: center; background: #fff; border: 1px solid var(--diagram-edge); }
.thinking-list span { display: block; background: var(--diagram); padding: 2px 5px; color: #fff; font-size: 12px; line-height: 1.35; }
.thinking-list p { display: grid; flex: 1; place-items: center; margin: 0; padding: 5px 8px; font: 500 clamp(14px, 1.08vw, 16px)/1.45 var(--serif); }
.thinking-list li + li::before, .compare-result::before {
  position: absolute;
  content: "";
  left: 50%;
  translate: -50%;
  border: 10px solid transparent;
  border-top: 7px solid var(--diagram-arrow);
  border-bottom: 0;
}
.thinking-list li + li::before { bottom: calc(100% + 4px); }
.case-imomochi { padding-top: 0; padding-bottom: clamp(36px, 5vw, 75px); }
.imomochi-visual { align-items: stretch; }
.long-preview { --preview-ratio: 352 / 626; }
.imomochi-visual .long-preview { --preview-ratio: 352 / 584; }
.long-preview-crop { position: relative; overflow: hidden; }
.is-pinned .long-preview {
  width: 100%;
  height: 100%;
  container-type: size;
  display: grid;
  justify-items: center;
  align-items: start;
}
.is-pinned .long-preview-crop {
  width: min(100cqw, calc(100cqh * var(--preview-ratio)));
  aspect-ratio: var(--preview-ratio);
}
.is-pinned .case-visual figure .long-preview-crop img {
  height: auto;
  transform: translateY(var(--preview-shift, 0px));
}
.story:not(.is-pinned) .imomochi-visual,
.story:not(.is-pinned) .imomochi-visual .before-copy { align-self: start; align-items: start; }
.imomochi-visual figcaption { font: 400 12px/1.4 var(--latin); margin-bottom: 4px; }
.before-copy { align-self: center; text-align: center; font-size: 13px; }
.comparison { display: grid; gap: clamp(6px, 1.6svh, 16px); }
.compare-panel { background: #fff; border: 1px solid var(--diagram-edge); }
.compare-panel p { margin: 0; padding: clamp(6px, 1.55svh, 16px) 8px; font: 500 16px/1.45 var(--serif); }
.compare-panel .compare-title { padding: 3px 8px; background: var(--diagram); color: #fff; font: 400 12px/1.45 var(--sans); }
.compare-competitor { background: var(--diagram); color: #fff; }
.compare-note { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.compare-result { position: relative; margin-top: 12px; }
.compare-result::before { bottom: calc(100% + 7px); border-top-color: #e8e0c9; }
.case-ai { padding-bottom: clamp(20px, 3vw, 46px); }
.pc-window img { width: 100%; }

.background-break { display: grid; place-items: center; min-height: clamp(240px, 60vw, 880px); }
.background-break p, .thanks p { font: 400 20px/1.3 var(--latin); letter-spacing: .03em; }
.about { align-items: center; }
.about dl { margin-top: 20px; }
.about dl div { display: grid; grid-template-columns: .9fr 1.1fr; gap: 8px; padding: 7px 0; border-top: 1px solid var(--line); }
.about dl div:last-child { border-bottom: 1px solid var(--line); }
.about-cards { position: relative; padding-right: 4px; }
.about-card { position: relative; aspect-ratio: 352 / 626; background: var(--family-paper); }
.about-card img {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: var(--art-width);
  height: auto;
  max-height: 50%;
  object-fit: contain;
}
.about-card--daughters { --art-width: 41%; }
.about-card--cats { --art-width: 84%; }
.about-card--guide { --art-width: 78%; }
.about-card figcaption { position: absolute; inset: 0; padding: 23% 6% 0; text-align: center; font-size: clamp(10px, .85vw, 13px); }
.about-card figcaption span { font-family: var(--latin); }
.thanks { display: grid; place-items: center; min-height: clamp(230px, 47vw, 690px); padding: 30px 20px; }
.thanks-copy { text-align: center; }
.thanks small { color: var(--muted); }

@media (max-width: 900px) {
  .intro, .case, .about { grid-template-columns: minmax(0, 1fr); }
  .intro { padding-bottom: clamp(72px, 16vw, 144px); }
  .intro-copy, .case-info, .about-copy { max-width: 630px; }
  .intro-copy { padding-top: 42px; }
  .intro-copy h1 br { display: none; }
  .role-summary { margin-top: 22px; }
  .work-group, .case-visual, .about-cards { padding-inline: var(--inset); }
  .case-visual, .about-cards { margin-top: 24px; }
  .tonkatsu-visual { gap: 4%; }
}
@media (max-width: 580px) {
  :root { --phone-copy-gutter: clamp(30px, 13vw, 64px); }
  html { scroll-padding-top: var(--story-top, 64px); }
  .header {
    top: -44px;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    align-content: start;
    min-height: 121px;
    gap: 9px;
    padding: 32px 12px 20px;
  }
  .header .logo { font-size: 13px; line-height: 18px; white-space: nowrap; }
  .header .navigation {
    min-width: 220px;
    justify-content: center;
    box-shadow: 0 2px 16px #39332f23;
  }
  .navigation a { padding: 12px 13px; line-height: 16px; white-space: nowrap; }
  .header.is-nav-only { background: transparent; pointer-events: none; }
  .header.is-nav-only .logo { visibility: hidden; }
  .header.is-nav-only.is-interlude:not(:focus-within) { background: transparent; }
  .header.is-nav-only > .navigation { pointer-events: auto; }
  .header.is-nav-only.is-interlude > .navigation { opacity: 1; pointer-events: auto; }

  .intro-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: calc(100svh - 121px);
    padding: clamp(36px, 7.1svh, 60px) var(--phone-copy-gutter) clamp(35px, 13.8svh, 117px);
  }
  .intro-copy h1 { margin-block: 24px 14px; }
  .intro-copy h1 br { display: initial; }
  .intro-copy .role-summary { margin-top: auto; padding-top: 28px; }
  .work-group { position: relative; padding: 0; margin-top: 36px; }
  .work-group + .work-group { margin-top: 20px; }
  .work-group h2 { margin: 0 14px 3px; }
  .work-group h2 .work-label-ja { margin: 0; color: var(--ink); font-family: var(--serif); font-size: 13px; }
  .work-label-en {
    position: absolute;
    top: 20px;
    left: 2px;
    writing-mode: vertical-rl;
    rotate: 180deg;
    white-space: nowrap;
    font-size: 6px;
    letter-spacing: .03em;
  }
  .work-row, .three-phone, .amazon-grid, .imomochi-visual, .about-cards {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(66vw, 330px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--inset);
    padding-bottom: 8px;
  }
  .work-row {
    grid-auto-columns: min(35vw, 195px);
    padding: 0 14px;
    scroll-padding-inline: 14px;
    scrollbar-width: none;
  }
  .work-row > *, .case-visual > *, .about-card { scroll-snap-align: start; }
  .tonkatsu-visual { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  .before-copy { grid-column: span 2; width: min(100%, calc(100vw - 2 * var(--inset))); }
  .imomochi-visual { grid-auto-columns: min(55vw, 310px); grid-template-rows: auto auto; }
  .imomochi-visual .visual-card { grid-row: 2; }
  .about-card figcaption { font-size: 12px; }
}
@media (prefers-reduced-motion: no-preference) {
  .reveal.is-visible { animation: reveal .65s ease-out both; }
  @keyframes reveal { from { opacity: .25; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* The document scroll drives each scene. The stage releases at the end of its section. */
.story-meter { display: none; }
.story { background: var(--cream); }
.story:is([data-story="interlude"], [data-story="thanks"]) { background: var(--paper); }
.story[data-story="about"] { background: var(--about-paper); }
.header.is-interlude:not(:focus-within) { background: var(--paper); }
.header.is-interlude:not(:focus-within) > * { opacity: 0; pointer-events: none; }
.story.is-pinned { min-height: calc(100svh - var(--story-top) + var(--story-distance, 0px)); }
.is-pinned > .story-stage {
  position: sticky;
  top: var(--story-top);
  height: calc(100svh - var(--story-top));
  min-height: 0;
  padding-block: 22px;
  grid-template-rows: minmax(0, 1fr);
}
.is-pinned [data-step] {
  transition: opacity .42s ease, translate .42s ease, clip-path .65s ease, visibility .42s;
  animation: none;
}
.is-pinned [data-state="pending"], .is-pinned [data-state="past"] {
  visibility: hidden;
  opacity: 0;
  translate: 0 12px;
}
.is-pinned .case-visual, .is-pinned .about-cards {
  min-height: 0;
  height: 100%;
  margin-top: 0;
  grid-template-rows: minmax(0, 1fr);
  align-items: center;
}
.is-pinned .case-visual figure, .is-pinned .about-card { min-height: 0; height: 100%; }
.case-image-link { display: block; }
.is-pinned .case-image-link { height: 100%; min-height: 0; }
.is-pinned .pc-window .case-image-link { display: grid; }
.is-pinned .case-visual :is([data-state="past"], [data-state="pending"]) a,
.is-pinned .case-visual:is([data-state="past"], [data-state="pending"]) a { pointer-events: none; }
.coa-tile { aspect-ratio: auto; background: transparent; }
.coa-tile img { height: auto; }
.is-pinned .case-coa .coa-tile { height: 100%; }

.is-pinned .case-visual figure img, .is-pinned .pc-window img {
  height: 100%;
  object-fit: contain;
  object-position: center top;
}
@media (min-width: 901px) {
  .is-pinned .case-coa .three-phone figure { grid-row: 1; }
  .is-pinned .case-coa figure:nth-of-type(3n + 1) { grid-column: 1; }
  .is-pinned .case-coa figure:nth-of-type(3n + 2) { grid-column: 2; }
  .is-pinned .case-coa figure:nth-of-type(3n) { grid-column: 3; }
  .is-pinned .case-coa figure:has(.coa-tile) {
    width: min(100%, calc((100svh - var(--story-top) - var(--scene-lead) - 22px) * 352 / 626));
    height: auto;
    aspect-ratio: 352 / 626;
    align-self: start;
    justify-self: center;
  }
  .is-pinned .case-coa .coa-tile img { object-fit: cover; }
}

.is-pinned .imomochi-visual figure {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  justify-items: start;
  align-content: center;
}
.is-pinned .pc-window { display: grid; }
.is-pinned .pc-window img { min-height: 0; object-position: left top; }
.is-pinned .pc-window[data-state="pending"] { clip-path: inset(-20px 100% 0 0); }
.is-pinned .pc-window[data-state="active"] { clip-path: inset(-20px 0 0); }

.is-pinned > .case-tonkatsu { padding: 0; }
.is-pinned .tonkatsu-visual { align-items: stretch; padding-block: 0; }
.is-pinned .lp-window { min-height: 0; overflow: hidden; background: #191410; }
.is-pinned .lp-window img { transform: translate3d(0, var(--lp-shift, 0px), 0); }
.is-pinned .thinking-list { align-self: center; }

@media (min-width: 901px) {
  :root {
    --desktop-content: 1280px;
    --desktop-gutter: 40px;
  }
  .header { padding-inline: max(var(--desktop-gutter), calc((100% - var(--desktop-content)) / 2)); }
  .intro, .story > :is(.case, .about) {
    width: min(var(--desktop-content), calc(100% - 2 * var(--desktop-gutter)));
    margin-inline: auto;
    grid-template-columns: clamp(222px, 25%, 320px) minmax(0, 1fr);
    column-gap: clamp(24px, 3vw, 40px);
  }
  .intro-copy, .case-info, .about-copy, .work-group, .case-visual, .about-cards { padding-inline: 0; }
  .intro-copy h1 { font-size: clamp(32px, 2.65vw, 40px); line-height: 1.4; }
  .case-info h2, .about-copy h2 { font-size: clamp(28px, 2.1vw, 30px); line-height: 1.45; }
  .intro-copy h1, .case-info h2, .about-copy h2 { text-wrap: pretty; }
  .intro-copy .lead, .case-info > :is(p:not(.label), .case-scope), .about-copy > p:not(.label), .case-parigot .parigot-roles {
    font-size: clamp(15px, 1.12vw, 16px);
    line-height: 1.7;
  }
  .section-tag, .role-summary, .about-copy dl { font-size: 14px; }
  .work-group h2, .visual-kicker, .pill-link { font-size: 13px; }
  .work-row, .three-phone, .amazon-grid, .imomochi-visual, .about-cards { gap: 16px; }
  .tonkatsu-visual {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(18px, 2.25vw, 32px);
  }
  .is-pinned > .story-stage { --scene-lead: clamp(26px, calc((100svh - 560px) * .37), 78px); }
  .is-pinned > :is(.case, .about):not(.case-tonkatsu) { padding-top: var(--scene-lead); }
  .is-pinned .case-info, .is-pinned .about-copy { align-self: start; padding-top: clamp(14px, 4.7svh, 42px); }
  .is-pinned .case-info { display: flex; flex-direction: column; align-items: start; height: 100%; }
  .work-story:not(.is-pinned) .case-info { align-self: start; }
  .is-pinned .case-info h2 { margin-block: 15px 16px; }
  .case-info .case-actions { margin-top: clamp(10px, 1.9svh, 17px); }
  .is-pinned .case-tonkatsu .case-info { padding-top: clamp(54px, 16svh, 126px); }
  .is-pinned .thinking-list {
    height: calc(100% - clamp(24px, 7svh, 62px));
    grid-template-rows: repeat(6, minmax(0, 1fr));
    gap: clamp(12px, 3.1svh, 32px);
  }
  .is-pinned .thinking-list li + li::before { bottom: calc(100% + clamp(3px, 1.1svh, 12px)); }
  .is-pinned .comparison {
    align-self: start;
    height: calc(100% - 19px);
    margin-top: 19px;
    grid-template-rows: .9fr 1.1fr auto 1.2fr auto;
  }
  .is-pinned .compare-panel { display: grid; grid-template-rows: auto 1fr; }
  .is-pinned .compare-panel p:not(.compare-title) { align-self: center; }
  .is-pinned .about-card {
    width: min(100%, calc((100svh - var(--story-top) - var(--scene-lead) - 22px) * .5623));
    margin-inline: auto;
  }
}
@media (min-width: 901px) and (max-height: 720px) {
  .is-pinned .case-info,
  .is-pinned .case-tonkatsu .case-info { padding-top: 12px; }
  .is-pinned .case-info h2 { margin-block: 10px 12px; }
}
@media (min-width: 901px) and (max-width: 1230px) {
  .case-info h2 br { display: none; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .intro-copy h1 br { display: none; }
}

@media (max-width: 900px) {
  .is-pinned > .case-parigot {
    grid-template-rows: auto minmax(0, 1fr) auto;
    row-gap: 10px;
    padding-block: 12px;
  }
  .is-pinned .case-info { max-width: none; }

  .work-story .case { padding-top: 0; }
  .work-story .case-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-height: 100svh;
  }

  /* The copy and artwork share a full-screen stage during the transition. */
  .work-story.is-pinned { min-height: calc(100svh + var(--story-distance, 0px)); }
  .work-story.is-pinned > .case {
    top: 0;
    height: 100svh;
    padding: var(--story-top) 0 0;
    background: var(--cream);
  }
  .work-story.is-pinned .case-info {
    grid-area: 1 / 1;
    z-index: 1;
    min-height: 0;
    padding-block: 32px 20px;
    opacity: var(--work-intro-opacity, 1);
  }
  .work-story.is-pinned .case-info:has(:focus-visible) { opacity: 1; }
  .work-story.is-pinned.is-work-intro-complete .case-info { visibility: hidden; }
  .work-story.is-pinned .case-visual {
    grid-area: 1 / 1;
    height: 100%;
    padding: 0;
    opacity: var(--work-visual-opacity, 0);
    translate: 0 calc((1 - var(--work-visual-opacity, 0)) * 12px);
  }
  .work-story.is-pinned :is(.visual-kicker, .story-meter) { display: none; }
  h1, h2, .is-pinned .case-info h2 { font-size: clamp(22px, 5.6vw, 24px); line-height: 1.5; }
  .section-tag { font-size: 16px; }
  mark { white-space: nowrap; }
  .intro-copy .lead, .case-info > :is(p:not(.label), .case-scope), .about-copy > p:not(.label) { font-size: 15px; }
  .background-break p, .thanks p { font-size: 18px; }
  .is-pinned .case-info h2 br { display: none; }
  .is-pinned .case-info .label { margin-block: 0; }
  .is-pinned .case-info .pill-link { margin-top: 3px; padding-block: 7px; }
  .is-pinned .case-info h2 { margin-block: 5px; }
  .is-pinned .case-info > :is(p:not(.label), .case-scope) { margin-block: 5px; }
  .case-actions { margin-top: 6px; }
  .visual-kicker { left: var(--inset); }
  .case-visual:has(.visual-kicker), .about-cards { padding-top: 18px; }
  .case-visual .visual-kicker, .about-cards .visual-kicker { top: 0; }
  .is-pinned .case-visual { overflow: visible; padding-bottom: 0; }
  .is-pinned .imomochi-visual, .is-pinned .three-phone, .is-pinned .amazon-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-flow: row;
  }
  .is-pinned .case-visual [data-step] { grid-area: 1 / 1; }
  .is-pinned .before-copy { width: min(430px, calc(100% - 2 * var(--inset))); justify-self: center; }
  .work-story.is-pinned .case-visual img { object-position: center; }
  .is-pinned .case-coa figure:has(.coa-lineup-tile) { display: grid; place-items: center; }
  .is-pinned .case-coa .coa-lineup-tile {
    width: min(100%, calc((100svh - var(--story-top)) * 352 / 626));
    height: auto;
    aspect-ratio: 352 / 626;
  }
  .is-pinned .case-coa .coa-lineup-tile img { object-fit: cover; object-position: 50% 0px; }
  .is-pinned .imomochi-visual figure { justify-items: center; }
  .is-pinned .long-preview { align-items: center; }
  .is-pinned .pc-window[data-state="pending"], .is-pinned .pc-window[data-state="active"] { clip-path: none; }
  .is-pinned .story-meter {
    display: block;
    justify-self: center;
    margin: 0;
    font: 400 12px/1.5 var(--latin);
    color: var(--muted);
  }
  .is-pinned .tonkatsu-visual {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 0;
  }
  .is-pinned .thinking-list { width: min(100% - 2 * var(--inset), 420px); margin-inline: auto; display: grid; gap: 0; }
  .is-pinned .thinking-list li { grid-area: 1 / 1; }
  .is-pinned .thinking-list li::before { display: none; }
  .is-pinned .thinking-list p { font-size: 15px; }

  .story:not(.is-pinned) .tonkatsu-visual { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .work-story:not(.is-pinned) :is(.imomochi-visual, .three-phone, .amazon-grid) {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-flow: row;
    justify-items: center;
    gap: 24px;
    overflow: visible;
  }
  .work-story:not(.is-pinned) :is(.before-copy, .visual-card) { grid-area: auto; }
  .work-story:not(.is-pinned) :is(.before-copy, figure) { width: min(100%, 430px); }
  .story:not(.is-pinned) .about-cards {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-flow: row;
    justify-items: center;
    gap: 24px;
    overflow: visible;
  }
  .story:not(.is-pinned) .about-card { width: min(100%, 352px); }
  .motion-ready .story:not(.is-pinned) .about .reveal:not(.is-visible) { opacity: 0; }
}

.case-parigot { padding-bottom: clamp(28px, 6vw, 80px); }
.parigot-roles { margin: 14px 0 0; padding-left: 1.2em; color: var(--muted); line-height: 1.6; }
.parigot-collage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.parigot-laptop { grid-column: 1 / -1; }

@media (min-width: 901px) {
  .parigot-visual { align-self: start; }
  .is-pinned .parigot-visual {
    width: min(100%, calc((100svh - var(--story-top) - var(--scene-lead) - 22px) * 2.06));
    height: auto;
  }
  .parigot-collage { position: relative; display: block; aspect-ratio: 1056 / 512; }
  .parigot-collage figure {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: var(--w);
    height: auto;
  }
  .parigot-laptop { --x: 0%; --y: 0%; --w: 47.63%; }
  .parigot-banners { --x: 49.24%; --y: 0%; --w: 23.96%; }
  .parigot-mobile { --x: 74.81%; --y: 0%; --w: 25.19%; }
  .parigot-fair { --x: 0%; --y: 60.35%; --w: 26.70%; }
  .parigot-sale { --x: 28.22%; --y: 60.35%; --w: 26.70%; }
  .parigot-dress { --x: 56.72%; --y: 34.77%; --w: 16.29%; }
  .parigot-card { --x: 74.81%; --y: 84.57%; --w: 12.12%; }
  .is-pinned .parigot-collage figure, .is-pinned .parigot-collage figure img { height: auto; }
}

@media (max-width: 900px) {
  .parigot-roles { display: flex; flex-wrap: wrap; gap: 3px 24px; margin-top: 8px; font-size: 13px; }
  .is-pinned .parigot-collage { height: 100%; grid-template: minmax(0, 1fr) / minmax(0, 1fr); }
  .is-pinned .parigot-collage figure { grid-area: 1 / 1; }
  .is-pinned .parigot-collage figure img { object-position: center; }
}

@media (max-width: 580px) {
  .intro-copy h1, .work-story .case-info h2, .about-copy h2 {
    font-size: clamp(22px, 6.65vw, 28px);
    line-height: 1.42;
  }
  .intro-copy .section-tag, .work-story .case-info .section-tag, .about-copy .section-tag { font-size: 20px; }
  .intro-copy .lead, .intro-copy .role-summary { font-size: 11px; }
  .work-story .case-info, .case-parigot .case-info, .about-copy { padding-inline: var(--phone-copy-gutter); }
  .work-story.is-pinned .case-info {
    align-self: start;
    padding-block: clamp(24px, 7.6svh, 64px) 16px;
  }
  .work-story .case-info h2 {
    margin-block: clamp(15px, 3.6svh, 30px) clamp(22px, 7.6svh, 64px);
  }
  .work-story .case-info h2 br { display: initial; }
  .work-story .case-info > :is(p:not(.label), .case-scope), .about-copy > p:not(.label) {
    font-size: 13px;
    line-height: 1.7;
  }
  .work-story.is-pinned .case-info > :is(p:not(.label), .case-scope) {
    margin: 0 0 clamp(7px, 2.5svh, 21px);
  }
  .work-story.is-pinned .case-actions { margin-top: clamp(10px, 4.5svh, 38px); }
  .work-story.is-pinned .case-info .pill-link { min-height: 40px; padding: 12px 20px; }

  .work-story.is-pinned .tonkatsu-visual {
    grid-template-rows: clamp(65px, 10.2svh, 86px) minmax(0, 1fr);
  }
  .work-story.is-pinned .lp-window { grid-row: 2; max-width: none; }
  .work-story.is-pinned .thinking-list {
    position: absolute;
    z-index: 1;
    inset: 0 0 auto;
    width: calc(100% - 28px);
  }
  .work-story.is-pinned .thinking-list li::after {
    position: absolute;
    content: "";
    top: 100%;
    left: 50%;
    translate: -50%;
    border: 17px solid transparent;
    border-top: 13px solid var(--paper);
    border-bottom: 0;
  }
  .work-story.is-pinned .thinking-list span { padding-block: 6px; }
  .work-story.is-pinned .thinking-list p { min-height: 71px; padding: 8px 20px; }

  .work-story.is-pinned .comparison {
    height: min(600px, calc(100% - 2 * clamp(14px, 7svh, 60px)));
    grid-template-rows: 1fr 1.2fr auto 1.2fr auto;
    gap: clamp(8px, 2.4svh, 20px);
  }
  .work-story.is-pinned .compare-panel { display: grid; grid-template-rows: auto 1fr; }
  .work-story.is-pinned .compare-panel p:not(.compare-title) {
    align-content: center;
    padding-block: clamp(6px, 1.2svh, 12px);
  }
  .work-story.is-pinned .compare-result { margin-top: clamp(8px, 3.2svh, 27px); }
  .work-story.is-pinned .compare-result::before {
    border-inline-width: 23px;
    border-top-width: 17px;
    bottom: calc(100% + 10px);
  }

  .about-copy { padding-top: clamp(40px, 7.8svh, 66px); }
  .about-copy h2 { margin-block: 28px 30px; }
  .about-copy dl { margin-top: 30px; }
  .about-copy dl div { min-height: 63px; align-items: center; }
  .story[data-story="about"] .about-cards { padding: 0 0 36px; margin-top: 38px; }
  .about-cards > .visual-kicker, .about-card figcaption,
  .story:not(.is-pinned) :is(.about-card--cats, .about-card--guide) { display: none; }
  .story:not(.is-pinned) .about-card--daughters {
    width: clamp(115px, 32vw, 145px);
    aspect-ratio: auto;
    background: transparent;
  }
  .about-card--daughters img {
    position: static;
    translate: none;
    width: 100%;
    max-height: none;
  }
}

@media (max-width: 580px) and (max-height: 740px) {
  .work-story.is-pinned .case-info { padding-block: 24px 12px; }
  .work-story .case-info h2 { margin-block: 15px 20px; }
  .work-story.is-pinned .case-info > :is(p:not(.label), .case-scope) { margin-bottom: 8px; }
  .work-story.is-pinned .case-actions { margin-top: 12px; }
  .work-story.is-pinned .comparison { gap: 8px; }
}

@media (max-width: 580px) {
  .work-story + .case-actions {
    position: relative;
    justify-content: center;
    margin: calc(-1 * var(--work-art-tail, 0px)) 0 0;
    padding: 24px var(--inset) 40px;
    background: var(--cream);
  }
  .work-story + .case-actions .pill-link { min-height: 44px; padding: 12px 20px; }
}

.portfolio-opening { display: none; }
@media (prefers-reduced-motion: no-preference) {
  html.is-opening { overflow: hidden; scrollbar-gutter: stable; }
  .is-opening .portfolio-opening {
    position: fixed;
    z-index: 20;
    inset: 0;
    display: grid;
    place-items: center;
    background: #f5f3ee;
    color: #797671;
    clip-path: inset(0);
    pointer-events: auto;
  }
  .portfolio-opening-content { width: min(86vw, 690px); }
  .portfolio-opening-title {
    margin: 0;
    text-align: center;
    font: 400 clamp(32px, 10.5vw, 110px)/1 var(--latin);
    letter-spacing: .08em;
    padding-inline-start: .08em;
  }
  .portfolio-opening-progress {
    display: flex;
    align-items: center;
    gap: clamp(12px, 2.2vw, 24px);
    margin: clamp(14px, 3vw, 30px) auto 0;
    width: min(64%, 260px);
  }
  .portfolio-opening-count {
    text-align: end;
    min-width: 3ch;
    font: 400 clamp(12px, 1.35vw, 15px)/1 var(--sans);
    font-variant-numeric: tabular-nums;
  }
  .portfolio-opening-rule {
    display: block;
    flex: 1;
    height: 1px;
    background: #d9d5cf;
  }
  .portfolio-opening-rule::after {
    content: "";
    display: block;
    height: 100%;
    background: currentColor;
    transform: scaleX(var(--opening-progress, 0));
    transform-origin: left;
  }
  .is-opening-revealing .portfolio-opening {
    animation: opening-curtain .78s cubic-bezier(.72, 0, .19, 1) both;
    pointer-events: none;
  }
  .is-opening-revealing .portfolio-opening-content {
    animation: opening-title-out .46s ease-in both;
  }
  .is-opening-revealing .intro-copy,
  .is-opening-revealing .work-group:first-child {
    transform-origin: center top;
    animation: opening-first-view .73s .05s cubic-bezier(.19, .76, .25, 1) both;
  }
  .is-opening-revealing .work-group:first-child { animation-delay: .08s; }
  .is-opening-revealing .header { animation: opening-header-in .64s .13s ease-out both; }

  @keyframes opening-curtain {
    from { clip-path: inset(0 0 0 0 round 0 0 0 0); }
    to { clip-path: inset(0 0 100% 0 round 0 0 44% 44%); }
  }
  @keyframes opening-title-out {
    to { opacity: 0; translate: 0 -24px; scale: 1.045; }
  }
  @keyframes opening-first-view {
    from { opacity: 0; translate: 0 30px; scale: .965; }
    to { opacity: 1; translate: 0 0; scale: 1; }
  }
  @keyframes opening-header-in {
    from { opacity: 0; }
    to { opacity: 1; }
  }
}
