/* =========================================================
   Thana Plus 153 — โรงงานเสื้อยืด.com
   main.css — design tokens + layout + components
   No external requests. System Thai font stack = fast LCP.
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* brand */
  --brand-700: #b83d1c;
  --brand-600: #d9502a;
  --brand-500: #e4653f;
  --brand-050: #fdf1ec;

  /* ink / neutral */
  --ink-900: #14181f;
  --ink-700: #2b323d;
  --ink-500: #5b6472;
  --ink-400: #7c8593;
  --line: #e3e7ec;
  --line-soft: #eef1f5;
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --bg-dark: #14181f;

  /* semantic */
  --ok-600: #17795e;
  --ok-050: #e8f5f0;
  --warn-600: #a86a00;
  --warn-050: #fdf3e2;

  /* type scale (fluid) */
  --fs-xs: 0.8125rem;   /* 13 */
  --fs-sm: 0.9375rem;   /* 15 */
  --fs-md: 1.0625rem;   /* 17 — body, >16px for mobile readability */
  --fs-lg: 1.1875rem;
  --fs-h4: clamp(1.125rem, 0.9rem + 0.7vw, 1.3125rem);
  --fs-h3: clamp(1.3125rem, 1.05rem + 0.9vw, 1.625rem);
  --fs-h2: clamp(1.625rem, 1.25rem + 1.5vw, 2.25rem);
  --fs-h1: clamp(2rem, 1.45rem + 2.4vw, 3.125rem);

  /* spacing */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px;

  --radius: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(20, 24, 31, .06), 0 1px 3px rgba(20, 24, 31, .04);
  --shadow-md: 0 4px 12px rgba(20, 24, 31, .07), 0 2px 4px rgba(20, 24, 31, .04);
  --shadow-lg: 0 18px 40px rgba(20, 24, 31, .10);

  --wrap: 1140px;
  --header-h: 68px;

  --ease-out: cubic-bezier(.22, .8, .3, 1);
  --t-fast: 120ms;
  --t-base: 200ms;

  --font-th: "IBM Plex Sans Thai", "Noto Sans Thai", "Sarabun", "Leelawadee UI",
             -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
             "Helvetica Neue", Arial, "Thonburi", sans-serif;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-th);
  font-size: var(--fs-md);
  line-height: 1.75;
  color: var(--ink-700);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { color: var(--ink-900); line-height: 1.3; margin: 0 0 var(--sp-4); font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: var(--fs-h1); line-height: 1.2; }
/* ภาษาไทยไม่มีช่องว่างระหว่างคำ เบราว์เซอร์จึงใช้ dictionary ตัด แล้วได้ "รับผลิตเสื้อ|ยืด"
   keep-all ปิดพฤติกรรมนั้นให้ตัดเฉพาะที่ช่องว่างจริง · overflow-wrap กันคำยาวเกินจอ */
h1, h2 { word-break: keep-all; overflow-wrap: break-word; text-wrap: balance; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
p  { margin: 0 0 var(--sp-4); }
ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.25em; }
li { margin-bottom: var(--sp-2); }
a { color: var(--brand-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-600); }
strong { color: var(--ink-900); font-weight: 700; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 3px solid var(--brand-500); outline-offset: 2px; border-radius: 4px; }
.tnum { font-variant-numeric: tabular-nums; }

/* skip link */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink-900); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--radius) 0;
}
.skip:focus { left: 0; color: #fff; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 3. Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--sp-5); }
.section { padding-block: var(--sp-8); }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--bg-dark); color: #cbd2dc; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: var(--sp-6); }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--brand-700); background: var(--brand-050);
  padding: 5px 12px; border-radius: var(--radius-pill); margin-bottom: var(--sp-3);
}
.lead { font-size: var(--fs-lg); color: var(--ink-500); }

.grid { display: grid; gap: var(--sp-5); }
@media (min-width: 700px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 700px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 700px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.grid--start { align-items: start; }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  min-height: 48px; padding: 12px 26px; border-radius: var(--radius-pill);
  font: inherit; font-weight: 700; font-size: var(--fs-md); text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background var(--t-base) var(--ease-out), color var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease-out), transform var(--t-fast) var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand-600); color: #fff; box-shadow: var(--shadow-md); }
