/* Ay Kilit v3 · light, English, one screen per section (draft) */
:root {
  --paper: #FFFFFF;
  --paper-2: #F6F3EC;
  --card: #FFFFFF;
  --ink: #16130E;
  --ink-2: #5A5347;
  --ink-3: #8C8476;
  --line: #E6E0D3;
  --red: #9A6E24;   /* accent: brass */
  --red-ink: #FFFFFF;
  --brass: #9A6E24;
  --brass-soft: #F4ECDC;
  --tbc: #B7790A;
  --gut: clamp(16px, 3.4vw, 56px);
  --bar: 68px;
  --foot: 40px;
  --f: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--paper); color: var(--ink);
  font: 400 16px/1.5 var(--f); font-stretch: 100%;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  display: grid; grid-template-rows: var(--bar) minmax(0, 1fr) var(--foot);
  height: 100vh; height: 100svh; overflow: hidden;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; cursor: pointer; }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
.eyebrow { margin: 0 0 14px; font: 500 11px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--red); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.eyebrow i { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-3); }
.h2 { margin: 0 0 14px; font-weight: 800; font-stretch: 112%; font-size: min(3.4rem, 3.3vw, 6.4vh); line-height: 1.02; letter-spacing: -.025em; }
.lede { margin: 0 0 18px; color: var(--ink-2); font-size: min(1.12rem, 2.1vh); line-height: 1.55; max-width: 36rem; }
.link { font-weight: 600; text-decoration: none; font-size: 14px; }
.link:hover { color: var(--red); }

.btn { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 20px; border-radius: 2px; font-weight: 650; font-size: 15px; text-decoration: none; border: 1px solid transparent; transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease); white-space: nowrap; }
.btn--red { background: var(--red); color: var(--red-ink); }
.btn--red:hover { background: #7E5918; }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn:active { transform: translateY(1px); }

/* placeholders Ay Kilit must confirm */
.tbc { background: repeating-linear-gradient(-45deg, rgba(232, 176, 60, .16) 0 6px, rgba(232, 176, 60, .28) 6px 12px); outline: 1px dashed var(--tbc); outline-offset: 1px; border-radius: 2px; padding: 0 .25em; cursor: help; color: inherit; }
.tbc::after { content: "?"; font: 700 .62em/1 var(--mono); color: var(--tbc); vertical-align: super; margin-left: .15em; }

/* ------------------------------------------------------------ bar -- */
.bar { position: relative; z-index: 5; display: flex; align-items: center; gap: 28px; padding: 0 var(--gut); border-bottom: 1px solid var(--line); background: var(--paper); }
.bar__logo img { height: 42px; width: auto; }
.bar__nav { display: flex; gap: clamp(14px, 2.2vw, 34px); margin-left: auto; }
.bar__nav a { position: relative; text-decoration: none; font-size: 14.5px; font-weight: 550; color: var(--ink-2); padding: 23px 0; transition: color .2s; }
.bar__nav a:hover { color: var(--ink); }
.bar__nav a.is-on { color: var(--ink); }
.bar__nav a.is-on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--red); }
.bar__cta { height: 40px; font-size: 14px; }
.qcount[hidden] { display: none; }
.qcount { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: #fff; color: var(--red); font-size: 12px; font-weight: 800; }

/* ------------------------------------------------------------ views -- */
.views { position: relative; min-height: 0; overflow: hidden; }
.view { position: absolute; inset: 0; padding: clamp(18px, 3.6vh, 44px) var(--gut) clamp(14px, 2.4vh, 28px); opacity: 0; visibility: hidden; transform: translateX(28px); transition: opacity .45s var(--ease), transform .55s var(--ease), visibility 0s .55s; overflow: hidden; }
.view.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .5s var(--ease) .05s, transform .6s var(--ease) .05s, visibility 0s; }
.view.is-back { transform: translateX(-28px); }

