/* ==========================================================================
   娅蕊食品 · yaruishipin.cn
   Design system: warm paper, ink, chili red. Serif display + sans body.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --ink: #1a1613;
  --ink-2: #3b332b;
  --muted: #746a5e;
  --paper: #f6f1e7;
  --paper-2: #efe6d6;
  --paper-3: #e7dcc8;
  --red: #a62b1b;
  --red-dark: #8a2216;
  --line: rgba(26, 22, 19, 0.14);
  --line-soft: rgba(26, 22, 19, 0.08);
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", "Hiragino Sans GB", sans-serif;
  --serif: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "STSong", "华文中宋", "STZhongsong", "SimSun", serif;
  --latin: Georgia, "Times New Roman", "Songti SC", serif;
  --wrap: 1320px;
  --pad: clamp(20px, 4.2vw, 56px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 10px 18px; font-size: 14px;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ---------- 3. Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.section { padding-block: clamp(64px, 8.5vw, 120px); border-top: 1px solid var(--line); }
.page-hero + .section { padding-top: clamp(30px, 3.6vw, 52px); }
.section--tight { padding-block: clamp(44px, 5.5vw, 72px); }
.section--paper2 { background: var(--paper-2); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--flush { border-top: 0; }

.rail-grid {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 88px);
  align-items: start;
}
.rail { position: sticky; top: 118px; }
.rail__idx {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--latin); font-size: 12px; letter-spacing: 0.16em; color: var(--red);
}
.rail__idx::before { content: ""; width: 22px; height: 1px; background: var(--red); }
.rail h2 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(26px, 2.4vw, 34px); line-height: 1.35;
  letter-spacing: 0.01em; margin-top: 14px;
}
.rail__en {
  margin-top: 6px; font-family: var(--latin); font-size: 11px;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted);
}
.rail p { margin-top: 20px; font-size: 14px; line-height: 1.9; color: var(--muted); max-width: 20em; }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; padding-bottom: 22px; border-bottom: 1px solid var(--line);
  margin-bottom: clamp(28px, 4vw, 48px);
}
.section-head h2 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(28px, 3.2vw, 44px); line-height: 1.25;
}
.section-head .aside { font-size: 13px; color: var(--muted); letter-spacing: 0.06em; white-space: nowrap; }
.section-head--flush { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.h-sec {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(24px, 2.5vw, 34px); line-height: 1.42; letter-spacing: 0.01em;
  margin-top: 18px; text-wrap: balance;
}

/* ---------- 4. Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--latin); font-size: 11.5px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--red);
}
.eyebrow::before { content: ""; width: 30px; height: 1px; background: currentColor; }
.lede { font-size: clamp(15px, 1.15vw, 17px); line-height: 2; color: var(--ink-2); }
.muted { color: var(--muted); }
.serif { font-family: var(--serif); }

/* ---------- 5. Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 28px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper);
  font-size: 14px; letter-spacing: 0.08em; line-height: 1;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease);
}
.btn .arw { transition: transform 0.35s var(--ease); }
.btn:hover { background: var(--red); border-color: var(--red); color: #fff; }
.btn:hover .arw { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn--red { background: var(--red); border-color: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn--light { background: transparent; border-color: rgba(255,255,255,0.5); color: #fff; }
.btn--light:hover { background: #fff; border-color: #fff; color: var(--red); }

.link-arw {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; letter-spacing: 0.08em; padding-bottom: 4px;
  border-bottom: 1px solid var(--ink); transition: color 0.3s, border-color 0.3s;
}
.link-arw .arw { transition: transform 0.35s var(--ease); }
.link-arw:hover { color: var(--red); border-color: var(--red); }
.link-arw:hover .arw { transform: translateX(5px); }

/* ---------- 6. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(246, 241, 231, 0.94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 86px; gap: 28px; }
.brand { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.seal {
  width: 42px; height: 42px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--red); color: #fff;
  font-family: var(--serif); font-size: 23px; font-weight: 700; line-height: 1;
  letter-spacing: 0;
}
.brand__name { display: block; font-size: 19px; font-weight: 700; letter-spacing: 0.1em; line-height: 1.2; }
.brand__en {
  display: block;
  margin-top: 5px; font-family: var(--latin); font-size: 9.5px;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted);
}
.nav { display: flex; align-items: center; gap: clamp(22px, 2.6vw, 40px); margin-left: auto; }
.nav a { position: relative; font-size: 15px; letter-spacing: 0.06em; padding: 8px 0; color: var(--ink-2); }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }

.header-tel { flex-shrink: 0; text-align: right; border-left: 1px solid var(--line); padding-left: 26px; }
.header-tel .lbl { display: block; font-size: 10.5px; letter-spacing: 0.2em; color: var(--muted); }
.header-tel .num { display: block; font-family: var(--latin); font-size: 19px; letter-spacing: 0.03em; line-height: 1.3; }
.header-tel:hover .num { color: var(--red); }

.nav-toggle {
  display: none; width: 44px; height: 44px; margin-left: auto;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  border: 1px solid var(--line);
}
.nav-toggle span {
  display: block; width: 20px; height: 1.5px; background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.2s;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- 7. Hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 48fr) minmax(0, 52fr); min-height: min(84vh, 720px); }
.hero__copy {
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(40px, 5vw, 64px) clamp(28px, 4vw, 64px) clamp(44px, 5vw, 76px) var(--pad);
  position: relative;
}
.hero__copy::after {
  content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 1px; background: var(--line-soft);
}
.hero__main { margin-top: clamp(40px, 6vw, 90px); }
.hero h1 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(36px, 4.6vw, 64px); line-height: 1.24; letter-spacing: 0.01em;
  margin-top: 22px;
}
.hero h1 em { font-style: normal; color: var(--red); }
.hero__desc { margin-top: 26px; max-width: 32em; font-size: clamp(15px, 1.15vw, 16.5px); line-height: 2; color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: clamp(30px, 3.6vw, 46px); }
.hero__media { position: relative; overflow: hidden; background: var(--paper-3); }
.hero__media picture { display: block; height: 100%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 42% center; }
.hero__caption {
  position: absolute; left: 24px; bottom: 22px;
  display: flex; align-items: center; gap: 10px;
  padding: 7px 12px; font-size: 11.5px; letter-spacing: 0.14em; color: #fff;
  background: rgba(20, 16, 12, 0.42); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero__caption::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: 0.7; }
.hero__scroll {
  position: absolute; right: 22px; bottom: 24px; z-index: 2;
  writing-mode: vertical-rl; font-size: 10.5px; letter-spacing: 0.28em;
  text-transform: uppercase; color: rgba(255,255,255,0.8);
}

/* ---------- 8. Fact strip ---------- */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.fact { padding: 26px var(--pad); border-left: 1px solid var(--line); display: flex; gap: 16px; align-items: baseline; }
.fact:first-child { border-left: 0; }
.fact__k {
  font-family: var(--latin); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--red); white-space: nowrap;
}
.fact__v { font-size: 14.5px; color: var(--ink-2); }

