/* ============================================================================
   あつらえ (atsurae) — 着圧・むくみケアの「区分と採寸」で選ぶ product-guide
   ----------------------------------------------------------------------------
   世界観: 仕立て屋の採寸台 / 品質表示タグ（縫い付けラベル）。
   鋼色（スチールグレー）＋ 生成りの紙白 を主体に、区分マーカーへ 藍(あい) の一点。
   テキスタイル/縫製の視覚言語 — 縫い目（ステッチ）の破線、織りの地紋、タグ。
   姉妹サイト（製図=site28 / 夜の菫=site27 / HUD=site26）とは配色・書体・世界観すべて別物。
   ============================================================================ */

:root {
  /* --- palette: steel + bleached-cotton paper + 藍 accent --- */
  --paper:      #E9ECEC;   /* page ground — cool raw-cotton canvas */
  --paper-warm: #EFF1F0;   /* slightly softer panel ground */
  --card:       #F7F8F8;   /* card / tag surface, near-white cloth */
  --ink:        #232B31;   /* darkest steel — headings / body */
  --steel:      #4B5661;   /* mid steel — structure, secondary text */
  --steel-soft: #8B949C;   /* muted steel — captions, meta */
  --line:       #C6CCCF;   /* hairline / weave rule */
  --line-soft:  #D9DEE0;
  --ai:         #234E70;   /* 藍 — deep indigo, the single accent (medical marker) */
  --ai-bright:  #2E6699;   /* brighter 藍 for hover / links */
  --ai-wash:    rgba(35,78,112,0.08);
  --stitch:     #96A0A7;   /* stitch thread color (dashed) */
  --amazon:     #232B31;
  --amazon-h:   #0d1418;
  --rakuten:    #9a2b2b;   /* muted crimson — 楽天, kept quiet */

  --font-serif: 'Shippori Mincho B1', 'Hiragino Mincho ProN', serif;
  --font-sans:  'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', system-ui, sans-serif;
  --font-mono:  'Spline Sans Mono', ui-monospace, 'SFMono-Regular', monospace;

  --wrap: 1120px;
  --gutter: clamp(18px, 4vw, 44px);
  --radius: 3px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background-color: var(--paper);
  /* faint woven texture: warp + weft threads */
  background-image:
    repeating-linear-gradient(90deg, rgba(75,86,97,0.035) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(0deg,  rgba(75,86,97,0.028) 0 1px, transparent 1px 4px);
  background-attachment: fixed;
  line-height: 1.85;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 760px; }

a { color: var(--ai-bright); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px;
  font-family: var(--font-mono); font-size: 13px;
}
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible { outline: 2px solid var(--ai-bright); outline-offset: 3px; }

/* ============================= PR bar ==================================== */
.pr-bar {
  background: var(--ink); color: #E7EAEB;
  font-size: 12px; letter-spacing: 0.04em;
  text-align: center; padding: 7px 16px;
  font-family: var(--font-mono);
}
.pr-bar strong {
  display: inline-block; background: var(--ai); color: #fff;
  font-weight: 600; padding: 1px 8px; margin-right: 10px; border-radius: 2px;
  letter-spacing: 0.12em;
}

/* ============================= header ==================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(233,236,236,0.9);
  backdrop-filter: saturate(1.1) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; gap: 16px;
}
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 2px; background: var(--card);
}
.logo-text {
  font-family: var(--font-serif); font-weight: 800; font-size: 22px;
  letter-spacing: 0.14em; display: block; line-height: 1;
}
.logo-tagline {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.22em;
  color: var(--steel-soft); display: block; margin-top: 4px;
}

.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  font-size: 13.5px; color: var(--steel); letter-spacing: 0.04em; font-weight: 500;
  position: relative; padding: 4px 0;
}
.nav a:hover { color: var(--ai); text-decoration: none; }
.nav a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px;
  background: var(--ai); transition: width .25s ease;
}
.nav a:hover::after { width: 100%; }

.nav-toggle { display: none; }

/* ============================= hero ====================================== */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(48px, 8vw, 96px) 0 clamp(44px, 6vw, 76px);
  background:
    radial-gradient(1200px 520px at 88% -8%, var(--ai-wash), transparent 62%),
    var(--paper);
}
.hero-grid {
  display: grid; grid-template-columns: 1.06fr 0.94fr;
  gap: clamp(30px, 5vw, 68px); align-items: center;
}

