/* Component visual study. Existing content, section order and grid geometry. */
@font-face {
  font-family: 'Component Headlines';
  src: url('assets/Anton-Regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  --black: #080808;
  --white: #f4f4f4;
  --graphite: #1b1b1b;
  --lime: #b9f20a;
  --muted-light: #a5a5a5;
  --muted-dark: #555555;
  --line-light: #d2d2d2;
  --line-dark: #484848;
  --dark: var(--black);
  --paper: var(--white);
  --orange: var(--lime);
  --line: var(--line-light);
  --sc-canvas: var(--white);
  --sc-surface: #ededed;
  --sc-ink: var(--black);
  --sc-ink-soft: var(--muted-dark);
  --sc-accent: var(--lime);
  --sc-accent-ink: var(--black);
  --sc-font-display: 'Component Headlines', Impact, sans-serif;
  --sc-font-text: Arial, Helvetica, sans-serif;
}
body { font-family: Arial, Helvetica, sans-serif; }
h1, h2, h3, .hero h1, .price strong, .fit-size, .reservoir-capacity strong {
  font-family: var(--sc-font-display);
  font-weight: 400;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.feature-label h2, .product-card h3, .license-row h3 { letter-spacing: .01em; }
.hero h1 { line-height: 1.02; }
.feature-label h2 span {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.overline, .mini-label, .brand-line, .header nav, .hero-material,
.hero-product-label small, .button, .text-link, .film-caption,
.fit-input-line, .fit-measure, .range-labels, .category, .catalog-bar,
.filters button, .price > span, .footer, .social-name {
  font-family: Consolas, 'Courier New', monospace;
}
.button, .text-link, .header nav, .filters button { text-transform: uppercase; letter-spacing: .045em; }
.button, .feature-image, .product-image, .grip-media, .filters button, .social-links a { border-radius: 0; }
.hero, .grip-section, .membership { background: var(--black); color: var(--white); }
.hero-description, .hero-copy .overline, .hero-product-label small,
.hero-material, .brand-line, .grip-copy p, .membership-heading > p,
.membership .mini-label, .license-row p, .price > span, .membership-footnote {
  color: var(--muted-light);
}
.header { color: var(--white); border-color: var(--line-dark); }
.hero-foot, .license-row, .license-terms { border-color: var(--line-dark); }
.film-caption { background: var(--graphite); }
.grip-media video, .grip-media .sc-stage__poster { background: var(--black); }
.text-link { border-color: var(--black); }
.light-link { border-color: var(--muted-light); }
.status-dot { border-radius: 0; }
.button-orange { background: var(--lime); color: var(--black); }
.button-dark { background: var(--black); color: var(--white); }
::selection { background: var(--lime); color: var(--black); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline-color: var(--black);
}
.hero :focus-visible, .grip-section :focus-visible, .membership :focus-visible {
  outline-color: var(--lime);
}
input[type='range'] { accent-color: var(--black); }
.filters button[aria-pressed='true'] { background: var(--black); color: var(--white); }
.filters span { color: var(--white); }
.fit-size { color: #d2d2d2; }
.fit-visual img { filter: drop-shadow(10px 20px 12px #08080818); }
.hero-piece img { filter: drop-shadow(0 24px 20px #08080870); }
.hero-piece:hover img { filter: drop-shadow(0 30px 22px #08080890) brightness(1.12); }

/* A stencil can be fluo on black or black on white. Neither asset has a backing. */
.intro, .grip-copy, .section-heading, .membership-heading { position: relative; }
.intro::after {
  content: ''; position: absolute; top: -28px; right: var(--gutter);
  width: 112px; height: 63px; pointer-events: none;
  background: url('assets/motyw-poziomy-black.svg') center / contain no-repeat;
}
.grip-copy::before {
  content: ''; position: absolute; right: 0; top: -76px;
  width: 118px; height: 66px; pointer-events: none;
  background: url('assets/motyw-poziomy.svg') center / contain no-repeat;
}
.membership-heading::after {
  content: ''; position: absolute; right: 0; top: -68px;
  width: 76px; height: 76px; pointer-events: none;
  background: url('assets/motyw-sciety-rog.svg') center / contain no-repeat;
}
/* The chamfer also works as a quiet solid cue, without stripes. */
.section-heading::after {
  content: ''; position: absolute; right: 0; top: 0;
  width: 28px; height: 28px; background: var(--black);
  clip-path: polygon(0 0, 100% 0, 100% 78.0215%, 81.6667% 100%, 0 100%);
}
.mini-label::before {
  content: ''; display: inline-block; width: 18px; height: 2px;
  background: currentColor; margin-right: 12px; vertical-align: middle;
}
.membership .mini-label::before { background: var(--lime); }

/* Open media corners. Text contours stay fine and neutral. */
.feature-image, .product-image, .grip-media, .fit-visual, .main-photo { position: relative; }
.feature-image::after, .product-image::after, .grip-media::after, .fit-visual::after, .main-photo::after {
  --corner-color: #fff;
  --corner-length: 23px;
  --corner-width: 3px;
  content: ''; position: absolute; inset:calc(-2 * var(--corner-width)); z-index: 5; pointer-events: none;
  background:
    linear-gradient(var(--corner-color), var(--corner-color)) left top / var(--corner-length) var(--corner-width) no-repeat,
    linear-gradient(var(--corner-color), var(--corner-color)) left top / var(--corner-width) var(--corner-length) no-repeat,
    linear-gradient(var(--corner-color), var(--corner-color)) right top / var(--corner-length) var(--corner-width) no-repeat,
    linear-gradient(var(--corner-color), var(--corner-color)) right top / var(--corner-width) var(--corner-length) no-repeat,
    linear-gradient(var(--corner-color), var(--corner-color)) left bottom / var(--corner-length) var(--corner-width) no-repeat,
    linear-gradient(var(--corner-color), var(--corner-color)) left bottom / var(--corner-width) var(--corner-length) no-repeat,
    linear-gradient(var(--corner-color), var(--corner-color)) right bottom / var(--corner-length) var(--corner-width) no-repeat,
    linear-gradient(var(--corner-color), var(--corner-color)) right bottom / var(--corner-width) var(--corner-length) no-repeat;
  filter: drop-shadow(0 0 1px #080808);
}
.fit-visual::after, .main-photo::after { --corner-color: var(--black); --corner-width: 2px; filter: none; }
.product-info { outline: 1px solid var(--line-light); outline-offset: 10px; }
.feature-label { outline: 1px solid var(--line-light); outline-offset: 18px; }
.social-links a { border-color: var(--line-light); }

@media (hover: hover) and (pointer: fine) {
  .button-orange:hover { background: var(--white); color: var(--black); }
  .button-dark:hover { background: var(--graphite); }
  .header nav a:hover, .light-link:hover { color: var(--lime); }
  .text-link:not(.light-link):hover { color: var(--black); border-bottom-width: 2px; }
  .filters button:hover { background: #ededed; color: var(--black); }
  .filters button[aria-pressed='true']:hover { background: var(--graphite); color: var(--white); }
}
@media (max-width: 1100px) {
  .grip-copy::before { width: 90px; height: 51px; top: -62px; }
}
@media (max-width: 700px) {
  .js .header nav { background: var(--graphite); border-color: var(--line-dark); }
  .intro::after { width: 68px; height: 38px; top: -18px; }
  .grip-copy::before { width: 60px; height: 34px; top: 0; }
  .membership-heading::after { width: 47px; height: 47px; top: -56px; }
  .feature-image::after, .product-image::after, .grip-media::after, .fit-visual::after, .main-photo::after {
    inset:calc(-2 * var(--corner-width)); --corner-length: 15px; --corner-width: 2px;
  }
  .product-info { outline-offset: 6px; }
  .feature-label { outline-offset: 12px; }
}

/* Production refinement: outside corners, product pages, and one-shot stripes. */
.feature-image,.product-image,.grip-media,.main-photo { overflow:visible; }
.feature-image img,.product-image img { clip-path:inset(0); }
.main-photo { position:relative; }
.product-image::after,.feature-image::after,.main-photo::after { --corner-color:var(--black); filter:none; }
.grip-media::after { filter:none; }
.product-image:focus-visible,.feature-image:focus-visible { outline-color:var(--black); }
.header :focus-visible { outline-color:var(--lime); }
.product-detail h1 { font-size:clamp(42px,4.8vw,76px); line-height:1.08; }
.detail-copy h2,.detail-text h2,.detail-related h2 { line-height:1.12; }
.breadcrumbs,.gallery-thumbs,.detail-facts dt,.variant-list li,.fineprint,.note { font-family:Consolas,'Courier New',monospace; }
.detail-copy { min-width:0; }
.detail-summary,.detail-text p { color:var(--muted-dark); }
.gallery-thumbs button { border-radius:0; }
.gallery-thumbs button[aria-pressed=true] { border-color:var(--black); outline:1px solid var(--black); }
.product-info { outline-offset:7px; }
.product-card { min-width:0; }
.fit-visual::after { --corner-color:var(--black); }
.feature-label { outline-offset:12px; }
.fit-size { letter-spacing:.01em; }
.cable-fit .fit-size { letter-spacing:.01em; }
.fit-input-line output,.fit-result { font-family:Consolas,'Courier New',monospace; }
.identity-motion::before,.identity-motion::after { transition:transform .8s var(--ease),opacity .8s var(--ease); }
.identity-motion:not(.identity-entered)::after { transform:translateY(22px); opacity:0; }
.grip-copy.identity-motion:not(.identity-entered)::before { transform:translateY(22px); opacity:0; }
.grip-copy.identity-motion::after { content:none; }
@media(max-width:700px) {
  .product-detail h1 { font-size:clamp(38px,10vw,58px); }
  .product-info { outline-offset:5px; }
  .feature-label { outline-offset:8px; }
  .feature-label h2 { overflow-wrap:normal; }
  .main-photo::after { --corner-length:15px; --corner-width:2px; }
}
@media(prefers-reduced-motion:reduce) {
  .identity-motion::before,.identity-motion::after { transform:none!important;opacity:1!important;transition:none!important; }
}

/* A single bounded stripe system. The large designs retain their approved positions. */
.intro::after,.grip-copy::before,.membership-heading::after{content:none}
.hero,.fit-section,.about,.product-detail{position:relative}
html{overflow-x:clip}
.identity-stripe{position:absolute;display:block;z-index:6;pointer-events:none;opacity:1;transform:none;--mx:0px;--my:0px}
.stripe-depth{display:block;width:100%;height:100%;will-change:transform}
.identity-stripe img{display:block;width:100%;height:100%;object-fit:contain;transform:translate(var(--mx),var(--my));transition:transform .6s ease-out}
.stripe-hero{width:236px;aspect-ratio:340/190;left:var(--gutter);bottom:102px}
.stripe-film{width:236px;aspect-ratio:340/190;right:0;top:-145px}
.stripe-cable{width:224px;aspect-ratio:340/190;left:calc((100% - 100vw)/2 - 8px);top:-46px}
.stripe-membership{width:152px;aspect-ratio:1;right:0;top:-145px}
.stripe-about{width:224px;aspect-ratio:340/190;left:calc((100% - 100vw)/2 - 8px);bottom:36px}
.stripe-product{width:200px;aspect-ratio:340/190;right:var(--gutter);top:-106px}
.stripe-zoom{width:176px;aspect-ratio:1;right:var(--edge-right,-123px);top:-123px}
.reservoir-visual .stripe-zoom{top:-150px}
.fit-visual .identity-stripe img{filter:none}
.js .identity-stripe[data-sc-in]{transition:opacity .8s ease,transform 1s cubic-bezier(.2,.75,.25,1)}
.js .identity-stripe.enter-left:not(.sc-in){opacity:0;transform:translateX(-65px)}
.js .identity-stripe.enter-right:not(.sc-in){opacity:0;transform:translateX(65px)}
.js .identity-stripe.enter-rise:not(.sc-in){opacity:0;transform:translateY(45px) rotate(-5deg)}
.js .identity-stripe.sc-in{opacity:1;transform:none}
/* Reveal the SVG inside a stationary observer box; no second clipping animation. */
.js .identity-stripe.enter-wipe:not(.sc-in){opacity:0;transform:none}
.identity-stripe.enter-wipe img{transition:clip-path 1.1s var(--ease),transform .6s ease-out}
.js .identity-stripe.enter-wipe:not(.sc-in) img{clip-path:polygon(0 0,0 0,0 100%,0 100%)}
.js .identity-stripe.enter-wipe.sc-in img{clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}
.js .stripe-about.enter-left:not(.sc-in){transform:translateX(calc(-100% - 16px));opacity:1}
@media(max-width:1100px) and (min-width:701px){
 .stripe-film{width:180px;top:-115px}
 .stripe-product{width:150px;top:-88px}
 .stripe-zoom{width:136px;top:-95px}
 .reservoir-visual .stripe-zoom{top:-116px}
}
@media(max-width:700px){
 .stripe-hero{width:100px;left:auto;right:-10px;bottom:100px}
 .stripe-film{width:110px;right:0;top:-90px}
 .stripe-cable{display:none} /* the sizing square already accents this section */
 .stripe-membership{width:88px;top:-105px}
 .stripe-about{width:128px;left:auto;right:24px;bottom:25px}
 .about{padding-bottom:170px}
 .product-detail{padding-top:90px}
 .stripe-product{width:100px;right:24px;top:8px}
 .stripe-zoom{width:96px;top:-67px}
 .reservoir-visual .stripe-zoom{top:-82px}
 .identity-stripe .stripe-depth{transform:none!important} /* mobile scroll stays predictable */
 .js .identity-stripe.enter-right:not(.sc-in){transform:translateX(16px)}
 .js .identity-stripe.enter-rise:not(.sc-in){transform:translateY(24px)}
}
@media(prefers-reduced-motion:reduce){
 .js .identity-stripe[data-sc-in],.stripe-depth,.identity-stripe img{opacity:1!important;transform:none!important;clip-path:none!important;transition:none!important}
}
