:root {
  --ink: #081f50;
  --blue: #115ddd;
  --cyan: #35b9f5;
  --paper: #f7f8fb;
  --white: #fff;
  --muted: #62708d;
  --line: rgba(8, 31, 80, .15);
  --radius: 1.5rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, "Helvetica Neue", Arial, sans-serif; font-size: 16px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.site-header { height: 5.5rem; padding: .8rem clamp(1.25rem, 4vw, 4.5rem); display: flex; align-items: center; justify-content: space-between; background: rgba(247, 248, 251, .92); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.brand { display: inline-flex; align-items: center; gap: .65rem; }
.brand-logo { width: 2.65rem; height: 2.65rem; object-fit: cover; border-radius: .7rem; }
.brand-words { display: flex; flex-direction: column; line-height: 1; }
.brand-words strong { font-size: 1.35rem; letter-spacing: -.03em; }
.brand-words small { margin-top: .25rem; font-size: .66rem; font-weight: 800; letter-spacing: .34em; }
nav { display: flex; align-items: center; gap: 1.8rem; font-weight: 700; font-size: .92rem; }
nav a:hover { color: var(--blue); }
.nav-cta { color: var(--white); background: var(--ink); padding: .75rem 1.15rem; border-radius: 100px; }
.nav-cta:hover { color: var(--white); background: var(--blue); }
.menu-button { display: none; border: 1px solid var(--line); background: var(--white); color: var(--ink); border-radius: 100px; padding: .6rem 1rem; }

.hero { min-height: calc(100vh - 5.5rem); padding: clamp(3rem, 7vw, 7rem) clamp(1.25rem, 6vw, 7rem); display: flex; align-items: center; overflow: hidden; background-image: linear-gradient(90deg, rgba(247,248,251,.98) 0%, rgba(247,248,251,.94) 36%, rgba(247,248,251,.18) 64%, rgba(247,248,251,.02) 100%), url('sports/basketball.jpg'); background-size: cover; background-position: center; }
.hero-copy { width: min(47rem, 58%); }
.eyebrow { margin: 0 0 1rem; color: var(--blue); font-size: .78rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 1.5rem; font-size: clamp(3.2rem, 6.5vw, 7rem); line-height: .91; letter-spacing: -.065em; max-width: 12ch; }
h1 span { color: var(--blue); }
.hero-intro { max-width: 41rem; color: #3e4c68; font-size: clamp(1.05rem, 1.4vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0; }
.button { border: 0; border-radius: 100px; display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: .8rem 1.35rem; font-weight: 800; cursor: pointer; }
.primary { color: var(--white); background: var(--blue); box-shadow: 0 12px 30px rgba(17,93,221,.22); }
.primary:hover { background: var(--ink); }
.secondary { background: var(--white); border: 1px solid var(--line); }
.hero-points { padding: 0; margin: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; color: var(--muted); font-size: .9rem; font-weight: 650; }
.hero-points li::before { content: ""; display: inline-block; width: .45rem; height: .45rem; margin-right: .55rem; border-radius: 50%; background: var(--cyan); vertical-align: .1rem; }

.trust-strip { padding: 1.5rem clamp(1.25rem, 6vw, 7rem); background: var(--ink); color: var(--white); display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; }
.trust-strip p { margin: 0; padding: 1rem 1.5rem; border-left: 1px solid rgba(255,255,255,.18); }
.trust-strip p:first-child { border-left: 0; }
.trust-strip strong, .trust-strip span { display: block; }
.trust-strip span { color: #b7c5e6; font-size: .88rem; }

.section { padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 6vw, 7rem); }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: end; margin-bottom: 3rem; }
.section-heading h2, .customization-copy h2, .quote-copy h2 { margin: 0; font-size: clamp(2.5rem, 5vw, 5.2rem); line-height: .98; letter-spacing: -.055em; }
.section-heading > p { color: var(--muted); max-width: 35rem; margin: 0 0 .5rem; }
.sports-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.sport-card { min-height: 18rem; padding: 1.6rem; border-radius: var(--radius); color: var(--white); display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; isolation: isolate; transition: transform .25s ease; }
.sport-card::before, .sport-card::after { content: ""; position: absolute; z-index: -1; }
.sport-card::before { inset: 0; background: linear-gradient(0deg, rgba(5,17,42,.9), rgba(5,17,42,.05) 75%), var(--sport-image, linear-gradient(135deg, var(--card-a), var(--card-b))); background-size: cover; background-position: center; }
.sport-card::after { width: 17rem; height: 17rem; border: 2.5rem solid rgba(255,255,255,.13); border-radius: 50%; top: -7rem; right: -5rem; }
.sport-card:hover { transform: translateY(-5px); }
.sport-card span { font-size: 2rem; font-weight: 850; letter-spacing: -.04em; }
.sport-card small { color: rgba(255,255,255,.75); font-size: .9rem; }
.card-basketball { --sport-image:url('sports/basketball.jpg'); }
.card-soccer { --sport-image:url('sports/soccer.jpg'); }
.card-fishing { --sport-image:url('sports/fishing.jpg'); }
.card-baseball { --sport-image:url('sports/baseball.jpg'); }
.card-volleyball { --card-a:#5a46c8; --card-b:#172c87; }
.card-boxing { --sport-image:url('sports/boxing.jpg'); }

.products-section { background: var(--white); }
.product-filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.5rem; }
.filter-button { border: 1px solid var(--line); border-radius: 100px; padding: .65rem 1rem; color: var(--ink); background: var(--white); font-weight: 800; cursor: pointer; }
.filter-button.active, .filter-button:hover { color: var(--white); background: var(--ink); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.product-card { overflow: hidden; border: 1px solid var(--line); border-radius: 1.2rem; background: var(--paper); }
.product-card[hidden] { display: none; }
.product-card img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #fff; transition: transform .3s ease; }
.product-card:hover img { transform: scale(1.025); }
.product-card div { padding: 1rem; }
.product-card small { color: var(--blue); font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.product-card h3 { margin: .3rem 0 .75rem; font-size: 1.1rem; }
.product-card a { color: var(--blue); font-size: .88rem; font-weight: 850; }

.fabrics-section { background: var(--ink); color: var(--white); }
.light-heading .eyebrow { color: #5bd0ff; }
.light-heading > p { color: #b8c6e4; }
.fabric-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.fabric-card { margin: 0; border-radius: 1.1rem; overflow: hidden; background: #fff; color: var(--ink); cursor: zoom-in; }
.fabric-card:nth-child(n+9) { display: none; }
.fabric-gallery.show-all .fabric-card { display: block; }
.fabric-card img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .3s ease; }
.fabric-card:hover img { transform: scale(1.025); }
.fabric-card figcaption { padding: .85rem 1rem 1rem; font-weight: 800; font-size: .88rem; }
.ghost { margin-top: 1.5rem; color: var(--white); background: transparent; border: 1px solid rgba(255,255,255,.32); }
.ghost:hover { background: var(--white); color: var(--ink); }

.customization-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: 8vw; background: #eaf5ff; }
.customization-copy { position: sticky; top: 8rem; align-self: start; }
.customization-copy > p:not(.eyebrow) { color: var(--muted); max-width: 34rem; margin: 1.6rem 0; }
.text-link { color: var(--blue); font-weight: 850; border-bottom: 2px solid currentColor; }
.capability-list article { display: grid; grid-template-columns: 3.5rem 1fr; gap: 0 1rem; padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.capability-list span { grid-row: span 2; color: var(--blue); font-weight: 850; }
.capability-list h3 { margin: 0; font-size: 1.45rem; }
.capability-list p { color: var(--muted); margin: .35rem 0 0; }

.process-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.process-list li { padding: 2rem 1.4rem 1rem; border-left: 1px solid var(--line); }
.process-list li:first-child { border-left: 0; }
.process-list span { color: var(--blue); font-size: .76rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.process-list h3 { margin: 1.5rem 0 .5rem; font-size: 1.2rem; }
.process-list p { color: var(--muted); font-size: .92rem; }

.quote-section { margin: 0 clamp(1rem, 3vw, 3rem) 3rem; padding: clamp(3rem, 7vw, 6rem); border-radius: 2rem; display: grid; grid-template-columns: .8fr 1.2fr; gap: 7vw; color: var(--white); background: linear-gradient(140deg, #0a1c47, #0d4eb8); }
.quote-copy .eyebrow { color: #64d8ff; }
.quote-copy > p:not(.eyebrow) { color: #c7d5f1; margin-top: 1.5rem; }
.contact-list { border-top: 1px solid rgba(255,255,255,.25); padding-top: 1.2rem; margin-top: 2rem; display: grid; gap: 1rem; }
.contact-list article { display: grid; }
.contact-list span { color: #91a9d4; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.contact-list a { width: fit-content; color: var(--white); font-weight: 750; }
.contact-list a:hover { color: #64d8ff; }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: 1.4rem; border-radius: 1.5rem; background: var(--white); color: var(--ink); }
label { font-size: .82rem; font-weight: 800; }
input, select, textarea { width: 100%; margin-top: .35rem; padding: .8rem .9rem; border: 1px solid #cfd7e7; border-radius: .7rem; background: #fbfcff; color: var(--ink); }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(53,185,245,.25); border-color: var(--blue); }
.full-field { grid-column: 1 / -1; }
.form-status { margin: 0; color: var(--blue); font-weight: 750; font-size: .9rem; }

footer { padding: 3rem clamp(1.25rem, 6vw, 7rem); display: grid; grid-template-columns: 11rem 1fr auto; align-items: center; gap: 2rem; border-top: 1px solid var(--line); }
.footer-brand { width: max-content; }
footer p, footer small { margin: 0; color: var(--muted); }
footer div { display: flex; gap: 1.4rem; font-weight: 750; }
footer small { grid-column: 2 / -1; }

dialog { width: min(90vw, 48rem); border: 0; border-radius: 1.2rem; padding: 3rem 1rem 1rem; box-shadow: 0 30px 100px rgba(0,0,0,.4); }
dialog::backdrop { background: rgba(3,12,33,.8); backdrop-filter: blur(8px); }
.dialog-close { position: absolute; right: 1rem; top: .75rem; border: 0; background: transparent; color: var(--ink); font-weight: 800; cursor: pointer; }
dialog img { width: 100%; border-radius: .7rem; }

@media (max-width: 900px) {
  .menu-button { display: block; }
  nav { display: none; position: absolute; left: 1rem; right: 1rem; top: 5rem; padding: 1rem; flex-direction: column; align-items: stretch; background: var(--white); border: 1px solid var(--line); border-radius: 1rem; box-shadow: 0 20px 40px rgba(8,31,80,.12); }
  nav.open { display: flex; }
  .hero { background-image: linear-gradient(90deg, rgba(247,248,251,.98) 0%, rgba(247,248,251,.92) 56%, rgba(247,248,251,.3) 100%), url('sports/basketball.jpg'); background-position: 58% center; }
  .hero-copy { width: min(40rem, 78%); }
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .trust-strip p:nth-child(3) { border-left: 0; }
  .section-heading, .customization-section, .quote-section { grid-template-columns: 1fr; }
  .sports-grid, .fabric-gallery, .product-grid { grid-template-columns: 1fr 1fr; }
  .customization-copy { position: static; }
  .process-list { grid-template-columns: 1fr 1fr; }
  .process-list li:nth-child(3) { border-left: 0; }
  footer { grid-template-columns: 1fr; }
  footer small { grid-column: auto; }
}

@media (max-width: 560px) {
  .site-header { height: 4.8rem; }
  .brand-logo { width: 2.25rem; height: 2.25rem; }
  .brand-words strong { font-size: 1.15rem; }
  h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .hero { padding-top: 3.5rem; }
  .hero { min-height: calc(100vh - 4.8rem); background-image: linear-gradient(180deg, rgba(247,248,251,.98) 0%, rgba(247,248,251,.92) 58%, rgba(247,248,251,.45) 100%), url('sports/basketball.jpg'); background-position: 67% center; }
  .hero-copy { width: 100%; }
  .trust-strip, .sports-grid, .fabric-gallery, .product-grid, .process-list, form { grid-template-columns: 1fr; }
  .trust-strip p, .trust-strip p:nth-child(3), .process-list li, .process-list li:nth-child(3) { border-left: 0; }
  .trust-strip p { border-top: 1px solid rgba(255,255,255,.18); }
  .trust-strip p:first-child { border-top: 0; }
  .sport-card { min-height: 13rem; }
  .full-field { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
