[data-mm-header] {
  --mm-bg: #fffaf5;
  --mm-text: #16235a;
  --mm-primary: #c2410c;
  --mm-overlay-bg: rgba(22, 35, 90, 0.5);
}


.pageGrid {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100%;
}
.pageMain { display: grid; }
.pageContent { display: grid; grid-template-columns: minmax(0, 1fr); }


.siteHeader {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding-top: 14px;
  padding-bottom: 0;
  background: var(--color-surface-base);
  border-bottom: 1px solid var(--color-line);
}
.headerLogo { padding-bottom: 14px; text-decoration: none; }
.logoImg { height: 34px; width: auto; }
.headerNav { margin-left: auto; align-self: flex-end; }
.tabList {
  display: flex;
  border-bottom: 2px solid var(--color-line);
  margin-bottom: -1px;
}
.tabLink {
  display: block;
  font-family: var(--font-family-head);
  font-weight: 600;
  font-size: 15px;
  color: var(--color-ink-strong);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color var(--motion-quick), border-color var(--motion-quick), background-color var(--motion-quick);
}
.tabLink:hover { color: var(--color-accent-deep); border-bottom-color: var(--color-surface-peach); }
.tabLink.isCurrent { border-bottom-color: var(--color-accent-fill); }
.headerNav .tabList .tabOrder {
  background: var(--color-accent-fill);
  color: var(--color-white);
  border-radius: var(--radius-button) var(--radius-button) 0 0;
  border-bottom-color: var(--color-accent-deep);
  margin-left: 8px;
}
.headerNav .tabList .tabOrder:hover { background: var(--color-accent-deep); color: var(--color-white); }
.menuToggle { margin-left: auto; min-width: 44px; min-height: 44px; margin-bottom: 12px; align-items: center; }
.menuClose { min-width: 44px; min-height: 44px; }


.loomFront {
  --hero-photo: linear-gradient(transparent, transparent);
  padding: 40px 24px 48px;
  background-color: var(--color-surface-sky);
  background-image:
    linear-gradient(112deg, rgba(255, 250, 245, 0.94) 0%, rgba(255, 250, 245, 0.7) 46%, rgba(221, 233, 247, 0.25) 100%),
    radial-gradient(circle at 78% 34%, rgba(255, 237, 213, 0.95) 0, rgba(255, 237, 213, 0) 52%),
    var(--hero-photo);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.heroFrame {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  grid-template-rows: 1fr auto auto auto auto auto 1fr;
  grid-template-areas:
    ". figure"
    "kicker figure"
    "title figure"
    "lead figure"
    "offer figure"
    "badges figure"
    ". figure";
  column-gap: 48px;
}
.heroKicker {
  grid-area: kicker;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent-deep);
  margin-bottom: 14px;
}
.heroTitle { grid-area: title; max-width: 22ch; margin-bottom: 18px; }
.heroFigure { grid-area: figure; max-width: 540px; justify-self: end; width: 100%; }
.heroShot {
  width: 100%;
  height: auto;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lift);
  background: var(--color-surface-sky);
}
.heroCaption { font-size: 13px; color: var(--color-ink-soft); padding-top: 8px; border-top: 1px solid var(--color-line); margin-top: 12px; }
.heroLead { grid-area: lead; max-width: 55ch; font-size: 18px; color: var(--color-ink-soft); margin-bottom: 20px; }
.heroOffer { grid-area: offer; margin-bottom: 20px; }
.priceTag { font-family: var(--font-family-head); font-weight: 800; font-size: 34px; color: var(--color-ink-strong); line-height: 1; }
.priceNote { font-size: 14px; color: var(--color-ink-soft); }
.heroBadges { grid-area: badges; }
.heroBadge {
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--color-ink-strong);
}

.priceBox { margin: 0; }
.ctaMain { letter-spacing: 0.2px; }
.tabItem { display: block; }
.footerCols { align-items: flex-start; }
.momentText { font-size: 17px; margin: 0; }
.stitchStudies .cardRow > * { flex-basis: calc(33% - 12px); }
.stepList { align-items: stretch; }
.stepText { font-size: 16px; }


