/* Sitech Racing v2. The look is the workshop itself: lime-green walls, black skull boards hung on them, the red dyno-cell floor.
   Container queries (not media queries) so pages reflow inside the phone artboards too.
   Static build of the approved Claude Design canvas (4 Nov 2026): this file is the canvas stylesheet with three
   small changes, each marked CONVERSION below. The container queries are kept: .sr is the page container, so
   1440 / 1100 / 390 lay out exactly as the canvas does. See site/NOTES.md. */

/* fonts: start. Generated by tools/fonts.py from tools/fonts.json; do not edit. */
@font-face{font-family:'Barlow';font-style:normal;font-weight:400;font-display:swap;src:url(images/fonts/barlow-v13-latin-400-normal-7a686e7631.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Barlow';font-style:normal;font-weight:500;font-display:swap;src:url(images/fonts/barlow-v13-latin-500-normal-80e7dc5605.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Barlow';font-style:normal;font-weight:600;font-display:swap;src:url(images/fonts/barlow-v13-latin-600-normal-488b580981.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Barlow';font-style:normal;font-weight:700;font-display:swap;src:url(images/fonts/barlow-v13-latin-700-normal-98aa8b5c25.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Barlow Condensed';font-style:italic;font-weight:700;font-display:swap;src:url(images/fonts/barlowcondensed-v13-latin-700-italic-d55f5f9f9a.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Barlow Condensed';font-style:italic;font-weight:800;font-display:swap;src:url(images/fonts/barlowcondensed-v13-latin-800-italic-73f94496e8.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:700;font-display:swap;src:url(images/fonts/barlowcondensed-v13-latin-700-normal-e3e520cb74.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:800;font-display:swap;src:url(images/fonts/barlowcondensed-v13-latin-800-normal-89eec21b1a.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
/* fonts: end */

/* CONVERSION 1: the canvas pages set this in their <helmet>. */
body{margin:0}
.sr{container-type:inline-size;container-name:page;font-family:"Barlow",system-ui,sans-serif;font-size:18px;line-height:1.55;color:#F2F2F2;background:#0B0B0B;-webkit-font-smoothing:antialiased;overflow-x:clip}
.sr *{box-sizing:border-box}
.sr a{color:inherit}
.sr img,.sr video{display:block;max-width:100%}
.sr p{margin:0}
.w{max-width:1320px;margin:0 auto;padding:0 48px}
.big{font-family:"Barlow Condensed","Barlow",sans-serif;font-style:italic;font-weight:800;text-transform:uppercase;line-height:.9;letter-spacing:-.005em;margin:0}
.lead{font-size:26px;line-height:1.35;max-width:760px}
.soft{color:#C9C9C9}

/* shift-light bar */
.shift{position:fixed;top:0;left:0;right:0;height:5px;z-index:80;background:#161616;pointer-events:none}
.shift b{display:block;height:100%;background:linear-gradient(90deg,#A6CE39 0 60%,#FFB000 60% 82%,#F40303 82%);-webkit-mask:repeating-linear-gradient(90deg,#000 0 calc(100%/24 - 3px),transparent calc(100%/24 - 3px) calc(100%/24));mask:repeating-linear-gradient(90deg,#000 0 calc(100%/24 - 3px),transparent calc(100%/24 - 3px) calc(100%/24))}
@supports (animation-timeline: scroll()){.shift b{animation:rev linear both;animation-timeline:scroll(root)}}
@keyframes rev{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}
/* CONVERSION 3: the shift light is fixed to the top of the window. Anything served above the site (the preview
   strip) must not be painted over, so site.js keeps it at the top edge of .sr until .sr reaches the top of the
   window, and without JavaScript (nothing to place it) it is not drawn. It is decoration (aria-hidden). */
html:not(.js) .shift{display:none}

/* header */
.hd{position:relative;z-index:40;background:#0B0B0B;border-bottom:1px solid #1E1E1E}
.hd.over{background:transparent;border-bottom-color:transparent}
.hd-in{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:84px}
.lock{display:flex;align-items:center;gap:14px;text-decoration:none;flex:none}
.lock svg{width:38px;height:38px;flex:none}
.lock img{height:22px;width:auto}
.nv{display:flex;align-items:center;gap:30px}
.nv a{text-decoration:none;font-weight:600;font-size:16px;padding:12px 0;border-bottom:3px solid transparent;color:#EDEDED}
.nv a:hover{color:#FFFFFF;border-bottom-color:#A6CE39}
.nv a.on{border-bottom-color:#F40303;color:#FFFFFF}
.menu-btn{display:none;min-height:46px;padding:0 18px;background:#F2F2F2;color:#0B0B0B;border:0;font:800 italic 20px "Barlow Condensed",sans-serif;text-transform:uppercase;letter-spacing:.04em;cursor:pointer}
.menu-panel{display:none}

/* buttons */
.btn{display:inline-flex;align-items:center;gap:10px;min-height:54px;padding:0 26px;text-decoration:none;font:800 italic 22px "Barlow Condensed",sans-serif;text-transform:uppercase;letter-spacing:.03em;border:2px solid transparent;cursor:pointer}
.btn svg{width:20px;height:20px;flex:none}
.btn-red{background:#D10204;color:#FFFFFF}
.btn-red:hover{background:#FFFFFF;color:#0B0B0B}
.btn-line{border-color:currentColor;background:transparent}
.btn-line:hover{background:#F2F2F2;color:#0B0B0B;border-color:#F2F2F2}
.btn-ink{background:#0B0B0B;color:#FFFFFF}
.btn-ink:hover{background:#FFFFFF;color:#0B0B0B}
.btns{display:flex;flex-wrap:wrap;gap:14px}

/* video loop (VideoLoop component) */
.vl{position:relative;width:100%;height:100%;background:#000}
.vl video{width:100%;height:100%;object-fit:cover}
.vl-pause{position:absolute;right:16px;bottom:16px;z-index:3;min-height:44px;padding:0 16px;background:rgba(11,11,11,.7);color:#F2F2F2;border:1px solid rgba(242,242,242,.4);font:600 14px "Barlow",sans-serif;cursor:pointer}
.vl-pause:hover{border-color:#FFFFFF}

/* home hero */
.hero{position:relative;height:880px;margin-top:-85px;overflow:hidden;background:#000}
.hero-v{position:absolute;inset:0}
.hero-scrim{position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,rgba(0,0,0,.55) 0,rgba(0,0,0,0) 26%,rgba(0,0,0,0) 46%,rgba(0,0,0,.88) 100%)}
.hero-t{position:absolute;left:0;right:0;bottom:0;z-index:2;padding-bottom:64px}
.hero h1{font-size:118px;max-width:1120px}
.hero .lead{margin:24px 0 32px;color:#F2F2F2}

/* lime wall */
.wall{background:#A6CE39;color:#0B0B0B}
.wall .soft{color:#26330A}
.sec{padding:120px 0}
.h2{font-size:92px}

/* index of services (home) */
.idx{list-style:none;margin:56px 0 0;padding:0;border-top:3px solid #0B0B0B}
.idx li{border-bottom:3px solid #0B0B0B}
.idx a{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) 220px 56px;gap:32px;align-items:center;padding:26px 0;text-decoration:none}
.idx .big{font-size:64px}
.idx p{font-size:19px;color:#1D2608}
.idx img{width:220px;height:130px;object-fit:cover;filter:grayscale(1) contrast(1.1);transition:filter .3s}
.idx a:hover img{filter:none}
.idx svg{width:44px;height:44px;transition:transform .3s}
.idx a:hover svg{transform:translateX(8px)}

/* the skull board: a black board hung on the lime wall */
.board{background:#0B0B0B;color:#F2F2F2;padding:56px 64px;position:relative;outline:2px solid #F2F2F2;outline-offset:-14px}
.board svg.sk{width:46px;height:46px;margin-bottom:22px}
.board p.say{font:700 italic 46px/1.12 "Barlow Condensed",sans-serif;max-width:980px}

/* reels */
.reels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;margin-top:56px}
.reel-v{aspect-ratio:9/16;overflow:hidden;background:#000}
.reel p{margin-top:16px;font-size:19px;line-height:1.4}

/* photo mosaic: irregular, sitting straight on the ground */
.mos{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-auto-rows:150px;gap:14px;margin-top:56px}
.mos figure{margin:0;overflow:hidden;background:#141414}
.mos img{width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.mos figure:hover img{transform:scale(1.04)}
/* tiles in the order t s w w s t fill the grid exactly at both widths */
.mos .t{grid-column:span 4;grid-row:span 3}
.mos .s{grid-column:span 2;grid-row:span 3}
.mos .wd{grid-column:span 3;grid-row:span 2}

/* red floor (contact band) */
.floor{background:#B3241E;color:#FFFFFF}
.floor .soft{color:#FFE3E0}
.floor-g{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:64px;align-items:end}
.floor .h2{font-size:104px}
.phone-big{font:800 italic 64px/1 "Barlow Condensed",sans-serif;text-decoration:none;display:inline-block;border-bottom:4px solid #FFFFFF;padding-bottom:4px}

/* inner page head */
.ph{padding:96px 0 80px}
.ph h1{font-size:128px}
.ph .lead{margin-top:28px}
.ph-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:64px;align-items:center}
.ph-media{height:560px;overflow:hidden;background:#000}
.ph-media img{width:100%;height:100%;object-fit:cover}
.ph-full{position:relative;height:720px;overflow:hidden;background:#000}
.ph-full .hero-t{padding-bottom:72px}
.ph-full h1{font-size:128px}

/* plain two-column service list (no numbers, no cards) */
.dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 72px;margin-top:56px}
.dl div{padding:30px 0;border-top:2px solid #2A2A2A}
.wall .dl div{border-top-color:#0B0B0B}
.dl h3{margin:0 0 8px;font:800 italic 34px/1 "Barlow Condensed",sans-serif;text-transform:uppercase}
.dl p{font-size:18px}

/* results table */
.tbl{width:100%;border-collapse:collapse;margin-top:48px;font-size:19px}
.tbl th{text-align:left;font-weight:700;padding:0 24px 14px 0;border-bottom:3px solid #0B0B0B}
.tbl td{padding:22px 24px 22px 0;border-bottom:1px solid #6C8A1F;vertical-align:top}
.tbl td.n{font:800 italic 44px/1 "Barlow Condensed",sans-serif;white-space:nowrap;padding-right:0;text-align:right}
.tbl-box{overflow-x:auto}

/* engine feature */
.feat{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:0;align-items:stretch}
.feat img{width:100%;height:100%;min-height:560px;object-fit:cover}
.feat-t{padding:64px 56px;background:#141414;display:flex;flex-direction:column;justify-content:center;gap:22px}
.feat-t .big{font-size:84px}
.pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;margin-top:56px}
.pair img{width:100%;height:520px;object-fit:cover}
.pair img + img{margin-top:72px}

/* circuits list */
.circ{display:flex;flex-wrap:wrap;gap:12px 0;list-style:none;padding:0;margin:40px 0 0}
.circ li{font:800 italic 40px/1 "Barlow Condensed",sans-serif;text-transform:uppercase;padding-right:28px;margin-right:28px;border-right:3px solid #0B0B0B}
.circ li:last-child{border-right:0}
.band-v{position:relative;height:620px;overflow:hidden}
.band-v .hero-t{padding-bottom:56px}

/* gallery page */
.gal{columns:3;column-gap:16px;margin-top:56px}
.gal figure{margin:0 0 16px;break-inside:avoid;background:#141414}
.gal img{width:100%;height:auto}

/* contact page */
.ct{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:72px;margin-top:56px;align-items:start}
.ct-row{padding:26px 0;border-top:2px solid #2A2A2A}
.ct-row h2{margin:0 0 6px;font:800 italic 30px/1 "Barlow Condensed",sans-serif;text-transform:uppercase;color:#A6CE39}
.ct-row p,.ct-row a{font-size:22px}
/* 20 Nov 2026: the map box holds a still OpenStreetMap picture of the street (tools/map.py), drawn at 2x. It is
   always shown 1040x640 CSS px (the tiles' own scale) and centred on the pin, so any box size crops it, never
   scales it, and the street names keep their size at every width. */
.map-f{margin:0}
.map{position:relative;display:block;min-height:460px;overflow:hidden;background:#141414;border:2px solid #2A2A2A}
.map img{position:absolute;left:50%;top:50%;width:1040px;height:640px;max-width:none;transform:translate(-50%,-50%)}
a.map{color:#F2F2F2;text-decoration:none;transition:border-color .2s}
.map-go{position:absolute;left:14px;bottom:14px;display:inline-flex;align-items:center;gap:8px;padding:9px 14px;background:#0B0B0B;border:2px solid #A6CE39;font:800 italic 19px/1 "Barlow Condensed",sans-serif;text-transform:uppercase;letter-spacing:.03em;transition:background-color .2s,color .2s}
.map-go svg{width:16px;height:16px;flex:none}
a.map:hover,a.map:focus-visible{border-color:#A6CE39}
a.map:hover .map-go,a.map:focus-visible .map-go{background:#A6CE39;color:#0B0B0B}
a.map:focus-visible{outline:2px solid #A6CE39;outline-offset:3px}
.map-cr{margin-top:8px;font-size:13px;line-height:1.4;color:#8A8A8A;text-align:right}
.map-cr a{color:inherit}

/* stripe wipe */
.stripe{height:40px;position:relative;overflow:hidden}
.stripe i{position:absolute;left:-5%;right:-5%;transform:skewX(-28deg);transform-origin:0 50%}
.stripe i:nth-child(1){top:6px;height:14px;background:#D10204}
.stripe i:nth-child(2){top:24px;height:4px;background:#F2F2F2}
.stripe i:nth-child(3){top:31px;height:5px;background:#D10204}

/* footer */
.ft{background:#0B0B0B;border-top:1px solid #1E1E1E;padding:64px 0 56px;color:#C9C9C9;font-size:15px}
.ft-g{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr);gap:48px}
.ft h2{margin:0 0 14px;font:800 italic 22px/1 "Barlow Condensed",sans-serif;text-transform:uppercase;color:#F2F2F2}
.ft ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.ft a{color:#EDEDED;text-decoration:none}
.ft a:hover{color:#A6CE39}
.ft-base{margin-top:48px;padding-top:22px;border-top:1px solid #1E1E1E;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}

/* scroll reveals + stripe wipes (only where supported, so nothing is ever stuck hidden) */
@supports (animation-timeline: view()){
  /* CONVERSION 2: gated on html.js (set in each page's head), so with JavaScript off nothing starts at opacity 0. */
  .js .rv{animation:up linear both;animation-timeline:view();animation-range:entry 0% entry 55%}
  .stripe i{animation:wipe linear both;animation-timeline:view();animation-range:entry 10% cover 45%}
}
@keyframes up{from{opacity:0;transform:translateY(36px)}to{opacity:1;transform:none}}
@keyframes wipe{from{transform:skewX(-28deg) scaleX(0)}to{transform:skewX(-28deg) scaleX(1)}}
@media (prefers-reduced-motion: reduce){
  .rv,.stripe i,.shift b{animation:none !important}
  .mos img,.idx img,.idx svg,a.map,.map-go{transition:none}
}

/* tablet */
@container page (max-width: 1100px){
  .hero h1,.ph h1,.ph-full h1{font-size:92px}
  .h2{font-size:76px}
  .idx a{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 48px}
  .idx img{display:none}
  .floor-g,.ph-split,.ct{grid-template-columns:minmax(0,1fr);gap:40px}
  .feat{grid-template-columns:minmax(0,1fr)}
  .feat img{min-height:420px}
  .gal{columns:2}
  .ft-g{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .nv{display:none}
  .menu-btn{display:inline-flex;align-items:center}
  .menu-panel.open{display:block;background:#0B0B0B;border-top:1px solid #2A2A2A;padding:8px 48px 22px}
  .menu-panel a{display:block;padding:14px 0;border-bottom:1px solid #222;text-decoration:none;font:800 italic 28px/1.1 "Barlow Condensed",sans-serif;text-transform:uppercase}
  .menu-panel a.on{color:#F40303}
}
/* phone */
@container page (max-width: 760px){
  .sr{font-size:17px}
  .w{padding:0 18px}
  .hd-in{min-height:70px}
  .lock svg{width:30px;height:30px}
  .lock img{height:15px}
  .menu-panel.open{padding:8px 18px 22px}
  .hero{height:720px;margin-top:-71px}
  .hero h1{font-size:54px}
  .lead{font-size:20px}
  .hero .lead{margin:16px 0 24px}
  .hero-t{padding-bottom:36px}
  .sec{padding:72px 0}
  .h2{font-size:52px}
  .idx{margin-top:36px}
  .idx a{grid-template-columns:minmax(0,1fr) 36px;gap:12px;padding:20px 0}
  .idx p{grid-column:1;font-size:17px}
  .idx .big{font-size:40px}
  .idx svg{width:32px;height:32px;grid-row:1;grid-column:2}
  .board{padding:34px 26px;outline-offset:-9px}
  .board p.say{font-size:30px}
  .reels{grid-template-columns:minmax(0,1fr);gap:28px;margin-top:36px}
  .mos{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:120px;gap:8px;margin-top:36px}
  .mos .t{grid-column:span 2;grid-row:span 2}
  .mos .s,.mos .wd{grid-column:span 1;grid-row:span 2}
  .mos figure:last-child:nth-child(even){grid-column:span 2}
  .floor .h2{font-size:58px}
  .phone-big{font-size:44px}
  .ph{padding:56px 0 48px}
  .ph h1,.ph-full h1{font-size:58px}
  .ph-media{height:300px}
  .ph-full{height:560px}
  .dl{grid-template-columns:minmax(0,1fr);margin-top:32px}
  .dl h3{font-size:28px}
  .tbl{font-size:16px}
  .tbl td.n{font-size:30px}
  .feat-t{padding:32px 22px}
  .feat-t .big{font-size:56px}
  .feat img{min-height:280px}
  .pair img,.pair img + img{height:260px}
  .pair img + img{margin-top:36px}
  .circ li{font-size:26px;padding-right:16px;margin-right:16px}
  .band-v{height:460px}
  .gal{columns:1}
  .ct-row p,.ct-row a{font-size:19px}
  .map{min-height:340px}
  .map-go{left:10px;bottom:10px;font-size:17px;padding:8px 12px}
  .ft-g{grid-template-columns:minmax(0,1fr);gap:32px}
}

/* 5 Nov 2026: the official name logo is wider than the old recreation, so the full nav no longer fits
   between 1100 and 1280px. Switch to the MENU button below 1280px (the same rules as the 1100px block). */
@container page (max-width: 1280px){
  .nv{display:none}
  .menu-btn{display:inline-flex;align-items:center}
  .menu-panel.open{display:block;background:#0B0B0B;border-top:1px solid #2A2A2A;padding:8px 48px 22px}
  .menu-panel a{display:block;padding:14px 0;border-bottom:1px solid #222;text-decoration:none;font:800 italic 28px/1.1 "Barlow Condensed",sans-serif;text-transform:uppercase}
  .menu-panel a.on{color:#F40303}
}
@container page (max-width: 760px){ .menu-panel.open{padding:8px 18px 22px} }