.btn--primary:hover { background: var(--brand-700); color: #fff; }
.btn--ghost { background: #fff; color: var(--ink-900); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink-400); color: var(--ink-900); }
.btn--line { background: #06c755; color: #fff; }
.btn--line:hover { background: #05a948; color: #fff; }
.btn--onDark { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.24); }
.btn--onDark:hover { background: rgba(255,255,255,.16); color: #fff; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.92); backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: var(--sp-4); min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink-900); flex: 0 0 auto; }
.brand__mark { width: 34px; height: 34px; flex: 0 0 auto; }
.brand__name { font-weight: 800; font-size: 1.0625rem; line-height: 1.15; letter-spacing: -.01em; }
.brand__sub { display: block; font-size: 11px; font-weight: 600; color: var(--ink-400); letter-spacing: .04em; }

.nav-toggle {
  margin-left: auto; width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; color: var(--ink-900);
}
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after {
  content: ""; display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform var(--t-base) var(--ease-out), opacity var(--t-fast) linear;
}
.nav-toggle__bar::before { transform: translateY(-6px); }
.nav-toggle__bar::after  { transform: translateY(4px); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after  { transform: translateY(-2px) rotate(-45deg); }

.site-nav { display: none; }
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.site-nav__list a {
  display: block; padding: 12px 14px; min-height: 48px; border-radius: var(--radius);
  color: var(--ink-700); text-decoration: none; font-weight: 600; font-size: var(--fs-sm);
}
.site-nav__list a:hover { background: var(--bg-soft); color: var(--ink-900); }
.site-nav__list a[aria-current="page"] { color: var(--brand-700); background: var(--brand-050); }
.site-header__cta { display: none; }

.site-nav.is-open {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
  padding: var(--sp-3) var(--sp-5) var(--sp-5);
}
.site-nav.is-open .site-header__cta-mobile { margin-top: var(--sp-3); }

@media (min-width: 1000px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; margin-left: auto; }
  .site-nav__list { flex-direction: row; gap: var(--sp-1); }
  .site-header__cta { display: inline-flex; margin-left: var(--sp-3); }
  .site-header__cta-mobile { display: none; }
}

/* ---------- 6. Hero ---------- */
.hero { padding-block: var(--sp-8) var(--sp-8); background:
  radial-gradient(900px 420px at 88% -8%, var(--brand-050) 0%, rgba(253,241,236,0) 62%), #fff; }
.hero__grid { display: grid; gap: var(--sp-6); align-items: center; }
@media (min-width: 940px) { .hero__grid { grid-template-columns: 1.05fr .95fr; gap: var(--sp-7); } }
.hero h1 { margin-bottom: var(--sp-4); }
.hero__lead { font-size: var(--fs-lg); color: var(--ink-500); margin-bottom: var(--sp-5); }
.hero__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--bg-soft); }
.hero__media img, .hero__media svg { width: 100%; height: auto; display: block; }
.hero__media img { aspect-ratio: 3 / 2; object-fit: cover; }

.trust-row { display: flex; flex-wrap: wrap; gap: var(--sp-4) var(--sp-5); margin-top: var(--sp-5); padding-top: var(--sp-5); border-top: 1px solid var(--line); }
.trust-row__item { display: flex; align-items: baseline; gap: 8px; }
.trust-row__num { font-size: 1.5rem; font-weight: 800; color: var(--ink-900); font-variant-numeric: tabular-nums; }
.trust-row__label { font-size: var(--fs-sm); color: var(--ink-500); }

/* ---------- 7. Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--sp-5); box-shadow: var(--shadow-sm);
  transition: border-color var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out);
}
.card h3 { margin-bottom: var(--sp-2); font-size: var(--fs-h4); }
.card p:last-child { margin-bottom: 0; }
.card--link { display: block; text-decoration: none; color: inherit; }
.card--link:hover { border-color: var(--brand-500); box-shadow: var(--shadow-md); color: inherit; }
.card--link .card__more { color: var(--brand-700); font-weight: 700; font-size: var(--fs-sm); }
.card--media { padding: 0; overflow: hidden; }
.card--media .card__image { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card--media .card__body { padding: var(--sp-5); }
.card__icon {
  width: 48px; height: 48px; border-radius: var(--radius); background: var(--brand-050);
  display: grid; place-items: center; margin-bottom: var(--sp-4); color: var(--brand-700);
}
.card__icon svg { width: 26px; height: 26px; }

/* checklist */
.check { list-style: none; padding: 0; }
.check li { position: relative; padding-left: 30px; margin-bottom: var(--sp-3); }
.check li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 18px; height: 18px;
  border-radius: 50%; background: var(--ok-050);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317795e' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px; background-repeat: no-repeat; background-position: center;
}
.section--dark .check li::before { background-color: rgba(23,121,94,.25); }

/* steps */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: var(--sp-4); }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .steps--5 { grid-template-columns: repeat(5, 1fr); } }
.steps li { counter-increment: s; position: relative; padding-top: var(--sp-5); border-top: 3px solid var(--line); margin: 0; }
.steps li::before {
  content: counter(s, decimal-leading-zero); position: absolute; top: -0.1em; left: 0;
  transform: translateY(-100%); font-size: var(--fs-xs); font-weight: 800; color: var(--brand-700);
  letter-spacing: .08em; padding-bottom: 6px;
}
.steps li strong { display: block; margin-bottom: 4px; }
.steps li span { font-size: var(--fs-sm); color: var(--ink-500); }

