/* ==========================================================================
   KEENVIEW site.css — shared design system (extracted from designs/b2)
   Rules: designs/b2/NOTES.md. Orange only on the logo and .btn--primary.
   No gradients (except the homepage hero scrim), no glow, no blur, no pills,
   no monospace, no uppercase English labels. Radius 4px.
   Page-specific styles live in public/css/pages/<page>.css.
   ========================================================================== */

/* ===================== Design tokens ===================== */
:root{
  --bg:#FFFFFF;
  --surface:#F3F5F8;
  --surface-2:#E9EDF2;
  --line:#D9E0E8;
  --ink:#0F1B2A;
  --text-2:#4A5868;
  --muted:#6B7787;
  --steel:#1E4F7A;
  --steel-hover:#163E61;
  --steel-tint:#E6EEF6;
  --orange:#CF3D0A;          /* primary CTA button only (and the logo itself) */
  --orange-hover:#B3340A;
  /* on dark (--ink) areas */
  --on-dark:#FFFFFF;
  --on-dark-2:#B8C2CE;
  --on-dark-line:rgba(255,255,255,.12);
  --on-dark-link:#8FB3D9;

  --radius:4px;
  --shadow:0 1px 2px rgba(15,27,42,.06);
  --font:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei","Noto Sans SC",sans-serif;
  --container:1280px; --gutter:24px; --header-h:72px;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;overflow-x:clip;font-family:var(--font);color:var(--ink);background:var(--bg);font-size:16px;line-height:1.7;font-weight:400;-webkit-font-smoothing:antialiased}
img,video{max-width:100%;display:block}
img{height:auto}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit}
h1,h2,h3,h4,p{margin:0}
ul{margin:0;padding:0;list-style:none}
:focus-visible{outline:2px solid var(--steel);outline-offset:3px;border-radius:2px}
.hero :focus-visible,.site-footer :focus-visible,.case-feature:focus-visible,.page-hero--photo :focus-visible{outline-color:var(--on-dark-link)}
.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}
.skip{position:absolute;left:16px;top:-60px;z-index:200;background:var(--ink);color:var(--on-dark);padding:10px 16px;border-radius:var(--radius)}
.skip:focus{top:12px}
[id]{scroll-margin-top:calc(var(--header-h) + 16px)}

/* ===================== Layout ===================== */
.container{max-width:var(--container);margin:0 auto;padding:0 32px}
.grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--gutter);row-gap:var(--gutter)}
.section{padding:104px 0}
.section--tint{background:var(--surface)}
.section--compact{padding:72px 0}

/* Section headings: h2 with a 32x3 steel bar above */
.h2{font-size:32px;line-height:1.35;font-weight:600;color:var(--ink)}
.h3{font-size:22px;line-height:1.4;font-weight:600;color:var(--ink)}
.sec-title::before{content:"";display:block;width:32px;height:3px;background:var(--steel);margin-bottom:20px}
.lead{font-size:16px;color:var(--text-2);margin-top:12px;max-width:62ch}
.sec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;margin-bottom:48px}

/* Rich text from the CMS (run through clean_html()) */
.prose{color:var(--text-2);font-size:16px;line-height:1.8}
.prose>*+*{margin-top:14px}
.prose p{margin:0}
.prose em{font-style:normal;color:var(--ink);font-weight:500}
.prose strong,.prose b{color:var(--ink);font-weight:600}
.prose a{color:var(--steel);text-decoration:underline}
.prose a:hover{color:var(--steel-hover)}
.prose h2,.prose h3,.prose h4{color:var(--ink);font-weight:600;line-height:1.45}
.prose h2{font-size:24px;margin-top:32px}
.prose h3{font-size:20px;margin-top:28px}
.prose h4{font-size:17px;margin-top:24px}
.prose ul,.prose ol{padding-left:1.4em}
.prose ul{list-style:disc}
.prose li+li{margin-top:6px}
.prose img{border-radius:var(--radius);margin:8px 0}
.prose table{width:100%;border-collapse:collapse;font-size:14px;display:block;overflow-x:auto}
.prose th,.prose td{border:1px solid var(--line);padding:8px 12px;text-align:left;vertical-align:top}
.prose th{background:var(--surface);color:var(--ink);font-weight:600}