.dotRule {
  height: 60px;
  background-image: radial-gradient(currentColor 1.5px, transparent 1.5px);
  background-size: 18px 18px;
  color: #e7b98f;
  opacity: 0.8;
}


.bandSection { padding: 48px 0; }
.bandInner { padding-left: 24px; padding-right: 24px; }
.bandIntro { font-size: 16px; line-height: 1.6; color: var(--color-ink-soft); max-width: 62ch; }
.bandLabel { font-size: 12px; font-weight: 600; color: var(--color-accent-deep); }


.cardRow {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
}
.cardRow > * { flex: 1 1 calc(50% - 8px); min-width: 240px; }


.weaveCard {
  position: relative;
  margin-top: 14px;
  padding: 32px 28px 28px;
  border-radius: var(--radius-card);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.weaveCard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.weaveBadge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent-fill);
  color: var(--color-white);
  padding: 5px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.weaveTitle { font-size: 20px; margin-bottom: 8px; text-align: center; }
.weaveText { font-size: 16px; color: var(--color-ink-soft); text-align: center; }

.fabricRoll { border-top: 1px solid var(--color-line); }
.theAtelier { border-top: 1px solid var(--color-line); border-bottom: 1px solid var(--color-line); }
.warpToWeft { position: relative; }
.seamGuarantee { border-top: 1px solid var(--color-line); }
.fittingFaq { padding-bottom: 64px; }


.momentItem {
  border-left: 4px solid var(--color-accent-fill);
  padding: 12px 16px;
  background: var(--color-white);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
}
.momentNum { font-size: 28px; font-weight: 800; color: var(--color-accent-deep); line-height: 1; }


.atelierColumns {
  columns: 2;
  column-gap: 32px;
  column-rule: 1px solid var(--color-line);
}
.atelierColumns p { margin-bottom: 12px; line-height: 1.5; }
.factSheet { border-top: 2px solid var(--color-ink-strong); }
.factRow { justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--color-line); }
.factLabel { color: var(--color-ink-soft); font-size: 15px; }
.factValue { font-weight: 600; font-size: 15px; text-align: right; }


.stepItem {
  flex: 1 1 0;
  min-width: 220px;
  padding: 24px;
  border-radius: var(--radius-card);
  background: var(--color-surface-base);
  border: 1px solid var(--color-line);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.stepItem:hover { border-color: var(--color-accent-fill); transform: translateY(-3px); }
.stepNum {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-ink-strong);
  color: var(--color-white);
  font-weight: 700;
}
.stepTitle { font-size: 19px; }
.careNote { border: 1px dashed var(--color-accent-fill); border-radius: var(--radius-card); padding: 16px 20px; font-size: 15px; }


.seamItem { background: var(--color-white); border-radius: var(--radius-card); padding: 20px 24px; box-shadow: var(--shadow-card); }
.seamToggle {
  width: 100%;
  text-align: left;
  font-family: var(--font-family-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--color-ink-strong);
  cursor: default;
  padding: 0 0 8px;
}
.seamBody { font-size: 16px; color: var(--color-ink-soft); }


.threadMail {
  background-color: var(--color-surface-peach);
  background-image: radial-gradient(circle at 12% 20%, rgba(255, 250, 245, 0.9) 0, rgba(255, 250, 245, 0) 45%);
  background-attachment: fixed;
}
.orderPanel {
  background: var(--color-white);
  border-radius: 20px;
  padding: 36px;
  box-shadow: var(--shadow-card);
  align-items: center;
  justify-content: space-between;
}
.orderSteps { counter-reset: orderstep; flex: 1 1 380px; }
.orderStep { counter-increment: orderstep; padding-left: 44px; position: relative; }
.orderStep::before {
  content: counter(orderstep);
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-surface-peach);
  color: var(--color-accent-deep);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orderCall { flex: 0 1 320px; }


