/* DUOPLATE public site - editorial industrial. No frameworks, no image assets. */
:root {
  --ink: #16191e;
  --paper: #f7f5f0;
  --white: #fff;
  --soft: #efebe3;
  --accent: #e1502a;
  --accent-soft: rgba(225, 80, 42, .12);
  --muted: #6d7177;
  --line: rgba(22, 25, 30, .10);
  --line-strong: rgba(22, 25, 30, .20);
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 3px 12px rgba(22, 25, 30, .045);
  --shadow-md: 0 18px 46px rgba(22, 25, 30, .09);
  --wrap: 1180px;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; line-height: 1.72; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.034em; line-height: 1.1; font-weight: 700; }
h1 { font-size: clamp(2.9rem, 5.8vw, 5rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3.15rem); }
h3 { font-size: 1.24rem; }
p { line-height: 1.72; }
/* Accent is a brush of colour under the words, not half the headline. */
em { font-style: normal; color: var(--ink); background: linear-gradient(to top, rgba(225, 80, 42, .19) 0 36%, transparent 36%); padding: 0 .05em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.bg-dark em, .site-footer em, .home-promo em { color: var(--white); background: linear-gradient(to top, rgba(225, 80, 42, .58) 0 34%, transparent 34%); }
::selection { background: rgba(225, 80, 42, .2); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { width: min(var(--wrap), calc(100% - 48px)); margin-inline: auto; }
section { padding: 92px 0; }
.eyebrow { display: flex; align-items: center; gap: 10px; font: 600 10.5px/1.4 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--accent); flex: none; }
.eyebrow--light { color: rgba(255, 255, 255, .58); }
.lead { font-size: 1.06rem; color: var(--muted); max-width: 58ch; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 44px; }
.section-head h2 { margin-bottom: 0; max-width: 19ch; }
.section-head p { max-width: 38ch; color: var(--muted); margin: 0; font-size: .96rem; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: var(--radius-sm); font-weight: 650; font-size: .9rem; letter-spacing: -.01em; border: 1px solid transparent; cursor: pointer; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: #000; }
.btn--accent { background: linear-gradient(180deg, #ee5c34, #d9461f); color: var(--white); box-shadow: 0 8px 20px rgba(217, 70, 31, .22); }
.btn--accent:hover { background: linear-gradient(180deg, #f2683e, #cf4020); box-shadow: 0 12px 26px rgba(217, 70, 31, .3); }
.btn--outline { border-color: var(--line-strong); color: var(--ink); background: rgba(255, 255, 255, .5); }
.btn--outline:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--sm { padding: 11px 18px; font-size: .83rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .88rem; border-bottom: 1px solid var(--line-strong); padding-bottom: 5px; transition: color .18s ease, border-color .18s ease; }
.link-arrow span { transition: transform .18s ease; color: var(--accent); }
.link-arrow:hover { color: var(--accent); border-color: var(--accent); }
.link-arrow:hover span { transform: translateX(5px); }
.link-arrow--light { border-color: rgba(255, 255, 255, .6); }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 245, 240, .84); backdrop-filter: blur(18px) saturate(1.25); -webkit-backdrop-filter: blur(18px) saturate(1.25); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -.045em; font-size: 1.17rem; }
.brand__mark { width: 24px; height: 24px; border-radius: 5px; background: var(--ink); position: relative; overflow: hidden; display: inline-block; flex: none; box-shadow: var(--shadow-sm); }
.brand__mark::after { content: ""; position: absolute; inset: 56% 0 0 0; background: var(--accent); transform: skewY(-16deg); }
.nav { display: flex; gap: 32px; margin-left: auto; }
.nav a { font-size: .88rem; font-weight: 600; color: var(--muted); padding: 6px 0; border-bottom: 2px solid transparent; transition: color .18s ease, border-color .18s ease; }
.nav a:hover, .nav a.is-active { color: var(--ink); border-color: var(--accent); }
.header__actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 40px; height: 40px; background: rgba(255, 255, 255, .6); border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); margin: 5px auto; }

/* hero */
.hero { padding: 76px 0 96px; position: relative; overflow: hidden; background: linear-gradient(180deg, #fbf9f5 0%, var(--paper) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(22, 25, 30, .07) .8px, transparent .8px); background-size: 22px 22px; opacity: .5; pointer-events: none; }
.hero::after { content: ""; position: absolute; width: 680px; height: 680px; right: -220px; top: -280px; border-radius: 50%; background: radial-gradient(circle, rgba(225, 80, 42, .09), transparent 68%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.hero__grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 48px; align-items: center; }
.hero__grid > *, .two-col > *, .contact__grid > * { min-width: 0; }
.hero .two-col h1 { font-size: clamp(2.4rem, 3.6vw, 3.4rem); }
.hero h1 { margin-bottom: 26px; }
.hero__title { font-size: clamp(2.9rem, 5.4vw, 4.8rem); }
.hero__title .accent-line { white-space: nowrap; }
.hero h1 span { display: block; }
.hero h1 .accent-line { color: var(--accent); }
.hero__text { font-size: 1.05rem; color: var(--muted); max-width: 46ch; margin-bottom: 34px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 46px; }
.hero__facts { display: flex; gap: 36px; border-top: 1px solid var(--line); padding-top: 22px; flex-wrap: wrap; }
.hero__facts div strong { display: block; font-size: 1.42rem; letter-spacing: -.04em; font-weight: 700; }
.hero__facts div span { font: 500 10px/1.4 var(--mono); letter-spacing: .11em; text-transform: uppercase; color: var(--muted); }
.hero__visual { background: linear-gradient(150deg, #fff 0%, #faf8f3 100%); border: 1px solid var(--line); border-radius: 16px; padding: 30px; position: relative; box-shadow: 0 26px 60px rgba(22, 25, 30, .11), 18px 18px 0 rgba(239, 235, 227, .55); aspect-ratio: 16 / 9; display: flex; align-items: stretch; overflow: hidden; }
.hero__visual::before { content: "FIG. 01 / LAYER STRUCTURE"; position: absolute; top: 18px; left: 22px; font: 600 9px var(--mono); letter-spacing: .14em; color: var(--muted); background: rgba(255, 255, 255, .9); border: 1px solid var(--line); padding: 5px 10px; border-radius: 100px; }
.hero__visual::after { content: "ABS · TWO LAYERS"; position: absolute; right: 22px; bottom: 18px; font: 600 9px var(--mono); letter-spacing: .14em; color: var(--muted); }
/* when the hero visual contains a real uploaded image, fill the card edge to edge
   and drop the FIG / layer annotation badges so they don't overlap the photo. */
.hero__visual:has(img) { padding: 0; background: transparent; border: none; box-shadow: 0 30px 60px rgba(22, 25, 30, .14); border-radius: 18px; }
.hero__visual:has(img)::before, .hero__visual:has(img)::after { display: none; }
.hero__visual img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 18px; }
.sheet-svg { width: 100%; height: auto; }

/* dark number strip */
.strip { background: linear-gradient(100deg, #16191e 0%, #23272e 100%); color: var(--white); padding: 0; }
/* auto-fit keeps 3, 4, 5 or more items evenly spread instead of leaving an
   empty column behind a fixed 4-track grid */
.strip__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.strip__item { padding: 46px 30px; }
.strip__item strong { display: block; font-size: clamp(2rem, 3vw, 2.7rem); letter-spacing: -.05em; line-height: 1; margin-bottom: 12px; font-weight: 700; }
.strip__item span { font: 500 10px/1.5 var(--mono); letter-spacing: .15em; text-transform: uppercase; color: rgba(255, 255, 255, .52); }
.strip__item:nth-child(2) strong { color: #f2875f; }
/* dividers only when the strip is a single row (wide screens) */
@media (min-width: 960px) {
  .strip__item + .strip__item { border-left: 1px solid rgba(255, 255, 255, .1); }
}
@media (max-width: 959px) and (min-width: 560px) {
  .strip__grid { grid-template-columns: repeat(2, 1fr); }
  .strip__item:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
}
@media (max-width: 559px) {
  .strip__grid { grid-template-columns: 1fr; }
  .strip__item + .strip__item { border-top: 1px solid rgba(255, 255, 255, .12); }
}

/* how it works */
.bg-soft { background: linear-gradient(180deg, #f2eee6 0%, var(--soft) 100%); }
.bg-white { background: var(--white); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; background: transparent; border: 0; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 30px 38px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(225, 80, 42, .3); }
.step__no { font: 700 10px var(--mono); letter-spacing: .12em; color: var(--accent); background: var(--accent-soft); padding: 6px 11px; border-radius: 100px; margin-bottom: 30px; display: inline-block; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); margin: 0; font-size: .93rem; }
.section-svg { width: 100%; max-width: 560px; height: auto; margin-top: 34px; }

/* products */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; cursor: pointer; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(225, 80, 42, .3); }
.product-card__visual { position: relative; display: block; background: linear-gradient(160deg, #f7f4ed, #ece7dd); border-bottom: 1px solid var(--line); padding: 18px 18px 0; }
.product-card__title { color: inherit; }
.product-card__title:hover { color: var(--accent); }
.product-card__badge { position: absolute; top: 16px; right: 16px; background: var(--accent); color: var(--white); font: 700 9.5px var(--mono); letter-spacing: .09em; text-transform: uppercase; padding: 6px 11px; border-radius: 100px; box-shadow: 0 4px 12px rgba(225, 80, 42, .28); }
.product-card__body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.product-card__code { font: 600 10px var(--mono); letter-spacing: .12em; color: var(--muted); margin-bottom: 12px; }
.product-card__code span { color: var(--accent); }
.product-card h3 { margin-bottom: 10px; }
.product-card p { color: var(--muted); font-size: .9rem; flex: 1; }
.product-card__specs { display: flex; flex-wrap: wrap; gap: 7px; margin: 6px 0 22px; }
.product-card__specs span { border: 1px solid transparent; background: var(--soft); padding: 5px 10px; border-radius: 100px; font: 500 10px var(--mono); color: var(--muted); }
.product-card .link-arrow { align-self: flex-start; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 34px; }
.filter { background: rgba(255, 255, 255, .6); border: 1px solid var(--line); padding: 9px 18px; border-radius: 100px; cursor: pointer; font-size: .84rem; font-weight: 600; color: var(--muted); transition: background .18s ease, color .18s ease, border-color .18s ease; }
.filter:hover, .filter.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.empty { color: var(--muted); grid-column: 1 / -1; }

/* swatches */
.swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.swatch { min-width: 0; }
.swatch__chip { position: relative; aspect-ratio: 1 / .82; border-radius: 10px; overflow: hidden; background: var(--sw-top); border: 1px solid rgba(22, 25, 30, .09); box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.swatch:hover .swatch__chip { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.swatch__chip::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -34%; height: 62%; background: var(--sw-base); transform: skewY(-9deg); }
.swatch__engrave { position: absolute; z-index: 2; top: 14%; left: 14%; font-size: 1.8rem; font-weight: 800; color: var(--sw-base); letter-spacing: -.05em; }
.swatch__label { font: 600 9.5px/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }

/* applications */
.bg-dark { background: linear-gradient(160deg, #171a20 0%, #1e222a 100%); color: var(--white); }
.bg-dark .section-head p { color: rgba(255, 255, 255, .58); }
/* compact link from the home page to the Applications page */
.home-promo { background: linear-gradient(100deg, #171a20 0%, #232830 100%); color: var(--white); padding: 46px 0; position: relative; overflow: hidden; }
.home-promo::after { content: ""; position: absolute; right: -90px; top: -150px; width: 440px; height: 440px; border: 1px solid rgba(255, 255, 255, .07); border-radius: 50%; pointer-events: none; }
.home-promo__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.home-promo .eyebrow { margin-bottom: 12px; }
.home-promo h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); margin-bottom: 10px; }
.home-promo p { color: rgba(255, 255, 255, .6); margin: 0; max-width: 62ch; font-size: .94rem; }
.apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; background: transparent; border: 0; }
.app-card { background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 32px 30px 38px; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.app-card:hover { background: rgba(255, 255, 255, .075); border-color: rgba(225, 80, 42, .5); transform: translateY(-4px); }
.app-card__no { font: 700 11px var(--mono); letter-spacing: .12em; color: #f2875f; display: block; margin-bottom: 30px; }
.app-card h3 { margin-bottom: 10px; color: var(--white); }
.app-card p { color: rgba(255, 255, 255, .58); font-size: .9rem; margin: 0; }

/* spec table */
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: left; padding: 16px 16px; border-bottom: 1px solid var(--line); font-size: .92rem; vertical-align: top; }
.spec-table th { width: 30%; font: 600 10px var(--mono); letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.spec-table td { color: var(--ink); }
.spec-table tr:first-child th, .spec-table tr:first-child td { border-top: 1px solid var(--line); }
.spec-table tr { transition: background .18s ease; }
.spec-table tr:hover td { background: rgba(255, 255, 255, .6); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
/* used when the right-hand visual has nothing to show: the copy takes the
   full width instead of leaving an empty placeholder block */
.two-col.is-solo { grid-template-columns: 1fr; }
.two-col.is-solo > :first-child { max-width: 820px; }

/* faq */
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1rem; list-style: none; display: flex; justify-content: space-between; gap: 20px; padding-right: 44px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.1rem; line-height: 1; position: absolute; right: 0; top: 0; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; background: var(--white); font-weight: 500; }
.faq details[open] summary::after { content: "−"; color: var(--white); background: var(--accent); border-color: var(--accent); }
.faq p { color: var(--muted); margin: 14px 0 0; max-width: 70ch; font-size: .92rem; }

/* about / process */
.prose p { color: var(--muted); max-width: 62ch; margin-bottom: 18px; }
.prose h2 { margin-bottom: 26px; }
.stat-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); margin-top: 36px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat-list div { background: var(--white); padding: 26px; }
.stat-list strong { display: block; font-size: 1.9rem; letter-spacing: -.05em; }
.stat-list span { font: 500 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.process { counter-reset: p; }
.process__item { display: grid; grid-template-columns: 76px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.process__item:first-child { border-top: 1px solid var(--line); }
.process__item::before { counter-increment: p; content: "0" counter(p); font: 700 12px var(--mono); color: var(--accent); padding-top: 6px; }
.process__item h3 { margin-bottom: 6px; font-size: 1.12rem; }
.process__item p { margin: 0; color: var(--muted); font-size: .94rem; }
.check-list { list-style: none; padding: 0; margin: 28px 0 0; }
.check-list li { padding: 13px 0 13px 28px; border-bottom: 1px solid var(--line); position: relative; font-size: .95rem; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
/* variants used by admin-managed copy lists */
.check-list--flush { margin-top: 0; }
.check-list--dark { color: #fff; }
.check-list--dark li { border-color: rgba(255,255,255,.16); }

/* contact */
.contact__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; }
.contact__info h1 { font-size: clamp(2.6rem, 4.6vw, 4rem); margin-bottom: 22px; }
.contact__block { border-top: 1px solid var(--line); padding: 20px 0; }
.contact__block span { display: block; font: 600 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.contact__block a, .contact__block strong { font-size: 1.05rem; font-weight: 700; }
.contact__block a:hover { color: var(--accent); }
.contact__fallback { margin-top: 18px; line-height: 1.6; }
.form-card { background: var(--white); border: 1px solid var(--line); padding: 40px; border-radius: 16px; box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label { display: block; font: 600 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 15px; border: 1px solid var(--line-strong); background: var(--white); border-radius: var(--radius-sm); color: var(--ink); outline: none; transition: border-color .18s ease, box-shadow .18s ease; }
.field input::placeholder, .field textarea::placeholder { color: #9ca0a5; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(225, 80, 42, .12); }
.field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: .8rem; color: var(--muted); margin: 16px 0 0; }
.form-result { margin-top: 18px; padding: 14px 16px; border-radius: var(--radius-sm); font-size: .9rem; font-weight: 600; }
.form-result.is-ok { background: #e7f3ea; color: #1c6b39; }
.form-result.is-error { background: #fdeae5; color: #a33318; }
/* honeypot - must stay invisible to people, visible to naive bots */
.hp { position: absolute !important; left: -9999px !important; top: auto !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }

/* footer */
.site-footer { background: linear-gradient(180deg, #171a20 0%, #11141a 100%); color: var(--white); }
.site-footer > .wrap:first-child { padding-top: 74px; }
.footer__cta { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-bottom: 68px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer__cta .eyebrow { color: rgba(255, 255, 255, .5); margin-bottom: 14px; }
.footer__cta h2 { margin: 0; max-width: 20ch; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-top: 60px; padding-bottom: 60px; }
.brand--light { color: var(--white); }
.footer__brand p { color: rgba(255, 255, 255, .6); margin: 18px 0 0; max-width: 34ch; font-size: .95rem; }
.footer__brand .footer__small { font-size: .82rem; margin-top: 8px; color: rgba(255, 255, 255, .4); }
.footer__grid h4 { font: 600 10px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .45); margin-bottom: 20px; }
.footer__grid > div:not(.footer__brand):not(.footer__contact) a, .footer__grid > div:not(.footer__brand):not(.footer__contact) span { display: block; font-size: .9rem; color: rgba(255, 255, 255, .75); margin-bottom: 11px; }
.footer__contact .footer__row { margin-bottom: 14px; }
.footer__contact .footer__k { display: block; font: 600 9px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .38); margin: 0 0 4px; }
.footer__contact .footer__v, .footer__contact .footer__fallback { display: block; font-size: .9rem; line-height: 1.5; color: rgba(255, 255, 255, .78); margin: 0; text-decoration: none; overflow-wrap: anywhere; }
.footer__grid a:hover { color: #f2875f !important; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .78rem; color: rgba(255, 255, 255, .4); }
.footer__bottom a:hover { color: #f2875f; }

/* uploaded photos & factory */
.product-card__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: 8px 8px 0 0; }
.app-card__media { margin: -32px -30px 24px; overflow: hidden; }
.app-card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.area-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.area-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.area-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
.area-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.area-card__media--empty { display: grid; place-items: center; background: repeating-linear-gradient(135deg, #ece8df, #ece8df 10px, #f2efe7 10px, #f2efe7 20px); }
.area-card__media--empty span { font: 700 12px var(--mono); letter-spacing: .18em; color: var(--muted); }
.area-card__body { padding: 26px 28px 30px; }
.area-card h3 { margin-bottom: 8px; }
.area-card p { color: var(--muted); font-size: .93rem; margin: 0; }
.factory-photo, .hero-photo { background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 26px 60px rgba(22, 25, 30, .1), 18px 18px 0 rgba(239, 235, 227, .55); aspect-ratio: 4 / 3; }
.factory-photo img, .hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-empty { height: 100%; display: grid; place-content: center; gap: 8px; text-align: center; background: repeating-linear-gradient(135deg, #ece8df, #ece8df 12px, #f3f0e8 12px, #f3f0e8 24px); }
.photo-empty span { font: 700 12px var(--mono); letter-spacing: .16em; color: var(--ink); }
.photo-empty small { font-size: .78rem; color: var(--muted); }

/* product detail */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font: 600 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 34px; }
.crumbs a { color: var(--muted); border-bottom: 1px solid transparent; }
.crumbs a:hover { color: var(--ink); border-color: var(--ink); }
.crumbs span.sep { opacity: .45; }
.crumbs .is-current { color: var(--ink); }
.product-hero { display: grid; grid-template-columns: 1.04fr .96fr; gap: 56px; align-items: start; }
.product-hero > * { min-width: 0; }
.product-hero__media { background: linear-gradient(160deg, #fff, #f7f4ed); border: 1px solid var(--line); border-radius: 16px; padding: 18px 18px 0; box-shadow: var(--shadow-md); }
.product-hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: 8px; }
.product-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font: 600 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.product-hero__meta .is-accent { color: var(--accent); }
.product-hero h1 { font-size: clamp(2rem, 3.2vw, 2.9rem); margin-bottom: 16px; }
.product-hero .lead { max-width: 44ch; }
.product-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.product-hero .spec-table { margin-top: 30px; }
.product-hero .spec-table th, .product-hero .spec-table td { padding: 13px 14px; font-size: .9rem; }
.product-hero .spec-table th { width: 38%; }
.swatch-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.swatch-pair__item { border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.swatch-pair__color { height: 132px; }
.swatch-pair__label { padding: 16px 18px; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.swatch-pair__label b { font-size: .95rem; }
.swatch-pair__label span { font: 600 10px var(--mono); letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.not-found { max-width: 46ch; padding: 40px 0 20px; }

/* misc */
.note-box { position: relative; border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); padding: 22px 26px; font-size: .92rem; color: var(--muted); margin-top: 34px; box-shadow: var(--shadow-sm); }
.note-box::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; background: var(--accent); border-radius: 0 3px 3px 0; }
.note-box strong { color: var(--ink); }
.note-box > span { margin-left: 6px; }
/* author rules below set display on footer links and contact rows, so the
   native [hidden] attribute needs an explicit override */
[hidden] { display: none !important; }
.section-anchor { scroll-margin-top: 90px; }

@media (max-width: 960px) {
  .hero__grid, .two-col, .contact__grid, .product-hero { grid-template-columns: 1fr; gap: 44px; }
  .hero__visual { box-shadow: 12px 12px 0 rgba(239, 235, 227, .55); }
  .product-grid, .apps { grid-template-columns: repeat(2, 1fr); }
  .swatches { grid-template-columns: repeat(4, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid .footer__brand { grid-column: 1 / -1; }
  .nav { position: absolute; top: 76px; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; gap: 0; padding: 10px 24px 20px; display: none; box-shadow: var(--shadow-md); }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; }
  .nav-toggle { display: block; }
}
@media (max-width: 640px) {
  .wrap { width: min(var(--wrap), calc(100% - 32px)); }
  section { padding: 64px 0; }
  .hero { padding: 60px 0 72px; }
  .hero__title { font-size: clamp(2.3rem, 10vw, 3.2rem); }
  .hero__title .accent-line { white-space: normal; }
  .hero__grid { gap: 32px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__facts { gap: 18px 24px; }
  .hero__facts div strong { font-size: 1.25rem; }
  .hero__text { max-width: 100%; }
  .hero__visual { padding: 16px; box-shadow: 8px 8px 0 rgba(239, 235, 227, .55); }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  /* on narrow screens the highlight fragments when a headline wraps - keep it subtle */
  em { background: linear-gradient(to top, rgba(225, 80, 42, .11) 0 30%, transparent 30%); padding: 0 .02em; }
  .bg-dark em, .site-footer em, .home-promo em { background: linear-gradient(to top, rgba(225, 80, 42, .38) 0 30%, transparent 30%); }
  .product-grid, .apps, .steps, .swatches, .footer__grid { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: 1fr; }
  .factory-photo, .hero-photo { box-shadow: 8px 8px 0 rgba(239, 235, 227, .55); }
  .app-card__media { margin: -32px -30px 22px; }
  .home-promo__inner { flex-direction: column; align-items: flex-start; gap: 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .swatch-pair { grid-template-columns: 1fr; }
  .product-hero__actions .btn { flex: 1 1 100%; }
  .crumbs { margin-bottom: 24px; font-size: 9px; }
  .form-card { padding: 24px; }
  .footer__cta { flex-direction: column; align-items: flex-start; }
  .header__actions .btn { display: none; }
  .spec-table th { width: 42%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- floating WhatsApp ----------
   Standard B2B contact channel; rendered by site.js only when a real
   WhatsApp number is configured in the admin panel. */
.wa-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .24);
  transition: transform .15s ease, box-shadow .15s ease;
}
.wa-fab:hover { transform: scale(1.07); box-shadow: 0 8px 22px rgba(0, 0, 0, .3); }
.wa-fab svg { width: 28px; height: 28px; display: block; }

/* ---------- inquiry form attachment ---------- */
.attach-input { font-size: .85rem; color: var(--muted); }
.attach-input::file-selector-button {
  border: 1px solid var(--line-strong); background: var(--white);
  color: var(--ink); border-radius: var(--radius-sm);
  padding: 8px 14px; margin-right: 12px; font: inherit; cursor: pointer;
}
.attach-hint { display: block; margin-top: 6px; font-size: .78rem; color: var(--muted); }
.attach-preview {
  margin-top: 10px; display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 8px 12px 8px 8px; background: var(--soft);
}
.attach-preview img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; display: block; }
.attach-preview span { font-size: .8rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.attach-remove {
  width: 26px; height: 26px; flex: 0 0 auto; border-radius: 50%;
  border: 1px solid var(--line-strong); background: var(--white);
  color: var(--ink); font-size: 1rem; line-height: 1; cursor: pointer;
}
.attach-status { display: block; margin-top: 6px; font-size: .78rem; color: var(--muted); min-height: 1em; }
.attach-status.is-error { color: #c0392b; }
.cf-turnstile-box { margin: 14px 0; }