/* ===================== Buttons & links ===================== */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:48px;padding:0 24px;border-radius:var(--radius);font-size:15px;font-weight:600;border:1px solid transparent;cursor:pointer;transition:background-color .15s,color .15s,border-color .15s;white-space:nowrap}
.btn svg{width:16px;height:16px}
/* Primary CTA: the only orange component */
.btn--primary{color:#FFFFFF;background:var(--orange);border-color:var(--orange)}
.btn--primary:hover{background:var(--orange-hover);border-color:var(--orange-hover)}
.btn--ghost-light{color:var(--on-dark);border-color:rgba(255,255,255,.6);background:transparent}
.btn--ghost-light:hover{background:rgba(255,255,255,.12);border-color:var(--on-dark)}
.btn--outline{color:var(--ink);border-color:var(--line);background:var(--bg)}
.btn--outline:hover{border-color:var(--steel);color:var(--steel)}
.btn--sm{height:40px;padding:0 18px;font-size:14px}
.link-arrow{display:inline-flex;align-items:center;gap:6px;font-weight:500;font-size:15px;color:var(--steel)}
.link-arrow svg{width:16px;height:16px;transition:transform .15s}
.link-arrow:hover{color:var(--steel-hover)}
.link-arrow:hover svg{transform:translateX(2px)}

/* Icon tile: steel 1.5px line icon on steel-tint */
.ico{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:var(--radius);background:var(--steel-tint);color:var(--steel)}
.ico svg{width:22px;height:22px}

/* Placeholder: dashed box + muted text (content still to be provided) */
.placeholder{background:var(--bg);color:var(--muted);border:1px dashed var(--line);border-radius:var(--radius);display:flex;align-items:center;justify-content:center;text-align:center;font-size:13px;line-height:1.5;padding:12px}
.placeholder--inline{display:inline-flex;padding:6px 10px}

.clamp-2,.clamp-3,.clamp-4{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}
.clamp-2{-webkit-line-clamp:2}.clamp-3{-webkit-line-clamp:3}.clamp-4{-webkit-line-clamp:4}

/* Tags & chips (4px radius, never pills) */
.tag{display:inline-flex;align-self:flex-start;align-items:center;height:24px;padding:0 8px;border-radius:var(--radius);background:var(--steel-tint);color:var(--steel);font-size:12px;font-weight:500}
.chip{display:inline-flex;align-items:center;height:32px;padding:0 12px;border-radius:var(--radius);background:var(--surface);border:1px solid var(--line);font-size:14px;font-weight:500;color:var(--text-2)}

/* ===================== Cards ===================== */
/* 1px border + faint shadow; hover only turns the border steel (clickable cards lift 2px) */
.card{background:var(--bg);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);transition:border-color .15s,transform .15s}
a.card:hover,.card.is-hover:hover{border-color:var(--steel);transform:translateY(-2px)}

/* Solution card (image + tag + title + text + link) */
.sol-card{grid-column:span 3;overflow:hidden;display:flex;flex-direction:column}
.sol-card:hover{border-color:var(--steel)}
.sol-card figure{margin:0;aspect-ratio:4/3;overflow:hidden;background:var(--surface-2)}
.sol-card img{width:100%;height:100%;object-fit:cover}
.sol-body{padding:22px 22px 24px;display:flex;flex-direction:column;flex:1}
.sol-body h3{font-size:18px;font-weight:600;line-height:1.45;margin-top:12px}
.sol-body p{font-size:14px;color:var(--text-2);margin-top:8px}
.sol-body .link-arrow{margin-top:16px;font-size:14px}

