/* RMT Global Solutions (shares its structure with the Islam Trade International site)
   Layout: left-aligned single column (max 1120px). Sections are separated by
   space and one hairline, not cards. The paper swatch stack in the hero is the
   one bold element; everything else stays quiet. */

@font-face { font-family: "Archivo"; src: url("/assets/fonts/archivo-wght.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("/assets/fonts/public-sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("/assets/fonts/public-sans-600.woff2") format("woff2"); font-weight: 500 700; font-display: swap; }

:root {
  --paper: #f6f7f4;
  --sheet: #ffffff;
  --ink: #17241f;
  --ink-soft: #4c5866;
  --rule: #dfe3e1;
  --kraft: #8a5d33;
  --cyan: #1d6b52;
  --cyan-ink: #ffffff;
  --field: #ffffff;
  --tint: #e9f1ed;
  --ok: #1f7a4d;
  --ok-bg: #e4f3eb;
  --warn: #8a5a00;
  --warn-bg: #fbf0d9;
  --err: #b3261e;
  --err-bg: #fbe7e5;

  --display: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(2rem, 1.4rem + 2.6vw, 3.1rem);
  --measure: 66ch;
  --gutter: 20px;
  --radius: 4px;
  --head-h: 66px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #12171d; --sheet: #1a2129; --ink: #e8ebe8; --ink-soft: #a9b2bb; --rule: #2b333c;
    --kraft: #d6a06b; --cyan: #5cb6e0; --cyan-ink: #0d1a22; --field: #161c23; --tint: #18232c;
    --ok: #6fd09f; --ok-bg: #15302a; --warn: #f0c062; --warn-bg: #332a12; --err: #ff8a80; --err-bg: #3a1d1c;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #12171d; --sheet: #1a2129; --ink: #e8ebe8; --ink-soft: #a9b2bb; --rule: #2b333c;
  --kraft: #d6a06b; --cyan: #5cb6e0; --cyan-ink: #0d1a22; --field: #161c23; --tint: #18232c;
  --ok: #6fd09f; --ok-bg: #15302a; --warn: #f0c062; --warn-bg: #332a12; --err: #ff8a80; --err-bg: #3a1d1c;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: var(--step-0); line-height: 1.6; }
img, svg, canvas { max-width: 100%; }
a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.wrap { max-width: 1120px; margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

.notice { background: var(--warn-bg); color: var(--ink); font-size: 0.95rem; }
.notice .wrap { padding-block: 9px; }

/* Header */
.site-head { border-bottom: 1px solid var(--rule); background: var(--paper); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; }
.site-head > .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; min-width: 0; }
.brand svg { width: auto; height: 34px; flex: none; color: var(--ink); }
.brand > span > b { display: block; font-family: var(--display); font-weight: 700; font-size: 1.05rem; line-height: 1.2; }
.brand > span > span { display: block; font-size: 0.82rem; color: var(--ink-soft); line-height: 1.3; }
.nav { display: flex; align-items: center; gap: 4px 18px; flex-wrap: wrap; justify-content: flex-end; }
.nav a { color: var(--ink); text-decoration: none; font-size: 0.95rem; }
.nav a:not(.btn):hover, .nav a[aria-current="page"]:not(.btn) { color: var(--cyan); }
.nav a[aria-current="page"]:not(.btn) { text-decoration: underline; text-decoration-thickness: 2px; }
.menu-btn { display: none; background: none; border: 1px solid var(--rule); color: var(--ink); border-radius: var(--radius); padding: 8px 12px; font: 600 0.95rem var(--body); cursor: pointer; }
.mobile-nav { border-top: 1px solid var(--rule); background: var(--paper); }
.mobile-nav .wrap { display: grid; padding-block: 8px 14px; }
.mobile-nav a { color: var(--ink); text-decoration: none; padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: 1.02rem; }
.mobile-nav a[aria-current="page"] { color: var(--cyan); font-weight: 600; }
@media (max-width: 940px) { .nav { display: none; } .menu-btn { display: inline-block; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px;
  background: var(--cyan); color: var(--cyan-ink); border: 0; border-radius: var(--radius);
  padding: 10px 18px; font: 600 0.95rem var(--body); text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--rule); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); filter: none; }
.btn.small { min-height: 36px; padding: 6px 12px; font-size: 0.88rem; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .65; cursor: progress; }
.btn[aria-busy="true"]::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.nav .btn { min-height: 38px; padding: 8px 14px; color: var(--cyan-ink); }
.nav a.btn:hover { color: var(--cyan-ink); }

/* Type */
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.015em; text-wrap: balance; margin: 0; color: var(--ink); }
h1 { font-size: var(--step-3); line-height: 1.08; font-weight: 700; }
h2 { font-size: var(--step-2); line-height: 1.2; font-weight: 700; }
h3 { font-size: var(--step-1); line-height: 1.3; font-weight: 600; }
p { margin: 0 0 12px; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 58ch; margin: 18px 0 26px; }
.muted { color: var(--ink-soft); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero { padding-block: clamp(36px, 7vw, 84px) clamp(36px, 6vw, 68px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } }
.page-hero { padding-block: clamp(32px, 5vw, 60px) clamp(20px, 3vw, 36px); }
.page-hero .lead { margin-bottom: 20px; }
.facts { margin: 28px 0 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 22px; font-size: 0.95rem; max-width: 520px; }
.facts dt { color: var(--ink-soft); }
.facts dd { margin: 0; }

/* Swatch stack */
.swatches { position: relative; height: 340px; max-width: 440px; width: 100%; justify-self: center; }
@media (max-width: 860px) { .swatches { height: 300px; } }
.sw {
  position: absolute; left: 0; right: 0; height: 74px; border-radius: 3px;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;
  padding: 12px 14px 0; font-size: 0.82rem; color: #1d2733;
  box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 8px 18px -10px rgba(16,24,32,.35);
}
.sw b { font-family: var(--display); font-weight: 600; font-size: 0.95rem; }
.sw i { font-style: normal; opacity: .75; }
.sw::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 5px; border-radius: 0 0 3px 3px; background: var(--back, #fff); }
.sw-1 { top: 0; background: #ffffff; --back: #ffffff; transform: rotate(-3.5deg) translateX(10px); }
.sw-2 { top: 54px; background: #f3f4f1; --back: #9aa0a6; transform: rotate(-1.8deg) translateX(4px); }
.sw-3 { top: 108px; background: #fbfbf7; --back: #e9e3d3; transform: rotate(-0.4deg); }
.sw-4 { top: 162px; background: #ffffff; --back: #e3e6e2; transform: rotate(1.2deg) translateX(-4px); }
.sw-5 { top: 216px; background: linear-gradient(90deg, #ffffff 0 82%, #f2c94c 82% 100%); --back: #f2c94c; transform: rotate(2.6deg) translateX(-8px); }
.sw-6 { top: 262px; background: #f1ecdf; color: var(--ink); --back: #e2dac6; transform: rotate(3.8deg) translateX(-12px); }
.sw-6 i { opacity: .75; }
.sw-1 b::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; background: conic-gradient(#00a0d6 0 25%, #e0287b 0 50%, #f5d300 0 75%, #1d1d1b 0); vertical-align: 1px; }
@media (prefers-reduced-motion: no-preference) {
  .sw { animation: fan .7s cubic-bezier(.2,.7,.2,1) both; }
  .sw-2 { animation-delay: .05s } .sw-3 { animation-delay: .1s } .sw-4 { animation-delay: .15s } .sw-5 { animation-delay: .2s } .sw-6 { animation-delay: .25s }
  @keyframes fan { from { transform: rotate(0) translateY(14px); opacity: .0001; } }
}

/* Sections */
.section { padding-block: clamp(44px, 6vw, 76px); border-top: 1px solid var(--rule); }
.page-hero + .section { border-top: 0; padding-top: 8px; }
.sec-head { max-width: var(--measure); margin-bottom: 26px; }
.sec-head p { color: var(--ink-soft); margin: 10px 0 0; }
.prose { max-width: var(--measure); }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); }
@media (max-width: 860px) { .two { grid-template-columns: minmax(0, 1fr); } }
.more { margin-top: 18px; }

.work { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.work li { display: grid; gap: 2px; }
.work b { font-family: var(--display); font-weight: 600; }
.work span { color: var(--ink-soft); }

/* Grades */
.grades { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.grade { display: grid; grid-template-columns: 54px minmax(0, 1fr) minmax(0, 1.4fr); gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--rule); align-items: start; }
@media (max-width: 760px) { .grade { grid-template-columns: 54px minmax(0, 1fr); } .grade .uses { grid-column: 2; } }
.chip { width: 44px; height: 30px; border-radius: 2px; background: var(--face, #fff); position: relative; margin-top: 4px; box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 6px 10px -8px rgba(0,0,0,.5); }
.chip::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 4px; background: var(--back, #fff); border-radius: 0 0 2px 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.06); }
.grade h3 { font-size: 1.08rem; }
.grade .alt { color: var(--ink-soft); font-size: 0.92rem; margin: 2px 0 0; }
.grade .uses { margin: 0; font-size: 0.97rem; }
.grade .gsm { display: block; color: var(--ink-soft); font-size: 0.88rem; margin-top: 4px; }
.note { color: var(--ink-soft); font-size: 0.92rem; margin: 16px 0 0; max-width: var(--measure); }

.trims { columns: 2; column-gap: 28px; padding: 0; margin: 0 0 8px; list-style: none; }
.trims li { padding: 7px 0; border-bottom: 1px solid var(--rule); break-inside: avoid; }
.kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 22px; margin: 0; font-size: 0.97rem; }
.kv dt { color: var(--ink-soft); }
.kv dd { margin: 0; }
@media (max-width: 420px) { .kv, .facts { grid-template-columns: minmax(0, 1fr); gap: 2px 0; } .kv dd, .facts dd { margin-bottom: 8px; } }

.table-wrap { overflow-x: auto; border-top: 1px solid var(--ink); }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
.table-wrap table { min-width: 560px; }
th, td { text-align: left; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font-weight: 600; font-family: var(--display); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }

.records { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; max-width: var(--measure); }
.records li { padding-left: 16px; border-left: 2px solid var(--kraft); }
.records small { display: block; color: var(--ink-soft); }

.link-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 0 28px; }
.link-list li { border-bottom: 1px solid var(--rule); padding: 14px 0; }
.link-list a { font-family: var(--display); font-weight: 600; text-decoration: none; }
.link-list a:hover { text-decoration: underline; }
.link-list span { display: block; color: var(--ink-soft); font-size: 0.92rem; }

.customers { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 0 24px; }
.customers li { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.customers img { height: 40px; width: auto; max-width: 160px; object-fit: contain; display: block; margin-bottom: 8px; }
.customers b { display: block; }
.customers span { color: var(--ink-soft); font-size: 0.9rem; }

.photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.photos figure { margin: 0; }
.photos img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); display: block; background: var(--rule); }
.photos figcaption { color: var(--ink-soft); font-size: 0.9rem; margin-top: 8px; }

.cta-band { background: var(--tint); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-block: 34px; }
.cta-band h2 { font-size: 1.35rem; }
.cta-band p { margin: 6px 0 0; color: var(--ink-soft); }

/* About */
.message { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: start; }
.message img { width: 220px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.message blockquote { margin: 0; font-size: 1.08rem; max-width: 62ch; }
.message cite { display: block; font-style: normal; color: var(--ink-soft); margin-top: 6px; }
@media (max-width: 700px) { .message { grid-template-columns: minmax(0, 1fr); } }
.org { list-style: none; margin: 0; padding: 0; }
.org ul { list-style: none; margin: 0; padding: 0 0 0 26px; border-left: 1px solid var(--rule); margin-left: 14px; }
.org li { position: relative; padding: 8px 0; }
.org ul > li::before { content: ""; position: absolute; left: -26px; top: 30px; width: 20px; border-top: 1px solid var(--rule); }
.person { display: inline-flex; gap: 12px; align-items: center; padding: 10px 14px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--sheet); }
.person img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.person b { display: block; font-family: var(--display); }
.person span { display: block; color: var(--ink-soft); font-size: 0.9rem; }
.timeline { list-style: none; margin: 0; padding: 0; max-width: var(--measure); }
.timeline li { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.timeline b { font-family: var(--display); font-variant-numeric: tabular-nums; }
.docs { list-style: none; margin: 0; padding: 0; max-width: var(--measure); }
.docs li { padding: 10px 0; border-bottom: 1px solid var(--rule); }
.docs span { display: block; color: var(--ink-soft); font-size: 0.9rem; }

/* Forms */
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-family: var(--display); font-weight: 600; font-size: 1.1rem; padding: 0; margin-bottom: 10px; }
.field { display: grid; gap: 5px; min-width: 0; align-content: start; }
label, .label { font-size: 0.92rem; font-weight: 600; }
.opt { font-weight: 400; color: var(--ink-soft); }
.hint { font-size: 0.85rem; color: var(--ink-soft); margin: 0; }
input, select, textarea {
  width: 100%; font: 1rem var(--body); color: var(--ink); background: var(--field);
  border: 1px solid var(--rule); border-radius: var(--radius); padding: 10px 11px; min-height: 44px;
}
input[type="checkbox"], input[type="radio"] { width: auto; min-height: 0; accent-color: var(--cyan); }
input:focus, select:focus, textarea:focus { border-color: var(--cyan); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--cyan) 25%, transparent); }
textarea { min-height: 110px; resize: vertical; }
[aria-invalid="true"] { border-color: var(--err); }
.field-error { color: var(--err); font-size: 0.86rem; margin: 0; }
.field-error:empty { display: none; }
.choice { display: flex; flex-wrap: wrap; gap: 8px; }
.choice label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; border: 1px solid var(--rule); border-radius: var(--radius); padding: 9px 13px; cursor: pointer; background: var(--field); }
.choice label:has(input:checked) { border-color: var(--cyan); background: var(--tint); }
.form-foot { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.status { min-height: 1.5em; font-size: 0.95rem; margin: 0; }
.status.ok { color: var(--ok); }
.status.err { color: var(--err); }
.alert { padding: 12px 14px; border-radius: var(--radius); margin: 0 0 18px; }
.alert.err { background: var(--err-bg); color: var(--ink); border-left: 3px solid var(--err); }
.alert.ok { background: var(--ok-bg); color: var(--ink); border-left: 3px solid var(--ok); }
.alert ul { margin: 6px 0 0; padding-left: 20px; }
.files { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 6px; }
.files li { display: flex; justify-content: space-between; gap: 10px; align-items: center; font-size: 0.92rem; padding: 6px 10px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--field); }
.files button { background: none; border: 0; color: var(--err); cursor: pointer; font: inherit; }

/* Tools */
.tool { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
@media (max-width: 860px) { .tool { grid-template-columns: minmax(0, 1fr); } }
.tool form { display: grid; gap: 14px; }
.tool .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tool .row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 480px) { .tool .row3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.result { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius); padding: 18px; }
.result .big { font-family: var(--display); font-size: clamp(1.8rem, 1.3rem + 2vw, 2.4rem); font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.result .big small { font-size: 1rem; font-weight: 500; color: var(--ink-soft); }
.result dl { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; margin: 14px 0 0; }
.result dt { color: var(--ink-soft); }
.result dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.result .actions { margin-top: 14px; }
.layout-draw { width: 100%; height: auto; display: block; margin-top: 14px; background: var(--paper); border-radius: 3px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.toc a { display: inline-block; padding: 7px 12px; border: 1px solid var(--rule); border-radius: 999px; text-decoration: none; color: var(--ink); font-size: 0.92rem; }
.toc a:hover { border-color: var(--cyan); color: var(--cyan); }
.selector-out h3 { margin-bottom: 6px; }

/* Tracking */
.track-out { margin-top: 26px; }
.steps { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 0; }
.steps li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding-bottom: 16px; position: relative; color: var(--ink-soft); }
.steps li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--rule); background: var(--paper); margin-top: 6px; z-index: 1; }
.steps li::after { content: ""; position: absolute; left: 7px; top: 20px; bottom: 0; border-left: 2px solid var(--rule); }
.steps li:last-child::after { display: none; }
.steps li.done { color: var(--ink); }
.steps li.done::before { background: var(--ok); border-color: var(--ok); }
.steps li.now b { color: var(--cyan); }
.steps small { display: block; }

.pill { display: inline-block; border-radius: 999px; padding: 2px 10px; font-size: 0.82rem; font-weight: 600; background: var(--tint); color: var(--ink); }
.pill.ok { background: var(--ok-bg); color: var(--ok); }
.pill.warn { background: var(--warn-bg); color: var(--warn); }
.pill.err { background: var(--err-bg); color: var(--err); }

/* Legal */
.legal { max-width: 72ch; }
.legal h2 { font-size: 1.25rem; margin: 30px 0 10px; }
.legal ul { padding-left: 20px; }

/* Footer */
.site-foot { border-top: 1px solid var(--rule); padding-block: 36px 24px; color: var(--ink-soft); font-size: 0.92rem; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 24px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.site-foot h2 { font-size: 0.95rem; font-family: var(--display); color: var(--ink); margin-bottom: 8px; }
.site-foot address { font-style: normal; }
.site-foot p { margin: 0 0 6px; }
.site-foot .brand { margin-bottom: 10px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; border-top: 1px solid var(--rule); margin-top: 26px; padding-top: 16px; }

/* Mobile sticky CTA */
.mobile-cta { display: none; }
@media (max-width: 700px) {
  .mobile-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--paper); border-top: 1px solid var(--rule); }
  .mobile-cta .btn { width: 100%; }
  body:has(.mobile-cta) { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
  body:has(.mobile-cta) .qa-launch { display: none; }
}

/* Privacy notice */
.privacy-note { position: fixed; left: 16px; bottom: 16px; z-index: 26; max-width: 420px; display: flex; gap: 12px; align-items: center;
  background: var(--sheet); color: var(--ink); border: 1px solid var(--rule); border-radius: 8px; padding: 12px 14px; box-shadow: 0 16px 32px -18px rgba(0,0,0,.5); font-size: 0.9rem; }
.privacy-note p { margin: 0; }
@media (max-width: 700px) { .privacy-note { left: 12px; right: 12px; bottom: calc(80px + env(safe-area-inset-bottom, 0px)); max-width: none; } }

/* Quote assistant */
.qa-launch { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 20; border: 0; border-radius: 999px;
  background: var(--ink); color: var(--paper); padding: 12px 18px; min-height: 44px; font: 600 0.95rem var(--body); cursor: pointer; box-shadow: 0 10px 24px -12px rgba(0,0,0,.6); }
.qa { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 40; width: min(400px, calc(100vw - 36px)); height: min(600px, calc(100dvh - 110px));
  display: flex; flex-direction: column; background: var(--sheet); color: var(--ink); border: 1px solid var(--rule); border-radius: 8px; box-shadow: 0 24px 48px -20px rgba(0,0,0,.45); }
@media (max-width: 700px) { .qa { right: 8px; left: 8px; width: auto; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); height: calc(100dvh - 90px); } }
.qa-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--rule); }
.qa-head b { font-family: var(--display); }
.qa-head small { display: block; color: var(--ink-soft); font-size: 0.8rem; }
.qa-close { background: none; border: 0; color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 6px 10px; min-width: 44px; min-height: 44px; }
.qa-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 86%; padding: 9px 12px; border-radius: 8px; font-size: 0.94rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.bot { background: var(--paper); align-self: flex-start; border: 1px solid var(--rule); }
.msg.me { background: var(--cyan); color: var(--cyan-ink); align-self: flex-end; }
.msg.sys { align-self: center; color: var(--ink-soft); font-size: 0.82rem; background: none; padding: 2px; text-align: center; }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-soft); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s } .typing i:nth-child(3) { animation-delay: .4s }
@keyframes blink { 0%, 80%, 100% { opacity: .25 } 40% { opacity: 1 } }
.qa-summary { border: 1px solid var(--kraft); border-radius: 6px; padding: 10px 12px; font-size: 0.9rem; background: var(--paper); }
.qa-summary dl { display: grid; grid-template-columns: max-content minmax(0,1fr); gap: 3px 12px; margin: 6px 0 10px; }
.qa-summary dt { color: var(--ink-soft); }
.qa-summary dd { margin: 0; overflow-wrap: anywhere; }
.qa-summary .row { display: grid; gap: 6px; }
.qa-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 8px; }
.qa-chips button { border: 1px solid var(--rule); background: var(--paper); color: var(--ink); border-radius: 999px; padding: 6px 12px; min-height: 34px; font: 0.86rem var(--body); cursor: pointer; }
.qa-chips button:hover { border-color: var(--cyan); }
.qa-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--rule); }
.qa-form input { flex: 1; }