/* ---------- 9. Media blocks ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split--media-right .split__text { order: 1; }
.figure { position: relative; }
.figure img { width: 100%; }
.figure figcaption {
  margin-top: 12px; font-size: 12px; letter-spacing: 0.06em; color: var(--muted);
  display: flex; gap: 8px; align-items: center;
}
.figure figcaption::before { content: ""; width: 16px; height: 1px; background: var(--red); }
.figure--offset::after {
  content: ""; position: absolute; right: -18px; bottom: -18px; width: 45%; height: 45%;
  border-right: 1px solid var(--red); border-bottom: 1px solid var(--red); z-index: -1;
}

.about-copy p + p { margin-top: 18px; }
.about-copy .sig {
  display: flex; align-items: center; gap: 14px; margin-top: 34px;
  padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted); letter-spacing: 0.04em;
}
.about-copy .sig strong { color: var(--ink); font-weight: 600; }

/* ---------- 10. Products ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3.2vw, 44px) clamp(18px, 2.2vw, 32px); }
.prod { display: block; }
.prod__fig {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--paper-3);
}
.prod__fig picture { display: block; height: 100%; }
.prod__fig img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease), filter 0.5s;
}
.prod:hover .prod__fig img { transform: scale(1.045); }
.prod__tag {
  position: absolute; left: 12px; top: 12px; z-index: 2;
  padding: 5px 9px; background: rgba(246, 241, 231, 0.92); color: var(--ink);
  font-size: 10.5px; letter-spacing: 0.16em;
}
.prod__body { padding-top: 16px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.prod__name { font-size: 16.5px; font-weight: 600; letter-spacing: 0.02em; }
.prod__spec { margin-top: 5px; font-size: 12.5px; color: var(--muted); letter-spacing: 0.02em; }
.prod__no { font-family: var(--latin); font-size: 11px; color: var(--muted); letter-spacing: 0.1em; }
.prod__line { height: 1px; background: var(--line); margin-top: 14px; transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.prod:hover .prod__line { transform: scaleX(1); background: var(--red); }

/* product page filter */
.filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(26px, 3vw, 40px); }
.filter button {
  padding: 9px 18px; border: 1px solid var(--line); font-size: 13px;
  letter-spacing: 0.06em; color: var(--ink-2); transition: all 0.3s var(--ease);
}
.filter button:hover { border-color: var(--ink); }
.filter button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* spec table */
.table-wrap { overflow-x: auto; border-top: 1px solid var(--ink); }
table.spec { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 14px; }
table.spec th, table.spec td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.spec th {
  font-weight: 600; font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap;
}
table.spec td:first-child { font-weight: 600; }
table.spec tr:hover td { background: rgba(166, 43, 27, 0.04); }