/* Case cards: large feature (photo + ink caption bar) and side card */
.case-feature{grid-column:span 7;position:relative;border-radius:var(--radius);overflow:hidden;min-height:520px;color:var(--on-dark);background:var(--ink);display:flex;align-items:flex-end;border:1px solid var(--line)}
.case-feature img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.case-feature .case-body{position:relative;z-index:2;width:100%;padding:28px 32px 30px;background:rgba(15,27,42,.88)}
.case-feature .tag{background:rgba(255,255,255,.12);color:var(--on-dark)}
.case-feature h3{font-size:22px;line-height:1.4;font-weight:600;margin-top:12px}
.case-feature p{font-size:15px;color:var(--on-dark-2);margin-top:8px;max-width:62ch}
.case-feature .link-arrow{color:var(--on-dark-link);margin-top:16px}
.case-feature:hover{border-color:var(--steel)}
.case-feature:hover .link-arrow{color:var(--on-dark)}
.case-stack{grid-column:span 5;display:grid;grid-template-rows:1fr 1fr;gap:var(--gutter)}
.case-card{display:grid;grid-template-columns:42% 1fr;overflow:hidden}
.case-card figure{margin:0;background:var(--surface-2);overflow:hidden}
.case-card img{width:100%;height:100%;object-fit:cover}
.case-card .case-body{padding:22px;display:flex;flex-direction:column}
.case-card h3{font-size:17px;line-height:1.45;font-weight:600;margin-top:10px}
.case-card p{font-size:13px;color:var(--text-2);margin-top:8px}
.case-card .link-arrow{font-size:14px;margin-top:auto;padding-top:12px}

/* ===================== Header ===================== */
.site-header{position:sticky;top:0;z-index:100;background:var(--bg);border-bottom:1px solid var(--line)}
.header-inner{height:var(--header-h);display:flex;align-items:center;gap:40px}
.brand{display:flex;align-items:center;flex-shrink:0}
.brand img{height:34px;width:auto}
.nav{flex:1;display:flex;align-items:center;justify-content:space-between;gap:24px;height:100%}
.nav-list{display:flex;align-items:center;gap:4px;height:100%}
.nav-item{position:relative;height:100%;display:flex;align-items:center}
.nav-link{position:relative;display:inline-flex;align-items:center;gap:6px;height:100%;padding:0 14px;border:0;background:none;font-size:15px;font-weight:500;color:var(--ink);cursor:pointer;transition:color .15s;white-space:nowrap}
.nav-link::after{content:"";position:absolute;left:14px;right:14px;bottom:-1px;height:2px;background:var(--steel);transform:scaleX(0);transition:transform .15s}
.nav-link:hover,.nav-item.is-open>.nav-link,.nav-link[aria-current="page"],.nav-link.is-current{color:var(--steel)}
.nav-link:hover::after,.nav-item.is-open>.nav-link::after,.nav-link[aria-current="page"]::after,.nav-link.is-current::after{transform:scaleX(1)}
.nav-link .chev{width:14px;height:14px;transition:transform .15s;color:var(--muted)}
.nav-item.is-open .chev{transform:rotate(180deg);color:var(--steel)}
.dropdown{position:absolute;top:100%;left:0;min-width:520px;background:var(--bg);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:20px;display:grid;grid-template-columns:200px 1fr;gap:20px;opacity:0;visibility:hidden;transition:opacity .15s,visibility .15s}
.nav-item.is-open .dropdown{opacity:1;visibility:visible}
.dd-intro{background:var(--surface);border-radius:var(--radius);padding:16px;font-size:13px;color:var(--text-2);line-height:1.6}
.dd-intro strong{display:block;font-size:15px;font-weight:600;color:var(--ink);margin-bottom:6px}
.dd-intro a{display:inline-flex;margin-top:12px;font-weight:500;color:var(--steel)}
.dd-intro a:hover{color:var(--steel-hover)}
.dd-list a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-radius:var(--radius);font-size:14px;color:var(--ink)}
.dd-list a:hover,.dd-list a[aria-current="page"]{background:var(--steel-tint);color:var(--steel)}
.dd-list a svg{width:14px;height:14px;color:var(--muted);flex-shrink:0}
.dd-list a:hover svg{color:var(--steel)}
.nav-actions{display:flex;align-items:center;gap:12px}
.lang{display:inline-flex;align-items:center;justify-content:center;height:36px;padding:0 12px;border:1px solid var(--line);border-radius:var(--radius);font-size:13px;font-weight:500;background:var(--bg);cursor:pointer;color:var(--ink)}
.lang:hover{border-color:var(--steel);color:var(--steel)}
.nav-actions .btn{height:40px;padding:0 18px;font-size:14px}
.burger{display:none;margin-left:auto;width:44px;height:44px;border:1px solid var(--line);border-radius:var(--radius);background:var(--bg);cursor:pointer;align-items:center;justify-content:center}
.burger span{position:relative;width:18px;height:2px;background:var(--ink);transition:background .15s}
.burger span::before,.burger span::after{content:"";position:absolute;left:0;width:18px;height:2px;background:var(--ink);transition:transform .2s}
.burger span::before{top:-6px}.burger span::after{top:6px}
.burger[aria-expanded="true"] span{background:transparent}
.burger[aria-expanded="true"] span::before{transform:translateY(6px) rotate(45deg)}
.burger[aria-expanded="true"] span::after{transform:translateY(-6px) rotate(-45deg)}