.hero-eyebrow {
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.24em;
  color: var(--ai); text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 24px;
}
.hero-eyebrow::before { content: ''; width: 30px; height: 1px; background: var(--ai); }

.hero-title {
  font-family: var(--font-serif); font-weight: 800;
  font-size: clamp(33px, 5.6vw, 60px); line-height: 1.22;
  letter-spacing: 0.02em; color: var(--ink); margin-bottom: 26px;
}
.hero-title .mute { color: var(--steel); font-weight: 600; }
.hero-title .accent { color: var(--ai); position: relative; }

.hero-copy p { color: var(--steel); font-size: 15.5px; line-height: 1.95; margin-bottom: 14px; max-width: 40em; }
.hero-copy .lead-em { color: var(--ink); font-size: clamp(16px, 2.1vw, 19px); font-weight: 500; }
.hero-copy em { font-style: normal; color: var(--ai); font-weight: 600; }
.hero-copy strong { color: var(--ink); font-weight: 700; }
.hero-signoff {
  font-family: var(--font-serif); font-weight: 600; color: var(--ink);
  letter-spacing: 0.08em; margin-top: 18px !important;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-sans); font-weight: 700; font-size: 14.5px;
  letter-spacing: 0.04em; padding: 13px 24px; border-radius: 2px;
  border: 1px solid transparent; cursor: pointer; transition: all .2s ease;
}
.btn-primary { background: var(--ai); color: #fff; border-color: var(--ai); }
.btn-primary:hover { background: var(--ai-bright); text-decoration: none; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--steel); }
.btn-ghost:hover { border-color: var(--ai); color: var(--ai); text-decoration: none; }

/* ---- signature: oversized care-label tag (品質表示タグ) ---- */
.hero-tag { display: flex; justify-content: center; }
.care-tag-big {
  position: relative; width: min(100%, 400px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 30px 30px 26px;
  box-shadow: 0 22px 48px -26px rgba(35,43,49,0.5);
}
/* the sewn stitch line just inside the tag edge */
.care-tag-big::before {
  content: ''; position: absolute; inset: 9px;
  border: 1.4px dashed var(--stitch); border-radius: 2px; pointer-events: none;
}
/* grommet hole at the top (where it'd be sewn / hung) */
.care-tag-big .grommet {
  position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 30px; height: 9px; border: 1.4px solid var(--steel-soft);
  border-radius: 6px; background: var(--paper);
}
.care-tag-big .ct-head {
  position: relative; text-align: center; padding-top: 12px;
  border-bottom: 1px solid var(--line-soft); padding-bottom: 16px; margin-bottom: 16px;
}
.care-tag-big .ct-brand {
  font-family: var(--font-serif); font-weight: 800; font-size: 30px;
  letter-spacing: 0.2em; color: var(--ink); display: block;
}
.care-tag-big .ct-sub {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.24em;
  color: var(--steel-soft); text-transform: uppercase; margin-top: 8px;
}
.care-tag-big .ct-rows { position: relative; font-family: var(--font-mono); font-size: 12.5px; }
.care-tag-big .ct-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 2px; border-bottom: 1px dotted var(--line);
}
.care-tag-big .ct-row:last-child { border-bottom: 0; }
.care-tag-big .ct-key { color: var(--steel-soft); letter-spacing: 0.1em; min-width: 74px; }
.care-tag-big .ct-val { color: var(--ink); letter-spacing: 0.03em; }
.dot {
  display: inline-block; width: 9px; height: 9px; border-radius: 50%;
  vertical-align: middle; margin-right: 3px;
}
.dot--ai { background: var(--ai); box-shadow: 0 0 0 2px var(--ai-wash); }
.dot--zakka { background: transparent; border: 1.6px solid var(--steel-soft); }
.care-tag-big .ct-foot {
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.14em;
  color: var(--steel-soft); text-align: right; margin-top: 14px; text-transform: uppercase;
}