/* ---------- 11. Dark quality section ---------- */
.section--ink .ink-head {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 80px); align-items: end;
  padding-bottom: 30px; border-bottom: 1px solid rgba(246, 241, 231, 0.16);
}
.ink-head .rail__idx { color: rgba(246, 241, 231, 0.55); }
.ink-head .rail__idx::before { background: rgba(246, 241, 231, 0.55); }
.ink-head h2 {
  margin-top: 12px; font-family: var(--serif); font-weight: 700;
  font-size: clamp(26px, 2.9vw, 40px); line-height: 1.3; letter-spacing: 0.01em;
}
.ink-head .lede { color: rgba(246, 241, 231, 0.72); max-width: 40em; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(34px, 4vw, 54px); }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps--paper .step { border-top-color: var(--line); border-left-color: var(--line-soft); }
.steps--paper .step__no { color: var(--red); }
.steps--paper .step p { color: var(--muted); }
.step {
  padding: 28px clamp(18px, 2vw, 30px) 0;
  border-top: 1px solid rgba(246, 241, 231, 0.26);
  border-left: 1px solid rgba(246, 241, 231, 0.14);
}
.step:first-child { border-left: 0; padding-left: 0; }
.step__no { font-family: var(--latin); font-size: 12px; letter-spacing: 0.18em; color: rgba(246, 241, 231, 0.55); }
.step h3 { margin-top: 16px; font-family: var(--serif); font-size: 21px; font-weight: 700; letter-spacing: 0.02em; }
.step p { margin-top: 12px; font-size: 13.5px; line-height: 1.95; color: rgba(246, 241, 231, 0.66); }
.section--ink .lede { color: rgba(246, 241, 231, 0.7); }
.section--ink .rail__en, .section--ink .rail p { color: rgba(246, 241, 231, 0.55); }
.section--ink .rail h2 { color: var(--paper); }