/* ===================== Page hero (inner pages) + breadcrumb ===================== */
/* Variant 1: --surface flat background. Variant 2 (--photo): real photo + flat --ink scrim. */
.page-hero{position:relative;background:var(--surface);border-bottom:1px solid var(--line);padding:40px 0 56px}
.page-hero h1{font-size:48px;line-height:1.25;font-weight:600;color:var(--ink);margin-top:28px;max-width:24em}
.page-hero .page-hero-intro{font-size:17px;line-height:1.7;color:var(--text-2);margin-top:16px;max-width:68ch}
.page-hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.page-hero--photo{background:var(--ink);color:var(--on-dark);border-bottom:0;padding:48px 0 72px;overflow:hidden}
.page-hero--photo .page-hero-media{position:absolute;inset:0;margin:0}
.page-hero--photo .page-hero-media img{width:100%;height:100%;object-fit:cover}
.page-hero--photo .page-hero-media::after{content:"";position:absolute;inset:0;background:rgba(15,27,42,.68)}
.page-hero--photo .container{position:relative;z-index:2}
.page-hero--photo h1{color:var(--on-dark)}
.page-hero--photo .page-hero-intro{color:var(--on-dark-2)}
.breadcrumb ol{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin:0;padding:0;list-style:none;font-size:13px;line-height:1.5;color:var(--muted)}
.breadcrumb li{display:inline-flex;align-items:center;gap:8px;min-width:0}
.breadcrumb li+li::before{content:"/";color:var(--line)}
.breadcrumb a{color:var(--text-2)}
.breadcrumb a:hover{color:var(--steel)}
.breadcrumb [aria-current="page"]{color:var(--ink);font-weight:500}
.page-hero--photo .breadcrumb ol{color:var(--on-dark-2)}
.page-hero--photo .breadcrumb li+li::before{color:rgba(255,255,255,.35)}
.page-hero--photo .breadcrumb a{color:var(--on-dark-2)}
.page-hero--photo .breadcrumb a:hover{color:var(--on-dark)}
.page-hero--photo .breadcrumb [aria-current="page"]{color:var(--on-dark)}

