:root {
  color-scheme: light;
  --ink: #282d27; --muted: #62675f; --accent: #365746; --accent-dark: #264334; --line: #dce0d7; --paper: #f5f6f2;
  --sans: "Hiragino Sans", "Yu Gothic", "Noto Sans CJK JP", Meiryo, sans-serif;
  --serif: "Hiragino Mincho ProN", "YuMincho", "Yu Mincho", "Noto Serif CJK JP", serif;
  font-family: var(--sans); font-synthesis: none; color: var(--ink); background: #fff;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; min-width: 0; }
h1, h2, h3, h4, p, figure { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
[hidden] { display: none !important; }
.shell { width: min(calc(100% - 80px), 1360px); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; z-index: 10; top: 12px; left: 12px; padding: 12px 20px; background: #fff; }
.eyebrow { color: var(--accent); font-size: 10px; font-weight: 500; line-height: 1.5; letter-spacing: .13em; }
.arrow { font-family: system-ui, sans-serif; font-weight: 400; }
.mobile-break { display: none; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { position: relative; min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.wordmark { display: inline-flex; align-items: center; gap: .55em; font-family: var(--serif); font-size: 20px; font-weight: 600; letter-spacing: .04em; line-height: 1.5; }
.wordmark img { width: 1.45em; height: 1.45em; flex: none; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; }
.site-nav a { display: flex; align-items: center; gap: 15px; min-height: 44px; }
.site-nav a:hover, .page-top:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 7px; }
.site-nav a:last-child { color: var(--accent-dark); }
@media (min-width: 761px) {
  .site-nav a:last-child { padding-inline: 19px; border: 1px solid #9caba0; border-radius: 30px; }
  .site-nav a:last-child:hover { background: var(--paper); text-decoration: none; }
}
.menu-toggle { display: none; }
.hero { display: grid; grid-template-columns: minmax(0, .96fr) minmax(0, 2.04fr); grid-template-rows: 1.12fr 1fr; gap: 24px 30px; padding-top: clamp(32px, 3.3vw, 50px); }
.hero-intro { grid-area: 1 / 1; align-self: end; }
.hero-intro h1 { margin-top: 19px; font-family: var(--serif); font-size: clamp(28px, 2.85vw, 43px); font-weight: 600; line-height: 1.52; letter-spacing: -.055em; }
.hero-intro h1 span { display: block; white-space: nowrap; }
.hero-media { margin-top: 19px; font-size: 14px; line-height: 1.9; letter-spacing: .015em; }
.hero-works { grid-area: 1 / 2 / 3 / 3; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.hero-action { grid-area: 2 / 1; padding-top: 4px; }
.hero-action p { max-width: 27em; margin-top: 13px; color: var(--muted); font-size: 12px; line-height: 1.85; }
.action { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 50px; padding: 13px 19px; border: 1px solid var(--accent); border-radius: 0; background: var(--accent); color: #fff; font-size: 13px; font-weight: 500; line-height: 1.6; letter-spacing: .025em; }
.action .arrow { font-size: 17px; }
.action:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.work-card { display: block; width: 100%; min-width: 0; padding: 0; border: 0; background: transparent; text-align: left; }
.work-image { display: grid; place-items: center; width: 100%; aspect-ratio: 1; overflow: hidden; padding: 7%; background: #f0f1ec; }
.work-image.packaging-pair {
  grid-template-columns: minmax(0, 2.5fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  gap: 4%;
  padding: 5%;
  background: #eee5d7;
}
.packaging-pair img:first-child { transform: translateY(8%); }
.packaging-pair img:last-child { transform: translateY(-5%); }
/* Supplied images retain their full frame, colors and proportions. */
.work-image img { width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; }
.hero-works .work-card { align-self: start; }
.hero-works .work-image { aspect-ratio: 1 / 1.08; }
.work-jar .work-image { padding: 0; background: #f5f2ec; }
.work-flyer .work-image { padding: 5%; background: #e8ede7; }
.work-box .work-image:not(.packaging-pair) { background: #f1efeb; }
.work-brochure .work-image { background: #f2eded; }
.work-food .work-image { background: #eef1eb; }
.work-flyer img, .work-box img, .work-brochure img, .work-food img { filter: drop-shadow(0 2px 5px rgb(38 41 33 / 10%)); }
.work-caption { display: grid; grid-template-columns: minmax(0, 1fr) 30px; align-content: start; gap: 6px 8px; min-height: 72px; padding: 16px 0 4px; }
.work-meta { color: var(--muted); font-size: 12px; font-weight: 400; letter-spacing: .035em; line-height: 1.65; }
.work-title { grid-column: 1; font-size: 17px; font-weight: 500; line-height: 1.6; overflow-wrap: anywhere; }
.title-phrase { display: inline-block; max-width: 100%; }
.card-open { grid-area: 1 / 2 / 3 / 3; align-self: center; display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; color: var(--accent); font-size: 15px; }
.work-card:hover .card-open { color: #fff; background: var(--accent); border-color: var(--accent); }
.work-card:hover .work-title { text-decoration: underline; text-underline-offset: 5px; }
.entry-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 32px; border-block: 1px solid var(--line); }
.entry-links a { display: grid; grid-template-columns: minmax(0, 1fr) 30px; align-items: center; gap: 18px; min-height: 104px; padding: 22px 26px; }
.entry-links a + a { border-left: 1px solid var(--line); }

.entry-copy { display: grid; gap: 7px; }
.entry-title { font-size: 19px; font-weight: 500; line-height: 1.5; }
.entry-detail { color: var(--muted); font-size: 13px; line-height: 1.5; }
.entry-arrow { color: var(--accent); font-size: 22px; justify-self: end; }
.entry-links a:hover { background: var(--paper); }
.page-section { margin-top: 88px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.section-heading h2 { font-family: var(--serif); font-size: clamp(30px, 2.8vw, 40px); font-weight: 500; line-height: 1.5; letter-spacing: .02em; }
.section-heading > p { max-width: 34em; color: var(--muted); font-size: 14px; line-height: 1.9; }
/* Catalog controls are separate from the representative works in the hero. */
.catalog-bar { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; justify-content: space-between; margin: 0 0 24px; border-bottom: 1px solid var(--line); }
.catalog-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.catalog-filters button { min-height: 44px; padding: 9px 12px 10px; border: 0; border-bottom: 2px solid transparent; background: #fff; color: var(--muted); font-size: 14px; line-height: 1.5; }
.catalog-filters button:hover { background: var(--paper); color: var(--accent-dark); }
.catalog-filters button[aria-pressed="true"] { border-bottom-color: var(--accent); color: var(--accent-dark); font-weight: 600; }
.catalog-total { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 35px 24px; align-items: start; }
.work-grid .work-caption { padding-top: 14px; }
@media (min-width: 960px) {
  .work-grid[data-group="all"] :is([data-work="yakiniku-menu"], [data-work="nettabo"]) { grid-column: span 2; }
  .work-grid[data-group="all"] .work-image { height: clamp(260px, 27vw, 390px); aspect-ratio: auto; padding: 18px; }
  .work-grid[data-group="all"] .work-jar .work-image { padding: 0; }
  .work-grid[data-group="menus"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-grid[data-group="menus"] .work-image { aspect-ratio: 1.55; padding: 18px; }
  .work-grid[data-group="all"] .packaging-pair {
    grid-template-columns: minmax(0, 2.75fr) minmax(0, 1fr);
    gap: 4%; padding: 5% 8%;
  }
}
.works-consult { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 26px; padding: 21px 0; border-block: 1px solid var(--line); }
.works-consult > p { font-size: 14px; line-height: 1.8; }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 44px; width: fit-content; padding: 0; border: 0; background: transparent; color: var(--accent); font-size: 13px; font-weight: 500; text-decoration: underline; text-underline-offset: 6px; }
.text-link:hover { color: var(--ink); }
.text-link span { font-size: 17px; }
.services-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.service { display: flex; flex-direction: column; padding: 30px 34px 26px; border-top: 2px solid #8b9b89; background: var(--paper); }
.service h3 { font-family: var(--serif); font-size: 25px; font-weight: 500; line-height: 1.6; }
.service-intro { max-width: 34em; margin-top: 14px; font-size: 15px; line-height: 1.95; }
.service h4 { margin-top: 24px; color: var(--muted); font-size: 13px; font-weight: 400; }
.request-examples { margin: 12px 0 20px; }
.request-examples div { padding: 13px 0; border-top: 1px solid var(--line); }
.request-examples dt { font-size: 16px; font-weight: 500; line-height: 1.6; }
.request-examples dd { margin: 5px 0 0; color: var(--muted); font-size: 14px; line-height: 1.85; }
.service .text-link { margin-top: auto; }
.profile { padding-top: 36px; border-top: 1px solid var(--line); }
.profile-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px; }
.profile h3 { font-size: 21px; font-weight: 500; }
.profile-role { margin-top: 9px; color: var(--muted); font-size: 11px; }
.profile-copy { max-width: 46em; font-size: 15px; line-height: 2; }
.profile-copy p + p { margin-top: 13px; }
.contact { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 60px; margin-top: 88px; padding-top: 48px; border-top: 1px solid var(--line); }
.contact h2 { margin-top: 20px; font-family: var(--serif); font-size: clamp(29px, 3vw, 40px); font-weight: 500; line-height: 1.6; }
.contact-copy > p:last-child { margin-top: 22px; color: var(--muted); font-size: 15px; line-height: 1.95; }
.contact-panel { padding: 28px; background: var(--paper); }
.demo-note { margin-bottom: 20px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 12px; font-weight: 500; }
.field :is(input, select, textarea) { width: 100%; min-width: 0; min-height: 46px; padding: 11px 12px; border: 1px solid #a2aa9c; border-radius: 0; background: #fff; color: var(--ink); font-size: 16px; line-height: 1.7; }
.field textarea { resize: vertical; }
.field textarea::placeholder { color: #6a7166; font-size: 13px; }
.contact-reference { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 20px; padding: 10px 12px; border-left: 2px solid var(--accent); background: #fff; font-size: 12px; line-height: 1.8; }
.contact-reference strong { font-weight: 500; }
.contact-reference button { flex: none; min-height: 44px; padding: 4px; border: 0; background: none; text-decoration: underline; }
.form-status:not(:empty) { margin-top: 16px; font-size: 12px; line-height: 1.8; }
.form-preview { margin-top: 10px; padding: 12px; border-left: 2px solid var(--accent); background: #fff; overflow-wrap: anywhere; font-size: 13px; line-height: 1.8; }
#preview-message { white-space: pre-wrap; }
.site-footer { margin-top: 70px; padding: 28px 0 25px; border-top: 1px solid var(--line); }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; }
.page-top { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 11px; }
.site-footer > p { margin-top: 9px; color: var(--muted); font-size: 10px; line-height: 1.8; }
.noscript-note { margin-top: 25px; padding: 16px; border: 1px solid var(--line); font-size: 13px; }
dialog { width: min(calc(100% - 48px), 1200px); max-width: none; height: calc(100dvh - 48px); max-height: 1000px; margin: auto; padding: 0; border: 0; background: #fff; color: var(--ink); overflow: hidden; }
dialog::backdrop { background: rgb(27 34 28 / 60%); }
body:has(dialog[open]) { overflow: hidden; }
.detail-panel { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.detail-bar { display: flex; flex: none; align-items: center; justify-content: space-between; gap: 15px; min-height: 58px; padding: 6px 32px; border-bottom: 1px solid var(--line); font-size: 12px; }
.detail-counter { margin-left: 16px; color: var(--muted); font-family: Georgia, serif; font-size: 12px; }
.detail-close { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; padding: 0 8px; border: 0; background: #fff; font-size: 12px; }
.detail-close > span { font-size: 26px; font-weight: 300; }
.detail-body { overflow: auto; overscroll-behavior: contain; padding: 28px 32px 18px; scrollbar-gutter: stable; }
.detail-heading { margin-bottom: 24px; }
.detail-heading h2 { margin-top: 5px; font-family: var(--serif); font-size: 30px; font-weight: 500; line-height: 1.6; }
#detail-description { max-width: 68em; margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.85; }
.case-study { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; gap: 34px; }
.case-visual { position: sticky; top: 0; min-width: 0; background: #fff; }
.image-choices { display: flex; flex-wrap: wrap; gap: 5px; padding-bottom: 10px; }
.image-choices button { min-height: 44px; padding: 7px 11px; border: 1px solid var(--line); background: #fff; color: var(--muted); font-size: 13px; line-height: 1.6; }
.image-choices button[aria-pressed="true"] { color: var(--accent-dark); border-color: var(--accent); background: var(--paper); }
.detail-media figure { margin: 0; }
.detail-image-stage { display: grid; place-items: center; height: min(60dvh, 640px); min-height: 310px; padding: 18px; background: #f3f3ee; }
.detail-image-stage img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.detail-image-stage[data-style="jar"] { padding: 0; background: #f5f2ec; }
.detail-media figcaption { display: flex; justify-content: space-between; align-items: center; gap: 8px 15px; margin-top: 5px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.detail-media figcaption a { flex: none; display: inline-flex; align-items: center; min-height: 38px; color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }
.case-notes > .eyebrow { margin-top: 3px; }
.case-notes h3 { margin: 10px 0 21px; font-family: var(--serif); font-size: 23px; font-weight: 500; line-height: 1.7; letter-spacing: .01em; }
.note-tabs { display: none; }
.note-section { margin-bottom: 18px; border-top: 1px solid var(--line); padding-top: 13px; }
.note-section h4 { display: flex; align-items: baseline; gap: 14px; margin-bottom: 7px; font-size: 13px; font-weight: 500; line-height: 1.75; }
.note-section h4 > span:first-child { flex: none; color: var(--accent); font-size: 10px; }
.note-section p { font-size: 13px; line-height: 1.95; }
#intent-palette { display: flex; flex-wrap: wrap; gap: 6px 15px; list-style: none; margin: 11px 0 0; padding: 0; }
#intent-palette li { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 10px; }
#intent-palette i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgb(0 0 0 / 13%); }
.case-edition { border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; line-height: 1.9; }
.case-edition summary { padding-block: 12px; cursor: pointer; }
.case-edition p { margin-bottom: 9px; }
.case-edition strong { margin-right: 9px; color: var(--ink); font-weight: 500; }
.detail-consult { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 25px; padding: 23px 25px; background: var(--paper); }
.detail-consult p { font-size: 16px; line-height: 1.65; }
.detail-consult div > span { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.detail-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 10px; }
@media (min-width: 761px) and (max-width: 1100px) {
  .shell { width: calc(100% - 48px); }
  .hero { grid-template-columns: minmax(0, .94fr) minmax(0, 2.06fr); column-gap: 22px; }
  .hero-intro h1 { font-size: clamp(21px, 2.65vw, 29px); }
  .hero-media { font-size: 12px; }
  .hero-works { gap: 14px; }
  .hero-action .action { font-size: 11px; gap: 16px; padding-inline: 12px; }
  .work-title { font-size: 14px; }
  .site-nav { gap: 18px; }
  .wordmark { font-size: 18px; }
  .entry-links a { padding-inline: 15px; gap: 10px; }
  .entry-title { font-size: 15px; }
  .service { padding-inline: 24px; }
  .service h3 { font-size: 22px; }
  .case-study { gap: 24px; }
  .detail-body { padding-inline: 24px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 18px; scrollbar-width: none; }
  html::-webkit-scrollbar { width: 0; height: 0; }
  .shell { width: calc(100% - 36px); }
  .header-inner { min-height: 60px; gap: 8px; }
  .wordmark { font-size: 15px; letter-spacing: .03em; }
  .menu-toggle { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0; border: 0; background: #fff; }
  .menu-icon { position: relative; width: 22px; height: 16px; }
  .menu-icon::before, .menu-icon::after { content: ""; position: absolute; inset: 4px 0 auto; height: 1px; background: var(--ink); }
  .menu-icon::after { top: 12px; }
  .menu-toggle[aria-expanded="true"] .menu-icon::before { top: 8px; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon::after { top: 8px; transform: rotate(-45deg); }
  .site-nav { position: absolute; z-index: 4; inset: calc(100% + 1px) -18px auto; display: none; padding: 10px 18px 18px; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 12px 18px rgb(20 30 20 / 5%); }
  .menu-toggle[aria-expanded="true"] + .site-nav { display: block; }
  .site-nav a { min-height: 48px; justify-content: space-between; }
  .site-nav a + a { border-top: 1px solid var(--line); }
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; gap: 20px; padding-top: 23px; }
  .hero-intro, .hero-works, .hero-action { grid-area: auto; }
  .hero-intro .eyebrow { font-size: 11px; letter-spacing: .075em; }
  .hero-intro h1 { margin-top: 9px; font-size: clamp(26px, 8.1vw, 38px); letter-spacing: -.045em; line-height: 1.5; }
  .hero-media { margin-top: 10px; font-size: 13px; letter-spacing: 0; }
  .hero-works { gap: 12px; }
  .hero-works .work-image { aspect-ratio: auto; height: clamp(178px, 51vw, 290px); }
  .hero-works .work-jar .work-image { background: #f5f2ec; }
  .hero-works .work-flyer .work-image { padding: 7px; }
  .work-caption { grid-template-columns: minmax(0, 1fr) 18px; min-height: 64px; gap: 5px 3px; padding-top: 10px; }
  .work-meta { font-size: 11px; letter-spacing: 0; line-height: 1.7; }
  .work-title { grid-column: 1 / -1; font-size: 14px; font-weight: 500; line-height: 1.65; text-wrap: balance; }
  .card-open { grid-row: 1; width: 18px; height: 18px; border: 0; border-radius: 0; font-size: 14px; }
  .hero-action { padding: 0; margin-top: -6px; }
  .hero-action .action { width: 100%; min-height: 50px; padding-inline: 18px; }
  .hero-action p { max-width: none; margin-top: 9px; text-align: center; font-size: 12px; line-height: 1.8; }
  .entry-links { grid-template-columns: minmax(0, 1fr); margin-top: 25px; }
  .entry-links a { grid-template-columns: minmax(0, 1fr) 22px; gap: 10px; min-height: 75px; padding: 14px 3px; }
  .entry-links a + a { border-left: 0; border-top: 1px solid var(--line); }
  .entry-copy { gap: 3px; }
  .entry-title { font-size: 16px; }
  .entry-detail { font-size: 12px; }
  .entry-arrow { font-size: 20px; }
  .page-section { margin-top: 54px; }
  .section-heading { display: grid; gap: 12px; margin-bottom: 22px; }
  .section-heading h2 { font-size: 28px; }
  .section-heading > p { font-size: 14px; line-height: 1.9; }
  .catalog-bar { display: block; margin-bottom: 16px; border: 0; }
  .catalog-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 8px; }
  .catalog-filters button { padding-inline: 4px; border-bottom-color: var(--line); font-size: 13px; }
  .catalog-total { margin-top: 8px; text-align: right; }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px 12px; }
  .work-grid .grid-lead { grid-column: 1 / -1; }
  .work-grid .grid-lead .work-image { aspect-ratio: 1.5; padding: 8%; }
  .work-grid .grid-lead .work-title { font-size: 16px; }
  .work-grid .grid-lead .work-caption { min-height: 58px; }
  .work-grid .work-image { aspect-ratio: 1 / 1.2; padding: 6%; }
  @media (min-width: 960px) {
  .work-grid[data-group="all"] :is([data-work="yakiniku-menu"], [data-work="nettabo"]) { grid-column: span 2; }
  .work-grid[data-group="all"] .work-image { height: clamp(260px, 27vw, 390px); aspect-ratio: auto; padding: 18px; }
  .work-grid[data-group="all"] .work-jar .work-image { padding: 0; }
  .work-grid[data-group="menus"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-grid[data-group="menus"] .work-image { aspect-ratio: 1.55; padding: 18px; }
  .work-grid[data-group="all"] .packaging-pair {
    grid-template-columns: minmax(0, 2.75fr) minmax(0, 1fr);
    gap: 4%; padding: 5% 8%;
  }
}
.works-consult { display: grid; gap: 7px; margin-top: 18px; padding-block: 18px; }
  .works-consult > p { font-size: 13px; }
  .text-link { font-size: 12px; }
  .services-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .service { padding: 23px 22px; }
  .service h3 { font-size: 23px; }
  .service-intro { font-size: 14px; }
  .request-examples dt { font-size: 15px; }
  .request-examples dd { font-size: 14px; }
  .profile { padding-top: 25px; }
  .profile-content { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .profile h3 { font-size: 20px; }
  .profile-copy { font-size: 14px; line-height: 2; }
  .contact { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 54px; padding-top: 29px; }
  .contact h2 { margin-top: 11px; font-size: 30px; }
  .contact-copy > p:last-child { margin-top: 13px; font-size: 14px; }
  .contact-panel { padding: 21px 18px; }
  .contact-panel .action { width: 100%; }
  .demo-note { font-size: 12px; }
  .site-footer { margin-top: 45px; padding-top: 22px; }
  .footer-main { flex-wrap: wrap; }
  .site-footer > p { font-size: 9px; }
  dialog { width: calc(100% - 16px); height: calc(100dvh - 16px); max-height: none; }
  .detail-bar { min-height: 49px; padding: 2px 14px; font-size: 11px; }
  .detail-close { gap: 12px; font-size: 11px; }
  .detail-counter { margin-left: 10px; font-size: 11px; }
  .detail-body { padding: 17px 16px 12px; scrollbar-gutter: auto; scrollbar-width: thin; }
  .detail-heading { margin-bottom: 16px; }
  .detail-heading h2 { margin-top: 5px; font-size: 22px; line-height: 1.55; }
  #detail-description { margin-top: 8px; font-size: 13px; line-height: 1.8; }
  .case-study { grid-template-columns: minmax(0, 1fr); gap: 17px; }
  .case-visual { position: static; }
  .image-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding-bottom: 10px; }
  .image-choices button { min-height: 44px; padding: 5px 9px; font-size: 12px; }
  .detail-image-stage { height: auto; min-height: min(48vw, 212px); padding: 8px; }
  .detail-image-stage img { width: auto; height: auto; max-height: min(60dvh, 124vw); }
  .detail-media figcaption { gap: 8px; font-size: 12px; }
  .detail-media figcaption a { min-height: 44px; }
  .case-notes > .eyebrow { margin-top: 0; font-size: 12px; }
  .case-notes h3 { margin: 7px 0 15px; font-size: 19px; line-height: 1.65; }
  .note-tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
  .note-tabs button { min-height: 44px; padding: 8px; border: 0; border-bottom: 2px solid transparent; background: #fff; color: var(--muted); font-size: 12px; }
  .note-tabs button[aria-pressed="true"] { border-bottom-color: var(--accent); background: var(--paper); color: var(--accent); }
  .note-section { border-top: 0; padding-top: 13px; margin-bottom: 15px; }
  .note-section:not(.is-active) { display: none; }
  .note-section h4 { font-size: 13px; }
  .note-section h4 > span:first-child { display: none; }
  .note-section p { font-size: 13px; line-height: 1.9; }
  .case-edition { font-size: 12px; }
  .detail-consult { display: grid; gap: 15px; margin-top: 18px; padding: 19px 17px; }
  .detail-consult p { font-size: 14px; }
  .detail-consult div > span { font-size: 10px; }
  .detail-consult .action { width: 100%; font-size: 12px; min-height: 48px; }
  .detail-bottom { gap: 10px; }
  .detail-bottom .text-link { font-size: 12px; gap: 8px; }
}
@media (max-width: 350px) {
  .shell { width: calc(100% - 28px); }
  .wordmark { font-size: 13px; }
  .site-nav { inset-inline: -14px; }
  .hero-intro h1 { font-size: 24px; }
  .hero-works { gap: 9px; }
  .hero-works .work-image { height: 200px; }
  .work-caption { grid-template-columns: minmax(0, 1fr); }
  .card-open { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .action, .card-open, .entry-links a { transition: background-color .16s ease, color .16s ease; }
}
