/* 메디웍스의 독립 뷰티케어 브랜드 BOM을 위한 반응형 디자인 */
@font-face {
  font-family: "Pretendard BOM";
  src: url("/assets/fonts/PretendardHapeeiSubset-v1.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bom-paper: #eeeae2;
  --bom-ivory: #f8f5ef;
  --bom-ink: #20211e;
  --bom-green: #263129;
  --bom-green-light: #748071;
  --bom-velvet: #51373e;
  --bom-line: rgba(32, 33, 30, 0.24);
  --bom-frame: clamp(22px, 5vw, 78px);
  --bom-serif: Georgia, "Times New Roman", serif;
  color: var(--bom-ink);
  background: var(--bom-paper);
  font-family: "Pretendard BOM", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--bom-ink);
  background: var(--bom-paper);
  font-family: "Pretendard BOM", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

strong,
span,
p,
h1,
h2,
h3 {
  word-break: keep-all;
  overflow-wrap: break-word;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

.bom-skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 11px 15px;
  background: var(--bom-ink);
  color: var(--bom-ivory);
  transform: translateY(-150%);
}

.bom-skip-link:focus {
  transform: translateY(0);
}

.bom-header {
  position: relative;
  z-index: 50;
  min-height: 78px;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid var(--bom-line);
  background: var(--bom-paper);
}

.bom-lockup {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
}

.bom-lockup strong {
  font-family: var(--bom-serif);
  font-size: 31px;
  font-weight: 400;
  letter-spacing: -0.08em;
  line-height: 1;
}

.bom-lockup span {
  font-family: var(--bom-serif);
  font-size: 12px;
  font-style: italic;
}

.bom-nav,
.bom-footer nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 38px);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.bom-nav a,
.bom-footer nav a {
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}

.bom-nav a:hover,
.bom-nav a:focus-visible,
.bom-footer nav a:hover,
.bom-footer nav a:focus-visible {
  border-bottom-color: currentColor;
}

.bom-nav .hapeei-link {
  padding-right: 12px;
  padding-left: 12px;
  border: 1px solid var(--bom-ink);
}

.bom-nav .bom-brand-link {
  padding: 9px 13px;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  border: 1px solid var(--bom-green);
  background: var(--bom-green);
  color: var(--bom-ivory);
}