/* ============================= section shells ============================ */
.section { padding: clamp(56px, 8vw, 100px) 0; position: relative; }
.section--alt { background: var(--paper-warm); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.eyebrow {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.22em;
  color: var(--ai); text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--ai); }

.section-title {
  font-family: var(--font-serif); font-weight: 800;
  font-size: clamp(25px, 3.6vw, 37px); line-height: 1.36; letter-spacing: 0.03em;
  color: var(--ink); margin-bottom: 20px;
}
.section-lede { color: var(--steel); font-size: 16px; max-width: 46em; margin-bottom: 8px; }
.section-lede .em { color: var(--ai); font-weight: 600; }

/* ============================= 区分 concept (thesis) ===================== */
.classify-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 38px;
}
.classify-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; position: relative; overflow: hidden;
}
.classify-card::after {
  content: ''; position: absolute; inset: 7px; border: 1.2px dashed var(--stitch);
  border-radius: 2px; pointer-events: none; opacity: 0.5;
}
.classify-card--medical { border-color: var(--ai); }
.classify-card--medical::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--ai);
}
.classify-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; position: relative; }
.classify-badge {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em;
  padding: 5px 12px; border-radius: 2px; font-weight: 600;
}
.classify-badge--medical { background: var(--ai); color: #fff; }
.classify-badge--zakka { background: transparent; color: var(--steel); border: 1.4px solid var(--steel-soft); }
.classify-card h3 {
  font-family: var(--font-serif); font-weight: 700; font-size: 19px;
  color: var(--ink); margin-bottom: 10px; letter-spacing: 0.03em; position: relative;
}
.classify-card p { color: var(--steel); font-size: 14px; line-height: 1.85; position: relative; }
.classify-note {
  margin-top: 28px; font-size: 13px; color: var(--steel-soft);
  border-left: 2px solid var(--line); padding-left: 16px; line-height: 1.8;
}

/* ============================= 採寸 (measuring) ========================== */
.measure-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 56px);
  align-items: center; margin-top: 34px;
}
.measure-figure {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; position: relative;
}
.measure-figure svg { width: 100%; height: auto; display: block; }
.measure-figcap {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em;
  color: var(--steel-soft); text-align: center; margin-top: 12px; text-transform: uppercase;
}
.measure-steps { counter-reset: step; }
.measure-step {
  display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px dotted var(--line);
}
.measure-step:last-of-type { border-bottom: 0; }
.measure-step .num {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%;
  border: 1.4px solid var(--ai); color: var(--ai);
  font-family: var(--font-mono); font-weight: 600; font-size: 14px;
  display: grid; place-items: center;
}
.measure-step h3 {
  font-family: var(--font-sans); font-weight: 700; font-size: 16px; color: var(--ink);
  margin-bottom: 5px; letter-spacing: 0.02em;
}
.measure-step p { color: var(--steel); font-size: 14px; line-height: 1.8; }
.measure-step .hint { font-family: var(--font-mono); font-size: 12px; color: var(--ai); letter-spacing: 0.04em; }

/* 圧レンジ table */
.press-table {
  margin-top: 40px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.press-table caption {
  text-align: left; padding: 16px 20px; background: var(--ink); color: #E7EAEB;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.12em;
}
.press-table table { width: 100%; border-collapse: collapse; }
.press-table th, .press-table td {
  padding: 13px 18px; text-align: left; font-size: 13.5px;
  border-bottom: 1px solid var(--line-soft);
}
.press-table th {
  font-family: var(--font-mono); font-weight: 600; color: var(--steel);
  letter-spacing: 0.06em; background: var(--paper-warm);
}
.press-table td { color: var(--ink); }
.press-table td.range { font-family: var(--font-mono); color: var(--ai); font-weight: 600; letter-spacing: 0.03em; }
.press-table tr:last-child td { border-bottom: 0; }
.press-note { font-size: 12.5px; color: var(--steel-soft); margin-top: 14px; line-height: 1.8; }

/* ============================= catalog =================================== */
.catalog-intro { color: var(--steel); font-size: 15.5px; max-width: 46em; margin-bottom: 8px; }
.catalog-intro strong { color: var(--ink); }

.legend {
  margin: 30px 0 10px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px;
}
.legend-head {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.06em; color: var(--ink);
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
}
.legend-items { display: flex; flex-wrap: wrap; gap: 22px; }
.legend-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--steel); }
.legend-note { font-size: 12px; color: var(--steel-soft); margin-top: 12px; line-height: 1.75; }