@media print {
  .site-head, .site-foot, .qa, .qa-launch, .mobile-cta, .privacy-note, .notice { display: none !important; }
  body { background: #fff; color: #000; }
}

/* Pieces-per-sheet drawing */
.layout-draw .d-sheet { fill: var(--sheet); stroke: var(--ink-soft); stroke-width: 2; vector-effect: non-scaling-stroke; }
.layout-draw .d-margin { fill: none; stroke: var(--rule); stroke-width: 1; stroke-dasharray: 4 3; vector-effect: non-scaling-stroke; }
.layout-draw .d-piece { fill: color-mix(in srgb, var(--cyan) 16%, var(--sheet)); stroke: var(--cyan); stroke-width: 1; vector-effect: non-scaling-stroke; }

/* Clients */
.client-names { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 12px; }
.client-names li { padding: 8px 14px; border: 1px solid var(--rule); border-radius: 999px; background: var(--sheet); font-weight: 600; font-size: .95rem; }
.clients { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.clients li { display: flex; gap: 14px; align-items: center; padding: 16px; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius); }
.clients img { width: 72px; height: 48px; object-fit: contain; flex: none; }
.clients .mono { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--cyan); font-family: var(--display); font-weight: 700; letter-spacing: .02em; }
.clients b { display: block; line-height: 1.3; }
.clients span:not(.mono) { color: var(--ink-soft); font-size: .9rem; }