.bom-brand-link span {
  font-family: var(--bom-serif);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.bom-brand-link small {
  font-family: var(--bom-serif);
  font-size: 9px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.bom-products-menu {
  position: relative;
}

.bom-products-menu summary {
  min-width: 104px;
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid transparent;
  list-style: none;
  cursor: pointer;
}

.bom-products-menu summary::-webkit-details-marker {
  display: none;
}

.bom-products-menu summary > span {
  min-width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 8px;
  letter-spacing: 0;
}

.bom-products-menu summary::after {
  content: "+";
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
}

.bom-products-menu[open] summary {
  border-bottom-color: currentColor;
}

.bom-products-menu[open] summary::after {
  content: "−";
}

.bom-products-panel {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: min(340px, calc(100vw - 36px));
  display: grid;
  border: 1px solid var(--bom-ink);
  background: var(--bom-ivory);
  box-shadow: 10px 10px 0 rgba(38, 49, 41, 0.14);
}

.bom-products-panel a {
  min-height: 66px;
  padding: 0 17px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--bom-line);
  letter-spacing: 0;
  transition: padding-left 180ms ease, background-color 180ms ease;
}

.bom-products-panel a:last-child {
  border-bottom: 0;
}

.bom-products-panel a:hover,
.bom-products-panel a:focus-visible {
  padding-left: 23px;
  background: var(--bom-paper);
}

.bom-products-panel a > span {
  font-size: 9px;
  letter-spacing: 0.1em;
}

.bom-products-panel a strong {
  font-size: 13px;
  font-weight: 700;
}

.bom-products-panel a small {
  font-family: "Pretendard BOM", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.bom-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.bom-hero {
  min-height: calc(100svh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  border-bottom: 1px solid var(--bom-line);
}

.bom-hero-copy {
  padding: clamp(82px, 10vw, 154px) var(--bom-frame) 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bom-ivory);
}

.bom-hero h1 {
  margin-top: clamp(34px, 5vw, 72px);
  font-family: var(--bom-serif);
  font-size: clamp(74px, 9vw, 146px);
  font-weight: 400;
  letter-spacing: -0.075em;
  line-height: 0.84;
}

.bom-hero h1 em {
  font-weight: 400;
}

.bom-hero-lead {
  margin-top: 42px;
  font-size: clamp(17px, 1.7vw, 24px);
  letter-spacing: -0.03em;
}

.bom-text-link {
  width: min(100%, 520px);
  margin-top: 54px;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: padding 180ms ease;
}

.bom-text-link:hover,
.bom-text-link:focus-visible {
  padding-right: 14px;
  padding-left: 14px;
}

.bom-hero-stage {
  position: relative;
  min-height: calc(100svh - 78px);
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 24%, rgba(248, 245, 239, 0.58), transparent 20%),
    linear-gradient(142deg, #a6aa9d 0%, #606c62 45%, #27342c 100%);
}

.bom-hero-stage::before {
  content: "";
  position: absolute;
  inset: 12% 12% 9%;
  border: 1px solid rgba(248, 245, 239, 0.34);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.stage-pack {
  position: absolute;
  width: clamp(190px, 24vw, 380px);
  aspect-ratio: 1.52 / 1;
  padding: clamp(18px, 2.3vw, 34px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 4px;
  box-shadow: 0 34px 70px rgba(23, 27, 24, 0.24);
}

.stage-pack small {
  font-family: var(--bom-serif);
  font-size: clamp(9px, 1vw, 13px);
  font-style: italic;
}

.stage-pack strong {
  font-family: var(--bom-serif);
  font-size: clamp(60px, 8vw, 122px);
  font-weight: 400;
  letter-spacing: -0.1em;
  line-height: 0.7;
}

.stage-pack > span {
  align-self: flex-end;
  font-size: clamp(8px, 0.9vw, 11px);
  font-weight: 700;
  letter-spacing: 0.17em;
}

.stage-pack-matcha {
  top: 18%;
  left: 13%;
  z-index: 2;
  background: #d8d9c8;
  color: #283129;
  transform: rotate(-8deg);
}

.stage-pack-velvet {
  right: 10%;
  bottom: 15%;
  background: #573c43;
  color: #f1e7de;
  transform: rotate(8deg);
}

.stage-note {
  position: absolute;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(248, 245, 239, 0.74);
  writing-mode: vertical-rl;
}

.stage-note-left {
  bottom: 24px;
  left: 24px;
}

.stage-note-right {
  top: 24px;
  right: 24px;
}

.bom-manifesto,
.bom-maker {
  min-height: 76svh;
  padding: clamp(92px, 12vw, 176px) var(--bom-frame);
  display: grid;
  grid-template-columns: minmax(160px, 0.34fr) minmax(0, 1fr);
  gap: clamp(42px, 9vw, 150px);
  align-items: start;
  border-bottom: 1px solid var(--bom-line);
}

.bom-manifesto h2,
.bom-maker h2,
.collection-heading h2 {
  font-family: var(--bom-serif);
  font-size: clamp(54px, 7.4vw, 116px);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.92;
}

.bom-manifesto div > p,
.bom-maker div > p {
  max-width: 650px;
  margin-top: 46px;
  color: rgba(32, 33, 30, 0.7);
  font-size: 17px;
  line-height: 1.85;
}

.bom-collection {
  background: var(--bom-ink);
  color: var(--bom-ivory);
}

.collection-heading {
  min-height: 66svh;
  padding: clamp(92px, 11vw, 162px) var(--bom-frame) 64px;
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  gap: clamp(42px, 9vw, 150px);
  align-items: end;
  border-bottom: 1px solid rgba(248, 245, 239, 0.28);
}

.collection-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.collection-card {
  position: relative;
  min-height: 88svh;
  padding: 38px clamp(24px, 4vw, 64px) 46px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.collection-card:first-child {
  border-right: 1px solid rgba(248, 245, 239, 0.3);
}

.collection-number {
  font-family: var(--bom-serif);
  font-size: 15px;
}

.collection-copy {
  position: relative;
  z-index: 1;
}

.collection-copy > p:first-child {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.collection-copy h3 {
  margin-top: 22px;
  font-family: var(--bom-serif);
  font-size: clamp(70px, 8.5vw, 136px);
  font-weight: 400;
  letter-spacing: -0.08em;
  line-height: 0.78;
}

.collection-copy > span {
  display: block;
  margin-top: 28px;
  font-size: 14px;
  letter-spacing: 0.14em;
}

.collection-copy > p:last-child {
  max-width: 420px;
  margin-top: 26px;
  color: rgba(248, 245, 239, 0.68);
  font-size: 15px;
}

.collection-card > a {
  position: relative;
  z-index: 1;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(248, 245, 239, 0.62);
  border-bottom: 1px solid rgba(248, 245, 239, 0.62);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  transition: padding 180ms ease;
}

.collection-card > a:hover,
.collection-card > a:focus-visible {
  padding-right: 14px;
  padding-left: 14px;
}

.card-matcha {
  background:
    radial-gradient(circle at 68% 24%, rgba(209, 214, 194, 0.2), transparent 24%),
    var(--bom-green);
}

.card-velvet {
  background:
    radial-gradient(circle at 28% 20%, rgba(230, 205, 198, 0.17), transparent 23%),
    var(--bom-velvet);
}

.bom-maker {
  background: var(--bom-ivory);
}

.bom-maker .bom-text-link {
  margin-top: 58px;
}

.bom-footer {
  padding: 48px var(--bom-frame) 36px;
  display: grid;
  grid-template-columns: minmax(210px, 0.7fr) minmax(280px, 1fr) minmax(230px, 0.7fr);
  gap: 40px;
  align-items: end;
  background: var(--bom-green);
  color: var(--bom-ivory);
}

.bom-footer p {
  color: rgba(248, 245, 239, 0.65);
  font-size: 11px;
}

.bom-product-page {
  background: var(--bom-ivory);
}

.bom-product-hero {
  min-height: calc(100svh - 78px);
  padding: clamp(88px, 10vw, 146px) var(--bom-frame) 54px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bom-product-hero h1 {
  margin-top: 40px;
  font-family: var(--bom-serif);
  font-size: clamp(90px, 15vw, 238px);
  font-weight: 400;
  letter-spacing: -0.09em;
  line-height: 0.75;
}

.bom-product-hero h1 span {
  display: block;
  margin-top: 34px;
  font-family: "Pretendard BOM", sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.17em;
}

.bom-product-intro {
  max-width: 620px;
  margin: 70px 0 0 auto;
  font-family: var(--bom-serif);
  font-size: clamp(30px, 4vw, 58px);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.velvet-page .bom-product-hero {
  background: linear-gradient(145deg, #eee4df 0%, #815e67 100%);
  color: #2b2123;
}

.product-outline {
  min-height: 68svh;
  padding: clamp(88px, 10vw, 148px) var(--bom-frame);
  display: grid;
  grid-template-columns: minmax(190px, 0.36fr) minmax(0, 1fr);
  gap: clamp(44px, 8vw, 130px);
  background: var(--bom-green);
  color: var(--bom-ivory);
}

.product-outline h2 {
  font-family: var(--bom-serif);
  font-size: clamp(48px, 6vw, 92px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.outline-list {
  margin-top: 52px;
  display: grid;
}

.outline-list span {
  padding: 18px 0;
  border-top: 1px solid rgba(248, 245, 239, 0.34);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.outline-list span:last-child {
  border-bottom: 1px solid rgba(248, 245, 239, 0.34);
}

.outline-note {
  max-width: 620px;
  margin-top: 40px;
  color: rgba(248, 245, 239, 0.68);
  font-size: 14px;
  line-height: 1.8;
}

.product-next {
  padding: 42px var(--bom-frame);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  background: var(--bom-paper);
  font-family: var(--bom-serif);
  font-size: clamp(22px, 3vw, 42px);
}

.omatcha-page {
  --matcha-dark: #263429;
  --matcha-leaf: #667257;
  --matcha-sage: #aeb59a;
  --matcha-mist: #dfe1cf;
  --matcha-cream: #f4f0e6;
  --matcha-line: rgba(38, 52, 41, 0.22);
  background: var(--matcha-cream);
}

.omatcha-page figure {
  margin: 0;
}

.omatcha-page img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.omatcha-hero {
  min-height: calc(100svh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(390px, 0.82fr);
  border-bottom: 1px solid var(--matcha-line);
  background: var(--matcha-cream);
}

.omatcha-hero-media {
  min-height: calc(100svh - 78px);
  overflow: hidden;
}

.omatcha-hero-media img {
  object-position: center center;
}

.omatcha-hero-copy {
  padding: clamp(70px, 8vw, 132px) var(--bom-frame) clamp(48px, 6vw, 90px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 100% 0%, rgba(174, 181, 154, 0.3), transparent 35%),
    var(--matcha-cream);
}

.omatcha-hero-copy h1 {
  margin-top: clamp(44px, 6vw, 92px);
  color: var(--matcha-dark);
  font-family: var(--bom-serif);
  font-size: clamp(66px, 7vw, 112px);
  font-weight: 400;
  letter-spacing: -0.08em;
  line-height: 0.76;
  white-space: nowrap;
}

.omatcha-hero-copy h1 span {
  display: block;
  margin-top: 30px;
  font-family: "Pretendard BOM", sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.2em;
}

.omatcha-tagline {
  margin-top: clamp(56px, 7vw, 102px);
  color: var(--matcha-leaf);
  font-family: var(--bom-serif);
  font-size: clamp(31px, 3vw, 48px);
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.omatcha-hero-lead {
  max-width: 470px;
  margin-top: 30px;
  color: rgba(38, 52, 41, 0.72);
  font-size: 14px;
  line-height: 1.8;
}

.omatcha-hero-copy .bom-text-link {
  margin-top: clamp(48px, 6vw, 84px);
}

.omatcha-manifesto {
  min-height: 86svh;
  padding: clamp(92px, 11vw, 170px) var(--bom-frame);
  display: grid;
  grid-template-columns: minmax(170px, 0.33fr) minmax(0, 1fr);
  gap: clamp(54px, 10vw, 170px);
  background: var(--matcha-dark);
  color: var(--bom-ivory);
}

.omatcha-manifesto h2 {
  font-family: var(--bom-serif);
  font-size: clamp(66px, 9.4vw, 154px);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.78;
}

.omatcha-manifesto h2 em {
  color: var(--matcha-sage);
  font-weight: 400;
}

.omatcha-manifesto div > p {
  max-width: 680px;
  margin-top: clamp(62px, 8vw, 118px);
  color: rgba(248, 245, 239, 0.7);
  font-size: clamp(15px, 1.5vw, 19px);
  line-height: 1.9;
}

.omatcha-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--matcha-line);
  background: var(--matcha-cream);
}

.omatcha-values article {
  min-height: 510px;
  padding: clamp(48px, 5.4vw, 86px) clamp(28px, 4vw, 62px);
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--matcha-line);
}

.omatcha-values article:last-child {
  border-right: 0;
}

.omatcha-values article > span,
.ingredient-list article > span,
.format-grid article > div > span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.omatcha-values h2 {
  margin-top: auto;
  color: var(--matcha-dark);
  font-family: var(--bom-serif);
  font-size: clamp(46px, 5vw, 76px);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.omatcha-values strong {
  margin-top: 26px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.omatcha-values p {
  max-width: 360px;
  margin-top: 16px;
  color: rgba(38, 52, 41, 0.68);
  font-size: 13px;
  line-height: 1.75;
}

.omatcha-wide-scene {
  position: relative;
  height: min(82vw, 920px);
  min-height: 620px;
  overflow: hidden;
  background: var(--matcha-dark);
}

.omatcha-wide-scene figcaption {
  position: absolute;
  right: var(--bom-frame);
  bottom: 28px;
  left: var(--bom-frame);
  color: rgba(255, 255, 255, 0.82);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-align: right;
}

.omatcha-material {
  min-height: 86svh;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  background: var(--matcha-mist);
}

.omatcha-material figure {
  min-height: 740px;
  overflow: hidden;
}

.omatcha-material > div {
  padding: clamp(80px, 10vw, 154px) var(--bom-frame);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.omatcha-material h2,
.omatcha-ingredients header h2,
.omatcha-formats header h2,
.omatcha-campaign header h2,
.omatcha-uses h2,
.omatcha-information h2 {
  margin-top: clamp(42px, 5vw, 72px);
  color: var(--matcha-dark);
  font-family: var(--bom-serif);
  font-size: clamp(52px, 6.6vw, 106px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.88;
}

.omatcha-material > div > p:not(.bom-eyebrow):not(.material-note) {
  max-width: 560px;
  margin-top: clamp(44px, 5vw, 70px);
  color: rgba(38, 52, 41, 0.72);
  font-size: 15px;
  line-height: 1.9;
}

.material-callout {
  margin-top: clamp(50px, 6vw, 86px);
  padding: 25px 0;
  display: grid;
  gap: 6px;
  border-top: 1px solid var(--matcha-line);
  border-bottom: 1px solid var(--matcha-line);
}

.material-callout strong {
  font-family: var(--bom-serif);
  font-size: clamp(22px, 2.2vw, 34px);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.material-callout span,
.material-note,
.information-note {
  color: rgba(38, 52, 41, 0.63);
  font-size: 11px;
  line-height: 1.7;
}

.material-note {
  margin-top: 16px;
}

.omatcha-ingredients {
  padding: clamp(96px, 12vw, 184px) var(--bom-frame);
  background: var(--matcha-cream);
}

.omatcha-ingredients header,
.omatcha-formats > header,
.omatcha-campaign > header {
  margin-bottom: clamp(60px, 8vw, 120px);
  display: grid;
  grid-template-columns: minmax(170px, 0.33fr) minmax(0, 1fr);
  gap: clamp(54px, 10vw, 170px);
  align-items: start;
}

.omatcha-ingredients header h2,
.omatcha-formats header h2,
.omatcha-campaign header h2 {
  margin-top: 0;
}

.omatcha-ingredients > figure {
  aspect-ratio: 16 / 8.3;
  overflow: hidden;
}

.ingredient-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ingredient-list article {
  min-height: 310px;
  padding: 38px 34px 34px 0;
  border-top: 1px solid var(--matcha-line);
  border-right: 1px solid var(--matcha-line);
}

.ingredient-list article + article {
  padding-left: 34px;
}

.ingredient-list article:last-child {
  padding-right: 0;
  border-right: 0;
}

.ingredient-list h3 {
  margin-top: 80px;
  font-family: var(--bom-serif);
  font-size: clamp(29px, 3vw, 44px);
  font-weight: 400;
  letter-spacing: -0.05em;
}

.ingredient-list p {
  max-width: 390px;
  margin-top: 20px;
  color: rgba(38, 52, 41, 0.68);
  font-size: 13px;
  line-height: 1.75;
}

.omatcha-formats {
  padding: clamp(96px, 12vw, 184px) var(--bom-frame);
  background: var(--matcha-dark);
  color: var(--bom-ivory);
}

.omatcha-formats header h2 {
  color: var(--bom-ivory);
}

.format-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 48px);
}

.format-grid article {
  background: var(--bom-ivory);
  color: var(--matcha-dark);
}

.format-grid figure {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.format-grid article > div {
  min-height: 330px;
  padding: clamp(34px, 4vw, 64px);
  display: flex;
  flex-direction: column;
}

.format-grid h3 {
  margin-top: auto;
  font-family: var(--bom-serif);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1;
}

.format-grid p {
  max-width: 470px;
  margin-top: 24px;
  color: rgba(38, 52, 41, 0.68);
  font-size: 13px;
  line-height: 1.75;
}

.omatcha-campaign {
  padding: clamp(96px, 12vw, 184px) var(--bom-frame);
  background: var(--matcha-mist);
}

.campaign-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 30px);
  align-items: end;
}

.campaign-grid figure {
  overflow: hidden;
}

.campaign-portrait {
  grid-row: 1;
  grid-column: 1 / span 8;
  aspect-ratio: 16 / 9;
}

.campaign-back {
  grid-row: 2;
  grid-column: 8 / span 5;
  aspect-ratio: 4 / 5;
  margin-top: clamp(60px, 9vw, 140px) !important;
}

.campaign-detail {
  grid-row: 2;
  grid-column: 2 / span 5;
  aspect-ratio: 4 / 3;
  margin-top: clamp(-120px, -8vw, -70px) !important;
}

.omatcha-uses {
  min-height: 80svh;
  padding: clamp(96px, 12vw, 184px) var(--bom-frame);
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 0.65fr);
  gap: clamp(70px, 12vw, 190px);
  background: var(--matcha-cream);
}

.omatcha-uses ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.omatcha-uses li {
  padding: 24px 0;
  display: grid;
  grid-template-columns: 44px 0.7fr 1fr;
  gap: 22px;
  align-items: baseline;
  border-top: 1px solid var(--matcha-line);
}

.omatcha-uses li:last-child {
  border-bottom: 1px solid var(--matcha-line);
}

.omatcha-uses li span {
  font-size: 10px;
  font-weight: 700;
}

.omatcha-uses li strong {
  font-family: var(--bom-serif);
  font-size: clamp(23px, 2.4vw, 34px);
  font-weight: 400;
}

.omatcha-uses li p {
  color: rgba(38, 52, 41, 0.66);
  font-size: 12px;
}

.omatcha-information {
  padding: clamp(96px, 11vw, 164px) var(--bom-frame);
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(440px, 0.8fr);
  gap: clamp(70px, 12vw, 190px);
  background: var(--matcha-sage);
}

.omatcha-information dl {
  margin: 0;
}

.omatcha-information dl > div {
  padding: 20px 0;
  display: grid;
  grid-template-columns: minmax(115px, 0.4fr) minmax(0, 1fr);
  gap: 30px;
  border-top: 1px solid rgba(38, 52, 41, 0.3);
}

.omatcha-information dl > div:last-child {
  border-bottom: 1px solid rgba(38, 52, 41, 0.3);
}

.omatcha-information dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.omatcha-information dd {
  margin: 0;
  font-family: var(--bom-serif);
  font-size: clamp(18px, 1.8vw, 25px);
  line-height: 1.3;
}

.information-note {
  margin-top: 22px;
}

@media (max-width: 860px) {
  .bom-header {
    min-height: 68px;
    padding: 12px 18px;
    align-items: flex-start;
  }

  .bom-lockup strong {
    font-size: 27px;
  }

  .bom-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 4px 16px;
    max-width: 62%;
  }

  .bom-nav a {
    padding: 5px 0;
  }

  .bom-nav .hapeei-link {
    padding: 4px 8px;
  }

  .bom-nav .bom-brand-link {
    padding: 6px 10px;
  }

  .bom-hero {
    grid-template-columns: 1fr;
  }

  .bom-hero-copy,
  .bom-hero-stage {
    min-height: 78svh;
  }

  .bom-hero-stage {
    min-height: 72svh;
  }

  .stage-pack {
    width: clamp(210px, 51vw, 340px);
  }

  .bom-manifesto,
  .bom-maker,
  .collection-heading,
  .product-outline {
    grid-template-columns: 1fr;
  }

  .collection-heading {
    min-height: 62svh;
    align-content: space-between;
  }

  .collection-grid {
    grid-template-columns: 1fr;
  }

  .collection-card {
    min-height: 78svh;
  }

  .collection-card:first-child {
    border-right: 0;
    border-bottom: 1px solid rgba(248, 245, 239, 0.3);
  }

  .bom-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .bom-product-intro {
    margin-left: 0;
  }

  .omatcha-hero,
  .omatcha-material,
  .omatcha-manifesto,
  .omatcha-ingredients header,
  .omatcha-formats > header,
  .omatcha-campaign > header,
  .omatcha-uses,
  .omatcha-information {
    grid-template-columns: 1fr;
  }

  .omatcha-hero-media {
    min-height: 62svh;
  }

  .omatcha-hero-copy {
    min-height: 70svh;
  }

  .omatcha-values {
    grid-template-columns: 1fr;
  }

  .omatcha-values article {
    min-height: 390px;
    border-right: 0;
    border-bottom: 1px solid var(--matcha-line);
  }

  .omatcha-wide-scene {
    min-height: 540px;
  }

  .omatcha-material figure {
    min-height: 62svh;
  }

  .omatcha-ingredients header,
  .omatcha-formats > header,
  .omatcha-campaign > header {
    gap: 36px;
  }

  .ingredient-list {
    grid-template-columns: 1fr;
  }

  .ingredient-list article,
  .ingredient-list article + article {
    min-height: 250px;
    padding: 34px 0;
    border-right: 0;
  }

  .ingredient-list h3 {
    margin-top: 56px;
  }

  .format-grid {
    grid-template-columns: 1fr;
  }

  .campaign-portrait {
    grid-column: 1 / span 10;
  }

  .campaign-back {
    grid-column: 6 / span 7;
  }

  .campaign-detail {
    grid-column: 1 / span 7;
  }

  .omatcha-uses,
  .omatcha-information {
    gap: 70px;
  }
}

@media (max-width: 560px) {
  :root {
    --bom-frame: 20px;
  }

  .bom-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .bom-nav {
    max-width: none;
    justify-content: flex-start;
  }

  .bom-products-menu[open] {
    flex-basis: 100%;
  }

  .bom-products-panel {
    position: static;
    width: min(340px, calc(100vw - 40px));
    margin: 6px 0 8px;
    box-shadow: none;
  }

  .bom-nav-secondary {
    display: none;
  }

  .bom-hero-copy {
    min-height: 70svh;
    padding-top: 72px;
  }

  .bom-hero h1 {
    font-size: clamp(66px, 22vw, 96px);
  }

  .bom-hero-stage {
    min-height: 64svh;
  }

  .stage-pack {
    width: 58vw;
    min-width: 200px;
  }

  .stage-pack-matcha {
    top: 16%;
    left: 8%;
  }

  .stage-pack-velvet {
    right: 7%;
    bottom: 15%;
  }

  .bom-manifesto,
  .bom-maker {
    min-height: 72svh;
    padding-top: 84px;
  }

  .bom-manifesto h2,
  .bom-maker h2,
  .collection-heading h2 {
    font-size: clamp(46px, 14vw, 68px);
  }

  .collection-card {
    min-height: 70svh;
  }

  .collection-copy h3 {
    font-size: clamp(66px, 21vw, 104px);
  }

  .card-matcha .collection-copy h3 {
    font-size: clamp(58px, 18vw, 92px);
    white-space: nowrap;
  }

  .bom-footer nav {
    flex-wrap: wrap;
  }

  .bom-product-hero h1 {
    font-size: clamp(68px, 24vw, 118px);
  }

  .omatcha-hero-media {
    min-height: 56svh;
  }

  .omatcha-hero-copy {
    min-height: 68svh;
    padding-top: 64px;
  }

  .omatcha-hero-copy h1 {
    font-size: clamp(54px, 17vw, 78px);
  }

  .omatcha-tagline {
    font-size: 33px;
  }

  .omatcha-manifesto {
    min-height: auto;
  }

  .omatcha-manifesto h2 {
    font-size: clamp(58px, 18vw, 84px);
  }

  .omatcha-values article {
    min-height: 350px;
  }

  .omatcha-wide-scene {
    height: 70svh;
    min-height: 480px;
  }

  .omatcha-wide-scene img {
    object-position: 62% center;
  }

  .omatcha-wide-scene figcaption {
    letter-spacing: 0.18em;
    text-align: left;
  }

  .omatcha-material figure {
    min-height: 52svh;
  }

  .omatcha-material h2,
  .omatcha-ingredients header h2,
  .omatcha-formats header h2,
  .omatcha-campaign header h2,
  .omatcha-uses h2,
  .omatcha-information h2 {
    font-size: clamp(47px, 15vw, 68px);
  }

  .omatcha-ingredients > figure {
    aspect-ratio: 4 / 3;
  }

  .format-grid article > div {
    min-height: 290px;
  }

  .campaign-grid {
    grid-template-columns: 1fr;
  }

  .campaign-portrait,
  .campaign-back,
  .campaign-detail {
    grid-column: 1;
    grid-row: auto;
    margin-top: 0 !important;
  }

  .campaign-back,
  .campaign-detail {
    aspect-ratio: 4 / 3;
  }

  .omatcha-uses li {
    grid-template-columns: 34px 1fr;
    gap: 10px 18px;
  }

  .omatcha-uses li p {
    grid-column: 2;
  }

  .omatcha-information dl > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .product-next {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