/* production photography */
.media-frame,
.process-shot,
.quote-photo {
  margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--bg-soft); box-shadow: var(--shadow-md);
}
.media-frame img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.process-gallery { display: grid; gap: var(--sp-4); margin-bottom: var(--sp-6); }
@media (min-width: 700px) { .process-gallery { grid-template-columns: repeat(3, 1fr); } }
.process-shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.process-shot figcaption,
.quote-photo figcaption { padding: 12px var(--sp-4); color: var(--ink-500); font-size: var(--fs-sm); background: #fff; }
.feature-media { display: grid; gap: var(--sp-5); align-items: center; margin-bottom: var(--sp-6); }
@media (min-width: 850px) { .feature-media { grid-template-columns: 1.15fr .85fr; } }
.feature-media .card { box-shadow: none; }
.quote-photo { margin-bottom: var(--sp-4); }
.quote-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* ---------- 8. Table ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.table-scroll table { min-width: 560px; font-size: var(--fs-sm); }
.table-scroll caption { text-align: left; padding: var(--sp-4) var(--sp-5) 0; color: var(--ink-500); font-size: var(--fs-sm); }
.table-scroll th, .table-scroll td { padding: 14px var(--sp-4); text-align: left; border-bottom: 1px solid var(--line-soft); }
.table-scroll thead th { background: var(--bg-soft); color: var(--ink-900); font-weight: 700; white-space: nowrap; }
.table-scroll tbody tr:last-child td { border-bottom: 0; }
.table-scroll td.num, .table-scroll th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- 9. FAQ ---------- */
.faq { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.faq__item { border-bottom: 1px solid var(--line-soft); }
.faq__item:last-child { border-bottom: 0; }
.faq__q {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sp-4);
  background: none; border: 0; padding: 20px var(--sp-5); min-height: 56px; cursor: pointer;
  font: inherit; font-weight: 700; font-size: var(--fs-md); color: var(--ink-900); text-align: left; line-height: 1.5;
}
.faq__q:hover { background: var(--bg-soft); }
.faq__q::after {
  content: ""; flex: 0 0 auto; width: 20px; height: 20px; margin-top: 4px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6472' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat;
  transition: transform var(--t-base) var(--ease-out);
}
.faq__q[aria-expanded="true"]::after { transform: rotate(180deg); }
.faq__a { padding: 0 var(--sp-5) var(--sp-5); color: var(--ink-500); }
.faq__a p:last-child { margin-bottom: 0; }
.faq__a[hidden] { display: none; }

/* ---------- 10. Breadcrumb ---------- */
.breadcrumb { padding-block: var(--sp-4) 0; font-size: var(--fs-sm); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; color: var(--ink-400); }
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: "/"; color: var(--line); }
.breadcrumb a { color: var(--ink-500); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand-700); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--ink-900); font-weight: 600; }

/* ---------- 11. Quote form ---------- */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--sp-5); box-shadow: var(--shadow-md); }
.field { margin-bottom: var(--sp-4); }
.field > label { display: block; font-weight: 700; font-size: var(--fs-sm); color: var(--ink-900); margin-bottom: 6px; }
.field .hint { display: block; font-size: var(--fs-xs); color: var(--ink-400); font-weight: 400; margin-top: 2px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: var(--fs-md); color: var(--ink-900);
  padding: 12px 14px; min-height: 48px; background: #fff;
  border: 1.5px solid var(--line); border-radius: var(--radius);
  transition: border-color var(--t-base) var(--ease-out);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-400); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand-600); outline-offset: 1px; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #c62828; }