.cat-section { margin-top: clamp(40px, 6vw, 70px); }
.cat-head {
  display: flex; align-items: flex-end; gap: 18px; margin-bottom: 8px;
  border-bottom: 1.4px solid var(--ink); padding-bottom: 14px;
}
.cat-code {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em;
  color: #fff; background: var(--ink); padding: 4px 10px; border-radius: 2px; flex: 0 0 auto;
}
.cat-headtext { flex: 1 1 auto; }
.cat-label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em;
  color: var(--steel-soft); text-transform: uppercase;
}
.cat-title {
  font-family: var(--font-serif); font-weight: 700; font-size: clamp(21px, 3vw, 27px);
  color: var(--ink); letter-spacing: 0.04em; line-height: 1.3;
}
.cat-title .motif { font-family: var(--font-sans); font-weight: 400; font-size: 14px; color: var(--steel); letter-spacing: 0.02em; }
.cat-count { font-family: var(--font-mono); font-size: 12px; color: var(--steel-soft); flex: 0 0 auto; align-self: flex-end; }
.cat-lead { color: var(--steel); font-size: 14.5px; margin: 16px 0 26px; max-width: 48em; }

.product-list {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 288px));
  gap: 22px; justify-content: start;
}

.product {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); display: flex; flex-direction: column;
  max-width: 288px; overflow: hidden; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.product:hover { border-color: var(--steel); transform: translateY(-2px); box-shadow: 0 18px 40px -30px rgba(35,43,49,0.55); }
.product--flagship { border-color: var(--ai); }
.product--flagship::before {
  content: 'はじめの一足'; position: absolute; z-index: 3; top: 12px; left: -30px;
  transform: rotate(-45deg); background: var(--ai); color: #fff;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em;
  padding: 3px 34px; box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* figure — explicit height (WebKit % height gotcha: never rely on aspect-ratio alone) */
.product-figure {
  position: relative; height: 210px; background: #fff;
  border-bottom: 1px solid var(--line-soft); overflow: hidden;
  display: grid; place-items: center; padding: 16px;
}
.product-image {
  width: 100%; height: 100%; object-fit: contain;
  min-width: 0; min-height: 0; mix-blend-mode: multiply;
}

.product-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1 1 auto; }

/* ---- signature: the sewn-in care label on each card ---- */
.care-tag {
  position: relative; background: var(--paper-warm);
  border: 1px solid var(--line); border-radius: 2px;
  padding: 12px 13px 11px; margin-bottom: 14px;
}
.care-tag::before {
  content: ''; position: absolute; inset: 4px; border: 1.2px dashed var(--stitch);
  border-radius: 2px; pointer-events: none; opacity: 0.65;
}
.care-tag-class {
  display: flex; align-items: center; gap: 7px; position: relative;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em;
  font-weight: 600; color: var(--ink); margin-bottom: 9px;
  padding-bottom: 8px; border-bottom: 1px dotted var(--line);
}
.care-tag-class .cls-medical { color: var(--ai); }
.care-tag-class .cls-zakka { color: var(--steel); }
.care-tag-data { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; }
.care-tag-row { display: contents; }
.care-tag-k {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em;
  color: var(--steel-soft); white-space: nowrap;
}
.care-tag-v {
  font-family: var(--font-mono); font-size: 11.5px; color: var(--ink);
  letter-spacing: 0.02em; word-break: break-word; overflow-wrap: anywhere;
}

.product-name {
  font-family: var(--font-sans); font-weight: 700; font-size: 15px; line-height: 1.55;
  color: var(--ink); letter-spacing: 0.01em; margin-bottom: 10px;
}
.price-hint {
  font-family: var(--font-mono); font-size: 11.5px; color: var(--steel-soft);
  letter-spacing: 0.04em; display: inline-block; margin-bottom: 8px;
}
.product-reason { color: var(--steel); font-size: 13.5px; line-height: 1.82; margin-bottom: 16px; flex: 1 1 auto; }