/* ── RMT additions ───────────────────────────────────────── */
.brand > span > span { font-size: .78rem; color: var(--ink-soft); }
.steps-big { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: s; }
.steps-big li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; }
.steps-big .n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--cyan); color: #fff; font-family: var(--display); font-weight: 700; }
.steps-big b { font-family: var(--display); font-weight: 600; display: block; margin-top: 5px; }
.steps-big p { margin: 4px 0 0; color: var(--ink-soft); }
.pills { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 12px; }
.pills li { padding: 8px 14px; border: 1px solid var(--rule); border-radius: 999px; background: var(--sheet); font-weight: 600; font-size: .95rem; }
.ind { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.ind li { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius); padding: 20px; }
.ind h2 { font-size: var(--step-1); margin: 0 0 8px; }
.ind p { margin: 6px 0 0; color: var(--ink-soft); }
.ind b { color: var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); padding: 14px 0; }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 600; }
.faq details p { margin: 10px 0 0; color: var(--ink-soft); max-width: var(--measure); }
.chip.big { width: 140px; height: 96px; }
.chip.big::after { height: 10px; bottom: -10px; }
.crumbs { margin: 0 0 6px; font-size: .9rem; }
.conv { grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)) !important; }
.tool:has(.conv) { grid-template-columns: minmax(0, 1fr); }
.portrait { width: 100%; max-width: 320px; height: auto; border-radius: var(--radius); }
.grade h3 a { color: inherit; text-decoration: none; }
.grade h3 a:hover { text-decoration: underline; }
.map { position: relative; aspect-ratio: 16 / 7; min-height: 280px; border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; background: var(--tint); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.two > .map { aspect-ratio: 4 / 3; }
@media (max-width: 640px) { .map { aspect-ratio: 4 / 3; } }
/* RMT swatch order: duplex, FBB, art card, art paper, label stock, kraft bag paper */
.sw-1 { background: #f4f4f1; --back: #9aa0a6; }
.sw-1 b::before { display: none; }
.sw-2 { background: #fbfbf7; --back: #e9e3d3; }
.sw-3 { background: #ffffff; --back: #ffffff; }
.sw-4 { background: #ffffff; --back: #e3e6e2; }
.sw-6 { background: #c9a97c; color: #2b1d0e; --back: #b08c5e; }

.brand svg.mark { width: auto; height: 34px; }
.site-foot .brand svg.mark { height: 30px; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); margin: 0 0 6px; }
.feature { background: var(--tint); }
