:root {
  color-scheme: light;
  --paper: #f9f8f4;
  --ink: #33302e;
  --accent: #8f9e78;
  --accent-dark: #535f45;
  --muted: #5d5953;
  --line: #d6d6c8;
  --soft: #efeee7;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif CJK JP", "MS PMincho", serif;
  --sans: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --gutter: clamp(20px, 5.3vw, 80px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.9 var(--sans);
  line-break: strict;
}
h1, h2, h3, p, figure, ul { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; }
a { color: inherit; }
img { display: block; max-inline-size: 100%; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 5px; }
section[id] { scroll-margin-block-start: 24px; }

.skip-link {
  position: fixed;
  inset: 8px auto auto 8px;
  z-index: 10;
  padding: 10px 16px;
  background: var(--paper);
  transform: translateY(calc(-100% - 10px));
}
.skip-link:focus { transform: none; }
.shell { width: min(1280px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.section { padding-block: clamp(78px, 10vw, 156px); }
.brand { display: inline-flex; align-items: center; min-height: 48px; flex: none; }
.brand img { width: 138px; height: auto; }
.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(16px, 3vw, 48px);
  list-style: none;
  padding: 0;
}
.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .05em;
  text-decoration: none;
  text-underline-offset: .42em;
}
.nav-list a:hover { text-decoration: underline; }

.hero {
  --hero-group-offset: clamp(14px, 1.8vw, 26px);
  display: grid;
  min-height: clamp(590px, 50vw, 740px);
  min-height: clamp(590px, 100svh, 900px);
  position: relative;
  isolation: isolate;
  background: #eee9dc;
}
.hero-brand {
  position: absolute;
  z-index: 1;
  top: clamp(20px, 3.4vw, 52px);
  left: clamp(24px, 4vw, 60px);
}
.hero-brand img { width: clamp(132px, 11vw, 164px); }
.hero-content .button { min-height: 44px; padding-block: 8px; white-space: nowrap; }
.media {
  display: grid;
  place-items: center;
  min-width: 0;
  background: #eae5da;
  overflow: hidden;
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media img[hidden] { display: none; }
.media.photo-missing { background: #eae5da url("./assets/emblem.svg") center / 56px no-repeat; }
.hero-media { position: absolute; z-index: -2; inset: 0; }
.hero-media img {
  position: absolute;
  inset: 0;
  object-position: 68% center;
}
.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #f9f8f4ee, #f9f8f4b0 26%, #f9f8f400 56%);
  content: "";
  pointer-events: none;
}
.hero-content {
  align-self: center;
  justify-self: start;
  padding-block: clamp(86px, 11svh, 110px) clamp(24px, 4svh, 44px);
  margin-inline-start: clamp(42px, 10.5vw, 178px);
  translate: 0 var(--hero-group-offset);
}
.vertical { writing-mode: vertical-rl; text-orientation: mixed; }
.vertical > span { display: block; }
.hero-title {
  font-size: clamp(40px, min(4.4vw, 7svh), 69px);
  line-height: 1.42;
  letter-spacing: .09em;
}
.hero-title > span + span { margin-inline-start: .45em; }
.hero-description {
  margin-block: clamp(15px, 2.6svh, 26px) 16px;
  font-family: var(--serif);
  font-size: clamp(17px, 1.44vw, 20px);
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: .025em;
}
.button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  min-height: 52px;
  max-width: 100%;
  gap: 18px;
  padding: 11px 19px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .045em;
  text-align: start;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .5s ease, border-color .5s ease, color .5s ease;
}
.button--outline { background: #f9f8f4dd; border-color: #788568; }
.button--outline:hover { background: #e9eddf; border-color: var(--accent-dark); }
.button--primary { background: var(--accent); border-color: #7a8967; }
.button--primary:hover { color: var(--paper); background: var(--accent-dark); border-color: var(--accent-dark); }
.arrow-down, .arrow-right { position: relative; display: inline-block; flex: 0 0 auto; }
.arrow-down { width: 12px; height: 17px; }
.arrow-right { width: 19px; height: 12px; }
.arrow-down::before, .arrow-right::before, .arrow-down::after, .arrow-right::after { position: absolute; content: ""; }
.arrow-down::before { top: 0; bottom: 2px; left: 50%; border-left: 1px solid; }
.arrow-down::after {
  width: 7px; height: 7px; bottom: 2px; left: 50%;
  border-right: 1px solid; border-bottom: 1px solid;
  transform: translateX(-50%) rotate(45deg);
}
.arrow-right::before { left: 0; right: 2px; top: 50%; border-top: 1px solid; }
.arrow-right::after {
  width: 7px; height: 7px; right: 2px; top: 50%;
  border-right: 1px solid; border-top: 1px solid;
  transform: translateY(-44%) rotate(45deg);
}

.chapter-heading { display: grid; align-content: start; justify-items: end; gap: 22px; }
.chapter-heading h2 { font-size: clamp(29px, 3vw, 44px); line-height: 1.43; letter-spacing: .075em; }
.chapter-heading h2 > span + span { margin-inline-start: .36em; }
.section-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  white-space: nowrap;
}
.section-label::before { content: ""; width: 16px; height: 1px; background: var(--accent); }
.prose { color: var(--muted); font-size: 16px; line-height: 2.05; }
.hero-description, .prose > p, .craft-point > p, .product-copy > p, .dialog-panel > p, .noscript-note {
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}
.copy-parenthetical { margin-inline: -.3em; }
.copy-gloss { white-space: nowrap; }
.prose p + p { margin-block-start: 1em; }

.concept {
  display: grid;
  grid-template-areas: "image copy heading";
  grid-template-columns: minmax(0, 1.4fr) minmax(0, .88fr) auto;
  align-items: center;
  gap: clamp(23px, 4.4vw, 76px);
}
.concept-heading { grid-area: heading; align-self: start; }
.concept-media { grid-area: image; aspect-ratio: 6 / 5; box-shadow: 10px 10px 0 #e9e8dd; }
.concept-media img { object-position: 45% center; }
.concept-copy { grid-area: copy; }

.lineup { background: var(--soft); }
.lineup-layout {
  display: grid;
  grid-template-areas: "products heading";
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 4.1vw, 66px);
}
.lineup-heading { grid-area: heading; }
.product-grid {
  grid-area: products;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 30px);
  padding: 0;
  list-style: none;
  align-self: start;
}
.product-card { min-width: 0; }
.product-media { aspect-ratio: 1; }
.product-media--cutout:not(.photo-missing) {
  background-color: transparent;
  overflow: visible;
}
.product-media--cutout img {
  scale: var(--plate-scale, 1);
  filter: drop-shadow(1px 2px 2px rgb(66 49 34 / .12))
          drop-shadow(3px 7px 7px rgb(66 49 34 / .15));
}
.product-media--shinryoku { --plate-scale: 1.08; }
.product-media--asatsuyu { --plate-scale: .94; }
.product-copy { padding-block: 19px 0; }
.product-copy h3 { font-size: clamp(24px, 2.2vw, 33px); line-height: 1.3; white-space: nowrap; }
.product-copy h3 span { font: 400 12px/1.5 var(--sans); color: var(--muted); }
.product-copy p { margin-top: 12px; color: var(--muted); font-size: 16px; line-height: 1.85; }

.craft {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(34px, 6.4vw, 100px);
}
.craft-intro { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(16px, 3vw, 44px); }
.craft-heading { justify-items: start; align-self: center; }
.craft-media { aspect-ratio: 6 / 5; align-self: center; }
.craft-media img { object-position: 47% center; }
.craft-point { padding-block: 24px; border-block-start: 1px solid var(--line); }
.craft-point:last-child { border-block-end: 1px solid var(--line); }
.craft-point h3 { margin-block-end: 8px; color: var(--ink); font-size: 23px; letter-spacing: .045em; }

.gift { background: #ebeee3; }
.gift-layout {
  display: grid;
  grid-template-areas: "image copy heading";
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr) auto;
  gap: clamp(24px, 4vw, 66px);
  align-items: center;
}
.gift-heading { grid-area: heading; align-self: start; }
.gift-media { grid-area: image; aspect-ratio: 5 / 4; }
.gift-media img { object-position: 43% center; }
.gift-copy { grid-area: copy; }
.order { margin-block-start: 26px; padding-block-start: 22px; border-block-start: 1px solid #c7cebb; color: var(--ink); }
.order-name { font-family: var(--serif); font-size: 18px; line-height: 1.65; }
.order .price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 3px;
  margin-block: 9px 17px;
}
.price-amount { font: 400 clamp(29px, 3vw, 44px)/1.2 Georgia, var(--serif); font-variant-numeric: lining-nums; }
.price-yen { margin-inline-start: 4px; font: 500 19px/1 var(--serif); }
.price-note { font-size: 13px; white-space: nowrap; }
.order .button { width: min(100%, 340px); }
.noscript-note { font-size: 14px; }

.site-footer { padding-block: 46px 23px; }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 24px 44px; padding-block-end: 30px; }
.footer-meta {
  padding-block-start: 18px;
  border-block-start: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 22px;
  color: var(--muted);
}
.footer-meta small { font-size: 12px; }

dialog {
  width: min(460px, calc(100% - 36px));
  max-height: calc(100% - 36px);
  padding: 0;
  border: 1px solid var(--accent);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 18px 75px #25241a38;
}
dialog[open] { animation: dialog-in .35s ease both; }
dialog::backdrop { background: #29291f85; }
.dialog-panel { display: grid; justify-items: center; gap: 17px; padding: clamp(24px, 6vw, 44px); }
.dialog-panel h2 { font-size: 29px; }
.dialog-panel p { text-align: start; color: var(--muted); }
.dialog-panel .button { justify-content: center; min-width: 128px; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.reveal-ready [data-reveal] {
  transition: opacity .85s ease, transform .85s cubic-bezier(.22, .61, .36, 1);
}
.reveal-ready [data-reveal]:not(.is-visible):not(:focus-within) {
  opacity: 0;
  transform: translateY(20px);
}
.product-card:nth-child(2) { transition-delay: 70ms; }
.product-card:nth-child(3) { transition-delay: 140ms; }
.product-card:nth-child(4) { transition-delay: 210ms; }

@media (width > 1080px) {
  .lineup { padding-block-end: clamp(72px, 6.4vw, 96px); }
  .product-grid { margin-block-start: clamp(36px, 4vw, 64px); }
}

@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 24px; }
  .concept, .gift-layout { gap: 26px; }
}

@media (min-width: 721px) and (max-width: 900px) {
  .concept, .gift-layout {
    grid-template-areas: "image heading" "copy copy";
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
  .concept-media, .gift-media { aspect-ratio: 16 / 9; }
  .concept-copy, .gift-copy { max-width: 640px; }
  .hero { min-height: 550px; }
  .hero::before { background: linear-gradient(90deg, #f9f8f4f5, #f9f8f4bd 32%, #f9f8f400 62%); }
  .craft { gap: 30px; }
  .craft-intro { grid-template-columns: minmax(0, 1fr) auto; }
  .craft-heading { grid-column: 2; grid-row: 1; }
  .craft-media { grid-column: 1; grid-row: 1; aspect-ratio: 3 / 4; }
}

@media (max-width: 720px) {
  :root { --gutter: clamp(19px, 5.8vw, 40px); }
  .nav-list { justify-content: center; gap: 0 clamp(8px, 3.2vw, 26px); }
  .nav-list a { font-size: 12px; letter-spacing: 0; }
  .hero {
    --hero-brand-space: clamp(50px, 12vw, 58px);
    --hero-group-offset: clamp(14px, 4.5vw, 26px);
    grid-template-columns: minmax(0, 1fr);
    min-height: calc(clamp(585px, 162vw, 910px) + var(--hero-brand-space));
  }
  .hero-brand {
    top: clamp(10px, 3vw, 18px);
    inset-inline-start: var(--gutter);
  }
  .hero-brand img { width: clamp(100px, 29vw, 134px); }
  .hero-content .button {
    grid-row: 4;
    margin-block-start: 16px;
    gap: 12px;
    padding-inline: 15px;
    font-size: 14px;
  }
  .hero::before { background: linear-gradient(180deg, #f9f8f43b, transparent 26%, transparent 72%, #f9f8f447); }
  .hero-media img { object-position: center; }
  .hero-content {
    --hero-edge-space: clamp(29px, 7.7vw, 45px);
    display: grid;
    grid-template-rows: auto 1fr auto auto;
    align-self: stretch;
    justify-self: stretch;
    justify-items: center;
    margin: 0;
    padding: calc(var(--hero-brand-space) + var(--hero-edge-space) - 4px) clamp(15px, 5vw, 36px) calc(30px + var(--hero-group-offset));
    text-align: center;
  }
  .vertical { writing-mode: horizontal-tb; }
  .hero-title {
    grid-row: 1;
    font-size: clamp(33px, 9.7vw, 48px);
    line-height: 1.25;
    letter-spacing: .035em;
  }
  .hero-punctuation {
    display: inline-block;
    inline-size: .18em;
    white-space: nowrap;
  }
  .hero-title > span + span, .chapter-heading h2 > span + span { margin-inline-start: 0; }
  .hero-description { grid-row: 3; margin: 0; font-size: 16px; letter-spacing: 0; }
  .button { gap: 12px; padding-inline: 13px; letter-spacing: .015em; }

  .concept, .lineup-layout, .craft, .craft-intro, .gift-layout { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .concept, .gift-layout { grid-template-areas: "heading" "image" "copy"; }
  .lineup-layout { grid-template-areas: "heading" "products"; }
  .chapter-heading { justify-items: start; gap: 9px; }
  .chapter-heading h2 { font-size: clamp(27px, 6vw, 38px); line-height: 1.42; letter-spacing: .03em; }
  .chapter-heading h2 span { word-break: auto-phrase; text-wrap: balance; }
  .gift-heading h2 { font-size: clamp(20px, 6.4vw, 38px); white-space: nowrap; }
  .gift-heading h2 > span { display: inline; }
  .concept-media, .craft-media, .gift-media { aspect-ratio: 3 / 2; }
  .concept-media { box-shadow: 6px 6px 0 #e9e8dd; }
  .lineup-heading h2 { font-size: min(clamp(27px, 6vw, 38px), 7vw); }
  .lineup-heading h2 > span { white-space: nowrap; }
  .product-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .product-card + .product-card { border-block-start: 1px solid var(--line); padding-block-start: 24px; }
  .product-media { max-inline-size: 300px; margin-inline: auto; }
  .product-copy { padding-top: 12px; }
  .product-copy h3 { line-height: 1.3; }
  .product-copy p { margin-top: 7px; }
  .craft-intro { gap: 20px; }
  .craft-point { padding-block: 19px; }
  .site-footer { padding-top: 35px; }
  .footer-main { flex-direction: column; gap: 9px; padding-bottom: 20px; }
  .footer-meta { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 540px) {
  .hero-media:not(.photo-missing) { background: linear-gradient(165deg, #f4e8da, #f6ebde 72%, #f2e5d6); }
  .hero-media img {
    inset-block: 50% auto;
    height: auto;
    aspect-ratio: 2 / 3;
    translate: 0 calc(-50% + var(--hero-group-offset));
    mask-image: linear-gradient(transparent, #000 44px, #000 calc(100% - 65px), transparent);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-ready [data-reveal]:not(.is-visible) { opacity: 1; transform: none; }
}
