/* ============================================================================
   toshnitek.com — site styles  (minimalist, white)  · layers on ../colors_and_type.css
   ============================================================================ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-sans); color: var(--fg2); background: #fff; -webkit-font-smoothing: antialiased; line-height: 1.55; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { color: var(--fg1); margin: 0; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.display { font-family: var(--font-sans); font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; color: var(--fg1); }
.eyebrow { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.09em; color: var(--blue-700); }
.mono { font-family: var(--font-mono); }
.muted { color: var(--fg3); }
.center { text-align: center; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; border-radius: 6px; padding: 11px 20px; border: 1px solid transparent; transition: all .15s var(--ease-standard); white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--blue-500); color: #fff; }
.btn-primary:hover { background: var(--blue-600); }
.btn-outline { background: #fff; color: var(--ink-800); border-color: var(--border-strong); }
.btn-outline:hover { border-color: var(--ink-500); background: var(--ink-50); }
.btn-dark { background: var(--ink-800); color: #fff; }
.btn-dark:hover { background: var(--ink-900); }
.btn-lg { font-size: 16px; padding: 14px 26px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.site-header .bar { display: flex; align-items: center; gap: 32px; height: 76px; }
.brand-logo { height: 26px; flex: none; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: 6px; }
.nav-item { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 5px; font-size: 15px; font-weight: 500; color: var(--ink-700); padding: 10px 14px; border-radius: 6px; cursor: pointer; }
.nav-link:hover { color: var(--ink-900); background: var(--ink-50); }
.nav-link.active { color: var(--blue-700); }
.nav-link svg { width: 14px; height: 14px; opacity: .55; transition: transform .15s; }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }
.header-cta { margin-left: auto; display: flex; align-items: center; gap: 12px; }

/* dropdown */
.dropdown.mega { min-width: 500px; display: grid; grid-template-columns: 1fr 1fr; padding: 6px; gap: 0; }
.dd-col { padding: 4px; }
.dd-col + .dd-col { border-left: 1px solid var(--border); padding-left: 10px; }
.dd-col-head { font-size: 10px; text-transform: uppercase; letter-spacing: .07em; color: var(--fg4); font-weight: 700; padding: 8px 12px 6px; display: flex; align-items: center; gap: 8px; }
.dd-col-head img { height: 14px; object-fit: contain; opacity: .5; }
/* dropdown */
.dropdown { position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px; background: #fff; border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .16s var(--ease-standard); }
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 6px; font-size: 14px; color: var(--ink-700); font-weight: 500; }
.dropdown a:hover { background: var(--blue-50); color: var(--blue-700); }
.dropdown a svg { width: 16px; height: 16px; color: var(--ink-400); flex: none; }
.dropdown a:hover svg { color: var(--blue-600); }
.dropdown .dd-label { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--fg4); padding: 9px 12px 5px; font-weight: 600; }
.dropdown .dd-sep { height: 1px; background: var(--ink-100); margin: 6px 4px; }

/* mobile */
.hamburger { display: none; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 6px; border: 1px solid var(--border); background: #fff; color: var(--ink-800); }
.hamburger svg { width: 20px; height: 20px; }
.mobile-nav { display: none; }

/* ---------- generic page header / hero ---------- */
.page-hero { padding: 64px 0 40px; border-bottom: 1px solid var(--border); }
.page-hero h1 { font-family: var(--font-sans); font-weight: 700; letter-spacing: -0.025em; font-size: 44px; line-height: 1.08; margin: 12px 0 0; }
.page-hero p { font-size: 18px; color: var(--fg2); margin: 16px 0 0; max-width: 62ch; }
.crumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--fg3); }
.crumb a:hover { color: var(--blue-700); }
.crumb svg { width: 13px; height: 13px; }

/* sections */
.section { padding: 80px 0; }
.section.alt { background: var(--ink-50); }
.section-head { max-width: 660px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-family: var(--font-sans); font-weight: 700; letter-spacing: -0.025em; font-size: 36px; line-height: 1.08; margin: 12px 0 14px; }
.section-head p { font-size: 17px; color: var(--fg2); margin: 0; }