/* ===================== Pagination ===================== */
.pagination{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:48px}
.pagination a,.pagination span{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;padding:0 12px;border:1px solid var(--line);border-radius:var(--radius);font-size:14px;font-weight:500;background:var(--bg);color:var(--ink)}
.pagination a:hover{border-color:var(--steel);color:var(--steel)}
.pagination [aria-current="page"]{background:var(--steel);border-color:var(--steel);color:#FFFFFF}
.pagination .is-disabled{color:var(--muted);background:var(--surface)}

/* ===================== Contact rows ===================== */
.contact-list{margin-top:32px;display:grid}
.contact-row{display:grid;grid-template-columns:44px 1fr;gap:16px;align-items:start;padding:16px 0;border-bottom:1px solid var(--line)}
.contact-row:last-child{border-bottom:0}
.contact-row small{display:block;font-size:13px;color:var(--muted);font-weight:500}
.contact-row a,.contact-row address{font-style:normal;font-size:16px;font-weight:500;color:var(--ink);word-break:break-word}
.contact-row a{color:var(--steel)}
.contact-row a:hover{color:var(--steel-hover);text-decoration:underline}
.contact-row .placeholder{display:inline-flex;margin-top:4px;padding:6px 10px}

/* ===================== Forms ===================== */
.form-card{padding:40px}
.form-card h3{font-size:22px;font-weight:600}
.form-card>p{font-size:14px;color:var(--text-2);margin-top:6px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:28px}
.field{display:flex;flex-direction:column;gap:6px;min-width:0}
.field--full{grid-column:1 / -1}
.field label{font-size:13px;font-weight:500;color:var(--ink)}
.field label .req{color:var(--steel);margin-left:2px}
.field input,.field select,.field textarea{font:inherit;font-size:15px;color:var(--ink);background:var(--bg);border:1px solid var(--line);border-radius:var(--radius);padding:11px 14px;transition:border-color .15s;width:100%}
.field textarea{min-height:112px;resize:vertical}
.field input::placeholder,.field textarea::placeholder{color:var(--muted)}
.field input:hover,.field select:hover,.field textarea:hover{border-color:var(--muted)}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--steel);box-shadow:inset 0 0 0 1px var(--steel)}
.field.has-error input,.field.has-error select,.field.has-error textarea{border-color:var(--steel);box-shadow:inset 0 0 0 1px var(--steel)}
.field-error{font-size:12px;color:var(--steel);font-weight:500}
.captcha-row{display:flex;gap:12px;align-items:stretch}
.captcha-row input{flex:1;min-width:0}
.captcha-img{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;padding:0;border:1px solid var(--line);border-radius:var(--radius);background:var(--bg);cursor:pointer;overflow:hidden;height:46px}
.captcha-img img{height:100%;width:auto}
.captcha-img:hover{border-color:var(--steel)}
.form-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:24px;flex-wrap:wrap}
.form-foot small{font-size:12px;color:var(--muted)}
.form-foot small a{color:var(--steel);text-decoration:underline}
.form-note{font-size:14px;color:var(--steel);margin-top:16px;padding:12px 14px;border:1px solid var(--line);border-left:3px solid var(--steel);border-radius:var(--radius);background:var(--steel-tint)}
.form-note[hidden]{display:none}
.form-errors{font-size:14px;color:var(--ink);margin-top:16px;padding:12px 14px;border:1px solid var(--line);border-left:3px solid var(--steel);border-radius:var(--radius);background:var(--surface)}

/* ===================== Footer (--ink flat) ===================== */
.site-footer{background:var(--ink);color:var(--on-dark-2);padding:80px 0 0;font-size:14px}
.footer-top{padding-bottom:56px;border-bottom:1px solid var(--on-dark-line)}
.f-brand{grid-column:span 4}
.f-brand img{height:34px;width:auto}
.f-brand p{margin-top:20px;max-width:34ch;line-height:1.8}
.f-brand .btn{margin-top:24px;height:44px}
.f-col{grid-column:span 2}
.f-col h2{font-size:15px;font-weight:600;color:var(--on-dark);margin-bottom:16px}
.f-col li+li{margin-top:10px}
.f-col a{color:var(--on-dark-2);line-height:1.55;display:inline-block}
.f-col a:hover{color:var(--on-dark)}
.f-contact li{display:flex;gap:10px;align-items:flex-start;line-height:1.6}
.f-contact svg{width:16px;height:16px;flex-shrink:0;margin-top:3px;color:var(--on-dark-link)}
.f-contact a{color:var(--on-dark-link)!important;word-break:break-all}
.f-contact a:hover{color:var(--on-dark)!important}
.f-contact .ph{color:var(--on-dark-2);border:1px dashed rgba(255,255,255,.3);padding:2px 8px;border-radius:var(--radius);font-size:12px}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:24px 0;font-size:13px;color:var(--on-dark-2);flex-wrap:wrap}
.footer-bottom nav{display:flex;gap:24px}
.footer-bottom a:hover{color:var(--on-dark)}

/* ===================== Reveal (restrained fade-in) ===================== */
.reveal{opacity:0;transform:translateY(12px);transition:opacity .5s ease,transform .5s ease}
.reveal.in{opacity:1;transform:none}
.no-js .reveal{opacity:1;transform:none}