/* ------------------------------------------------------------ home -- */
.view--home { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; grid-template-areas: "copy stage" "rail rail"; column-gap: clamp(20px, 3vw, 56px); row-gap: clamp(12px, 2.4vh, 28px); }
.home__copy { grid-area: copy; align-self: center; position: relative; z-index: 2; }
.home__h1 { margin: 0 0 min(22px, 2.4vh); font-weight: 850; font-stretch: 118%; font-size: min(5.4rem, 5.1vw, 9.6vh); line-height: .96; letter-spacing: -.035em; }
.home__h1 em { font-style: normal; color: var(--red); }
.home__lede { margin: 0 0 min(26px, 3vh); max-width: 52rem; color: var(--ink-2); font-size: min(1.12rem, 2.15vh); line-height: 1.55; }
.home__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: min(30px, 3.4vh); }
.home__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.home__facts div { padding: 12px 26px 0 0; margin-right: 26px; border-right: 1px solid var(--line); }
.home__facts div:last-child { border-right: 0; margin-right: 0; }
.home__facts dt { font-weight: 800; font-stretch: 112%; font-size: min(1.5rem, 2.8vh); letter-spacing: -.02em; }
.home__export .flags { display: flex; gap: 8px; margin-top: 4px; }
.home__export .flag { position: relative; display: block; line-height: 0; }
.home__export .flag > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.home__export svg { width: 33px; height: 22px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.home__facts dd { margin: 3px 0 0; font-size: 14.5px; font-weight: 600; color: var(--ink-2); max-width: 17rem; line-height: 1.35; }

.home__stage { grid-area: stage; position: relative; min-height: 0; }
.stage__canvas { position: absolute; inset: -4% -6% 0 -10%; width: 116%; height: 104%; display: block; }
.stage__floor { position: absolute; left: 12%; right: 8%; bottom: 7%; height: 12%; background: radial-gradient(closest-side, rgba(70, 50, 20, .22), transparent); filter: blur(6px); }
.home__stage::before { content: ""; position: absolute; inset: 4% 0 6% 6%; background: radial-gradient(60% 60% at 50% 45%, #fff 0, rgba(255, 255, 255, 0) 70%); }
.stage__toggle { position: absolute; right: 0; top: 4%; display: flex; background: var(--card); border: 1px solid var(--line); border-radius: 30px; padding: 3px; z-index: 2; }
.stage__toggle button { border: 0; background: transparent; font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 30px; color: var(--ink-2); }
.stage__toggle button.is-on { background: var(--ink); color: var(--paper); }
.chart { position: absolute; right: 0; bottom: 4%; margin: 0; width: min(300px, 42%); background: rgba(255, 255, 255, .86); backdrop-filter: blur(6px); border: 1px solid var(--line); padding: 10px 12px 8px; z-index: 2; box-shadow: 0 12px 30px -18px rgba(40, 30, 10, .35); }
.home__stage.is-open .chart { opacity: 0; transform: translateY(10px); pointer-events: none; }
.chart { transition: opacity .4s, transform .4s var(--ease); }
.chart figcaption { display: flex; flex-direction: column; gap: 2px; margin-bottom: 6px; }
.chart figcaption b { font-size: 13px; font-weight: 650; }
.chart__svg { width: 100%; height: auto; display: block; }
.chart__svg .k { fill: none; stroke: var(--ink); stroke-width: 1.4; }
.chart__svg .km { stroke: var(--red); }
.chart__svg .ln { fill: none; stroke: var(--ink-3); stroke-width: 1; }
.chart__svg .lnm { stroke: var(--red); stroke-width: 1.2; stroke-dasharray: 120; stroke-dashoffset: 120; animation: draw 1.6s var(--ease) forwards; }
.chart__svg text { font: 500 8px var(--mono); fill: var(--ink-3); letter-spacing: .04em; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.home__rail { grid-area: rail; min-width: 0; }
.rail__head { display: flex; align-items: baseline; justify-content: space-between; border-top: 1px solid var(--ink); padding-top: 10px; margin-bottom: 10px; }
.rail__head h2 { margin: 0; font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.rail__cards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.rcard { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr; column-gap: 12px; align-items: start; padding: 12px; background: var(--card); border: 1px solid var(--line); text-decoration: none; min-height: min(118px, 15vh); transition: border-color .2s, transform .3s var(--ease), box-shadow .3s; }
.rcard:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: 0 14px 30px -20px rgba(40, 30, 10, .5); }
.rcard__ic { grid-row: 1 / 3; width: min(54px, 7vh); height: min(54px, 7vh); color: var(--ink); display: grid; place-items: center; }
.rcard__ic svg { width: 100%; height: 100%; }
.rcard__ic img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.rcard b { font-size: 14px; line-height: 1.2; font-weight: 700; }
.rcard small { display: block; margin-top: 4px; font-size: 13.5px; font-weight: 500; line-height: 1.4; color: var(--ink-2); }

/* ------------------------------------------------------------ master keys -- */
.view--mk { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, .95fr); gap: clamp(20px, 3vw, 52px); align-items: center; }
.mk__tabs { display: grid; gap: 6px; }
.mk__tabs button { text-align: left; background: transparent; border: 1px solid var(--line); padding: min(12px, 1.5vh) 14px; display: grid; gap: 2px; transition: border-color .2s, background-color .2s; }
.mk__tabs button b { font-size: 15px; }
.mk__tabs button span { font-size: 13px; color: var(--ink-3); line-height: 1.35; }
.mk__tabs button:hover { border-color: var(--ink-3); }
.mk__tabs button.is-on { border-color: var(--ink); background: var(--card); box-shadow: inset 3px 0 0 var(--red); }
.mk__diagram { display: flex; flex-direction: column; justify-content: center; min-height: 0; background: var(--card); border: 1px solid var(--line); padding: 16px; background-color: #FBFAF7; background-image: linear-gradient(rgba(220, 213, 199, .32) 1px, transparent 1px), linear-gradient(90deg, rgba(220, 213, 199, .32) 1px, transparent 1px); background-size: 22px 22px; background-position: -1px -1px; }
#mkSvg { width: 100%; height: auto; max-height: 56vh; }
#mkSvg .k { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
#mkSvg .k--m { stroke: var(--red); }
#mkSvg .k--g { stroke: var(--brass); }
#mkSvg .lk { fill: var(--card); stroke: var(--ink); stroke-width: 2; }
#mkSvg .ln { fill: none; stroke: var(--ink-3); stroke-width: 1.4; }
#mkSvg .ln--m { stroke: var(--red); stroke-width: 1.8; }
#mkSvg .ln--g { stroke: var(--brass); stroke-width: 1.8; }
#mkSvg .ln, #mkSvg .ln--m, #mkSvg .ln--g { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 1.1s var(--ease) forwards; }
#mkSvg text { font: 500 11px var(--mono); fill: var(--ink-2); letter-spacing: .04em; }
#mkSvg text.t--m { fill: var(--red); }
#mkSvg text.t--g { fill: var(--brass); }
#mkSvg g.pop { animation: pop .5s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } }
.mk__col { align-self: center; min-width: 0; }
.mk__typical { margin: 12px 0 0; padding: 12px 16px; background: var(--card); border: 1px solid var(--line); display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 16px; }
.mk__typical > span { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.mk__uses { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.mk__uses li { display: grid; justify-items: center; gap: 4px; text-align: center; font-size: 12px; line-height: 1.25; color: var(--ink-2); }
.mk__uses svg { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.mk__steps h3 { margin: 0 0 10px; }
.mk__steps ol { list-style: none; margin: 0 0 16px; padding: 0; }
.mk__steps li { display: grid; gap: 2px; padding: min(10px, 1.3vh) 0; border-top: 1px solid var(--line); }
.mk__steps li b { font-size: 15px; }
.mk__steps li > span { font-size: 13.5px; color: var(--ink-2); line-height: 1.45; }
.mk__dl { color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.mk__specs, .mfg__specs, .ct__list, .detail__specs { margin: 0 0 18px; display: grid; gap: 0; }
.mk__specs div, .mfg__specs div, .ct__list div, .detail__specs div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.mk__specs dt, .mfg__specs dt, .ct__list dt, .detail__specs dt { font: 500 11px/1.9 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.mk__specs dd, .mfg__specs dd, .ct__list dd, .detail__specs dd { margin: 0; }

/* master key systems: four system cards, then how it works */
.prod__sub { list-style: none; margin: 2px 0 6px; padding: 0 0 0 16px; display: grid; gap: 1px; }
.prod__sub a { display: block; padding: 3px 0 3px 10px; border-left: 1px solid var(--line); font-size: 13.5px; color: var(--ink-3); text-decoration: none; line-height: 1.35; }
.prod__sub a:hover { color: var(--red); border-left-color: var(--red); }
/* ------------------------------------------------------------ products -- */
.view--products { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(0, 2.3fr); gap: clamp(20px, 3vw, 48px); }
.prod__side { align-self: start; }
.prod__filters { display: grid; gap: 4px; margin: 10px 0 18px; }
.prod__filters button { display: flex; justify-content: space-between; text-align: left; background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 10px 2px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.prod__filters button span { font: 500 11px/1.9 var(--mono); color: var(--ink-3); }
.prod__filters button.is-on { color: var(--ink); border-bottom-color: var(--ink); }
.prod__filters button.is-on::before { content: ""; width: 8px; height: 8px; background: var(--red); margin: 6px 8px 0 0; order: -1; }
.prod__filters button.is-on { justify-content: flex-start; }
.prod__filters button.is-on span { margin-left: auto; }
.prod__note { font-size: 13.5px; color: var(--ink-2); }
.prod__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); grid-auto-rows: min-content; gap: 12px; align-content: start; overflow: auto; padding: 2px 4px 12px 2px; scrollbar-width: thin; }
.pcard { position: relative; text-align: left; background: var(--card); border: 1px solid var(--line); padding: 0; display: grid; grid-template-rows: auto 1fr; transition: border-color .2s, transform .3s var(--ease), box-shadow .3s; animation: pop .45s var(--ease) both; }
.pcard:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: 0 14px 30px -20px rgba(40, 30, 10, .5); }
.pcard__media { aspect-ratio: 16 / 9; max-height: 16vh; width: 100%; background: var(--paper-2); display: grid; place-items: center; overflow: hidden; color: var(--ink); }
.pcard__media svg { height: 74%; width: auto; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; }
.pcard__txt { padding: 12px 14px 14px; }
.pcard__txt b { display: block; font-size: 15px; line-height: 1.25; }
.pcard__txt small { display: block; margin-top: 4px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); line-height: 1.4; }
.pcard__tag { position: absolute; top: 8px; left: 8px; font: 500 9.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; background: var(--red); color: #fff; padding: 4px 6px; }
.pcard.is-added::after { content: "In quote ✓"; position: absolute; top: 8px; right: 8px; font: 500 9.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; background: var(--ink); color: #fff; padding: 4px 6px; }
.prod__detail { position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 92vw); background: var(--card); border-left: 1px solid var(--ink); padding: 28px 28px 24px; overflow: auto; z-index: 3; box-shadow: -30px 0 60px -40px rgba(40, 30, 10, .5); animation: slide .45s var(--ease) both; }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
.detail__close, .panel__close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 1px solid var(--line); background: var(--card); font-size: 20px; line-height: 1; }
.detail__media { height: min(180px, 22vh); background: var(--paper-2); display: grid; place-items: center; margin-bottom: 18px; overflow: hidden; color: var(--ink); }
.detail__media svg { height: 78%; width: auto; }
.detail__media img { width: 100%; height: 100%; object-fit: cover; }
.detail__name { margin: 0 0 8px; font-size: 1.6rem; line-height: 1.1; font-weight: 800; font-stretch: 110%; letter-spacing: -.02em; }
.detail__body { color: var(--ink-2); font-size: 14.5px; margin: 0 0 16px; }
.detail__ctas { display: flex; gap: 10px; flex-wrap: wrap; }

/* ------------------------------------------------------------ manufacturing -- */
.view--mfg { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr); gap: clamp(20px, 3.4vw, 56px); align-items: center; }
.mfg__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 12px; height: min(100%, 640px); align-self: center; }
.mtile { margin: 0; position: relative; overflow: hidden; background: var(--ink); min-height: 0; }
.mtile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); filter: saturate(.85); }
.mtile:hover img { transform: scale(1.05); }
.mtile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; background: linear-gradient(transparent, rgba(16, 13, 9, .82)); color: #fff; }
.mtile b { display: block; font-size: 16px; }
.mtile small { font-size: 12.5px; opacity: .8; }
.mtile .mono { position: absolute; top: 10px; left: 12px; color: #fff; opacity: .85; }

/* ------------------------------------------------------------ about -- */
/* ------------------------------------------------------------ blog -- */
.view--blog { display: grid; grid-template-rows: auto minmax(0, 1fr); gap: min(22px, 2.6vh); }
.blog__head { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.blog__head .h2 { margin-bottom: 0; }
.blog__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 12px; min-height: 0; }
.post { display: grid; grid-template-columns: 38% minmax(0, 1fr); background: var(--card); border: 1px solid var(--line); color: inherit; text-decoration: none; min-height: 0; overflow: hidden; transition: border-color .2s; }
.post:hover { border-color: var(--ink); }
.post:hover b { color: var(--red); }
.post__img { min-height: 0; overflow: hidden; background: var(--paper-2); }
.post__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post__body { padding: 12px 14px; display: grid; align-content: center; gap: 6px; min-width: 0; }
.post__meta { font: 500 10.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.post b { font-size: 15px; line-height: 1.3; }
.post__ex { font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.post--lead { grid-row: 1 / -1; grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
.post--lead .post__body { padding: 18px 20px 20px; align-content: start; }
.post--lead b { font-size: clamp(1.25rem, 1.6vw, 1.6rem); font-weight: 800; letter-spacing: -.01em; }
.home__blog { position: absolute; right: 0; bottom: 6px; z-index: 2; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 12px; width: min(360px, 90%); padding: 8px 14px 8px 8px; background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .2s; }
.home__blog img { width: 64px; height: 46px; object-fit: cover; display: block; }
.home__blog > span:nth-child(2) { display: grid; gap: 2px; min-width: 0; }
.home__blog .mono { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.home__blog b { font-size: 13px; line-height: 1.3; font-weight: 600; }
.home__blog > span:last-child { color: var(--red); }
.home__blog:hover { border-color: var(--ink); }
.post--all { grid-template-columns: 1fr; background: transparent; border-style: dashed; }
.post--all b { font-size: 16px; }
.post__go { color: var(--red); font-size: 20px; }

.view--about { display: block; overflow: auto; scrollbar-width: thin; }
.about__h { margin: clamp(40px, 6vh, 64px) 0 18px; padding-top: 18px; border-top: 1px solid var(--ink); font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 800; font-stretch: 110%; letter-spacing: -.015em; }
.about__head { margin-bottom: 18px; }
.about__head .h2 { margin-bottom: 0; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tabs button { font: 600 14px var(--f); padding: 10px 16px; background: var(--card); border: 1px solid var(--line); color: var(--ink-2); cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; }
.tabs button:hover { border-color: var(--ink-3); color: var(--ink); }
.tabs button.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.pane { display: grid; min-height: 0; }
.pane--story { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(20px, 3.4vw, 56px); align-items: center; }
.pane--machines { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(20px, 3.4vw, 56px); align-items: start; }
.mtable { border: 1px solid var(--line); background: var(--card); overflow: auto; }
.mtable table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.mtable th, .mtable td { text-align: left; padding: min(11px, 1.35vh) 16px; border-bottom: 1px solid var(--line); }
.mtable thead th { font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); background: var(--paper-2); }
.mtable tbody th { font-weight: 650; }
.mtable td { color: var(--ink-2); }
.mtable .num { text-align: right; font-weight: 700; color: var(--ink); white-space: nowrap; }
.mtable tbody tr:last-child > * { border-bottom: 0; }
.machines__side h3 { margin: 18px 0 8px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.machines__side .btn { margin-top: 22px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { padding: 6px 12px; border: 1px solid var(--line); background: var(--card); font-size: 14px; font-weight: 550; }
.pane--mission { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-content: center; }
.pane--mission article { background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--red); padding: clamp(18px, 2.4vw, 32px); }
.pane--mission h3, .values h3 { margin: 0 0 10px; font-size: 1.35rem; font-weight: 800; font-stretch: 110%; letter-spacing: -.01em; }
.pane--mission p { margin: 0 0 12px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.pane--mission b { color: var(--ink); }
.pane--values { align-content: center; }
.values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.values li { background: var(--card); border: 1px solid var(--line); padding: 22px 20px; }
.values svg { width: 34px; height: 34px; fill: none; stroke: var(--red); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.values h3 { font-size: 1.1rem; }
.values p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
/* ------------------------------------------------------------ faq -- */
.view--faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(24px, 4vw, 72px); align-items: start; }
.faq__intro { align-self: center; }
.faq__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.faq__list { max-height: 100%; overflow: auto; border-top: 1px solid var(--ink); align-self: center; padding-right: 6px; scrollbar-width: thin; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: min(15px, 1.8vh) 4px; font-size: 16px; font-weight: 650; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; font: 400 22px/1 var(--mono); color: var(--red); transition: transform .25s; }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list summary:hover { color: var(--red); }
.faq__list details p { margin: 0 0 16px; padding: 0 40px 0 4px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
/* ------------------------------------------------------------ home side cards, whatsapp -- */
.home__side { position: absolute; right: 0; bottom: 6px; z-index: 2; display: grid; gap: 8px; width: min(360px, 90%); }
.home__side .home__blog { position: static; width: auto; }
.home__q { width: 64px; height: 46px; display: grid; place-items: center; background: var(--brass-soft); color: var(--red); font: 800 26px var(--f); }
.btn--wa { display: inline-flex; align-items: center; gap: 8px; background: var(--card); color: var(--ink); border: 1px solid var(--line); }
.btn--wa svg { width: 20px; height: 20px; color: #1FA855; }
.btn--wa:hover { border-color: #1FA855; }
.years { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.years li { padding: 10px 0; border-top: 1px solid var(--line); }
.years b { display: block; font-size: 1.25rem; font-weight: 800; font-stretch: 112%; color: var(--red); }
.years span { font-size: 13.5px; color: var(--ink-2); line-height: 1.45; }
.about__media > img { width: 100%; height: min(36vh, 360px); object-fit: cover; object-position: 50% 50%; }
.about__refs { margin-top: 16px; }
.refs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin: 10px 0; }
.refs .ref { position: relative; display: block; }
.refs img { display: block; height: 58px; width: 100%; object-fit: contain; padding: 8px 6px; background: var(--card); border: 1px solid var(--line); transition: border-color .15s; }
.refs .ref:hover img { border-color: var(--brass); }
.refs .ref::after { content: attr(data-name); position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translate(-50%, 4px); white-space: nowrap; background: var(--ink, #1a1a1a); color: #fff; font-size: 13px; font-weight: 600; padding: 5px 9px; border-radius: 3px; opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; z-index: 5; }
.refs .ref:hover::after { opacity: 1; transform: translate(-50%, 0); }
.about__eu { font-size: 13.5px; margin: 0; }

/* ------------------------------------------------------------ contact -- */
.view--contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(20px, 3.4vw, 56px); align-items: center; }
.ct__list a { text-decoration: none; font-weight: 600; }
.ct__list a:hover { color: var(--red); }
.ct__form { display: grid; grid-template-columns: 1fr 1fr; gap: min(12px, 1.4vh) 14px; background: var(--card); border: 1px solid var(--line); padding: clamp(16px, 2.6vh, 28px); }
.ct__form label { display: grid; gap: 4px; font: 500 11px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.ct__form input, .ct__form select, .ct__form textarea { font: 400 15px/1.4 var(--f); color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 2px; padding: min(10px, 1.2vh) 12px; width: 100%; text-transform: none; letter-spacing: 0; }
.ct__form input:focus, .ct__form select:focus, .ct__form textarea:focus { outline: 2px solid var(--ink); outline-offset: -1px; }
.ct__form textarea { resize: none; }
.ct__wide { grid-column: 1 / -1; }
.ct__file { position: relative; border: 1px dashed var(--ink-3); padding: 10px 14px; text-transform: none !important; letter-spacing: 0 !important; font: 600 14px/1.4 var(--f) !important; color: var(--ink) !important; cursor: pointer; }
.ct__file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ct__file small { font-weight: 400; color: var(--ink-3); margin-left: 6px; }
.ct__check { grid-template-columns: auto 1fr; align-items: start; text-transform: none !important; letter-spacing: 0 !important; font: 400 13px/1.45 var(--f) !important; color: var(--ink-2) !important; }
.ct__check input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--red); }
.ct__send { justify-self: start; }
.ct__done { grid-column: 1 / -1; margin: 0; font-size: 14px; color: #2C7A4B; }
.ct__chips { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.ct__chips span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; background: var(--brass-soft); padding: 5px 6px 5px 10px; }
.ct__chips button { border: 0; background: transparent; padding: 0 4px; font-size: 15px; line-height: 1; }

/* ------------------------------------------------------------ foot -- */
.foot { display: flex; align-items: center; gap: 22px; padding: 0 var(--gut); border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-3); background: var(--paper); position: relative; z-index: 5; }
.foot__links { display: flex; gap: 18px; }
.foot__links a { text-decoration: none; }
.foot__links a:hover { color: var(--ink); }
.foot__pager { margin-left: auto; display: flex; align-items: center; gap: 10px; font: 500 11px var(--mono); letter-spacing: .08em; }
.foot__pager button { width: 28px; height: 26px; border: 1px solid var(--line); background: var(--card); font-size: 13px; }
.foot__pager button:hover { border-color: var(--ink); }
.tabbar { display: none; }

/* ------------------------------------------------------------ overlay panel -- */
.panel { position: fixed; inset: 0; z-index: 20; background: rgba(22, 19, 14, .38); display: grid; place-items: center; padding: 16px; animation: fade .3s both; }
@keyframes fade { from { opacity: 0; } }
.panel[hidden] { display: none; }
.panel__box { position: relative; width: min(880px, 100%); max-height: 86vh; overflow: auto; background: var(--paper); border: 1px solid var(--ink); padding: clamp(20px, 4vw, 40px); animation: pop .4s var(--ease) both; }
.ins { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ins article { background: var(--card); border: 1px solid var(--line); padding: 16px; }
.ins h3 { margin: 8px 0 6px; font-size: 17px; line-height: 1.25; }
.ins p { margin: 0; font-size: 14px; color: var(--ink-2); }

/* ------------------------------------------------------------ narrow desktop / tablet landscape -- */
@media (max-width: 1240px) and (min-width: 861px) {
  .bar__nav { gap: clamp(10px, 1.5vw, 20px); }
  .bar__nav a { font-size: 13px; white-space: nowrap; }
  .bar__logo img { height: 34px; }
  .rail__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rcard { min-height: 0; padding: 10px; }
  .rcard small { display: none; }
  .home__facts dd { max-width: 9rem; }
}
@media (max-width: 1240px) and (min-width: 861px) {
  .view--mk { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
  .mk__steps { grid-column: 1 / -1; display: grid; grid-template-columns: 1.6fr 1fr; gap: 0 28px; align-items: start; }
  .mk__steps h3 { grid-column: 1 / -1; }
  .mk__steps ol { grid-row: 2 / 4; }
  .view--mk { align-items: start; overflow: auto; }
}
/* short desktop screens (1366×768 laptops): tighten vertical rhythm */
@media (min-width: 861px) and (max-height: 820px) {
  :root { --bar: 58px; --foot: 34px; }
  .bar__nav a { padding: 18px 0; }
  .rcard small { display: none; }
  .rcard { min-height: 0; }
  .mfg__specs div, .mk__specs div, .ct__list div { padding: 5px 0; }
  .mk__tabs button span { display: none; }
}
/* portrait tablets */
@media (min-width: 861px) and (max-aspect-ratio: 1/1) {
  .view--home { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr) auto; grid-template-areas: "copy" "stage" "rail"; }
  .home__h1 { font-size: min(5.4rem, 8.4vw, 7vh); }
  .rail__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .view:not(.view--home) { overflow: auto; }
  .view--mk, .view--mfg, .view--about, .view--contact, .view--blog, .view--faq { display: block; }
  .about__head { margin-bottom: 18px; }
  .pane--story, .pane--machines { grid-template-columns: 1fr; }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq__list { max-height: none; margin-top: 24px; }
  .blog__grid { margin-top: 20px; grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .post--lead { grid-row: auto; grid-column: 1 / -1; }
  .post { min-height: 120px; }
  .view--mk > *, .view--mfg > *, .view--about > *, .view--contact > * { margin-bottom: 28px; }
  .mk__col { max-width: 640px; }
  .view--products { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); }
  .prod__filters { grid-template-columns: repeat(4, auto); }
  .prod__sub { display: none; }
  .mfg__grid { height: 60vh; }
  .h2 { font-size: min(3.4rem, 6vw); }
}

/* ------------------------------------------------------------ phones -- */
@media (max-width: 860px) {
  .view--blog { display: none; }
  .view--blog.is-on { display: block; }
  .blog__head { margin-bottom: 16px; }
  .blog__grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .post--lead { grid-row: auto; }
  .post--lead .post__img { aspect-ratio: 16 / 10; }
  .post { min-height: 96px; }
  .home__blog { position: absolute; left: 0; right: 0; bottom: 0; width: auto; }
  .blog__head .link { display: none; }
  .home__blog img { display: none; }
  .home__blog { grid-template-columns: minmax(0, 1fr) auto; padding: 8px 12px; }
  :root { --bar: 58px; --foot: 0px; }
  body { display: block; height: auto; overflow: visible; overflow-x: clip; padding-bottom: 72px; }
  .bar { position: sticky; top: 0; height: var(--bar); gap: 12px; }
  .bar__logo img { height: 28px; }
  .bar__nav { display: none; }
  .bar__cta { margin-left: auto; height: 38px; padding: 0 14px; font-size: 13.5px; }
  .views { overflow: visible; }
  .view { position: relative; inset: auto; display: none; transform: none; opacity: 1; visibility: visible; padding: 22px 16px 28px; overflow: visible; }
  .view.is-on { display: block; animation: fade .35s both; }
  .view--home.is-on { display: grid; }
  .view--home { grid-template-columns: 1fr; grid-template-rows: auto; grid-template-areas: "copy" "rail" "stage"; min-height: calc(100svh - var(--bar) - 72px); row-gap: 14px; padding-top: 18px; }
  .home__h1 { font-size: clamp(2.3rem, 11vw, 3.4rem); }
  .home__lede { font-size: 15.5px; }
  .home__ctas .btn { flex: 1 1 auto; justify-content: center; }
  .home__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home__facts div { padding-right: 10px; margin-right: 10px; }
  .home__facts dt { font-size: 1.1rem; }
  .home__facts dd { font-size: 12.5px; }
  .home__stage { height: auto; overflow: hidden; padding-top: 260px; }
  .home__side { position: static; width: auto; }
  .home__q { width: 40px; height: 40px; font-size: 20px; }
  .home__faq { grid-template-columns: 40px minmax(0, 1fr) auto; }
  .home__facts { display: none; }
  .home__ctas { margin-bottom: 0; }
  .stage__canvas { inset: 0 0 auto 0; width: 100%; height: 260px; }
  .stage__floor { top: 215px; bottom: auto; height: 30px; }
  .chart { display: none; }
  .stage__toggle { top: 6px; }
  .chart { width: 210px; bottom: 0; padding: 8px; }
  .chart figcaption b { font-size: 11.5px; }
  .rail__cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin: 0 -16px; padding: 10px 16px 4px; scrollbar-width: none; }
  .rcard { flex: 0 0 72%; scroll-snap-align: start; }
  .h2 { font-size: clamp(2rem, 9vw, 2.8rem); }
  .lede { font-size: 15.5px; }
  .mk__col { margin: 18px 0; }
  .mk__tabs { grid-template-columns: 1fr 1fr; }
  .mk__tabs button span { display: none; }
  .prod__sub { display: none; }
  .view--products .prod__grid { overflow: visible; grid-template-columns: 1fr 1fr; }
  .pcard__media { max-height: none; }
  .pcard__txt small { display: none; }
  .prod__filters { display: flex; overflow-x: auto; gap: 6px; margin: 10px -16px 16px; padding: 0 16px; scrollbar-width: none; }
  .prod__filters button { flex: 0 0 auto; border: 1px solid var(--line); border-radius: 20px; padding: 7px 12px; font-size: 13.5px; }
  .prod__filters button span, .prod__filters button.is-on::before { display: none; }
  .prod__filters button.is-on { background: var(--ink); color: var(--paper); }
  .prod__detail { position: fixed; top: auto; left: 0; right: 0; bottom: 0; width: auto; max-height: 86vh; border-left: 0; border-top: 1px solid var(--ink); z-index: 30; padding: 22px 16px 24px; }
  .mfg__grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; height: auto; margin-top: 20px; }
  .mtile { aspect-ratio: 1; }
  .years { grid-template-columns: 1fr; }
  .view--faq.is-on { display: block; }
  .view--about.is-on { display: block; }
  .about__head { margin-bottom: 16px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px; scrollbar-width: none; }
  .tabs button { flex: 0 0 auto; }
  .pane--story, .pane--machines, .pane--mission { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .mtable th, .mtable td { padding: 9px 10px; font-size: 13.5px; }
  .faq__list { margin-top: 22px; }
  .faq__ctas .btn { flex: 1 1 auto; justify-content: center; }
  .about__media { margin-top: 16px; }
  .about__media > img { height: 180px; }
  .refs { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .refs img { height: 60px; padding: 8px 6px; }
  .ct__form { grid-template-columns: 1fr; margin-top: 10px; }
  .mk__specs div, .mfg__specs div, .ct__list div, .detail__specs div { grid-template-columns: 96px 1fr; }
  .foot { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px 16px 24px; border-top: 1px solid var(--line); }
  .foot__links { flex-wrap: wrap; gap: 12px; }
  .foot__pager { display: none; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .tabbar a { display: grid; justify-items: center; gap: 2px; font-size: 10.5px; font-weight: 600; text-decoration: none; color: var(--ink-3); padding: 4px 0; }
  .tabbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .tabbar a.is-on { color: var(--red); }
  .ins { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ------------------------------------------------------------ white + brass theme (2026-10-17) -- */
.home__stage::before { background: radial-gradient(60% 60% at 50% 45%, #FBF6EC 0, rgba(255, 255, 255, 0) 70%); }
.stage__floor { background: radial-gradient(closest-side, rgba(120, 90, 30, .22), transparent); }
.rcard, .pcard, .post, .mkc, .mk__typical, .ct__form, .refs img { border-color: var(--line); }
.pcard__media, .detail__media { background: #F8F5EF; }
.mk__diagram { background-color: #FFFFFF; background-image: linear-gradient(rgba(230, 224, 211, .45) 1px, transparent 1px), linear-gradient(90deg, rgba(230, 224, 211, .45) 1px, transparent 1px); }
#mkSvg .k--g { stroke: var(--ink); }
#mkSvg .ln--g { stroke: var(--ink); }
#mkSvg text.t--g { fill: var(--ink); }
.foot { background: #FAF8F3; }
.bar { background: #FFFFFF; }

/* ------------------------------------------------------------ article pages (blog/*.html) -- */
body.page { display: block; height: auto; min-height: 100vh; overflow: visible; }
body.page .bar { position: sticky; top: 0; }
.art { padding: clamp(28px, 5vh, 56px) var(--gut) 64px; }
.art__main { max-width: 760px; margin: 0 auto; }
.art__back { display: inline-block; margin-bottom: 22px; font-weight: 600; color: var(--red); text-decoration: none; }
.art__back:hover { text-decoration: underline; }
.art__h1 { margin: 8px 0 14px; font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.05; font-weight: 800; font-stretch: 112%; letter-spacing: -.02em; }
.art__img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin: 24px 0 32px; }
.art__body { font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.art__body h2 { margin: 40px 0 12px; font-size: 1.5rem; line-height: 1.2; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.art__body h3 { margin: 26px 0 8px; font-size: 1.15rem; color: var(--ink); }
.art__body p { margin: 0 0 16px; }
.art__body ul, .art__body ol { margin: 0 0 18px; padding-left: 1.3em; }
.art__body li { margin-bottom: 6px; }
.art__body li::marker { color: var(--red); font-weight: 700; }
.art__q { border-bottom: 1px solid var(--line); }
.art__q:first-of-type { border-top: 1px solid var(--line); }
.art__q summary { cursor: pointer; padding: 14px 0; font-weight: 650; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.art__q summary::-webkit-details-marker { display: none; }
.art__q summary::after { content: "+"; color: var(--red); font: 400 20px/1 var(--mono); }
.art__q[open] summary::after { content: "−"; }
.art__q p { margin: 0 0 16px; }
.art__cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 44px; padding: 24px; background: var(--brass-soft); border-left: 3px solid var(--red); }
.art__cta div { display: grid; gap: 4px; }
.art__cta b { font-size: 1.1rem; }
.art__cta span { color: var(--ink-2); }
.art__more { max-width: 1100px; margin: 64px auto 0; }
.art__more h2 { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 14px; }
.art__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.art__cards .post { min-height: 120px; }
@media (max-width: 860px) {
  body.page { padding-bottom: 0; }
  body.page .bar__nav { display: none; }
  .art { padding: 22px 16px 48px; }
  .art__body { font-size: 16px; }
  .art__cards { grid-template-columns: 1fr; }
}

/* privacy text */
.legal { max-width: 70ch; }
.legal p, .legal li { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.legal h3 { font-size: 17px; margin: 22px 0 6px; color: var(--ink); }
.legal ul { padding-left: 18px; margin: 6px 0 10px; }
.legal li { margin: 4px 0; }
.legal a { color: var(--brass); }
.legal__date { margin-top: 18px; font-size: 13px !important; }

/* ------------------------------------------------------------ products and manufacturing: tabbed like master keys -- */
.tp__photo { width: 100%; aspect-ratio: 4 / 3; max-height: min(50vh, 460px); overflow: hidden; background: var(--paper-2); border: 1px solid var(--line); }
.tp__photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .25s; }
.tp__uses { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tp__uses li { font-size: 13px; line-height: 1.3; padding: 4px 10px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); color: var(--ink-2); }
.tp__name { margin: 0 0 8px; font-size: 1.5rem; line-height: 1.1; font-weight: 800; font-stretch: 110%; letter-spacing: -.02em; }
.tp__info p { margin: 0 0 10px; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.tp__info .tp__lede { font-size: 15.5px; font-weight: 500; color: var(--ink); }
.tp__feats { list-style: none; margin: 4px 0 14px; padding: 0; display: grid; gap: 5px; }
.tp__feats li { position: relative; padding-left: 22px; font-size: 14px; line-height: 1.4; }
.tp__feats li::before { content: ""; position: absolute; left: 2px; top: .3em; width: 10px; height: 5px; border-left: 2px solid var(--brass); border-bottom: 2px solid var(--brass); transform: rotate(-45deg); }
.tp__ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.tp__specs { margin-top: 4px; }
.tp__mk { margin-top: 12px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 14px; background: var(--card); border: 1px solid var(--ink); color: var(--ink); text-decoration: none; transition: background-color .2s, transform .3s var(--ease); }
.tp__mk:hover { background: var(--brass-soft); transform: translateY(-2px); }
.tp__mkic { width: 68px; height: 68px; display: grid; place-items: center; }
.tp__mkic svg { width: 100%; height: 100%; }
.tp__mk b { display: block; font-size: 16px; }
.tp__mk small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.35; color: var(--ink-2); }
.tp__arr { font-size: 20px; color: var(--brass); }
.view--tp .tp__info { align-self: center; }
.mk__steps .tp__feats li { display: block; padding: 0 0 0 22px; border: 0; }
@media (min-width: 861px) and (max-height: 820px) {
  .view--tp .mk__intro .lede { display: none; }
  .view--tp .tp__info p + p + p { display: none; }
  .tp__name { font-size: 1.3rem; }
  .tp__info .tp__lede { font-size: 14.5px; }
  .tp__mkic { width: 52px; height: 52px; }
  .tp__mk { padding: 8px 12px; }
  .tp__photo { max-height: 44vh; }
}
@media (max-width: 1240px) and (min-width: 861px) {
  .view--tp .tp__info { display: block; max-width: 760px; }
}
@media (max-width: 860px) {
  .view--tp .mk__typical { grid-template-columns: 1fr; gap: 8px; }
  .tp__mkic { width: 56px; height: 56px; }
}
.tp__photo { scroll-margin-top: 72px; }
.tp__thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; scrollbar-width: none; }
.tp__thumbs[hidden] { display: none; }
.tp__thumbs button { flex: 0 0 auto; width: 72px; aspect-ratio: 4 / 3; padding: 0; border: 1px solid var(--line); background: var(--paper-2); opacity: .7; transition: opacity .2s, border-color .2s; }
.tp__thumbs button:hover { opacity: 1; }
.tp__thumbs button.is-on { opacity: 1; border-color: var(--ink); box-shadow: inset 0 -3px 0 var(--brass); }
.tp__thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 861px) and (max-height: 820px) { .tp__thumbs button { width: 60px; } .tp__photo { max-height: 40vh; } }

/* ------------------------------------------------------------ product and process tabs are links (one page each) -- */
.mk__tabs a { text-align: left; background: transparent; border: 1px solid var(--line); padding: min(12px, 1.5vh) 14px; display: grid; gap: 2px; color: var(--ink); text-decoration: none; transition: border-color .2s, background-color .2s; }
.mk__tabs a b { font-size: 15px; }
.mk__tabs a span { font-size: 13px; color: var(--ink-3); line-height: 1.35; }
.mk__tabs a:hover { border-color: var(--ink-3); }
.mk__tabs a.is-on { border-color: var(--ink); background: var(--card); box-shadow: inset 3px 0 0 var(--red); }
@media (min-width: 861px) and (max-height: 820px) { .mk__tabs a span { display: none; } }
@media (max-width: 860px) { .mk__tabs a span { display: none; } }

/* home stage, 2026-10-17: photo | small 3D lock on top, blog + FAQ rows below */
.home__stage { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); grid-template-rows: minmax(0, 1fr) auto; grid-template-areas: "photo anim" "side side"; gap: 14px 18px; }
.home__stage::before { display: none; }
.home__photo { grid-area: photo; margin: 0; min-height: 0; display: flex; align-items: center; justify-content: flex-start; }
.home__photo img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.home__anim { grid-area: anim; position: relative; min-height: 0; }
.home__anim::before { content: ""; position: absolute; inset: 6% 0 8% 0; background: radial-gradient(60% 60% at 50% 45%, #FBF6EC 0, rgba(255, 255, 255, 0) 70%); }
.home__anim .stage__canvas { inset: 44px 0 0 0; width: 100%; height: calc(100% - 44px); }
.home__anim .stage__floor { left: 14%; right: 10%; bottom: 4%; height: 10%; }
.home__anim .stage__toggle { top: 0; right: 0; }
.home__anim .stage__toggle button { font-size: 12px; padding: 6px 11px; }
.home__stage .home__side { grid-area: side; position: static; width: auto; }
@media (max-width: 860px) {
  .home__stage { padding-top: 0; overflow: visible; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .home__anim { height: 210px; }
  .home__anim .stage__canvas { inset: 30px 0 0 0; width: 100%; height: calc(100% - 30px); }
  .home__anim .stage__floor { top: auto; bottom: 4%; height: 22px; }
  .home__anim .stage__toggle button { font-size: 11px; padding: 5px 8px; }
}
@media (max-width: 860px) {
  .view--home { grid-template-areas: "copy" "stage" "rail"; }
  .rail__cards { display: grid; grid-template-columns: 1fr; overflow: visible; margin: 0; padding: 10px 0 0; gap: 8px; }
  .rcard { flex: none; min-height: 0; }
}
@media (max-width: 860px) {
  .view--home { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "copy copy" "photo anim" "rail rail" "side side"; column-gap: 10px; }
  .home__stage { display: contents; }
}
