:root {
  --ink: #252823;
  --line: #d8d6cb;
  --muted: #575b50;
  --paper: #f5f3ea;
  --accent: #823623;
  --accent-dark: #642819;
  --round: "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  --display: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
}
body { background: #faf9f4; }
.site-header { background: #faf9f4; border-bottom-color: #bbbdb0; }
.header-inner { min-height: 72px; }
.wordmark img.studio-logo { width: auto; height: 56px; mix-blend-mode: multiply; }
.wordmark .studio-name { font: 500 clamp(14px, 1.15vw, 18px)/1.4 var(--sans); letter-spacing: .02em; }
.site-footer .wordmark img.studio-logo { height: 150px; }
.site-nav { gap: clamp(15px,2.1vw,34px); font-size: 13px; }
.site-nav a:last-child { border: 0; border-bottom: 1px solid var(--accent); border-radius: 0; padding: 0; }
.shell { width: min(calc(100% - 7vw), 1520px); }
.studio-hero {
  display: grid;
  grid-template-columns: minmax(0,.98fr) minmax(0,2.08fr);
  grid-template-rows: 1fr auto;
  gap: 12px clamp(24px,2.7vw,50px);
  padding-block: clamp(28px,3vw,54px) 28px;
}
.hero-message { grid-area: 1/1; align-self: center; }
.practice { display: flex; align-items: center; gap: 8px; color: #4d5348; font-size: 12px; letter-spacing: .09em; }
.practice::before { content: ""; width: 20px; height: 2px; background: var(--accent); }
.hero-message h1 { margin: clamp(20px,2.4vw,38px) 0 clamp(18px,2vw,32px); font-family: var(--display); font-size: clamp(44px,4.75vw,84px); font-weight: 600; line-height: 1.21; letter-spacing: -.095em; }
.hero-message h1 span { display: block; white-space: nowrap; }
.hero-message h1 em { color: var(--accent); font-style: normal; }
.hero-lead { font-size: clamp(13px,1.06vw,17px); line-height: 1.95; }
.hero-menu { margin-top: 17px; color: var(--muted); font-size: clamp(11px,.93vw,14px); line-height: 1.7; }
.studio-action { grid-area: 2/1; align-self: start; padding-bottom: 8px; }
.studio-action p { margin-top: 9px; color: var(--muted); font-size: 11px; line-height: 1.75; }
.action { border-radius: 0; background: #803722; border-color: #803722; }
.action:hover { background: #5e281b; border-color: #5e281b; }
.studio-hero .hero-works { grid-area: 1/2/3/3; display: grid; grid-template-columns: 1.04fr 1fr; align-content: center; gap: 0; }
.studio-hero .work-card { min-width: 0; color: var(--ink); }
.studio-hero .work-card:focus-visible { position: relative; z-index: 2; outline-offset: 3px; }
.studio-hero .work-image { isolation: isolate; position: relative; height: clamp(265px,26vw,440px); aspect-ratio: auto; }
.studio-hero .work-image::before {
  position: absolute; z-index: -1; content: ""; inset: 0; pointer-events: none;
}
.studio-hero .packaging-pair { background: #3d4134; padding: 9% 8% 8%; gap: 6%; grid-template-columns: minmax(0,2.25fr) minmax(0,1fr); }
.studio-hero .packaging-pair::before {
  background: #576149; clip-path: polygon(0 74%,100% 10%,100% 100%,0 100%);
}
.studio-hero .work-image img { object-fit: contain; filter: drop-shadow(2px 5px 5px #1919123b); }
.studio-hero .packaging-pair img:first-child { transform: translateY(4%) rotate(-5deg); }
.studio-hero .packaging-pair img:last-child { transform: translateY(-3%) rotate(4deg); }
.studio-hero .work-flyer .work-image { background: #e8b69d; padding: 7% 10%; }
.studio-hero .work-flyer .work-image::before { background: #f2cebb; clip-path: ellipse(70% 100% at 19% 109%); }
.studio-hero .work-flyer .work-image img { transform: rotate(4deg); }
.studio-hero .work-caption {
  display: grid; grid-template-columns: minmax(0,1fr) 24px; gap: 3px 6px; min-height: 0;
  padding: 15px 9px 7px 14px; border-left: 1px solid var(--line);
}
.studio-hero .cover-line { grid-area: 1/1/2/3; font-family: var(--display); font-weight: 600; font-size: clamp(15px,1.43vw,25px); letter-spacing: -.045em; line-height: 1.5; }
.studio-hero .work-title { grid-area: 2/1; font-weight: 400; font-size: clamp(12px,1vw,16px); }
.studio-hero .work-meta { grid-area: 3/1; color: #545747; font-size: 11px; }
.studio-hero .card-open { grid-area: 2/2/4/3; justify-self: end; width: 24px; height: 24px; background: transparent; }
.studio-hero .work-card:hover .cover-line { color: var(--accent); }
.entry-links { margin: 0; border-color: #b8bbab; }
.entry-links a { min-height: 81px; padding: 13px 25px; }
.entry-links a:first-child { padding-left: 0; }
.entry-copy { gap: 3px; }
.entry-title { font-family: var(--round); font-size: 18px; }
.entry-detail { font-size: 12px; }
.entry-links a:hover { background: #f0efe5; }
.approach { margin-top: clamp(44px,5.5vw,78px); padding: clamp(25px,3vw,48px); display: grid; grid-template-columns: .80fr 1.60fr; gap: clamp(20px,2.9vw,48px); background: #283e37; color: #fffdf3; }
.approach h2,.section-heading h2,.contact h2 { font-family: var(--display); font-weight: 600; letter-spacing: -.055em; }
.approach h2 { font-size: clamp(25px,2.4vw,42px); line-height: 1.4; }
.approach-copy > p { margin: 16px 0 24px; font-size: 14px; line-height: 1.9; }
.approach-choices { display: grid; max-width: 330px; }
.approach-choices button { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; cursor: pointer; padding: 7px 3px; border: 0; border-top: 1px solid #77877c; background: transparent; color: #fcfaf4; font: inherit; font-size: 14px; text-align: left; }
.approach-choices button:last-child { border-bottom: 1px solid #77877c; }
.approach-choices button::after { content: "＋"; }
.approach-choices button[aria-pressed="true"] { color: #ffdc82; font-weight: 600; }
.approach-choices button[aria-pressed="true"]::after { content: "●"; font-size: 11px; }
.approach-choices button:focus-visible { outline-color: #ffdc82; outline-offset: 0; }
.idea-spread { min-width: 0; display: grid; grid-template-columns: 1.03fr .97fr; align-items: stretch; background: #f5f0e4; color: var(--ink); }
.idea-photo { display: grid; place-items: center; padding: 13px; background: #ece4d1; min-width: 0; }
.idea-photo img { display: block; width: 100%; height: clamp(175px,18vw,280px); object-fit: contain; }
.idea-text { min-width: 0; display: flex; flex-direction: column; align-items: start; justify-content: center; padding: clamp(17px,1.8vw,32px); }
#idea-meta { color: #68594c; font-size: 11px; line-height: 1.6; }
.idea-text h3 { margin: 9px 0; font-family: var(--display); font-size: clamp(19px,1.72vw,29px); line-height: 1.5; letter-spacing: -.045em; }
#idea-body { font-size: 13px; line-height: 1.9; }
.idea-text .text-link { margin-top: 8px; }
.idea-spread[data-case="summer-beer-festival"] .idea-photo { background: #e5d1ac; }
.idea-spread[data-case="yakiniku-menu"] .idea-photo { background: #d4d0c6; }
.section-heading h2 { font-size: clamp(31px,3vw,49px); }
.section-heading > p { max-width: 25em; }
.catalog-filters button { background: transparent; }
.work-grid { column-gap: clamp(14px,1.9vw,32px); }
.work-grid .work-caption { border-top: 1px solid var(--line); }
.services-grid { gap: 0; }
.service { border-top: 1px solid #777f71; background: #eeeee4; }
.service + .service { background: #f1e9de; }
.service h3 { font-family: var(--round); font-weight: 500; }
@media (min-width: 960px) {
  .work-grid[data-group="all"] .work-card[data-work] { grid-column: auto; }
  .work-grid[data-group="all"] .work-image { height: clamp(240px,22vw,360px); }
}
@media (min-width: 761px) and (max-width: 1000px) {
  .shell { width: calc(100% - 42px); }
  .site-nav { gap: 12px; font-size: 12px; }
  .studio-hero { column-gap: 18px; }
  .hero-message h1 { font-size: clamp(37px,4.55vw,48px); }
  .studio-hero .work-image { height: 29vw; }
  .wide-only { display: none; }
  .approach { grid-template-columns: 1fr 1.65fr; }
  .idea-spread { grid-template-columns: .83fr 1.17fr; }
}
@media (max-width:760px) {
  .shell { width: calc(100% - 36px); }
  .header-inner { min-height: 57px; }
  .site-nav { background: #faf9f4; }
  .site-nav a:last-child { border-top: 1px solid var(--line); border-bottom: 0; }
  .studio-hero { grid-template-columns: 1fr; grid-template-rows: auto; gap: 16px; padding-block: 23px 20px; }
  .hero-message,.studio-action,.studio-hero .hero-works { grid-area: auto; }
  .practice { font-size: 11px; }
  .hero-message h1 { margin: 9px 0 10px; font-size: clamp(30px,7.6vw,51px); line-height: 1.32; }
  .hero-message h1 span { display: inline; }
  .hero-lead { font-size: 13px; line-height: 1.75; max-width: 34em; }
  .hero-lead br { display: none; }
  .hero-menu { margin-top: 9px; font-size: 11.5px; }
  .studio-hero .hero-works { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .studio-hero .work-image { height: clamp(155px,47vw,285px); }
  .studio-hero .work-caption { grid-template-columns: minmax(0,1fr) 14px; padding: 8px 5px 2px 7px; }
  .studio-hero .cover-line { font-size: clamp(13px,3.45vw,18px); letter-spacing: -.075em; }
  .studio-hero .work-title { font-size: 11.5px; line-height: 1.5; }
  .studio-hero .work-meta { font-size: 10px; }
  .studio-hero .card-open { width: 14px; height: 18px; font-size: 12px; border: 0; }
  .studio-action { padding: 0; }
  .studio-action .action { display: flex; width: 100%; min-height: 46px; }
  .studio-action p { margin-top: 6px; text-align: center; }
  .entry-links { margin: 0; }
  .entry-links a,.entry-links a:first-child { min-height: 63px; padding: 10px 1px; }
  .entry-title { font-size: 16px; }.entry-detail { font-size: 11.5px; }
  .approach { margin: 38px -18px 0; gap: 18px; grid-template-columns: 1fr; padding: 24px 18px; }
  .approach-copy > p { margin: 9px 0 14px; font-size: 13px; }
  .approach-choices { display: flex; flex-wrap: wrap; gap: 6px; max-width: none; }
  .approach-choices button,.approach-choices button:last-child { border: 1px solid #8b9c90; font-size: 12px; min-height: 44px; padding: 8px 10px; }
  .approach-choices button[aria-pressed="true"] { border-color: #ffdc82; }
  .approach-choices button::after { display: none; }
  .idea-spread { grid-template-columns: 1fr; }
  .idea-photo { padding: 12px; }
  .idea-photo img { height: clamp(145px,42vw,260px); }
  .idea-text { padding: 15px 18px; }
  .idea-text h3 { margin: 6px 0; }
}
@media(max-width:350px){
  .shell { width: calc(100% - 26px); }
  .hero-message h1 { font-size: 27px; }
  .approach { margin-inline: -13px; padding-inline: 13px; }
  .studio-hero .cover-line { font-size: 12px; }
}
.hero-message h1 span:first-child { font-size: .80em; letter-spacing: -.085em; }
.idea-spread[data-case="hoguddo"] .idea-photo { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; background: #e7e4d8; }
.idea-spread[data-case="hoguddo"] .idea-photo img { filter: drop-shadow(0 2px 2px #20272118); }
@media(max-width:760px){
  .menu-toggle { background: transparent; }
  .approach-choices { display: grid; grid-template-columns: 1fr 1fr; }
  .approach-choices button { justify-content: center; }
  .hero-message h1 span:first-child { font-size: .90em; }
}
