/* ============================================================
   AUTUMN HVAC ENGINEERS — v5 (simple · white · corporate)
   Flat colour only — no gradients.
   ============================================================ */

:root {
  --navy:      #0B2545;
  --blue:      #0179B8;
  --blue-dark: #015F91;
  --blue-soft: #EAF4FA;
  --green:     #6FB22C;
  --ink:       #1B2533;
  --muted:     #5E6A7A;
  --line:      #E3E8EE;
  --tint:      #F7F9FB;

  --head: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --body: 'Inter', 'Segoe UI', Arial, sans-serif;

  --max: 1200px;
  --pad: clamp(16px, 4vw, 40px);
  --r:   8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--body); font-size: 16px; color: var(--ink); background: #fff; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
h1, h2, h3, h4, h5 { font-family: var(--head); color: var(--navy); line-height: 1.2; font-weight: 700; }
strong { font-weight: 600; color: var(--navy); }
[hidden] { display: none !important; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.muted { color: var(--muted); font-size: 14px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 200; border-radius: var(--r); }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.page-title:focus { outline: none; }

/* ============ Buttons ============ */
.btn { display: inline-flex; align-items: center; justify-content: center; font-family: var(--head); font-weight: 600; font-size: 14px; padding: 13px 24px; border-radius: var(--r); border: 1.5px solid transparent; transition: background-color .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-outline:hover { border-color: var(--navy); }
.btn-full { width: 100%; }
.link-arrow { font-family: var(--head); font-weight: 600; font-size: 14px; color: var(--blue); white-space: nowrap; }
.link-arrow:hover { color: var(--navy); }

.eyebrow { display: block; font-family: var(--head); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }

/* ============ Sections ============ */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-top { padding-top: clamp(32px, 4vw, 48px); }
.section-tint { background: var(--tint); }
.section-title { font-size: clamp(24px, 2.8vw, 34px); letter-spacing: -.01em; margin-bottom: 32px; }
.head-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.head-row .section-title { margin-bottom: 0; }

/* ============ Top bar ============ */
.topbar { background: var(--navy); color: #C9D5E3; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar-left { display: flex; gap: 24px; }
.tb-item { display: inline-flex; align-items: center; gap: 8px; }
.tb-item svg { width: 14px; height: 14px; flex-shrink: 0; }
a.tb-item:hover { color: #fff; }
.tb-socials { display: flex; gap: 4px; }
.tb-socials a { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 4px; }
.tb-socials a:hover { color: #fff; }
.tb-socials svg { width: 14px; height: 14px; }

/* ============ Nav ============ */
.nav { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 20px; }
.nav-logo img { height: 50px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a:not(.btn) { font-family: var(--head); font-size: 14px; font-weight: 600; color: var(--navy); padding: 8px 12px; border-radius: 6px; transition: color .2s, background-color .2s; }
.nav-links a:not(.btn):hover { color: var(--blue); }
.nav-links a.active { color: var(--blue); background: var(--blue-soft); }
.nav-cta { margin-left: 12px; padding: 11px 18px; }
.nav-toggle { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 5px; padding: 0 10px; }
.nav-toggle span { height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Page transition: quiet fade ============ */
#app { transition: opacity .18s ease; }
#app.leaving { opacity: 0; }
.view.is-active { animation: viewIn .35s ease both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(8px); } }

/* ============ Page header (white) ============ */
.page-head { padding-top: clamp(40px, 6vw, 72px); padding-bottom: 8px; }
.page-title { font-size: clamp(30px, 4.2vw, 48px); letter-spacing: -.02em; max-width: 760px; }

/* ============ Hero slider ============ */
.hero { position: relative; overflow: hidden; background: var(--tint); }
.slides { position: relative; height: clamp(480px, 68vh, 640px); }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide-media { position: absolute; inset: 0; }
.slide-media img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.slide-content { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.slide-content > * { max-width: 500px; }
.slide-title { font-size: clamp(32px, 4.2vw, 52px); letter-spacing: -.02em; line-height: 1.1; }
.slide-sub { margin-top: 16px; font-size: 18px; color: #3C4858; max-width: 420px; }
.slide-ctas { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.slide .slide-content > * { opacity: 0; transform: translateY(12px); transition: opacity .6s, transform .6s; }
.slide.is-active .slide-content > * { opacity: 1; transform: none; }
.slide.is-active .slide-content > *:nth-child(2) { transition-delay: .08s; }
.slide.is-active .slide-content > *:nth-child(3) { transition-delay: .16s; }
.slide.is-active .slide-content > *:nth-child(4) { transition-delay: .24s; }
.slider-controls { position: absolute; left: 0; right: 0; bottom: 28px; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
.slider-controls > * { pointer-events: auto; }
.slider-dots { display: flex; gap: 8px; }
.dot { width: 32px; height: 3px; background: rgba(11,37,69,.2); border-radius: 2px; position: relative; overflow: hidden; }
.dot::after { content: ""; position: absolute; inset: 0; background: var(--blue); transform: scaleX(0); transform-origin: left; }
.dot.is-active::after { animation: dotFill var(--slide-ms, 6500ms) linear forwards; }
.hero.paused .dot.is-active::after { animation-play-state: paused; }
@keyframes dotFill { to { transform: scaleX(1); } }
.slider-arrows { display: flex; gap: 8px; }
.arrow { width: 42px; height: 42px; display: grid; place-items: center; background: #fff; color: var(--navy); border-radius: 50%; border: 1px solid var(--line); transition: border-color .2s; }
.arrow:hover { border-color: var(--navy); }
.arrow svg { width: 18px; height: 18px; }

/* Facts strip (white) */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.fact { padding: 28px 0; display: flex; flex-direction: column; gap: 2px; }
.fact + .fact { padding-left: 32px; border-left: 1px solid var(--line); }
.fact strong { font-family: var(--head); font-size: 22px; font-weight: 700; color: var(--navy); }
.fact span { font-size: 14px; color: var(--muted); }

/* ============ Client logo rails ============ */
.rails { display: flex; flex-direction: column; gap: 14px; }
.rail { overflow: hidden; }
.rail-track { display: flex; gap: 14px; width: max-content; animation: marquee var(--rail-s, 60s) linear infinite; }
.rail-rev .rail-track { animation-direction: reverse; }
.rails:hover .rail-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-tile { flex: 0 0 auto; width: 176px; height: 96px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); display: grid; place-items: center; padding: 16px 20px; transition: border-color .2s; }
.logo-tile img { max-width: 100%; max-height: 58px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .25s, opacity .25s; }
.logo-tile:hover { border-color: #C9D3DE; }
.logo-tile:hover img { filter: none; opacity: 1; }
.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.logo-wall .logo-tile { width: auto; }

/* ============ Home: teasers + CTA ============ */
.teasers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.teaser { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .2s, transform .2s; }
.teaser:hover { border-color: #C9D3DE; transform: translateY(-2px); }
.teaser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.teaser div { padding: 20px 22px 24px; }
.teaser h3 { font-size: 18px; margin-bottom: 6px; }
.teaser p { font-size: 15px; color: var(--muted); }
.cta { border-top: 1px solid var(--line); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 48px; padding-bottom: 48px; flex-wrap: wrap; }
.cta-inner h2 { font-size: clamp(22px, 2.4vw, 28px); }

/* ============ About ============ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.about-media img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; border-radius: var(--r); }
.about-text p { color: var(--muted); margin-bottom: 16px; }
.lead-p { font-size: 18px; color: var(--ink) !important; }
.ticks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin-top: 20px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--navy); font-size: 15px; }
.ticks li::before { content: ""; flex: 0 0 8px; height: 8px; margin-top: 8px; border-radius: 50%; background: var(--green); }

.journey { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 2px solid var(--line); }
.journey li { position: relative; padding: 24px 16px 0 0; }
.journey li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); }
.journey li.is-now::before { background: var(--blue); }
.j-year { display: block; font-family: var(--head); font-weight: 700; font-size: 18px; color: var(--navy); margin-bottom: 4px; }
.journey li.is-now .j-year { color: var(--blue); }
.journey p { font-size: 14px; color: var(--muted); }

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mv-card { padding: 32px; border: 1px solid var(--line); border-radius: var(--r); }
.mv-tag { display: block; font-family: var(--head); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.mv-card p { font-size: 18px; color: var(--navy); font-weight: 500; line-height: 1.5; }
.strength { margin-top: clamp(56px, 7vw, 88px); }
.org { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.org-col { border-top: 2px solid var(--navy); padding-top: 18px; }
.org-col h4 { font-size: 17px; margin-bottom: 6px; }
.org-col p { color: var(--muted); font-size: 15px; }

/* ============ Solutions ============ */
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sol-card { border: 1px solid var(--line); border-radius: var(--r); padding: 28px; transition: border-color .2s; }
.sol-card:hover { border-color: #C9D3DE; }
.sol-icon { width: 48px; height: 48px; color: var(--blue); margin-bottom: 18px; }
.sol-icon svg { width: 40px; height: 40px; }
.sol-card h3 { font-size: 18px; margin-bottom: 6px; }
.sol-card p { color: var(--muted); font-size: 15px; }
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.service h4 { font-size: 16px; margin-bottom: 6px; }
.service p { font-size: 14px; color: var(--muted); }
.brand-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.brand-tile { height: 120px; border: 1px solid var(--line); border-radius: var(--r); display: flex; align-items: center; justify-content: center; gap: 14px; padding: 22px 26px; }
.brand-tile img { max-height: 46px; max-width: 100%; width: auto; object-fit: contain; }
.brand-duo img { max-width: 46%; max-height: 38px; }
.brand-name { font-family: var(--head); font-weight: 700; font-size: 20px; color: var(--navy); text-align: center; }

/* ============ Projects ============ */
.sig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sig-card { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.sig-img { aspect-ratio: 4 / 3; overflow: hidden; }
.sig-img img { width: 100%; height: 100%; object-fit: cover; }
.sig-body { padding: 18px 22px 22px; }
.sig-tag { display: block; font-family: var(--head); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }
.sig-card h3 { font-size: 18px; }
.sig-intl { padding: 28px; justify-content: flex-end; background: var(--blue-soft); border-color: var(--blue-soft); }
.sig-art { color: var(--blue); margin-bottom: auto; padding-bottom: 24px; }
.sig-art svg { width: 100%; max-width: 240px; }
.sig-intl h3 { margin-bottom: 6px; }
.sig-intl p { color: var(--muted); font-size: 15px; }
.proj-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.proj-tab { font-family: var(--head); font-weight: 600; font-size: 14px; color: var(--muted); padding: 9px 16px; border-radius: 40px; border: 1px solid var(--line); background: #fff; transition: color .2s, border-color .2s, background-color .2s; }
.proj-tab:hover { color: var(--navy); border-color: #C9D3DE; }
.proj-tab.active { color: #fff; background: var(--navy); border-color: var(--navy); }
.proj-panel.hidden { display: none; }
.proj-panel { animation: viewIn .3s ease; }
.proj-list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; }
.proj-list li { padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 500; color: var(--navy); font-size: 15px; }

/* ============ Why Us + stories ============ */
.usp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 32px; }
.usp { border-top: 2px solid var(--navy); padding-top: 18px; }
.usp h3 { font-size: 18px; margin-bottom: 6px; }
.usp p { color: var(--muted); font-size: 15px; }
.story-switch { display: flex; gap: 8px; flex-wrap: wrap; }
.ss-btn { font-family: var(--head); font-weight: 600; font-size: 14px; color: var(--muted); padding: 9px 16px; border-radius: 40px; border: 1px solid var(--line); background: #fff; transition: all .2s; }
.ss-btn:hover { color: var(--navy); }
.ss-btn.is-on { color: #fff; background: var(--navy); border-color: var(--navy); }
.story { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(16px, 2vw, 24px); }
.story.is-on { animation: viewIn .35s ease both; }
.story-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.story-body { padding-right: clamp(0px, 2vw, 24px); }
.story-title { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 18px; }
.story-line { color: var(--muted); margin-bottom: 12px; }
.story-line strong { color: var(--navy); }

/* ============ Careers / Contact ============ */
.careers-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.careers-cta { margin-top: 24px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.roles { display: grid; gap: 12px; }
.role { border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; }
.role h4 { font-size: 16px; margin-bottom: 2px; }
.role p { font-size: 15px; color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.office { padding: 18px 0; border-bottom: 1px solid var(--line); }
.office:first-child { padding-top: 0; }
.office h4 { font-size: 15px; margin-bottom: 4px; }
.office p { color: var(--muted); font-size: 15px; }
.office a:hover { color: var(--blue); }
.contact-form { border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 3.5vw, 36px); display: flex; flex-direction: column; gap: 16px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; }
.contact-form label span { font-size: 13px; font-weight: 600; color: var(--navy); }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; font-size: 15px; color: var(--ink); padding: 11px 13px; border: 1px solid var(--line); border-radius: 6px; background: #fff; width: 100%; transition: border-color .2s; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--blue); outline: none; }
.contact-form textarea { resize: vertical; }
.form-success { display: none; padding: 12px 14px; border-radius: 6px; background: #EEF7E6; color: #3D6B12; font-weight: 500; font-size: 14px; }
.form-success.show { display: block; }

/* ============ Footer ============ */
.footer { background: var(--navy); color: #B7C4D4; font-size: 14px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; padding-top: 56px; padding-bottom: 40px; }
.foot-brand img { height: 44px; width: auto; background: #fff; padding: 8px 12px; border-radius: 6px; box-sizing: content-box; margin-bottom: 14px; }
.foot-col { display: flex; flex-direction: column; gap: 8px; }
.foot-col h5 { color: #fff; font-size: 14px; margin-bottom: 4px; }
.foot-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom .container { padding-top: 16px; padding-bottom: 16px; font-size: 13px; }

/* ============ Reveal ============ */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  .nav-toggle { display: flex; }
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--pad) 20px; display: none; }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav-links a.active { background: none; }
  .nav-cta { margin: 16px 0 0; }
  .about-grid, .careers-grid, .contact-grid, .story { grid-template-columns: 1fr; }
  .sol-grid, .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
  .sig-grid { grid-template-columns: 1fr 1fr; }
  .sig-intl { grid-column: span 2; }
  .proj-list { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .story-body { padding: 0 8px 12px; }
}
@media (max-width: 720px) {
  .tb-hide-sm { display: none; }
  .nav-inner { height: 68px; }
  .nav-logo img { height: 42px; }
  .slides { height: auto; display: grid; }
  .slide { position: relative; grid-area: 1 / 1; inset: auto; }
  .slide-media { position: relative; aspect-ratio: 16 / 9; }
  .slide-media img { object-position: 72% center; }
  .slide-content { height: auto; padding-top: 24px; padding-bottom: 84px; background: #fff; }
  .slide-sub { font-size: 16px; }
  .slider-controls { bottom: 22px; }
  .hero { background: #fff; }
  .facts { grid-template-columns: 1fr; }
  .fact { padding: 18px 0; }
  .fact + .fact { padding-left: 0; border-left: none; border-top: 1px solid var(--line); }
  .logo-tile { width: 144px; height: 84px; padding: 12px 14px; }
  .logo-tile img { max-height: 48px; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .teasers, .mv-grid, .sol-grid, .services, .org, .usp-grid, .sig-grid, .proj-list, .row-2, .ticks { grid-template-columns: 1fr; }
  .sig-intl { grid-column: auto; }
  .brand-grid { grid-template-columns: 1fr 1fr; }
  .journey { grid-template-columns: 1fr; border-top: none; border-left: 2px solid var(--line); margin-left: 6px; }
  .journey li { padding: 0 0 22px 22px; }
  .journey li::before { top: 4px; left: -7px; }
  .proj-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .proj-tab { white-space: nowrap; }
  .footer-inner { grid-template-columns: 1fr; }
  .cta-inner .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .rail-track { animation: none !important; }
  .rail { overflow-x: auto; }
}

#storiesSection { scroll-margin-top: 78px; }

/* ============ Header search button ============ */
.search-btn { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--navy); margin-left: 8px; transition: border-color .2s, color .2s; flex-shrink: 0; }
.search-btn:hover { border-color: var(--navy); color: var(--blue); }
.search-btn svg { width: 18px; height: 18px; }
@media (max-width: 1080px) { .search-btn { margin-left: auto; } .nav-inner { gap: 10px; } }

/* ============ Products ============ */
.prod-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-family: var(--head); font-weight: 600; font-size: 13px; color: var(--muted); padding: 8px 15px; border-radius: 40px; border: 1px solid var(--line); background: #fff; transition: color .2s, border-color .2s, background-color .2s; }
.chip:hover { color: var(--navy); border-color: #C9D3DE; }
.chip.is-on { color: #fff; background: var(--navy); border-color: var(--navy); }
.chips-type .chip { font-size: 12.5px; padding: 6px 13px; }
.chips-type .chip.is-on { background: var(--blue-soft); color: var(--blue); border-color: var(--blue-soft); }
.prod-search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 40px; padding: 0 14px; min-width: 260px; background: #fff; transition: border-color .2s; }
.prod-search:focus-within { border-color: var(--blue); }
.prod-search svg { width: 16px; height: 16px; color: var(--muted); flex-shrink: 0; }
.prod-search input { border: none; outline: none; font: inherit; font-size: 14px; padding: 10px 0; width: 100%; background: none; color: var(--ink); }
.prod-count { font-size: 14px; color: var(--muted); margin: 22px 0 16px; }
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.prod-card { text-align: left; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: border-color .2s, transform .2s; animation: viewIn .3s ease both; }
.prod-card:hover { border-color: #C9D3DE; transform: translateY(-2px); }
.prod-card img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 14px; border-bottom: 1px solid var(--line); }
.prod-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.prod-brand { font-family: var(--head); font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.prod-name { font-family: var(--head); font-weight: 700; color: var(--navy); font-size: 16px; line-height: 1.25; }
.prod-card p, .prod-card-body > span:nth-child(3) { font-size: 14px; color: var(--muted); }
.prod-more { margin-top: auto; padding-top: 10px; font-family: var(--head); font-size: 13px; font-weight: 600; color: var(--blue); }
.prod-empty { color: var(--muted); padding: 40px 0; text-align: center; }
.brand-link { transition: border-color .2s; }
.brand-link:hover { border-color: var(--blue); }

/* ============ Dialogs ============ */
.modal { border: none; border-radius: 12px; padding: 0; max-width: min(920px, calc(100vw - 32px)); width: 100%; color: var(--ink); box-shadow: 0 24px 64px rgba(11,37,69,.22); }
.modal::backdrop { background: rgba(11,37,69,.45); }
.modal[open] { animation: modalIn .22s ease both; }
@keyframes modalIn { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.modal-close { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; font-size: 24px; line-height: 1; color: var(--navy); background: #fff; border: 1px solid var(--line); z-index: 2; }
.modal-close:hover { border-color: var(--navy); }
.pm-grid { display: grid; grid-template-columns: 1fr 1.15fr; }
.pm-img { background: #fff; border-right: 1px solid var(--line); display: grid; place-items: center; padding: 24px; }
.pm-img img { width: 100%; max-width: 380px; aspect-ratio: 1; object-fit: contain; }
.pm-body { padding: 36px 36px 32px; }
.pm-body h2 { font-size: 26px; margin-bottom: 20px; padding-right: 30px; }
.pm-body h4 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.ticks-1 { grid-template-columns: 1fr !important; margin: 0 0 26px; gap: 8px; }
.ticks-1 li { font-weight: 400; color: var(--ink); }

.search-modal { max-width: min(640px, calc(100vw - 32px)); margin-top: 12vh; }
.sm-bar { display: flex; align-items: center; gap: 12px; padding: 6px 16px; border-bottom: 1px solid var(--line); }
.sm-bar svg { width: 20px; height: 20px; color: var(--muted); flex-shrink: 0; }
.sm-bar input { flex: 1; border: none; outline: none; font: inherit; font-size: 17px; padding: 14px 0; color: var(--ink); background: none; }
.sm-esc { font-size: 12px; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 5px; padding: 4px 8px; }
.sm-results { list-style: none; max-height: min(60vh, 460px); overflow-y: auto; padding: 8px; }
.sm-results:empty { display: none; }
.sm-item { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 8px; cursor: pointer; }
.sm-item[aria-selected="true"], .sm-item:hover { background: var(--blue-soft); }
.sm-thumb { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 6px; background: #fff; object-fit: contain; flex-shrink: 0; display: grid; place-items: center; font-family: var(--head); font-weight: 700; color: var(--blue); font-size: 13px; }
.sm-text { display: flex; flex-direction: column; min-width: 0; }
.sm-title { font-weight: 600; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sm-title mark { background: none; color: var(--blue); }
.sm-sub { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sm-type { margin-left: auto; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); flex-shrink: 0; }
.sm-hint { padding: 16px 20px 20px; font-size: 14px; color: var(--muted); }

/* ============ Stadium card ============ */
.sig-stadium { grid-column: span 3; display: grid; grid-template-columns: 1.6fr 1fr; align-items: center; }
.stadium-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; height: 100%; }
.stadium-pics figure { position: relative; margin: 0; }
.stadium-pics img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; }
.stadium-pics figcaption { position: absolute; left: 10px; bottom: 10px; background: #fff; color: var(--navy); font-family: var(--head); font-weight: 600; font-size: 12px; padding: 4px 10px; border-radius: 4px; }
.sig-stadium .sig-body { padding: 28px 32px; }
.sig-stadium h3 { font-size: 22px; margin-bottom: 6px; }
.sig-stadium p { color: var(--muted); }
.photo-credit { font-size: 12px; color: var(--muted); margin-top: 10px; }
.photo-credit a { text-decoration: underline; }

@media (max-width: 1080px) {
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .sig-stadium { grid-column: span 2; grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .prod-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .prod-card-body { padding: 12px 14px 14px; }
  .prod-desc { display: none; }
  .prod-search { min-width: 0; width: 100%; }
  .pm-grid { grid-template-columns: 1fr; }
  .pm-img { border-right: none; border-bottom: 1px solid var(--line); padding: 16px; }
  .pm-img img { max-width: 220px; }
  .pm-body { padding: 24px 22px; }
  .search-modal { margin-top: 16px; }
  .sm-type { display: none; }
  .sig-stadium { grid-column: auto; }
  .stadium-pics img { min-height: 160px; }
  .sig-stadium .sig-body { padding: 20px 22px; }
}
.sig-grid { grid-template-columns: repeat(2, 1fr); }
.sig-stadium { grid-column: span 2; }
.sig-grid .sig-img { aspect-ratio: 16 / 10; }
@media (max-width: 1080px) { .sig-stadium { grid-column: span 2; } }
@media (max-width: 720px) { .sig-grid { grid-template-columns: 1fr; } .sig-stadium { grid-column: auto; } }
dialog.modal { margin: auto; }
dialog.search-modal { margin: 12vh auto auto; }
@media (max-width: 720px) { dialog.search-modal { margin: 16px auto auto; } dialog.prod-modal { max-height: calc(100vh - 32px); overflow-y: auto; } }
