/* Jay-Hawk Communications — site styles
   Same family as jayhawk.com.au: dark, Barlow Condensed headings, Jay-Hawk orange. */
:root {
  --accent: #F7A81C;
  --accent-bright: #ffc457;
  --bg: #0b0b0b;
  --bg-2: #111;
  --bg-card: #171717;
  --bg-card-2: #1d1d1d;
  --line: #2a2a2a;
  --line-2: #383838;
  --text: #e6e6e6;
  --text-dim: #9a9a9a;
  --text-bright: #fff;
  --steel: #c9ced1;
  --maxw: 1200px;
  --font-head: "Barlow Condensed", "Barlow", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 4px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-bright); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--text-bright); font-weight: 800; line-height: 1.05; margin: 0 0 .8rem; text-transform: uppercase; letter-spacing: .005em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1rem; }
.accent { color: var(--accent); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--accent); color: #000; padding: .5rem 1rem; z-index: 100; }
.lede { font-size: 1.15rem; color: var(--text); max-width: 60ch; }
.dim { color: var(--text-dim); }
section { padding: 4.5rem 0; }
section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.tight { padding: 2.5rem 0; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.sec-head p { margin: 0; color: var(--text-dim); max-width: 52ch; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; letter-spacing: .05em; text-transform: uppercase; padding: .8rem 1.4rem; border-radius: var(--radius); border: 2px solid transparent; cursor: pointer; line-height: 1.1; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--accent); color: #111; }
.btn-primary:hover { background: var(--accent-bright); color: #111; }
.btn-ghost { border-color: var(--line-2); color: var(--text-bright); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: .55rem .95rem; font-size: .92rem; }
.btn svg { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Header */
header.site { position: sticky; top: 0; z-index: 50; background: rgba(11,11,11,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .8rem; padding-bottom: .8rem; }
header.site .logo { width: 190px; height: auto; }
header.site nav { display: flex; gap: 1.6rem; align-items: center; }
header.site nav a { color: var(--text); font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; letter-spacing: .05em; text-transform: uppercase; }
header.site nav a:hover, header.site nav a[aria-current="page"] { color: var(--accent); }
.hdr-actions { display: flex; align-items: center; gap: .6rem; }
.quote-pill { position: relative; }
.quote-count { display: inline-grid; place-items: center; min-width: 1.45rem; height: 1.45rem; padding: 0 .35rem; border-radius: 99px; background: #111; color: var(--accent); font-size: .85rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-2); border-radius: var(--radius); padding: .45rem; color: var(--text); cursor: pointer; }
.nav-toggle svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 2; fill: none; display: block; }
@media (max-width: 900px) {
  header.site nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #0b0b0b; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1rem; }
  header.site nav.open { display: flex; }
  header.site nav a { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
  header.site .logo { width: 150px; }
  .quote-pill .ql-text { display: none; }
}

/* Hero */
.hero { position: relative; min-height: min(88vh, 760px); display: flex; align-items: flex-end; overflow: hidden; padding: 0; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; background: #0b0b0b url(site/hero-poster.jpg) center/cover no-repeat; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,11,11,.25) 0%, rgba(11,11,11,.35) 40%, rgba(11,11,11,.92) 85%, #0b0b0b 100%), linear-gradient(90deg, rgba(11,11,11,.75) 0%, rgba(11,11,11,0) 65%); }
.hero .wrap { width: 100%; padding-top: 7rem; padding-bottom: 3.5rem; }
.hero h1 { max-width: 13ch; margin-bottom: 1.1rem; }
.hero .lede { font-size: 1.22rem; color: #f0f0f0; max-width: 54ch; }
.hero-tag { display: inline-block; font-family: var(--font-head); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .85rem; color: #111; background: var(--accent); padding: .3rem .7rem; border-radius: 3px; margin-bottom: 1.2rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; list-style: none; padding: 0; margin: 1.8rem 0 0; color: #ddd; font-size: .98rem; }
.hero-facts li { display: flex; align-items: center; gap: .5rem; }
.hero-facts svg { width: 18px; height: 18px; stroke: var(--accent); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.cat-tile { display: grid; grid-template-columns: 80px minmax(0,1fr); gap: 1rem; align-items: center; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem; color: var(--text); transition: border-color .15s; }
.cat-tile:hover { border-color: var(--accent); color: var(--text); }
.cat-tile img { width: 80px; height: 80px; border-radius: 3px; background: #fff; object-fit: contain; }
.cat-tile h3 { margin: 0 0 .2rem; font-size: 1.02rem; }
.cat-tile.more { border-style: dashed; }
.cat-tile.more .plus { width: 80px; height: 80px; display: grid; place-items: center; border-radius: 3px; background: #222; color: var(--accent); font-family: var(--font-head); font-size: 3rem; font-weight: 800; }
.cat-tile p { margin: 0; font-size: .92rem; color: var(--text-dim); line-height: 1.4; }

/* Difference */
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.diff { border-top: 3px solid var(--accent); padding-top: 1.1rem; }
.diff h3 { font-size: 1.5rem; }
.diff p { color: #cfcfcf; margin: 0; }
@media (max-width: 800px) { .diff-grid { grid-template-columns: 1fr; } }

/* Field photos */
.field-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; height: 480px; }
.field-grid figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: #222; }
.field-grid img { width: 100%; height: 100%; object-fit: cover; }
.field-grid figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem .9rem .7rem; background: linear-gradient(transparent, rgba(0,0,0,.85)); font-size: .93rem; color: #eee; }
@media (max-width: 800px) { .field-grid { grid-template-columns: 1fr 1fr; height: auto; } .field-grid figure { aspect-ratio: 3/4; } }

/* Steps (a real sequence) */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: s; }
.steps li { counter-increment: s; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.steps li::before { content: counter(s); display: block; font-family: var(--font-head); font-weight: 900; font-size: 2.6rem; line-height: 1; color: var(--accent); margin-bottom: .6rem; }
.steps h3 { margin-bottom: .4rem; }
.steps p { margin: 0; color: #cfcfcf; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; background: var(--bg-card); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 1.8rem 2rem; }
.cta-band h2 { margin: 0 0 .3rem; font-size: 2rem; }
.cta-band p { margin: 0; color: var(--text-dim); }

/* Page hero */
.page-hero { padding: 3.2rem 0 2.2rem; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 85% 0%, rgba(247,168,28,.09), transparent 60%), var(--bg); }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.crumbs { font-size: .9rem; color: var(--text-dim); margin-bottom: 1rem; }
.crumbs a { color: var(--text-dim); }
.crumbs .sep { margin: 0 .45rem; }

/* Catalogue */
.cat-nav { position: sticky; top: 66px; z-index: 20; background: rgba(11,11,11,.96); border-bottom: 1px solid var(--line); }
.cat-nav .wrap { display: flex; gap: .8rem; align-items: center; padding-top: .7rem; padding-bottom: .7rem; }
.chips { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; font-size: .95rem; color: var(--text); border: 1px solid var(--line-2); border-radius: 99px; padding: .35rem .9rem; white-space: nowrap; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.search { flex: 0 0 220px; background: var(--bg-card); border: 1px solid var(--line-2); border-radius: 99px; color: var(--text); padding: .4rem .9rem; font: inherit; font-size: .95rem; }
.cat-section { padding: 3rem 0 1rem; scroll-margin-top: 130px; }
.cat-section > .wrap > h2 { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .8rem; row-gap: .1rem; }
.cat-section > .wrap > h2 small { font-family: var(--font-body); font-size: .95rem; text-transform: none; font-weight: 500; color: var(--text-dim); letter-spacing: 0; }
.cat-intro { color: var(--text-dim); margin: -.3rem 0 1.5rem; max-width: 70ch; }
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.1rem; }
.prod { display: flex; flex-direction: column; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.prod .photo { background: #fff; aspect-ratio: 1; position: relative; }
.prod .photo img { width: 100%; height: 100%; object-fit: contain; }
.prod .flag { position: absolute; top: .6rem; left: .6rem; background: #111; color: var(--accent); font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; padding: .22rem .55rem; border-radius: 3px; }
.prod .body { padding: 1rem 1rem 1.1rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.prod h3 { margin: 0; font-size: 1.32rem; }
.prod .desc { margin: 0; font-size: .95rem; color: #c8c8c8; line-height: 1.45; }
.opts { display: grid; gap: .55rem; margin-top: auto; }
.opt label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-dim); margin-bottom: .2rem; }
.opt select, .qty input, .field input, .field select, .field textarea { width: 100%; background: #0f0f0f; color: var(--text); border: 1px solid var(--line-2); border-radius: var(--radius); padding: .55rem .65rem; font: inherit; font-size: .97rem; }
.opt select:focus, .qty input:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: none; }
.add-row { display: grid; grid-template-columns: 84px 1fr; gap: .55rem; align-items: end; }
.qty label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-dim); margin-bottom: .2rem; }
.add-btn { white-space: nowrap; font-size: .95rem; padding: .7rem .6rem; }
.add-btn.added { background: #2f8a3e; color: #fff; }
.no-results { display: none; padding: 2rem 0; color: var(--text-dim); }

/* Quote page */
.quote-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2rem; align-items: start; }
@media (max-width: 900px) { .quote-grid { grid-template-columns: 1fr; } }
.panel { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.panel h2 { font-size: 1.7rem; }
.q-list { list-style: none; margin: 0; padding: 0; }
.q-item { display: grid; grid-template-columns: 64px 1fr 72px auto; gap: .8rem; align-items: center; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.q-item img { width: 64px; height: 64px; background: #fff; border-radius: 3px; object-fit: contain; }
.q-item b { display: block; color: var(--text-bright); font-weight: 600; line-height: 1.3; }
.q-item span { font-size: .88rem; color: var(--text-dim); }
.q-item input { width: 100%; background: #0f0f0f; color: var(--text); border: 1px solid var(--line-2); border-radius: var(--radius); padding: .45rem; text-align: center; font: inherit; }
.q-remove { background: none; border: 0; color: #e07a7a; cursor: pointer; font: inherit; font-size: .9rem; text-decoration: underline; padding: .3rem; }
.q-empty { color: var(--text-dim); padding: .5rem 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .25rem; color: var(--text-bright); }
.field .hint { font-size: .85rem; color: var(--text-dim); margin-top: .2rem; }
.field textarea { min-height: 110px; resize: vertical; }
.speed { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
.speed label { display: flex; gap: .55rem; align-items: flex-start; border: 1px solid var(--line-2); border-radius: var(--radius); padding: .65rem .7rem; cursor: pointer; font-weight: 500; color: var(--text); font-size: .95rem; line-height: 1.3; }
.speed label small { display: block; color: var(--text-dim); font-size: .82rem; }
.speed input { accent-color: var(--accent); margin-top: .2rem; }
.speed label:has(input:checked) { border-color: var(--accent); background: rgba(247,168,28,.07); }
@media (max-width: 560px) { .speed { grid-template-columns: 1fr; } }

/* Info cards */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.info { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; }
.info h3 { color: var(--accent); }
.info p { margin: 0; color: #cfcfcf; }
.list-check { list-style: none; padding: 0; margin: 0 0 1rem; }
.list-check li { padding-left: 1.6rem; position: relative; margin-bottom: .45rem; }
.list-check li::before { content: ""; position: absolute; left: 0; top: .5em; width: .75rem; height: .4rem; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.zh { font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", var(--font-body); }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 1.25rem; transform: translate(-50%, 1rem); opacity: 0; pointer-events: none; background: #f2f2f2; color: #111; padding: .7rem 1rem; border-radius: var(--radius); font-weight: 600; box-shadow: 0 8px 30px rgba(0,0,0,.5); transition: opacity .2s, transform .2s; z-index: 80; display: flex; gap: 1rem; align-items: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { color: #8a5500; text-decoration: underline; }

/* Footer */
footer { border-top: 1px solid var(--line); background: #080808; padding: 3.2rem 0 1.5rem; margin-top: 2rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
footer .foot-logo { width: 230px; margin-bottom: 1rem; }
footer h4 { font-size: 1.05rem; color: var(--text-bright); margin-bottom: .6rem; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: .35rem; }
footer a { color: var(--text); }
footer a:hover { color: var(--accent); }
footer p { color: var(--text-dim); }
.legal { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1.2rem; color: var(--text-dim); font-size: .85rem; }
.legal a { color: var(--text-dim); }

@media (max-width: 640px) { .cat-nav .wrap { flex-wrap: wrap; gap: .5rem; } .chips, .search { flex: 1 1 100%; } .cat-section { scroll-margin-top: 170px; } }
.speed input { width: auto; flex: none; }
.info p, footer p { overflow-wrap: break-word; }
.contact-grid { grid-template-columns: repeat(2, 1fr); max-width: 900px; }
@media (max-width: 640px) { .contact-grid { grid-template-columns: 1fr; } }
.speed label.wide { grid-column: 1 / -1; }
.speed label.off { opacity: .45; cursor: not-allowed; }
.info.now { border-left: 4px solid var(--accent); }