.field__error { display: none; color: #c62828; font-size: var(--fs-sm); font-weight: 600; margin-top: 6px; }
.field__error.is-shown { display: block; }
.form-note { font-size: var(--fs-sm); color: var(--ink-400); margin-top: var(--sp-3); }
.form-status { margin-top: var(--sp-4); padding: 14px var(--sp-4); border-radius: var(--radius); font-size: var(--fs-sm); font-weight: 600; }
.form-status[hidden] { display: none; }
.form-status--ok { background: var(--ok-050); color: var(--ok-600); }
.form-status--err { background: #fdeaea; color: #c62828; }

/* estimator readout */
.estimate { background: var(--ink-900); color: #fff; border-radius: var(--radius-lg); padding: var(--sp-5); }
.estimate h3 { color: #fff; margin-bottom: var(--sp-3); font-size: var(--fs-h4); }
.estimate__value { font-size: clamp(2rem, 1.4rem + 2.4vw, 2.75rem); font-weight: 800; line-height: 1.15; font-variant-numeric: tabular-nums; color: #fff; }
.estimate__unit { font-size: var(--fs-sm); color: #9aa4b2; margin-top: 4px; }
.estimate__rows { list-style: none; padding: 0; margin: var(--sp-4) 0 0; font-size: var(--fs-sm); color: #cbd2dc; }
.estimate__rows li { display: flex; justify-content: space-between; gap: var(--sp-4); border-top: 1px solid rgba(255,255,255,.12); padding: 10px 0; margin: 0; }
.estimate__rows b { color: #fff; font-variant-numeric: tabular-nums; }
.estimate__disclaimer { font-size: var(--fs-xs); color: #8b96a5; margin-top: var(--sp-4); }

/* ---------- 12. CTA band ---------- */
.cta-band { background: var(--bg-dark); color: #cbd2dc; padding-block: var(--sp-8); }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: #9aa4b2; }
.cta-band__inner { display: grid; gap: var(--sp-5); align-items: center; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1.3fr auto; } }

/* ---------- 13. Footer ---------- */
.site-footer { background: #0d1117; color: #98a2b3; padding-block: var(--sp-7) var(--sp-5); font-size: var(--fs-sm); }
.site-footer__grid { display: grid; gap: var(--sp-6); }
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h3 { color: #fff; font-size: var(--fs-sm); letter-spacing: .06em; text-transform: uppercase; margin-bottom: var(--sp-4); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #98a2b3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__bottom { margin-top: var(--sp-6); padding-top: var(--sp-5); border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: space-between; font-size: var(--fs-xs); color: #6b7583; }
.site-footer__brand { display: flex; align-items: center; gap: 10px; margin-bottom: var(--sp-4); color: #fff; }
.site-footer__brand .brand__mark { width: 32px; height: 32px; }
/* กฎรวม `strong { color: var(--ink-900) }` เป็นกฎที่ชี้ element ตรง ๆ
   จึงชนะ color ที่ฟุตเตอร์ส่งต่อทาง inheritance -> ตัวหนาเป็นสีเข้มบนพื้น #0d1117 */
.site-footer strong { color: #fff; }

/* ---------- 14. Sticky mobile CTA ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: flex; gap: var(--sp-2); padding: 10px var(--sp-4) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-top: 1px solid var(--line);
}
.mobile-cta .btn { flex: 1; min-height: 48px; font-size: var(--fs-sm); padding-inline: 12px; }
@media (min-width: 1000px) { .mobile-cta { display: none; } }
@media (max-width: 999px) { body { padding-bottom: 76px; } }

/* ---------- 15. Misc ---------- */
.prose > :last-child { margin-bottom: 0; }
.note { background: var(--warn-050); border-left: 4px solid var(--warn-600); padding: var(--sp-4) var(--sp-5); border-radius: 0 var(--radius) var(--radius) 0; }
.note p:last-child { margin-bottom: 0; }
.tag-list { display: flex; flex-wrap: wrap; gap: var(--sp-2); list-style: none; padding: 0; }
.tag-list li { margin: 0; }
.tag { display: inline-block; font-size: var(--fs-xs); font-weight: 600; color: var(--ink-500); background: var(--bg-soft); border: 1px solid var(--line); padding: 6px 12px; border-radius: var(--radius-pill); }

.reveal { opacity: 0; transform: translateY(14px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity 420ms var(--ease-out), transform 420ms var(--ease-out); }

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

/* ---------- 17. Print ---------- */
@media print {
  .site-header, .mobile-cta, .cta-band, .site-footer { display: none; }
  body { padding-bottom: 0; color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 11px; }
}
