/* Komodo Hardware — site styles
   Change --accent to match the logo colour if needed. */

:root {
  --ink: #15191d;
  --ink-2: #3b434b;
  --muted: #6b737b;
  --paper: #f5f4ef;
  --paper-2: #ebe9e2;
  --white: #ffffff;
  --line: #d9d6cc;
  --accent: #1d7a55;
  --accent-ink: #0f4f36;
  --radius: 4px;
  --wrap: 1160px;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; margin: 0; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; }
.accent { color: var(--accent); }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.label {
  font-family: var(--mono); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 1.25rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--line);
}
.lede { font-size: 1.2rem; color: var(--ink-2); max-width: 46ch; }
.plain { list-style: none; margin: 0; padding: 0; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Buttons */
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 2rem; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: var(--radius);
  background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; font-size: 0.95rem;
  border: 1px solid var(--ink); transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.arrow-link { font-weight: 600; font-size: 0.95rem; color: var(--accent); }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brandmark img { height: 44px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav > a, .nav-group > a {
  display: block; padding: 10px 14px; text-decoration: none; font-weight: 500; font-size: 0.95rem;
  color: var(--ink-2); border-radius: var(--radius);
}
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.site-nav .nav-cta { background: var(--ink); color: #fff; margin-left: 8px; border-radius: var(--radius); }
.site-nav .nav-cta:hover { background: var(--accent); color: #fff; }
.site-nav .nav-cta[aria-current="page"] { box-shadow: none; background: var(--accent); color: #fff; }
.nav-group { position: relative; }
.nav-menu {
  position: absolute; top: 100%; left: 0; min-width: 260px; padding: 8px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(20,25,30,.08);
  opacity: 0; visibility: hidden; transform: translateY(4px); transition: .15s;
}
.nav-group:hover .nav-menu, .nav-group:focus-within .nav-menu { opacity: 1; visibility: visible; transform: none; }
.nav-menu a { display: flex; gap: 12px; align-items: baseline; padding: 10px 12px; text-decoration: none; border-radius: var(--radius); font-size: 0.95rem; }
.nav-menu a:hover { background: var(--paper); }
.nav-menu .mono { color: var(--accent); }
.nav-toggle, .nav-button { display: none; }

/* Hero */
.hero { background: var(--white); border-bottom: 1px solid var(--line); padding: 88px 0 96px; }
.hero-text { max-width: 760px; }
.hero h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); margin: 18px 0 22px; max-width: 15ch; }
.hero .lede { max-width: 56ch; }

/* Stats */
.stats { background: var(--ink); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 34px 24px; border-left: 1px solid rgba(255,255,255,.12); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong { display: block; font-size: 2.1rem; letter-spacing: -0.02em; line-height: 1.1; }
.stat span { font-family: var(--mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.6); }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--paper-2); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.section-head .label { border: 0; margin: 0; }
.section-head p { margin: 0 0 .6rem; font-size: .95rem; }
.two-col { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; }
.big { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.2; letter-spacing: -0.02em; font-weight: 600; max-width: 18ch; }
.prose p { color: var(--ink-2); max-width: 62ch; }
.prose .label:not(:first-child) { margin-top: 2.5rem; }

/* Brand cards */
.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.brand-grid-2 { grid-template-columns: repeat(2, 1fr); }
.brand-card {
  display: flex; flex-direction: column; padding: 24px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.brand-card:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(20,25,30,.06); }
.brand-card-top { color: var(--muted); padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.brand-card-logo { display: flex; align-items: center; justify-content: center; margin: 20px 0 24px; }
.brand-card-logo img { width: 70%; max-width: 220px; aspect-ratio: 1 / 1; object-fit: contain; }
.brand-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.brand-card p { color: var(--ink-2); font-size: 0.95rem; flex: 1; }

/* CTA */
.cta-band { background: var(--accent); color: #fff; padding: 56px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: 1.7rem; margin-bottom: 6px; }
.cta-band p { margin: 0; opacity: .85; }

/* Page heads */
.page-head, .brand-hero { background: var(--white); border-bottom: 1px solid var(--line); padding: 64px 0 72px; }
.page-head h1, .brand-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin: 14px 0 18px; }
.page-head .lede { max-width: 60ch; }
.crumbs { color: var(--muted); margin-bottom: 36px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.brand-hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.brand-hero-logo {
  border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 1 / 1; width: 100%; max-width: 400px; justify-self: end;
  display: flex; align-items: center; justify-content: center; padding: 28px; background: var(--paper);
}
.brand-hero-logo img { width: 100%; height: 100%; object-fit: contain; }

/* Brand body */
.brand-body { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: start; }
.brand-side { display: grid; gap: 20px; position: sticky; top: 100px; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.tag-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li { border: 1px solid var(--line); background: var(--white); padding: 6px 12px; border-radius: 999px; font-size: .9rem; }
.outlets { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.outlets a {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center;
  padding: 10px 14px 10px 10px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none;
  transition: border-color .15s, background .15s;
}
.outlets a:hover { border-color: var(--ink); background: var(--paper); }
.outlet-icon { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius); background: var(--paper); }
.outlet-icon img { width: 54px; height: 54px; object-fit: contain; }
.outlet-icon svg { width: 34px; height: 34px; color: var(--accent); }
.outlet-text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.outlet-text .mono { color: var(--muted); font-size: .7rem; text-transform: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.outlet-arrow { color: var(--muted); }
.spec { display: grid; grid-template-columns: auto 1fr; gap: 0; margin: 0; }
.spec dt, .spec dd { padding: 10px 0; border-top: 1px solid var(--line); margin: 0; }
.spec dt { font-family: var(--mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding-right: 20px; padding-top: 13px; }
.spec dd { word-break: break-word; }
.spec dd.mono { font-size: .9rem; text-transform: none; padding-top: 12px; }
.spec a { color: var(--accent-ink); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.panel-feature { grid-column: 1 / -1; background: var(--ink); color: #fff; border-color: var(--ink); padding: 36px; }
.panel-feature .label { color: rgba(255,255,255,.6); border-color: rgba(255,255,255,.15); }
.panel-feature .muted { color: rgba(255,255,255,.6); margin: 10px 0 0; }
.email-big { font-size: clamp(1.4rem, 3.4vw, 2.3rem); font-weight: 600; letter-spacing: -0.02em; text-decoration: none; word-break: break-word; }
.email-big:hover { color: #8fd9b6; }
address { font-style: normal; line-height: 1.7; color: var(--ink-2); }
.brand-contacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.brand-contact { display: flex; flex-direction: column; gap: 4px; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.brand-contact h3 { font-size: 1.2rem; margin: 6px 0 8px; }
.brand-contact h3 a { text-decoration: none; }
.brand-contact h3 a:hover { color: var(--accent); }
.brand-contact > a:not(.muted) { color: var(--accent-ink); }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 64px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-logo { height: 36px; width: auto; margin-bottom: 16px; background: #fff; padding: 6px 10px; border-radius: var(--radius); box-sizing: content-box; }
.site-footer .label { color: rgba(255,255,255,.5); border-color: rgba(255,255,255,.12); }
.site-footer .muted { color: rgba(255,255,255,.55); max-width: 40ch; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 28px; padding: 20px 24px 28px; border-top: 1px solid rgba(255,255,255,.12); font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; color: rgba(255,255,255,.45); }

/* Responsive */
@media (max-width: 900px) {
  .hero { padding: 56px 0 64px; }
  .two-col, .brand-hero-grid, .brand-body { grid-template-columns: 1fr; gap: 40px; }
  .brand-grid, .brand-contacts, .contact-grid { grid-template-columns: 1fr 1fr; }
  .brand-side { position: static; }
  .brand-hero-logo { justify-self: start; max-width: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .section { padding: 64px 0; }
}
@media (max-width: 760px) {
  .nav-button { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; cursor: pointer; }
  .nav-button span, .nav-button span::before, .nav-button span::after { display: block; width: 22px; height: 2px; background: var(--ink); position: relative; content: ""; }
  .nav-button span::before { position: absolute; top: -7px; }
  .nav-button span::after { position: absolute; top: 7px; }
  .site-nav {
    display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--white); border-bottom: 1px solid var(--line); padding: 12px 24px 20px; gap: 0;
  }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .site-nav > a, .nav-group > a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav .nav-cta { margin: 16px 0 0; text-align: center; padding: 14px; }
  .nav-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 4px 0 8px 12px; min-width: 0; }
  .site-nav a[aria-current="page"] { box-shadow: none; color: var(--accent); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand-grid, .brand-grid-2, .brand-contacts, .contact-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: start; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-left: 0; padding: 22px 0; }
  .stat + .stat { border-top: 1px solid rgba(255,255,255,.12); }
}