.chatThread { display: flex; flex-direction: column; }
.chatQ,
.chatA { max-width: 75%; padding: 14px 18px; margin: 6px 0; font-size: 16px; line-height: 1.55; }
.chatQ {
  background: var(--color-accent-fill);
  color: var(--color-white);
  align-self: flex-end;
  border-radius: 16px 16px 4px 16px;
  font-weight: 600;
  font-family: var(--font-family-head);
}
.chatA {
  background: var(--color-surface-mist);
  color: var(--color-ink-strong);
  align-self: flex-start;
  border-radius: 16px 16px 16px 4px;
  margin-bottom: 14px;
}


.siteFooter { padding: 32px 16px 48px; }
.footerCard {
  max-width: 1100px;
  margin: 0 auto;
  background: var(--color-night);
  color: var(--color-night-text);
  border-radius: var(--radius-footer);
  padding: 40px;
  box-shadow: var(--shadow-footer);
}
.footerCol { flex: 1 1 220px; }
.footerHead { font-size: 15px; color: var(--color-white); margin-bottom: 10px; letter-spacing: 1.5px; }
.footerText { font-size: 15px; color: var(--color-night-text); }
.footerLinks a,
.footerText a { color: var(--color-night-link); text-decoration: none; transition: color var(--motion-quick); }
.footerLinks a:hover,
.footerText a:hover { color: var(--color-white); text-decoration: underline; }
.footerLinks li { padding: 4px 0; font-size: 15px; }
.footerLogo { height: 30px; width: auto; }
.footerNote {
  margin-top: 28px;
  padding: 14px 16px;
  border-radius: var(--radius-button);
  background: rgba(255, 255, 255, 0.06);
  font-size: 14px;
  color: var(--color-night-text);
}
.footerBottom {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(223, 230, 245, 0.2);
  font-size: 13px;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footerBottom .cc-footer-link { color: var(--color-night-link); }

@media (max-width: 1024px) {
  h1 { font-size: 44px; }
  .heroFrame { column-gap: 32px; }
  .orderPanel { padding: 28px; }
}

@media (max-width: 768px) {
  h1 { font-size: 34px; }
  h2 { font-size: 26px; margin-bottom: 16px; }
  .siteHeader { padding-top: 10px; padding-bottom: 10px; padding-left: 16px; padding-right: 12px; }
  .headerLogo { padding-bottom: 0; }
  .logoImg { height: 30px; }
  .menuToggle { margin-bottom: 0; }
  .tabList { border-bottom: 0; margin-bottom: 0; }
  .tabLink { border-bottom: 0; margin-bottom: 0; }
  .headerNav .tabList .tabOrder { border-radius: var(--radius-button); margin-left: 0; margin-top: 12px; }
  .loomFront { padding: 18px 16px 36px; background-attachment: scroll; }
  .heroFrame {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    grid-template-areas: "kicker" "title" "figure" "lead" "offer" "badges";
  }
  .heroKicker { font-size: 12px; letter-spacing: 1.6px; margin-bottom: 8px; }
  .heroTitle { margin-bottom: 14px; }
  .heroFigure { justify-self: stretch; max-width: 100%; margin-bottom: 18px; }
  .heroCaption { display: none; }
  .heroLead { font-size: 16px; }
  .priceTag { font-size: 30px; }
  .dotRule { height: 36px; }
  .bandSection { padding: 36px 0; }
  .bandInner { padding-left: 16px; padding-right: 16px; }
  .atelierColumns { columns: 1; }
  .threadMail { background-attachment: scroll; }
  .orderPanel { padding: 22px 18px; }
  .orderCall { flex-basis: 100%; }
  .seamItem { padding: 0; }
  .seamToggle { cursor: pointer; padding: 16px 44px 16px 18px; position: relative; min-height: 48px; }
  .seamToggle::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--color-accent-deep); }
  .seamItem.isOpen .seamToggle::after { content: "\2212"; }
  .seamBody { display: none; padding: 0 18px 18px; }
  .seamItem.isOpen .seamBody { display: block; }
  .chatQ,
  .chatA { max-width: 90%; }
  .footerCard { padding: 28px 20px; border-radius: 16px; }
  .siteFooter { padding: 24px 12px 32px; }
}

@media (max-width: 420px) {
  h1 { font-size: 31px; }
  .priceTag { font-size: 28px; }
  .orderButton { width: 100%; }
}