/* ---------- 12. Band ---------- */
.band {
  position: relative; min-height: clamp(320px, 42vw, 480px);
  display: flex; align-items: center; overflow: hidden;
  border-top: 1px solid var(--line);
}
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 15, 11, 0.78), rgba(20, 15, 11, 0.18) 65%); }
.band__inner { position: relative; z-index: 2; color: #fff; max-width: 40em; }
.band__inner .eyebrow { color: rgba(255, 255, 255, 0.75); }
.band h2 {
  margin-top: 20px; font-family: var(--serif); font-weight: 700;
  font-size: clamp(28px, 3.6vw, 48px); line-height: 1.35;
}
.band p { margin-top: 18px; font-size: 15px; line-height: 2; color: rgba(255, 255, 255, 0.76); max-width: 34em; }

/* ---------- 13. CTA ---------- */
.cta { background: var(--red); color: #fff; padding-block: clamp(52px, 7vw, 96px); position: relative; overflow: hidden; }
.cta__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 36px; align-items: end; }
.cta .eyebrow { color: rgba(255, 255, 255, 0.7); }
.cta h2 { margin-top: 18px; font-family: var(--serif); font-size: clamp(28px, 3.8vw, 52px); line-height: 1.25; }
.cta p { margin-top: 16px; color: rgba(255, 255, 255, 0.78); font-size: 14.5px; }
.cta__tel { text-align: right; }
.cta__tel .lbl { font-size: 11px; letter-spacing: 0.24em; color: rgba(255, 255, 255, 0.65); text-transform: uppercase; }
.cta__tel .num {
  display: block; margin-top: 8px; font-family: var(--latin); font-size: clamp(26px, 3.2vw, 42px);
  letter-spacing: 0.02em; line-height: 1.2; color: #fff;
}
.cta__tel .num:hover { text-decoration: underline; text-underline-offset: 6px; }

/* ---------- 14. Footer ---------- */
.site-footer { background: var(--ink); color: rgba(246, 241, 231, 0.62); padding-top: clamp(48px, 6vw, 76px); font-size: 13.5px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: clamp(36px, 4.5vw, 56px); }
.footer-brand .brand__name { color: var(--paper); }
.footer-brand .brand__en { color: rgba(246, 241, 231, 0.45); }
.footer-brand p { margin-top: 20px; max-width: 24em; line-height: 1.9; }
.site-footer h4 {
  font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(246, 241, 231, 0.45); font-weight: 500; margin-bottom: 18px;
}
.site-footer li + li { margin-top: 9px; }
.site-footer a:hover { color: #fff; }
.footer-contact strong { display: block; color: var(--paper); font-family: var(--latin); font-size: 21px; letter-spacing: 0.03em; font-weight: 400; margin-bottom: 10px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  padding-block: 22px; border-top: 1px solid rgba(246, 241, 231, 0.12);
  font-size: 12px; color: rgba(246, 241, 231, 0.42);
}

/* ---------- 15. Page hero ---------- */
.page-hero { padding-block: clamp(52px, 6.5vw, 92px) clamp(34px, 4.2vw, 60px); border-bottom: 1px solid var(--line); }
.crumb { font-size: 12px; letter-spacing: 0.1em; color: var(--muted); display: flex; gap: 10px; align-items: center; }
.crumb a:hover { color: var(--red); }
.crumb span { opacity: 0.5; }
.page-hero h1 {
  margin-top: 22px; font-family: var(--serif); font-weight: 700;
  font-size: clamp(34px, 4.6vw, 58px); line-height: 1.25; letter-spacing: 0.01em;
}
.page-hero .lede { margin-top: 20px; max-width: 46em; }
.page-hero__meta {
  margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; gap: 12px 40px; font-size: 12.5px; color: var(--muted); letter-spacing: 0.04em;
}
.page-hero__meta b { color: var(--ink); font-weight: 600; }

/* ---------- 16. Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 5vw, 80px); }
.contact-list { border-top: 1px solid var(--ink); }
.contact-row { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.contact-row dt { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.contact-row dd { margin: 0; font-size: 15.5px; line-height: 1.9; }
.contact-row dd.big { font-family: var(--latin); font-size: clamp(24px, 2.6vw, 32px); letter-spacing: 0.02em; }
.contact-row dd.big a:hover { color: var(--red); }
.contact-note { margin-top: 26px; font-size: 13px; line-height: 1.95; color: var(--muted); }
.contact-card { background: var(--paper-2); padding: clamp(26px, 3vw, 40px); border: 1px solid var(--line-soft); }
.contact-card h3 { font-family: var(--serif); font-size: 22px; font-weight: 700; }
.contact-card p { margin-top: 14px; font-size: 14px; line-height: 2; color: var(--ink-2); }
.contact-card .hr { height: 1px; background: var(--line); margin: 24px 0; }
.contact-card .addr { font-size: 13.5px; line-height: 1.95; color: var(--muted); }
.contact-card .addr strong { display: block; color: var(--ink); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 6px; }

/* ---------- 17. Lists & notes ---------- */
.about-list { margin-top: 26px; border-top: 1px solid var(--line); }
.about-list li {
  display: flex; align-items: baseline; gap: 16px;
  padding: 13px 0; border-bottom: 1px solid var(--line-soft);
  font-size: 14px; color: var(--ink-2);
}
.about-list li span { font-family: var(--latin); font-size: 11.5px; letter-spacing: 0.12em; color: var(--red); }
.note-band {
  display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 24px;
  padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); background: var(--paper-2);
}
.note-band p { font-size: 14px; line-height: 2; color: var(--ink-2); }

/* ---------- 18. Reveal ---------- */
.js-ready .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js-ready .reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- 18. Responsive ---------- */
@media (max-width: 1180px) {
  .header-tel { padding-left: 20px; }
  .header-tel .num { font-size: 17px; }
  .nav { gap: 22px; }
}
@media (max-width: 1024px) {
  .nav, .header-tel { display: none; }
  .nav-toggle { display: flex; }
  .header-inner { height: 70px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__copy { order: 2; padding: 40px var(--pad) 48px; }
  .hero__copy::after { display: none; }
  .hero__main { margin-top: 30px; }
  .hero__media { order: 1; aspect-ratio: 16 / 11; }
  .hero__scroll { display: none; }
  .rail-grid { grid-template-columns: 1fr; gap: 30px; }
  .rail { position: static; }
  .rail p { max-width: 34em; }
  .ink-head { grid-template-columns: 1fr; align-items: start; gap: 18px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps--3 { grid-template-columns: 1fr; }
  .steps--3 .step { border-left: 0; padding-left: 0; }
  .steps--3 .step + .step { margin-top: 24px; }
  .step:nth-child(3) { border-left: 0; padding-left: 0; }
  .step:nth-child(n + 3) { margin-top: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta__grid { grid-template-columns: 1fr; align-items: start; }
  .cta__tel { text-align: left; }
}
@media (max-width: 820px) {
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: 1fr; }
  .fact { border-left: 0; border-top: 1px solid var(--line); padding-block: 16px; }
  .fact:first-child { border-top: 0; }
  .split { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .band::after { background: linear-gradient(180deg, rgba(20, 15, 11, 0.82), rgba(20, 15, 11, 0.5)); }
  .note-band { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 560px) {
  body { font-size: 15.5px; }
  .brand__name { font-size: 17px; }
  .seal { width: 38px; height: 38px; font-size: 21px; }
  .hero h1 { font-size: clamp(30px, 8.6vw, 40px); }
  .prod__name { font-size: 15.5px; }
  .prod__spec { font-size: 12px; }
  .steps { grid-template-columns: 1fr; }
  .step { border-left: 0; padding-left: 0; }
  .step + .step { margin-top: 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-row { grid-template-columns: 1fr; gap: 6px; }
  .btn { padding: 14px 22px; }
}

/* mobile nav panel */
.mobile-menu {
  position: fixed; inset: 0; z-index: 80; background: var(--paper);
  padding: 96px var(--pad) 40px; display: flex; flex-direction: column;
  transform: translateY(-101%); transition: transform 0.5s var(--ease);
  visibility: hidden;
}
body.nav-open .mobile-menu { transform: none; visibility: visible; }
.mobile-menu a {
  font-family: var(--serif); font-size: clamp(26px, 7vw, 34px); font-weight: 700;
  padding: 18px 0; border-bottom: 1px solid var(--line); display: flex; align-items: baseline; justify-content: space-between;
}
.mobile-menu a small { font-family: var(--latin); font-size: 11px; letter-spacing: 0.2em; color: var(--muted); }
.mobile-menu .mm-foot { margin-top: auto; padding-top: 30px; font-size: 13px; color: var(--muted); }
.mobile-menu .mm-foot strong { display: block; font-family: var(--latin); font-size: 24px; color: var(--ink); margin: 6px 0 14px; }
body.nav-open { overflow: hidden; }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