/* ===================== Responsive ===================== */
@media (max-width:1200px){
  .header-inner{gap:24px}
  .nav-link{padding:0 10px}
  .nav-link::after{left:10px;right:10px}
  .nav-actions .btn{display:none}
  .sol-card{grid-column:span 6}
  .sol-card figure{aspect-ratio:16/9}
}
@media (max-width:1024px){
  .container{padding:0 24px}
  .section{padding:88px 0}
  .case-feature,.case-stack{grid-column:span 12}
  .case-feature{min-height:440px}
  .f-brand{grid-column:span 12;margin-bottom:24px}
  .f-col{grid-column:span 3}
}
@media (max-width:960px){
  /* mobile navigation */
  .burger{display:inline-flex}
  .nav{position:fixed;top:var(--header-h);left:0;right:0;bottom:0;background:var(--bg);border-top:1px solid var(--line);flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;padding:8px 16px 32px;overflow-y:auto;height:auto;visibility:hidden;opacity:0;pointer-events:none;transition:opacity .15s,visibility .15s}
  .nav.is-open{opacity:1;visibility:visible;pointer-events:auto}
  .nav-list{flex-direction:column;align-items:stretch;height:auto;gap:0}
  .nav-item{height:auto;flex-direction:column;align-items:stretch;border-bottom:1px solid var(--line)}
  .nav-link{height:56px;justify-content:space-between;padding:0 4px;font-size:16px;width:100%;white-space:normal;text-align:left}
  .nav-link::after{display:none}
  .dropdown{position:static;min-width:0;display:none;grid-template-columns:1fr;padding:0 0 12px;border:0;box-shadow:none;opacity:1;visibility:visible;transition:none}
  .nav-item.is-open .dropdown{display:grid}
  .dd-intro{display:none}
  .dd-list a{padding:12px 8px;font-size:15px}
  .nav-actions{flex-direction:column;align-items:stretch;gap:12px;margin-top:24px}
  .nav-actions .btn{display:inline-flex;height:48px}
  .lang{height:44px}
  body.nav-open{overflow:hidden}
}
@media (max-width:767px){
  :root{--header-h:64px;--gutter:16px}
  .container{padding:0 16px}
  .section{padding:72px 0}
  .section--compact{padding:56px 0}
  .h2{font-size:24px}
  .h3{font-size:19px}
  .sec-title::before{margin-bottom:14px}
  .brand img{height:28px}
  .sec-head{flex-direction:column;align-items:flex-start;gap:20px;margin-bottom:32px}
  .page-hero{padding:28px 0 40px}
  .page-hero--photo{padding:32px 0 48px}
  .page-hero h1{font-size:30px;margin-top:20px}
  .page-hero .page-hero-intro{font-size:15px;margin-top:12px}
  .sol-card{grid-column:span 12}
  .case-feature{min-height:420px}
  .case-feature .case-body{padding:20px}
  .case-feature h3{font-size:19px}
  .case-stack{grid-template-rows:auto}
  .case-card{grid-template-columns:1fr}
  .case-card figure{aspect-ratio:16/9}
  .form-card{padding:24px 20px}
  .form-grid{grid-template-columns:1fr}
  .form-foot .btn{width:100%}
  .site-footer{padding-top:56px}
  .f-col{grid-column:span 6}
  .f-col.f-contact-col{grid-column:span 12}
  .footer-bottom{flex-direction:column;align-items:flex-start}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important}
  .reveal{opacity:1;transform:none}
  a.card:hover,.card.is-hover:hover{transform:none}
}

/* Honeypot: off-screen, not focusable (tabindex=-1), hidden from assistive tech */
.hp-field{position:absolute!important;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}

/* Global form feedback toast (partials/flash) */
.toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:300;display:flex;align-items:flex-start;gap:12px;max-width:min(560px,calc(100% - 32px));padding:14px 16px;background:var(--bg);border:1px solid var(--line);border-left:3px solid var(--steel);border-radius:var(--radius);box-shadow:var(--shadow);font-size:14px;color:var(--ink)}
.toast--err{border-left-color:#B42318}
.toast-close{border:0;background:none;font-size:18px;line-height:1;color:var(--muted);cursor:pointer}