/* ---------- card grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* category card (clickable) */
.cat-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: box-shadow .18s, transform .18s, border-color .18s; cursor: pointer; }
.cat-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--blue-200); }
.cat-media { aspect-ratio: 4 / 3; background: linear-gradient(150deg, #f5f6f7, #e7e9ea); display: flex; align-items: center; justify-content: center; position: relative; }
.cat-media svg { width: 52px; height: 52px; color: var(--ink-400); stroke-width: 1.1; }
.cat-media .brandtag { position: absolute; top: 12px; left: 12px; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-600); background: rgba(255,255,255,.9); border: 1px solid var(--border); padding: 4px 9px; border-radius: 999px; }
.cat-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.cat-body h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 6px; }
.cat-body p { font-size: 14px; color: var(--fg3); margin: 0 0 14px; line-height: 1.5; flex: 1; }
.cat-link { font-size: 14px; font-weight: 600; color: var(--blue-700); display: inline-flex; align-items: center; gap: 6px; }
.cat-card:hover .cat-link svg { transform: translateX(3px); }
.cat-link svg { width: 15px; height: 15px; transition: transform .18s; }
.cat-meta { font-size: 12px; color: var(--fg4); font-weight: 500; margin-top: 4px; }

/* product card */
.prod-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: box-shadow .18s, transform .18s, border-color .18s; }
.prod-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--blue-200); }
.prod-media { aspect-ratio: 1 / 1; background: linear-gradient(150deg, #f5f6f7, #e8e9ea); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.prod-media svg { width: 46px; height: 46px; color: var(--ink-400); stroke-width: 1; }
.prod-media .brandtag { position: absolute; top: 11px; left: 11px; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-600); background: rgba(255,255,255,.9); border: 1px solid var(--border); padding: 3px 8px; border-radius: 999px; }
.prod-body { padding: 16px 17px 18px; display: flex; flex-direction: column; flex: 1; }
.prod-body .pn { font-family: var(--font-mono); font-size: 11px; color: var(--blue-700); }
.prod-body h3 { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; margin: 4px 0 6px; }
.prod-body p { font-size: 13px; color: var(--fg3); margin: 0 0 14px; line-height: 1.5; flex: 1; }
.prod-foot { display: flex; align-items: center; justify-content: space-between; }
.prod-foot .view { font-size: 13px; font-weight: 600; color: var(--blue-700); display: inline-flex; align-items: center; gap: 5px; }
.prod-foot .view svg { width: 14px; height: 14px; transition: transform .18s; }
.prod-card:hover .view svg { transform: translateX(3px); }

/* feature row */
.feat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feat-media { aspect-ratio: 4 / 3; background: linear-gradient(150deg, #f5f6f7, #e4e5e6); border: 1px solid var(--border); border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.feat-media svg { width: 84px; height: 84px; color: var(--ink-400); stroke-width: .9; }
.feat-list { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 13px; }
.feat-list li { display: flex; gap: 11px; font-size: 15px; color: var(--fg2); }
.feat-list svg { width: 19px; height: 19px; color: var(--blue-600); flex: none; margin-top: 1px; }

/* stat strip */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat .n { font-family: var(--font-sans); font-weight: 700; font-size: 48px; line-height: 1; color: var(--ink-900); }
.stat .n .u { color: var(--blue-500); }
.stat .l { font-size: 14px; color: var(--fg3); margin-top: 10px; }

/* spec table */
.spec-tbl { width: 100%; border-collapse: collapse; }
.spec-tbl caption { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--fg3); font-weight: 600; padding-bottom: 12px; }
.spec-tbl td { padding: 12px 0; border-bottom: 1px solid var(--ink-100); font-size: 14px; vertical-align: top; }
.spec-tbl td.k { color: var(--fg3); width: 44%; padding-right: 18px; }
.spec-tbl td.v { font-family: var(--font-mono); color: var(--fg1); }

/* pill / chips */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font-size: 12px; font-weight: 500; color: var(--ink-700); background: var(--ink-100); border-radius: 999px; padding: 5px 12px; }
.chip.blue { background: var(--blue-50); color: var(--blue-700); }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 28px; }
.tab { font-size: 15px; font-weight: 600; color: var(--fg3); padding: 13px 16px; border-bottom: 2px solid transparent; cursor: pointer; }
.tab:hover { color: var(--ink-800); }
.tab.active { color: var(--blue-700); border-bottom-color: var(--blue-500); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink-800); color: #fff; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 56px 28px; flex-wrap: wrap; }
.cta-band h2 { font-family: var(--font-sans); font-weight: 700; letter-spacing: -0.02em; font-size: 32px; color: #fff; margin: 0 0 6px; }
.cta-band p { color: var(--fg-on-dark-2); margin: 0; font-size: 16px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink-900); color: var(--ink-400); }
.site-footer .top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; padding: 60px 28px 44px; }
.site-footer .flogo { height: 30px; margin-bottom: 18px; }
.site-footer .blurb { font-size: 14px; line-height: 1.6; color: var(--ink-400); max-width: 34ch; }
.site-footer h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-500); margin: 0 0 16px; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.site-footer ul a { font-size: 14px; color: var(--ink-300); }
.site-footer ul a:hover { color: #fff; }
.site-footer .bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 28px; display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--ink-500); flex-wrap: wrap; gap: 10px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.info-row { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--ink-100); }
.info-row .ic { width: 42px; height: 42px; border-radius: 8px; background: var(--blue-50); border: 1px solid var(--blue-100); display: flex; align-items: center; justify-content: center; color: var(--blue-600); flex: none; }
.info-row .ic svg { width: 19px; height: 19px; }
.info-row h4 { font-size: 14px; margin-bottom: 3px; }
.info-row p { margin: 0; font-size: 14px; color: var(--fg3); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12px; font-weight: 600; color: var(--fg2); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--border-strong); border-radius: 6px; padding: 11px 13px; font-family: var(--font-sans); font-size: 14px; color: var(--fg1); outline: none; transition: .15s; background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue-500); box-shadow: var(--shadow-focus); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }

/* principal brand card */
.brand-card { display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 28px; transition: box-shadow .18s, border-color .18s; }
.brand-card:hover { box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.brand-mark { height: 100px; border-radius: 10px; background: #fff; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; padding: 16px; }
.brand-card h3 { font-size: 22px; letter-spacing: -0.01em; margin-bottom: 6px; }
.brand-card .role { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--blue-700); margin-bottom: 10px; }
.brand-card p { margin: 0 0 14px; font-size: 15px; color: var(--fg2); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .main-nav, .header-cta .btn { display: none; }
  .hamburger { display: inline-flex; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .feat-row, .contact-grid, .form-grid { grid-template-columns: 1fr; gap: 32px; }
  .site-footer .top { grid-template-columns: 1fr 1fr; }
  .stat-strip { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .page-hero h1 { font-size: 36px; }
  .brand-card { grid-template-columns: 1fr; gap: 18px; }
  .mobile-nav.open { display: block; position: fixed; inset: 77px 0 0; background: #fff; z-index: 49; padding: 14px 28px; overflow-y: auto; }
  .mobile-nav.open > a, .mobile-nav.open > details > summary { display: block; font-size: 18px; font-weight: 600; padding: 16px 0; border-bottom: 1px solid var(--border); color: var(--ink-800); }
  .mobile-nav.open details summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
  .mobile-nav.open details a { display: block; font-size: 15px; font-weight: 500; color: var(--ink-600); padding: 10px 0 10px 14px; border-bottom: none; }
}
@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .cta-band .wrap { padding: 40px 28px; }
  .wrap { padding: 0 20px; }
}