/* ---- offers ---- */
.offers { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: auto; }
.offer {
  position: relative; display: flex; flex-direction: column; align-items: center;
  gap: 2px; padding: 11px 8px; border-radius: 2px; text-align: center;
  font-family: var(--font-sans); transition: all .18s ease; border: 1px solid transparent;
}
.offer:hover { text-decoration: none; transform: translateY(-1px); }
.offer--amazon { background: var(--amazon); color: #fff; }
.offer--amazon:hover { background: var(--amazon-h); }
.offer--rakuten { background: #fff; color: var(--rakuten); border-color: var(--rakuten); }
.offer--rakuten:hover { background: #fbf3f3; }
.offer-store { font-weight: 700; font-size: 13.5px; letter-spacing: 0.04em; }
.offer-go { font-size: 11px; opacity: 0.85; }
.offer-arrow { margin-left: 3px; }
.pr-tag {
  position: absolute; top: 4px; right: 5px; font-family: var(--font-mono);
  font-size: 8px; letter-spacing: 0.08em; opacity: 0.6;
  border: 1px solid currentColor; border-radius: 2px; padding: 0 3px;
}
.offer-note { font-size: 11px; color: var(--steel-soft); margin-top: 9px; line-height: 1.65; }

.ns-note { color: var(--steel); font-size: 14px; padding: 16px; border: 1px dashed var(--line); border-radius: var(--radius); }

/* ============================= approach / disclosure ==================== */
.approach-body p { color: var(--steel); font-size: 15px; line-height: 1.95; margin-bottom: 16px; max-width: 44em; }
.approach-body strong { color: var(--ink); }

.disclosure-block p { color: var(--steel); font-size: 14px; line-height: 1.9; margin-bottom: 14px; }
.disclosure-block strong { color: var(--ink); }
.amazon-required {
  font-family: var(--font-mono); font-size: 13px; color: var(--ink);
  border-left: 3px solid var(--ai); padding: 10px 0 10px 16px; background: var(--ai-wash);
}

/* ============================= footer ==================================== */
.site-footer {
  background: var(--ink); color: #B9C0C5; padding: clamp(44px, 6vw, 68px) 0 40px;
  margin-top: 0;
}
.footer-brand {
  font-family: var(--font-serif); font-weight: 800; font-size: 26px;
  letter-spacing: 0.18em; color: #fff;
}
.footer-tagline { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.24em; color: var(--steel-soft); margin-top: 6px; text-transform: uppercase; }
.footer-meta { font-size: 12.5px; line-height: 1.85; margin: 24px 0; color: #9aa2a8; max-width: 60em; }
.footer-meta strong { color: #cfd5d9; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 20px 0; }
.footer-nav a { color: #B9C0C5; font-size: 13px; }
.footer-nav a:hover { color: #fff; }
.footer-updated, .footer-copy { font-family: var(--font-mono); font-size: 11px; color: var(--steel-soft); letter-spacing: 0.06em; }
.footer-copy { margin-top: 8px; }

/* ============================= reveal ==================================== */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].is-revealed { opacity: 1; transform: none; }

/* ============================= responsive ================================ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-tag { order: -1; }
  .care-tag-big { width: min(100%, 360px); }
  .measure-grid { grid-template-columns: 1fr; }
  .classify-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav {
    position: absolute; top: 64px; right: 0; left: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--card); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav[data-open="true"] { max-height: 380px; }
  .nav a { padding: 14px var(--gutter); border-bottom: 1px solid var(--line-soft); }
  .nav a::after { display: none; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 42px; height: 38px; background: transparent; border: 1px solid var(--line);
    border-radius: 2px; cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    content: ''; display: block; width: 20px; height: 1.6px; background: var(--ink);
    margin: 0 auto; transition: transform .25s ease;
  }
  .nav-toggle-bars { position: relative; }
  .nav-toggle-bars::before { position: absolute; top: -6px; left: 0; }
  .nav-toggle-bars::after { position: absolute; top: 6px; left: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

  .product-list { grid-template-columns: 1fr; }
  .product { max-width: none; }
  .cat-head { flex-wrap: wrap; gap: 10px; }
  .cat-count { align-self: flex-start; }
  .press-table { display: block; overflow-x: auto; }
}
