跳到正文
VibeFather
免费注册

用这个模板做的 2 个案例

同一份提示词,不同的 [VARIABLES] 变量。点一个在上方预览。

关于这个模板

这是一个为小型拳击与力量健身房打造的双页网站,希望看起来就像一家真实存在、地上还带着汗渍的场馆。首页以一张仓库健身房里沙袋满布的全幅照片开场,配上超大号窄体标题,接着依次展示六种课程类型及强度条、今日课程条、会员价格、教练、会员成果、免费体验预约表单和新手常见问题。第二页是完整的每周时间表:桌面端以“星期×时间”网格展示 34 节课,移动端则用日期标签页切换,支持按课程类型和难度筛选,每节课都能滑出抽屉,显示教练、人数上限、需带物品,以及一个将其预约为体验课的按钮。

它适合拳击馆、自由搏击和泰拳馆、力量训练工作室,以及任何有课程安排并销售会员的小型健身生意。配色以近黑和水泥灰为主,点缀一种血橙色,用于按钮、激活的筛选条件和斜向胶带条纹分隔线。手套、绳索、拳台和壶铃的照片统一做颗粒感双色调处理,让整组图看起来像是在同一栋楼里拍的,教练则以粗体字母组合代替肖像出现。

交互部分是静态网站里最难做好的那些:与 URL 同步的筛选器、焦点锁定的抽屉、按月/10 次课包切换并滚动价格、重新计算单节课费用的开关,以及带内联验证、以票券式确认收尾的体验表单。所有功能都在客户端运行,没有后端。

要改编它,只需更改健身房名称、项目、城市和目标人群。提示词把所有课程、场次、价格和文案都放在一个内容文件里,因此构建器会为你的健身房重写它们,而布局、动效和照片调色保持不变。

模板提示词

在线演示就是用这份提示词原样做出来的,没有额外补充。其他案例只是改了 [VARIABLES] 变量的值。 提示词保持英文原版,国内常用的 AI 编程工具都能直接理解;下面附中文参考译文。

# Boxing and Strength Gym Website

Build this website exactly as described below. Replace the [VARIABLES] with your own values; keep everything else.

## Brief
A two-page website for [BRAND], a boutique gym in [CITY] teaching [DISCIPLINE] to [AUDIENCE]. It looks bold and gritty: near-black and concrete grey with one blood-orange signal accent, huge condensed uppercase headlines, grainy duotone-graded photographs of bags, gloves, ropes, rings and kettlebells (never faces), and diagonal tape-stripe dividers. Page 1 (index.html) is a long single page: hero, class types, today's sessions, membership pricing with a monthly / 10-class pack toggle, coaches with monogram avatars, results and member quotes, a validated free-trial booking form with an on-page ticket confirmation, a beginner FAQ and a visit band. Page 2 (timetable.html) is a filterable weekly timetable (days × times on desktop, day tabs on mobile) with a slide-in class detail drawer. Everything is static and client-side.

- Audience: [AUDIENCE] in [CITY] who are curious about boxing but nervous about walking into a fight gym, plus members checking tonight's classes on their phone. They want to see what each class is like, whether it suits their level, what it costs, and how to try it free.
- Goal: Turn a nervous visitor into a booked free trial class. The hero, class cards, timetable drawer and pricing all lead to the trial form; the FAQ and coach cards remove the fear of getting hurt or being out of place. Secondary goal: make the timetable the fastest way for members to find a session by type and level.
- Tone: Short, direct and warm under the grit, like a good coach: imperative headlines in caps, plain sentences in the body, concrete numbers (times, prices, kilos, capacities), no hype words, no fight-promo bravado, no exclamation marks. Never mocking beginners.

## Stack
- Framework: Vite 5 + React 18 + TypeScript
- Styling: Tailwind CSS 3.4
- Libraries: react (MIT), react-dom (MIT), motion (motion.dev, import from 'motion/react') (MIT), lucide-react (ISC), tailwindcss (MIT), postcss (MIT), autoprefixer (MIT), vite (MIT), @vitejs/plugin-react (MIT), typescript (Apache-2.0), @fontsource/anton (OFL-1.1), @fontsource-variable/archivo (OFL-1.1), @fontsource/jetbrains-mono (OFL-1.1)
- Build: `npm run build` → static files in `dist/`. No backend, no server code, no external APIs.
- Setup:
  - Scaffold with npm create vite@latest using the react-ts template. Two real HTML pages at the project root: index.html (entry src/main-home.tsx) and timetable.html (entry src/main-timetable.tsx). No router library.
  - vite.config.ts: base './', plugins [react()], build { outDir 'dist', sourcemap false, assetsInlineLimit 0, rollupOptions { input { index: resolve(__dirname, 'index.html'), timetable: resolve(__dirname, 'timetable.html') } } }. Do not copy src/ into dist/.
  - Tailwind 3.4 through PostCSS (tailwindcss + postcss + autoprefixer), content ['./index.html', './timetable.html', './src/**/*.{ts,tsx}']. In tailwind.config.ts add every Design color under theme.extend.colors with kebab-case keys (ink, coal, concrete, slab, dust, chalk, signal, signal-deep) and fontFamily display ['Anton', 'Impact', 'sans-serif'], sans ['Archivo Variable', 'system-ui', 'sans-serif'], mono ['JetBrains Mono', 'ui-monospace', 'monospace']. Set borderRadius DEFAULT to 0.
  - In src/fonts.ts import '@fontsource/anton/400.css', '@fontsource-variable/archivo', '@fontsource/jetbrains-mono/400.css' and '@fontsource/jetbrains-mono/500.css'; import src/fonts.ts and src/index.css from both entry files.
  - src/index.css holds the Tailwind layers, CSS custom properties for the easings (--ease-cut, --ease-out), the .duo, .grain, .tape and .reveal-cut utility classes, the marquee keyframes, and the prefers-reduced-motion overrides.
  - File layout: src/content.ts (all copy and data), src/lib/schedule.ts, src/lib/useCountUp.ts, src/lib/useQueryState.ts (read/write URL query with replaceState), src/lib/useOpenNow.ts, src/lib/validate.ts (trial form rules).
  - Components in src/components/: Header.tsx, MobileMenu.tsx, SectionHead.tsx, Mask.tsx (headline line mask), Reveal.tsx, DuoPhoto.tsx (img + .duo + .grain wrapper with alt), Tape.tsx, Marquee.tsx, Hero.tsx, ClassCards.tsx, Intensity.tsx, TodayStrip.tsx, Pricing.tsx, PlanCard.tsx, Coaches.tsx, Monogram.tsx, Results.tsx, TrialForm.tsx, TrialTicket.tsx, Faq.tsx, Visit.tsx, BlockMap.tsx (inline SVG), Footer.tsx, timetable/ (Masthead.tsx, FilterBar.tsx, WeekGrid.tsx, DayList.tsx, ClassDrawer.tsx, Rules.tsx). src/pages/Home.tsx and src/pages/Timetable.tsx compose them; the trial form reads ?class and ?plan, the timetable reads ?type, ?level and ?class.
  - Before the first build, download every image listed under Assets into public/images/ with curl -L -o using the exact file names given. The build itself never fetches anything.
  - public/favicon.svg as described under Assets. Both HTML files: lang en, <meta name='theme-color' content='#0C0C0B'>, <link rel='icon' href='./favicon.svg' type='image/svg+xml'>. Titles: index.html '<title>[BRAND] — [DISCIPLINE] in [CITY]</title>' (capitalize the first letter of the discipline), timetable.html '<title>Timetable — [BRAND]</title>'.
  - Write ASSETS.md at the project root as described under Assets.
  - dist/ holds index.html, timetable.html, hashed JS/CSS, the woff2 fonts, favicon.svg and the eight images. Keep it under 8 MB.

## Variables
- [BRAND] — Gym name (default: "Cinderblock Boxing Club"). Invented gym name, 2–4 words. Set in Anton uppercase as the wordmark (header, footer, titles); the initials of its first two words make the booking reference prefix (CB-).
- [DISCIPLINE] — What the gym teaches (default: "boxing and strength training"). Lowercase phrase. Drives the hero, the six class types and their descriptions, coach specialities, the marquee, results, quotes and FAQ answers. Rewrite all of them for a new discipline (for example Muay Thai, kickboxing, wrestling, kettlebell sport), keeping six types and 34 sessions.
- [CITY] — City (default: "Oakland, California"). Where the gym is. Used in the hero eyebrow and lead, the visit band, footer and titles. Rewrite the address, phone format, currency and time zone to fit; street names stay invented.
- [AUDIENCE] — Who trains there (default: "busy adults, from first-timers to amateur fighters"). Lowercase phrase. Shapes the hero lead, the trial form's reassurance copy, the quotes (members' jobs and ages) and the FAQ.
- [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/boxing-and-strength-gym-website in the footer (default: yes; delete this line to remove it)

The copy under Pages & Sections is written for the default values. If your values differ, rewrite every headline, paragraph, label and image for them — same length, tone and structure. Layout, colors, type and motion stay as described.
Keep all copy, image paths and links in one content file (for example `src/content.ts`), keyed by section, so the content can be swapped later without touching components.

## Design
### Colors
- Ink `#0C0C0B` — Page background, header when scrolled, drawer and form card background, text on Signal.
- Coal `#151513` — Alternate section background (marquee, pricing, visit band, house rules), card backgrounds, inputs, full sessions.
- Concrete `#232320` — Raised panels: today strip, trial section, timetable session cells, monogram tiles, map blocks.
- Slab `#36352F` — All 1px borders and rules, empty intensity bars, capacity track, dashed empty cells.
- Dust `#8E8B82` — Muted text: labels, captions, coach names in cells, small print, 'FULL' states.
- Chalk `#EDEAE3` — Primary text and headlines; body text uses Chalk at 80%.
- Signal `#FF4F1F` — The only accent (blood orange): primary buttons, active chips and tabs, second headline lines, intensity bars, tape stripes, error states, focus rings, today markers.
- Signal Deep `#D63A0F` — Hover and pressed state of Signal buttons and chips.

### Typography
- Display: H1, H2, H3, wordmark, prices, counters, monograms, session times, class names on cards (family 'Anton'). Always uppercase.: Anton (OFL), weights 400
- Text: body, nav, buttons, chips, form fields, FAQ, quotes (family 'Archivo Variable'; buttons and chips use weight 600–700 with uppercase and 0.06em tracking).: Archivo (OFL), weights 400/500/600/700
- Mono: eyebrows, section indexes, stat labels, spots and capacity labels, per-class math, references, hours table (family 'JetBrains Mono', uppercase, letter-spacing 0.1em).: JetBrains Mono (OFL), weights 400/500

### Layout & motion
- Spacing: 8px base unit. Container max-width 1360px, centered, side padding 40px desktop, 24px tablet, 20px under 640px. 12-column grid, gap 24px. Section padding 128px vertical desktop, 88px under 768px. SectionHead on every home section: a 1px Slab rule across the container, 20px below it a row with the mono index ('01', JetBrains Mono 500 13px, Signal), the mono label next to it ('CLASSES', 13px, letter-spacing 0.16em, Chalk 70%) and an optional right-aligned mono count; H2 margin-top 40px. Type scale: H1 Anton clamp(76px, 13.5vw, 212px) line-height 0.86; H2 Anton clamp(52px, 7.4vw, 120px) line-height 0.9, each H2 written as two lines with the second in Signal; H3 Anton 40px line-height 1; body Archivo 400 17px/1.6 (16px under 768px), max-width 62ch; lead Archivo 400 20px/1.5 Chalk 85%. Buttons: height 54px, padding 0 26px, Archivo 700 14px uppercase, letter-spacing 0.08em; primary = Signal background, Ink text, on hover background Signal Deep, transform translate(-2px, -2px) and a hard Chalk shadow box-shadow 4px 4px 0 #EDEAE3, back to no shadow and no offset when pressed; secondary = 1.5px Chalk border, Chalk text, hover Chalk background with Ink text. Focus ring everywhere: 2px Signal outline, offset 3px.
- Radius: Square corners everywhere (0): cards, photos, buttons, chips, inputs, drawer, tickets. The only round shapes are the pulsing status dots and the map marker ring.
- Motion: Easings: --ease-cut cubic-bezier(0.7, 0, 0.2, 1) for masks, wipes and swaps (fast, hard); --ease-out cubic-bezier(0.2, 0.7, 0.2, 1) for photo scales.
- Motion: Headline mask (Mask.tsx): H1 and H2 lines are arrays in content.ts; each line sits in an overflow-hidden block and its inner span rises from translateY(110%) to 0 over 700ms --ease-cut with 80ms stagger, triggered when the heading is 30% visible (Motion whileInView, once).
- Motion: Hard-cut reveal (.reveal-cut / Reveal.tsx): blocks start with clip-path inset(0 0 100% 0) and translateY(24px) and animate to inset(0) and 0 over 560ms --ease-cut when 15% visible, once; lists stagger by index.
- Motion: Stripe wipe: every Tape divider wipes in from the left on enter (clip-path inset(0 100% 0 0) → inset(0), 600ms --ease-cut).
- Motion: Counter ticks (useCountUp, requestAnimationFrame): numeric parts of hero stats and results go from 0 to their value over 1200ms with easeOutExpo when 40% visible, once; thousands separators and suffixes ('%', '+') stay in place; tabular-nums so widths do not jump.
- Motion: Marquee: linear translateX(0 → -50%) in 38s, pause on hover.
- Motion: Photo hover: scale 1 → 1.05 over 500ms --ease-out inside an overflow-hidden frame. Hero photo scales 1.08 → 1 on load.
- Motion: Pricing roll, drawer spring, tab slide and ticket drop exactly as described in their sections.
- Motion: prefers-reduced-motion: reduce — disable masks, reveals, wipes, parallax, photo scales, marquee, pulses and counters (show final values); drawer and menus open instantly with a 120ms fade; smooth scrolling off. Color hover changes stay.
- Imagery: Real photographs only, never illustrations: six photos made for this template (warehouse gym floor with heavy bags, ring corner, hand wraps, swinging heavy bag, kettlebells with chalk, gloves and rope on a bench) plus two public-domain / CC0 photos (vintage black boxing gloves, coiled heavy ropes). No faces, no people beyond hands and forearms, no brand names. Every photo gets the same duotone grade through DuoPhoto.tsx: a wrapper with background #0C0C0B; the img has filter grayscale(1) contrast(1.3) brightness(0.78); a ::before overlay with background #FF4F1F, mix-blend-mode color, opacity 0.22 (Signal tint in the mid-tones); and the .grain overlay: an inline SVG data-URI with feTurbulence (type fractalNoise, baseFrequency 0.85, numOctaves 3, stitchTiles stitch) at 220px tile size, mix-blend-mode overlay, opacity 0.22, pointer-events none. object-fit cover everywhere. Coaches are typographic monograms. Everything else is drawn in code: tape stripes (repeating-linear-gradient -45deg Signal/Ink 16px), ticket notches, intensity bars, the CSS ✕ separators, the block map and the favicon. Icons from lucide-react only, stroke-width 2, sizes 14–20px.

## Pages & Sections
### Home (`index.html`)
1. **Content file and copy rules** — All copy below is written for the default values ([BRAND] = Cinderblock Boxing Club, [DISCIPLINE] = boxing and strength training, [CITY] = Oakland, California, [AUDIENCE] = busy adults, from first-timers to amateur fighters). Put every string, number, list, class, session, coach, price, quote, FAQ answer, image path and alt text for both pages in src/content.ts (typed) and render from it. If any variable value differs, rewrite every headline, class type, session name, coach speciality, price note, result, quote and FAQ answer so it is specific and believable for the new gym and discipline, keeping the same structure, counts and approximate lengths; keep the six class types, 34 weekly sessions, three plans, six coaches, three quotes and eight FAQs. Two-letter reference prefix = the initials of the first two words of [BRAND] (CB). The wordmark is [BRAND] set in type, never a drawn logo. All people, numbers and streets are invented. Address: 2210 Foundry Row, Oakland, CA 94607 (corner of Foundry Row and Tallow St). Phone (510) 555-0172. Email [email protected]. Hours (staffed front desk): Mon–Thu 05:45–21:30, Fri 05:45–19:30, Sat 08:30–13:00, Sun 08:30–11:30. Time zone America/Los_Angeles. Six class types (id · name · level · intensity 1–5 · duration · one-line description · what to bring), used on both pages: 'fundamentals' · Fundamentals · Beginner · 2 · 60 min · 'Stance, guard, footwork and the six basic punches, taught in small groups. Where everyone starts.' · 'Water, a towel, hand wraps (we lend them for your first month).'; 'bag-rounds' · Bag Rounds · Open to all · 4 · 45 min · 'Twelve three-minute rounds on the heavy bags with combinations called from the floor. Loud, sweaty, scalable.' · 'Wraps and 12–16 oz gloves (loaners on the wall).'; 'pad-lab' · Pad Lab · Intermediate · 3 · 60 min · 'Partner pad work: you hold, you hit, a coach corrects every round. Sharpens timing and defence.' · 'Wraps, gloves, and patience with your partner.'; 'sparring' · Sparring · Advanced · 5 · 75 min (Saturday 90 min) · 'Controlled, coach-matched technical sparring for members cleared by a coach. Headgear and mouthguard required.' · 'Mouthguard, headgear, 16 oz sparring gloves, coach sign-off.'; 'iron-hour' · Iron Hour · Open to all · 3 · 60 min · 'Barbell and kettlebell strength in small squads: squat, hinge, press, carry. Programmed in six-week blocks.' · 'Flat shoes or bare feet, a notebook if you like logging lifts.'; 'engine' · Engine · Open to all · 5 · 45 min · 'Conditioning circuits with ropes, sleds, skipping and bodyweight. Built to make round three feel like round one.' · 'Water. Lots of it.'. Levels in order: Beginner, Open to all, Intermediate, Advanced. Capacity: 16 per session (Sparring 12). Weekly schedule (day · time · class id · coach id · booked/capacity), exactly 34 sessions; render both the home 'Today' strip and the timetable page from it: Mon: 06:00 engine km 11/16; 07:15 fundamentals mr 9/16; 12:15 bag-rounds pa 14/16; 17:30 fundamentals mr 16/16 (full); 18:45 pad-lab tw 12/16; 20:00 iron-hour do 8/16. Tue: 06:00 iron-hour do 10/16; 07:15 bag-rounds pa 13/16; 12:15 engine km 7/16; 17:30 bag-rounds km 15/16; 18:45 sparring tw 10/12; 20:00 fundamentals ic 11/16. Wed: 06:00 engine km 12/16; 07:15 fundamentals ic 6/16; 12:15 iron-hour do 9/16; 17:30 fundamentals mr 14/16; 18:45 pad-lab pa 13/16; 20:00 bag-rounds km 9/16. Thu: 06:00 iron-hour do 11/16; 07:15 bag-rounds pa 10/16; 12:15 engine km 8/16; 17:30 pad-lab tw 15/16; 18:45 sparring tw 12/12 (full); 20:00 engine km 6/16. Fri: 06:00 engine km 9/16; 07:15 fundamentals ic 8/16; 12:15 bag-rounds pa 12/16; 17:30 iron-hour do 13/16; 18:45 bag-rounds mr 16/16 (full). Sat: 09:00 fundamentals mr 15/16; 10:15 pad-lab pa 11/16; 11:30 sparring tw 9/12 (90 min, 'Open sparring'). Sun: 09:00 iron-hour do 7/16; 10:15 bag-rounds ic 10/16. Session id = '<day>-<time without colon>' (e.g. 'mon-1745'). End time = start + duration. Spots left = capacity − booked; 'Full · join waitlist' when 0, 'Last 2 spots' when ≤ 2. Six coaches (id · name · role · specialities · years coaching · one-line bio): mr · Marco Ruelas · Head coach · Footwork, Fundamentals, Southpaw stance · 14 · 'Built the beginner programme. Will fix your feet before he lets you hit anything.'; pa · Priya Anand · Coach · Bag Rounds, Pad work, Combinations · 8 · 'Calls the loudest rounds in the building and remembers everyone's favourite combo.'; tw · Tomasz Wierzba · Ring coach · Sparring, Defence, Ring craft · 11 · 'Runs every sparring session and matches partners by weight, level and temperament.'; do · Dee Okafor · Strength lead · Barbell, Kettlebells, Mobility · 9 · 'Writes the six-week Iron Hour blocks. Former competitive powerlifter, permanent chalk on her hands.'; km · Kofi Mensah · Conditioning coach · Engine, Ropes & sleds, Recovery · 6 · 'Designs Engine so the last round hurts less every week. Keeps the rope wall tidy.'; ic · Inés Calderón · Coach · Fundamentals, Technique, Early-morning classes · 5 · 'Teaches the 07:15 crowd and the Tuesday night beginners. Patient, precise, relentless about guard.'. Monogram = first letter of first name + first letter of last name.
   Layout: No visual output. src/content.ts exports typed objects: gym, nav, hero, marquee, classTypes, sessions, coaches, plans, results, quotes, trial, faq, visit, footer, images. src/lib/schedule.ts exports helpers: sessionsFor(day), endTime(session), spotsLabel(session), todayKey() (Mon–Sun from the visitor's local clock, 'mon'…'sun').
2. **Header** — Wordmark left: a 14px Signal square followed by [BRAND] in Anton 22px uppercase, letter-spacing 0.02em, Chalk; links to ./index.html. Nav center-right in Archivo 600 14px uppercase, letter-spacing 0.08em: 'Classes' (./index.html#classes), 'Timetable' (./timetable.html), 'Pricing' (./index.html#pricing), 'Coaches' (./index.html#coaches), 'FAQ' (./index.html#faq). Right: primary button 'Free trial' (./index.html#trial). On timetable.html the 'Timetable' link is Signal with a 2px Signal underline. Under 1024px: wordmark + 'Free trial' small button + a 44px menu button (Lucide Menu / X). The mobile menu is a full-screen Ink panel with the five links in Anton 48px uppercase stacked, each preceded by its mono index '01'–'05' in Signal, then the address and phone in JetBrains Mono 13px Dust at the bottom; Escape and link clicks close it, body scroll is locked while open.
   Layout: Fixed top, height 72px (64px under 768px), full width, container inside, flex space-between, z-index 40. Transparent over the hero; after 40px of scroll it gets background Ink at 92% opacity, backdrop-filter blur(10px) and a 1px Slab bottom border. On timetable.html it is always in the scrolled state.
   Motion: Background/border transition 200ms. Mobile menu: clip-path inset(0 0 100% 0) → inset(0) over 420ms --ease-cut, links rise 24px with 50ms stagger. Nav links: 2px Signal underline scales from scaleX(0) to 1 (origin left) over 180ms on hover.
3. **Hero (#top)** — Background photo gym-floor.webp with the .duo treatment and the .grain overlay, plus a left-to-right gradient from Ink 88% to Ink 10% so the text reads. Eyebrow (JetBrains Mono 13px uppercase, letter-spacing 0.16em, Signal): '● [CITY] · BOXING & STRENGTH · EST. 2017' (keep the city upper-cased, render the dot as an 8px Signal square). H1 in three lines: 'THROW' / 'THE FIRST' / 'PUNCH.' — the word 'PUNCH.' in Signal. Lead (Archivo 400 20px, Chalk 85%, max-width 46ch): 'Boxing and strength classes for busy adults in Oakland. Sixteen people per class, a coach on every round, and your first session is free.' Two buttons: primary 'Book trial' (Lucide ArrowRight 18px after the text) → #trial; secondary outline 'See timetable' → ./timetable.html. Below, a stat row of four items separated by 1px Slab verticals, each a number in Anton 44px and a label in JetBrains Mono 12px uppercase Dust: '34' 'classes a week'; '16' 'max per class'; '06' 'coaches'; '1st' 'class free'. Bottom-right corner: a small mono badge computed from the schedule: the next session today that has not started and has spots left, e.g. 'TONIGHT 18:45 · PAD LAB · 4 SPOTS' ('TONIGHT' from 17:00, otherwise 'TODAY'); if none is left today, the first session of the next day with spots, e.g. 'TOMORROW 06:00 · IRON HOUR · 6 SPOTS'.
   Layout: min-height 100svh (min 680px), content bottom-aligned with padding-bottom 72px, container 1360px, side padding 40px (20px under 640px). 12-column grid: text occupies columns 1–9. H1 Anton clamp(76px, 13.5vw, 212px), line-height 0.86, uppercase, letter-spacing -0.01em, Chalk. Lead margin-top 28px, buttons margin-top 36px with 12px gap, stat row margin-top 56px (2×2 grid under 640px). The badge sits absolutely at bottom 72px right 40px on ≥1024px, hidden below. Photo object-position 35% 50%.
   Motion: On load: photo scales 1.08 → 1 over 1800ms --ease-out; each H1 line is masked (overflow hidden) and slides up from translateY(110%) with 80ms stagger, 700ms --ease-cut, starting at 150ms; eyebrow, lead, buttons and stats fade-up 16px with 60ms stagger after the headline. Stat numbers tick from 0 (see Design motion). The badge's dot pulses (opacity 1 → 0.35, 1.2s infinite).
4. **Tape divider and class marquee** — A tape-stripe band, then a marquee of the six class names plus 'Free trial', 'Gloves on loan', '16 max' in Anton 56px uppercase, alternating filled Chalk and outlined (color transparent, -webkit-text-stroke 1.5px Chalk at 60%), separated by a 20px Signal '✕' drawn as two rotated bars in CSS (not a glyph).
   Layout: Tape band: height 18px, full width, background repeating-linear-gradient(-45deg, #FF4F1F 0 16px, #0C0C0B 16px 32px), rotated -1.5deg and scaled 1.04 on the x axis so the edges never show, margin -9px 0. Marquee: Coal background, padding 22px 0, overflow hidden, one track containing the list twice, gap 40px, aria-hidden, with a visually-hidden plain list of class names for screen readers.
   Motion: Track translates -50% linearly in 38s, infinite; hover pauses it (animation-play-state). Reduced motion: no animation, the list wraps centered on two lines.
5. **Classes (#classes)** — SectionHead: mono index '01' in Signal, label 'CLASSES', right count '6 TYPES · 34 SESSIONS / WEEK'. H2 'SIX WAYS' / 'TO EMPTY THE TANK.' (second line in Signal). Lead 'Every class is capped, coached and scaled. Start at Fundamentals, add what you like, come as often as your plan allows.' Six cards in classTypes order, each: photo (fundamentals → hand-wraps.webp, bag-rounds → heavy-bag.webp, pad-lab → bench-gloves.webp, sparring → ring-corner.webp, iron-hour → kettlebells.webp, engine → heavy-ropes.jpg) with .duo + .grain; on the photo top-left a mono tag '0n / 06'; below: name in Anton 34px uppercase; a row of chips: level chip and duration chip ('60 MIN'); an intensity meter: label 'INTENSITY' in mono 11px Dust and five 18×6px bars, filled bars Signal, empty bars Slab; the one-line description in Archivo 16px Chalk 80%; footer row with the weekly count computed from the schedule ('7 SESSIONS / WEEK' for Fundamentals) left and a text link 'Times →' right to ./timetable.html?type=<id>.
   Layout: Ink background, section padding 128px 0 (88px under 768px). SectionHead as in Design spacing. H2 and lead in a two-column header: H2 columns 1–7, lead columns 9–12 bottom-aligned. Cards grid margin-top 64px: 3 columns gap 20px (2 under 1024px, 1 under 640px). Card: Coal background, 1px Slab border, square corners; photo aspect 4/3 (object-fit cover); body padding 24px; chips row margin 16px 0; description min-height 3 lines on desktop. Whole card is not a link; only 'Times →' is.
   Motion: Cards reveal with the hard-cut reveal (Design motion) in 80ms stagger by index. Hover: border turns Signal, photo scales 1.05 inside its frame over 500ms --ease-out, the '→' moves 4px right, and a 4px Signal bar grows from the left along the card's top edge (scaleX 0 → 1, 260ms).
6. **Today on the floor** — A compact strip that makes the gym feel live. Left: label 'TODAY · <weekday in full, uppercase>' in mono 13px Signal and H3 'ON THE FLOOR' in Anton 40px. Right: horizontally scrolling row of today's sessions from the schedule (todayKey()), each a ticket: time '17:30' in Anton 32px, class name in Archivo 600 16px, coach name in 13px Dust, spots label in mono 12px ('7 SPOTS', 'LAST 2 SPOTS' in Signal, 'FULL' in Dust with line-through on the time). Sessions that already ended today (by local time) are shown at 40% opacity with 'DONE'. Last item is a link tile 'FULL WEEK →' to ./timetable.html. If today has no sessions (never with the default data), show 'REST DAY. BACK TOMORROW 06:00.'
   Layout: Concrete background with a 1px Slab top and bottom border, padding 40px 0. Container flex: left block fixed 280px, right block flex 1 with overflow-x auto, scroll-snap-type x mandatory, gap 12px, thin custom scrollbar. Ticket: width 200px, padding 18px, Ink background, 1px Slab border, a 6px-wide dashed vertical perforation on the left edge drawn with a repeating-linear-gradient of Concrete and transparent. Under 768px the left block stacks above the row.
   Motion: Tickets reveal with 50ms stagger. Hover lifts the ticket by -4px and swaps its border to Signal over 160ms.
7. **Pricing (#pricing)** — SectionHead '02' 'MEMBERSHIP' right 'NO JOINING FEE'. H2 'PICK YOUR' / 'ROUND COUNT.' (second line Signal). Segmented toggle centered: 'Monthly' / '10-class pack' (role radiogroup, arrow keys switch). Three plan cards (name · monthly price · monthly allowance · weekly visits used for the per-class math · pack price · pack terms · features): 'Off-peak' · $99/month · unlimited classes before 16:00 and at weekends · 3 · $120 · 10 off-peak classes, use within 3 months · ['Every class type before 16:00', 'Weekend classes', 'Gloves and wraps on loan for month one', 'Freeze up to 4 weeks a year']; 'Anytime' (featured, tag 'MOST PICKED') · $149/month · unlimited classes, any time · 6 · $160 · 10 classes, any time, use within 3 months · ['All 34 weekly sessions', 'Sparring once cleared by a coach', 'Bring a friend free once a month', 'Freeze up to 4 weeks a year']; 'Anytime + Coaching' · $259/month · unlimited classes plus two 30-minute private sessions a month · 6 · $240 · 10 classes plus two 30-minute private sessions, use within 3 months · ['Everything in Anytime', 'Two private sessions with any coach', 'A written six-week strength block', 'Priority booking on full classes']. Each card shows: plan name (Anton 28px uppercase), price (Anton 72px) with suffix ('/MONTH' or '/ 10 CLASSES' in mono 13px Dust), the allowance line, then the per-class math line in mono 13px with a Signal '=' prefix: monthly → '= $8.25 per class at 3 classes a week' computed as price / (weeklyVisits × 4), rounded to cents (99/12 = 8.25, 149/24 = 6.21, 259/24 = 10.79); pack → '= $12.00 per class, never auto-renews' computed as price / 10 (12.00, 16.00, 24.00). Then the feature list with Lucide Check 16px Signal, and a button 'Start free' (primary on the featured card, outline on the others) linking to #trial with ?plan=<id> appended before the hash (./index.html?plan=anytime#trial). Footnote under the cards in 14px Dust: 'Monthly plans roll month to month: cancel with 30 days' notice at the desk or by email. Packs never auto-renew. Students and first responders get 15% off monthly plans with ID.'
   Layout: Coal background, padding 128px 0. Toggle margin 48px auto 0, width 360px (100% under 480px), height 52px, 1px Slab border, two equal cells, a Signal thumb (absolutely positioned, 50% width) sits behind the active label; active label Ink on Signal, inactive Chalk 70%. Cards grid margin-top 48px: 3 columns gap 20px, align-items stretch (stacked under 1024px, featured first on mobile). Card: Ink background, 1px Slab border, padding 32px, flex column, button pushed to the bottom (margin-top auto, full width). Featured card: 2px Signal border, translateY(-12px) on desktop, and the 'MOST PICKED' tag as a Signal label hanging from the top edge (top -14px, left 32px, mono 12px Ink on Signal, padding 4px 10px). Footnote margin-top 32px, centered, max-width 70ch.
   Motion: Toggle thumb slides between cells with a spring (stiffness 500, damping 38). On switch, each price, suffix and per-class line swaps with a vertical roll: old value exits up (y -100%, opacity 0), new value enters from below (y 100% → 0), 220ms --ease-cut, inside an overflow-hidden box, using AnimatePresence mode 'popLayout'. Cards reveal with 80ms stagger.
8. **Coaches (#coaches)** — SectionHead '03' 'COACHES' right '6 COACHES · 53 YEARS COMBINED' (sum computed from content). H2 'CORNERED BY' / 'PEOPLE WHO CARE.' (second line Signal). Six coach cards from content: monogram tile (initials in Anton 88px, Chalk on Concrete, with a diagonal 10px tape-stripe ribbon across the bottom-right corner of the tile), role in mono 12px uppercase Signal, name in Anton 30px uppercase, '14 YEARS COACHING' in mono 12px Dust, speciality tags as outline chips, bio in Archivo 15px Chalk 80%, and 'Teaches:' followed by the class names this coach leads, derived from the schedule (e.g. 'Fundamentals · Bag Rounds').
   Layout: Ink background, padding 128px 0. Grid 3 columns gap 20px (2 under 1024px, 1 under 640px). Card: 1px Slab border, no background; monogram tile aspect 1/1, full card width, grain overlay at 10%; body padding 24px. No photos or AI portraits of coaches.
   Motion: Reveal stagger 70ms. Hover: monogram tile background goes Concrete → Signal and initials Chalk → Ink over 220ms; the tape ribbon slides 12px along its diagonal.
9. **Results and member quotes (#results)** — Full-bleed band with ring-corner.webp in .duo at 35% opacity behind an Ink overlay. SectionHead '04' 'RESULTS'. Four counters in a row (number Anton clamp(64px, 8vw, 120px) Chalk, label mono 12px uppercase Dust, a 32×4px Signal bar above each number): '412' 'active members'; '86%' 'still training after 6 months'; '11,600+' 'classes coached since 2017'; '38' 'members' first amateur bouts'. Below, three quote cards (quote in Archivo 500 20px Chalk, opening mark as a 40px Signal Anton '“', then the result fact in mono 13px Signal, then name and context in 14px Dust): 'I walked in not knowing how to make a fist. Fourteen months later I box three nights a week and sleep like a stone.' · 'DOWN 9 KG · 3 CLASSES / WEEK' · 'Renata V. — member since 2023, accountant'; 'Iron Hour fixed my back and my deadlift in the same year. Dee writes the blocks, I just show up and do them.' · 'DEADLIFT 60 → 115 KG IN 9 MONTHS' · 'Jonah P. — member since 2022, line cook'; 'Tomasz never let me spar until I was ready, and then he matched me perfectly. My first bout felt like a Saturday class.' · 'FIRST AMATEUR BOUT · WON ON POINTS' · 'Lucía M. — member since 2021, nurse'. Small print under the quotes in 13px Dust: 'Results from real routines of individual members; yours depend on how often you train and what you eat.'
   Layout: Relative section, padding 136px 0, background photo absolutely positioned cover with an Ink 80% overlay and grain. Counters: 4-column grid gap 24px (2×2 under 1024px). Quotes margin-top 80px: 3 columns gap 20px (stacked under 1024px), each card 1px Slab border, Ink 70% background, padding 32px.
   Motion: Counters tick when 40% visible (Design motion); the Signal bars wipe in from the left (scaleX 0 → 1, 500ms) just before. Quote cards reveal with 90ms stagger.
10. **Free trial form (#trial)** — SectionHead '05' 'FREE TRIAL' right '1 CLASS · NO CARD'. Left column: H2 'YOUR FIRST' / 'ROUND IS ON US.' (second line Signal); lead 'Pick a class, tell us a little about you and show up 15 minutes early. A coach meets you at the desk, wraps your hands and stays with you all session.'; checklist with Lucide Check 16px Signal: 'Gloves and wraps on loan', 'Showers, lockers and towels', 'No contract, no card, no hard sell'; photo bench-gloves.webp (.duo, aspect 1/1). Right column: the form card titled 'BOOK YOUR TRIAL' (Anton 32px). Fields, in order: First name (required, error 'Tell us what to call you.'); Last name (required, error 'Add your last name.'); Email (required, regex /^[^\s@]+@[^\s@]+\.[^\s@]+$/, error 'Enter an email like [email protected].'); Phone (optional, if filled must contain at least 10 digits, error 'Add a number with at least 10 digits, or leave it empty.'); 'Which class?' select listing every non-full session grouped by day in <optgroup>s, option text 'Mon 17:30 · Fundamentals · Marco' (full sessions omitted), required, error 'Pick a class for your trial.'; 'Boxing experience' radio tiles 'Never thrown a punch' / 'A few classes' / 'I've competed', required, error 'Choose the closest one.' — if 'Never thrown a punch' and the chosen session is Sparring or Pad Lab, show an inline Signal-bordered note: 'Most first-timers start at Fundamentals. You can keep this class, but we'd suggest Wed 17:30 or Sat 09:00.' (the two times are the next two Fundamentals sessions that are not full, counted from now); 'Injuries or anything we should know?' textarea (optional, max 300 chars, live counter '0 / 300'); checkbox 'I'm 16 or older and will fill in a short health form at the desk.' (required, error 'Please confirm to continue.'). Prefill: if the URL has ?class=<session id>, preselect it; if it has ?plan=<id>, show a small line above the submit button 'Interested in: Anytime' (plan name). Submit button full width 'Book my free class'. Validation: on blur per field once touched, and all fields on submit; on submit with errors, focus the first invalid field and show a summary line at the top in Signal: 'Fix 2 fields to book your class.' (count). On valid submit: button text 'Booking…' with a 14px spinner for 800ms, then the form card is replaced by a ticket-style success panel: mono 'TRIAL CONFIRMED' in Signal, H3 'YOU'RE IN, {FIRST NAME}.' (uppercase), a row of three fields 'CLASS' (e.g. 'Fundamentals'), 'WHEN' ('Mon 17:30–18:30'), 'COACH' ('Marco Ruelas'), the reference 'CB-' + 4 random digits in JetBrains Mono 20px, text 'Arrive 15 minutes early at 2210 Foundry Row. Bring water and wear trainers; we'll handle the rest. A confirmation is on its way to {email}.' Nothing is actually sent. Button 'Book another' resets the form.
   Layout: Concrete background, padding 128px 0. 12-column grid: left columns 1–5 (H2, lead margin-top 24px, checklist margin-top 28px gap 12px, photo margin-top 40px, hidden under 1024px); right columns 7–12 the card: Ink background, 1px Slab border, padding 40px (24px under 640px). Two-column row for first/last name (stack under 640px). Labels Archivo 600 13px uppercase letter-spacing 0.06em Chalk 80% above inputs; inputs height 52px, background Coal, 1px Slab border, Chalk text 16px, padding 0 16px, square; focus: border Signal plus 2px Signal outline offset 2px; invalid: border Signal, message 13px Signal with a Lucide AlertTriangle 14px, role alert, aria-invalid and aria-describedby set. Radio tiles: 3 equal columns (stacked under 640px), selected tile Signal border 2px and Chalk text, others Dust text. Ticket success panel: same card size, a dashed 1px Slab line separating the header and the fields row, two 24px half-circle notches cut into the left and right edges at the dashed line (radial-gradient masks), min-height equal to the form's so the page does not jump. Real <form noValidate> with onSubmit preventDefault; nothing is sent or stored.
   Motion: Error messages slide down (height auto, 180ms). Success: the form fades out (150ms), the ticket drops in from y -24px with a slight rotate(-1.5deg) → 0 and opacity 0 → 1 over 420ms --ease-cut, then a 6px Signal tape stripe wipes across its top edge (scaleX 0 → 1, 360ms).
11. **Beginner FAQ (#faq)** — SectionHead '06' 'FIRST-TIMER FAQ'. Left: H2 'ASK BEFORE' / 'YOU ASK.' (second line Signal) and the public-domain photo black-gloves.jpg (.duo, aspect 4/5, object-position 30% 50%) with a mono caption 'Loaner gloves live on the wall by the desk.'. Right: eight accordion items: 'I've never boxed. Am I too unfit to start?' → 'No. Fundamentals is built for day one: technique first, conditioning second, and every drill has an easier version. Most members came in unable to finish a three-minute round.'; 'Will I get hit?' → 'Not unless you choose to. Fundamentals, Bag Rounds, Pad Lab, Iron Hour and Engine are no-contact. Sparring is optional and only open once a coach has cleared you, usually after three to six months.'; 'What should I wear and bring?' → 'Trainers or bare feet, clothes you can move in, water and a towel. We lend gloves and wraps for your first month; after that, 12–16 oz gloves cost around $60.'; 'How big are the classes?' → 'Sixteen people maximum, twelve for Sparring, with at least one coach on the floor and two in Fundamentals on weekday evenings.'; 'I'm 47. Is this a young person's gym?' → 'Our members range from 16 to 68. The median age is 34, and the 07:15 crowd skews older and very punctual.'; 'How often should a beginner train?' → 'Two or three times a week: two Fundamentals and one Iron Hour or Engine is the mix we recommend for the first eight weeks.'; 'Can I freeze or cancel?' → 'Monthly plans can be frozen for up to four weeks a year and cancelled with 30 days' notice. Packs never auto-renew and last three months.'; 'Is there parking?' → 'Twelve free spots in the yard off Tallow Street, a covered bike rack inside the door, and the 14 bus stops at Foundry Row and 3rd.'.
   Layout: Ink background, padding 128px 0. Grid: left columns 1–5 sticky at top 104px on ≥1024px (H2 then photo margin-top 40px), right columns 7–12 the accordion. Item: 1px Slab bottom border, question button full width, padding 24px 0, Archivo 600 19px Chalk, a 28px square toggle at the right with a CSS plus (two 2px bars) that turns Signal when open; answer Archivo 16px/1.65 Chalk 80%, padding 0 48px 24px 0. One item open at a time; first item open by default. Buttons use aria-expanded and aria-controls.
   Motion: Answer height animates 0 → auto with opacity over 280ms --ease-cut (AnimatePresence); the plus rotates 45° into an X.
12. **Visit band** — Three columns: 'FIND US' — '2210 Foundry Row', 'Oakland, CA 94607', 'Entrance on Tallow St, roller door with the orange stripe'; 'DESK HOURS' — the four hour lines from content in a two-column mono table, today's row in Signal with a small 'TODAY' tag, plus a live line 'Open now · until 21:30' or 'Closed · opens Sat 08:30' computed in America/Los_Angeles; 'CALL OR WRITE' — '(510) 555-0172' (tel: link) and '[email protected]' (mailto: link). Right of them a code-drawn SVG block map: a dark grid of 8 street rectangles in Concrete on Coal, street labels 'FOUNDRY ROW', 'TALLOW ST', '3RD ST' in mono 10px Dust, the gym's block filled with the tape-stripe pattern and a 12px Signal square marker with the label 'YOU'RE HERE SOON'.
   Layout: Coal background, 1px Slab top border, padding 88px 0. Grid 12 columns: three info columns spanning 1–7 (each with a mono 12px Signal heading), map spanning 8–12 with aspect 4/3 and a 1px Slab border. Under 1024px everything stacks, map last.
   Motion: Map marker pulses (scale 1 → 1.6, opacity 0.6 → 0, 1.6s infinite) on a ring behind the square.
13. **Footer** — Tape-stripe band on top. Huge wordmark [BRAND] uppercase in Anton clamp(64px, 12vw, 200px), line-height 0.85, Chalk, the last word in Signal, breaking naturally. Four columns: 'TRAIN' (the six class names → ./timetable.html?type=<id>); 'CLUB' (Pricing, Coaches, Results, FAQ → ./index.html#<id>); 'VISIT' (address lines and phone); 'HOURS' (four lines). Bottom row: '© 2017–present [BRAND]. Train hard, tap gloves, put the weights back.' left; right, if [CREDIT] is kept, the small credit link in mono 11px Dust.
   Layout: Ink background, padding 72px 0 32px. Wordmark margin-bottom 56px with a 1px Slab rule under it. 4-column grid gap 32px (2 under 1024px, 1 under 640px); column headings mono 12px Signal, items Archivo 15px Chalk 80%. Bottom row margin-top 56px, padding-top 20px, 1px Slab top border, flex space-between, stacked under 640px.
   Motion: Wordmark lines rise with the headline mask when they enter.

### Timetable (`timetable.html`)
1. **Header** — Same Header component as index.html, always in the scrolled state, 'Timetable' active.
   Layout: Fixed, 72px. Page content starts with padding-top 72px.
2. **Masthead** — Eyebrow 'TIMETABLE · 34 SESSIONS · MON–SUN' in mono 13px Signal (count computed from the schedule). H1 'THE WEEK.' Lead: '34 classes, six types, sixteen people max. Tap any class for the details, then book it as your free trial.' Right side: a vertical legend of the six class types with a two-letter code each in a 28px Concrete square (FU, BR, PL, SP, IH, EN) and the intensity bars, so the codes used in compact grid cells are explained. Below the masthead, a full-width band with heavy-ropes.jpg (.duo, aspect 16/4 on desktop, 16/7 on mobile, object-position 50% 40%) and the tape stripe under it.
   Layout: Ink background, padding 64px 0 48px. Grid: text columns 1–7 (H1 Anton clamp(72px, 12vw, 180px), line-height 0.86), legend columns 9–12 as a 2×3 grid on desktop, a horizontal scrolling row under 1024px. Photo band full width below, margin-top 48px.
   Motion: H1 headline mask on load; legend items fade in with 40ms stagger; band photo parallax: the image moves from 0 to -8% of its height across the band's scroll progress (Motion useScroll + useTransform).
3. **Filter bar** — Two chip groups. 'CLASS' (mono 11px Dust label): 'All', then the six class names. 'LEVEL': 'Any level', 'Beginner', 'Open to all', 'Intermediate', 'Advanced'. Class chips are multi-select (selecting any deselects 'All'; deselecting the last one reselects 'All'); level is single-select. Right side: live count 'SHOWING 12 OF 34' in mono 13px (aria-live polite) and a text button 'Clear' (Lucide X 14px) shown only when a filter is active. Filters sync to the URL query (?type=bag-rounds,engine&level=beginner) with history.replaceState, and are read from it on load, so links from the home page land pre-filtered.
   Layout: Sticky at top 72px, z-index 30, Ink at 95% with backdrop-filter blur(8px), 1px Slab bottom border, padding 16px 0. Container flex wrap gap 12px 32px. Chip: height 36px, padding 0 14px, 1px Slab border, Archivo 600 13px uppercase letter-spacing 0.06em, Chalk 75%; selected chip Signal background, Ink text, Signal border; buttons with aria-pressed. Under 768px each group is a single horizontally scrolling row (overflow-x auto, no wrap) and the count moves under them.
   Motion: Chip background and color transition 140ms; a pressed chip scales to 0.96 for 80ms. The count number rolls like the pricing prices (220ms).
4. **Weekly grid (desktop ≥1024px)** — Eight columns: a time column and Mon–Sun. Column headers: day short name in Anton 28px ('MON') and the session count in mono 11px Dust ('6 CLASSES'); today's column header is Signal with a 3px Signal underline and the label 'TODAY', and today's column body has a Coal background. Rows: the nine distinct start times in the schedule, sorted (06:00, 07:15, 09:00, 10:15, 11:30, 12:15, 17:30, 18:45, 20:00), each row labelled in mono 13px Dust. Each session cell is a button: two-letter code chip, class name Archivo 700 15px uppercase, '17:30–18:30' in mono 12px, coach first name in 13px Dust, and the spots label at the bottom ('7 SPOTS' Chalk 70%, 'LAST 2 SPOTS' Signal, 'FULL · WAITLIST' Dust). Empty slots are a faint 1px dashed Slab cell with no content. Sessions that do not match the filters stay in place at 18% opacity, lose their hover effect and become non-focusable (tabIndex -1, aria-hidden). Sessions earlier today than the current local time show 'DONE' instead of spots.
   Layout: Container 1360px. CSS grid: grid-template-columns 72px repeat(7, minmax(0, 1fr)), gap 6px. Session cell min-height 112px, padding 12px, Concrete background, 1px Slab border, square, a 3px left border in Signal for Beginner sessions only (marks beginner-friendly). Full sessions get Coal background and Dust text.
   Motion: Grid cells reveal in reading order with 12ms stagger on first paint. Filter changes animate opacity (200ms) without layout shift. Hover/focus on a matching cell: border Signal, translateY(-2px), 140ms.
5. **Day list (mobile and tablet <1024px)** — Seven day tabs 'MON'…'SUN' with today's tab selected on load (role tablist, arrow keys move between tabs). Below, the selected day's matching sessions as full-width rows: time block left (start time Anton 30px, end time mono 12px Dust), then class name, level chip, coach and spots, and a Lucide ChevronRight 18px at the right. Each tab shows a small count of matching sessions for that day ('MON 4'). If a day has no matching sessions: 'No classes match on Thursday.' plus a button 'Clear filters'.
   Layout: Tabs: a 7-column grid sticky under the filter bar, height 56px, Anton 18px; selected tab Signal text with a 3px Signal bottom border. Rows: padding 16px 0, 1px Slab bottom border, grid-template-columns 76px 1fr 18px, gap 16px. Non-matching sessions are removed from the list (not dimmed) on mobile.
   Motion: Switching tabs: the list crossfades and slides 16px in the tab direction over 220ms (AnimatePresence mode 'wait').
6. **Class detail drawer** — Opening any session (cell, row or a link with ?class=<session id> on load) opens a drawer showing: top bar with the two-letter code chip, the day and time 'MONDAY · 17:30–18:30' in mono 13px Signal and a close button (Lucide X 20px, aria-label 'Close'); the class photo (same mapping as the home Classes cards, .duo, aspect 16/9); class name Anton 48px uppercase; chips: level, duration, 'MAX 16' ('MAX 12' for Sparring); the intensity meter; the class description (from content, plus a second sentence of detail written per type, e.g. for Fundamentals 'Each session ends with three rounds on the bag so you leave having hit something.'); 'WHAT TO BRING' with the type's bring line; coach block: 56px monogram square, name, role and specialities; capacity bar: a 6px Slab track with a Signal fill at booked/capacity and the text '9 OF 16 BOOKED · 7 SPOTS LEFT'; 'ALSO THIS WEEK' list of the other sessions of the same type as small buttons that switch the drawer content; footer with primary button 'Book as free trial' → ./index.html?class=<session id>#trial (for full sessions the button reads 'Join waitlist at the desk' and is a tel: link) and secondary 'Close'.
   Layout: Right-side panel, width 460px (100vw under 640px), full height, Ink background, 1px Slab left border, its own scroll; header and footer sticky inside it. Backdrop: Ink at 70% covering the page. The drawer is a role dialog with aria-modal, labelled by the class name; focus moves to the close button on open, Tab is trapped inside, Escape and backdrop click close it, focus returns to the cell that opened it, body scroll is locked. Selected session id is mirrored in the URL (?class=…) with replaceState and removed on close.
   Motion: Drawer slides from x 100% to 0 with a spring (stiffness 420, damping 40); backdrop fades 0 → 1 over 200ms; inner blocks fade-up 12px with 40ms stagger after the panel lands. Switching to another session from 'Also this week' crossfades the content (160ms). Reduced motion: instant open/close with a 120ms fade.
7. **House rules and call to action** — Four rule tiles with a mono index and Lucide icon (Clock, Hand, Droplets, ShieldCheck), titles in Anton 24px uppercase and one sentence each: 'BE EARLY' — 'Doors to the floor close 5 minutes after start. Ten minutes early gets you wrapped and warm.'; 'TAP GLOVES' — 'Partners rotate every round. Respect the person holding the pads.'; 'WIPE IT DOWN' — 'Bags, benches and bars get wiped after use. Spray bottles hang on every pillar.'; 'TELL THE COACH' — 'Injury, bad night's sleep, first time back: say so before the warm-up and we'll scale it.'. Then a CTA band: H2 'FIRST CLASS' / 'IS FREE.' (second line Signal) with button 'Book trial' → ./index.html#trial and outline 'See prices' → ./index.html#pricing.
   Layout: Coal background, padding 96px 0. Tiles: 4 columns gap 20px (2 under 1024px, 1 under 640px), each 1px Slab border, padding 28px. CTA band margin-top 96px: Ink panel with a 10px tape stripe along its top edge, padding 56px, flex space-between align-end, stacked under 768px.
   Motion: Tiles reveal with 70ms stagger; CTA H2 uses the headline mask.
8. **Footer** — Same Footer component as index.html.
   Layout: Identical to the home footer.

## Assets
- image: Template photos made for this design (free to redistribute with the template). Download each with curl -L -o into public/images/: https://media.vibefather.ai/assets/780d94b9-915b-4c06-9d9c-b81d44fea230/gym-floor.webp → public/images/gym-floor.webp (Home hero background; alt 'Row of worn heavy bags hanging from a steel beam in a dark warehouse gym'); https://media.vibefather.ai/assets/780d94b9-915b-4c06-9d9c-b81d44fea230/ring-corner.webp → public/images/ring-corner.webp (Sparring class card, drawer for Sparring, Results background; alt 'Corner of a boxing ring with taped post and dark ropes under a single light'); https://media.vibefather.ai/assets/780d94b9-915b-4c06-9d9c-b81d44fea230/hand-wraps.webp → public/images/hand-wraps.webp (Fundamentals class card and drawer; alt 'Hands wrapping a black hand wrap around the knuckles on a gym bench'); https://media.vibefather.ai/assets/780d94b9-915b-4c06-9d9c-b81d44fea230/heavy-bag.webp → public/images/heavy-bag.webp (Bag Rounds class card and drawer; alt 'Black heavy bag swinging on its chain with chalk dust in the air'); https://media.vibefather.ai/assets/780d94b9-915b-4c06-9d9c-b81d44fea230/kettlebells.webp → public/images/kettlebells.webp (Iron Hour class card and drawer; alt 'Row of cast-iron kettlebells and a bowl of chalk on rubber flooring'); https://media.vibefather.ai/assets/780d94b9-915b-4c06-9d9c-b81d44fea230/bench-gloves.webp → public/images/bench-gloves.webp (Pad Lab class card and drawer, Free trial section; alt 'Worn boxing gloves, skipping rope and hand wrap on a wooden bench').
- image: Public-domain photo: https://thumb.wikimedia.org/wikipedia/commons/thumb/2/2a/Black_boxing_gloves.jpg/1920px-Black_boxing_gloves.jpg → public/images/black-gloves.jpg. Used in the Beginner FAQ (aspect 4/5, object-position 30% 50%; alt 'Old pair of black leather boxing gloves with loose laces'). Source page https://commons.wikimedia.org/wiki/File:Black_boxing_gloves.jpg, author Airman 1st Class Kerelin Molina (U.S. Air Force, via Wikimedia Commons), license Public domain.
- image: CC0 photo: https://thumb.wikimedia.org/wikipedia/commons/thumb/2/2b/Heavy_ropes._%2816589110973%29.jpg/1920px-Heavy_ropes._%2816589110973%29.jpg → public/images/heavy-ropes.jpg. Used on the Engine class card and drawer and as the timetable masthead band (alt 'Close-up of thick coiled training ropes'). Source page https://commons.wikimedia.org/wiki/File:Heavy_ropes._(16589110973).jpg, author Bernard Spragg (Christchurch, New Zealand, via Wikimedia Commons), license CC0 1.0.
- image: ASSETS.md at the project root lists all eight images with path, source URL, author and license: the six template photos as 'Made for this template, redistributable with it' with their media.vibefather.ai URLs, black-gloves.jpg (Public domain, Airman 1st Class Kerelin Molina, U.S. Air Force) and heavy-ropes.jpg (CC0 1.0, Bernard Spragg), plus the three font packages (OFL-1.1) and lucide-react (ISC).
- icon: public/favicon.svg hand-written: viewBox 0 0 32 32, a 32×32 square filled #0C0C0B, a 32×8 band at the bottom filled with three diagonal #FF4F1F stripes (polygons, 45°), and a centered bold uppercase 'C' (first letter of [BRAND]) as SVG <text> x 16 y 21, text-anchor middle, font-family Impact, sans-serif, font-size 20, fill #EDEAE3. All UI icons come from lucide-react; no other icon sets and no logos.
- font: Install @fontsource/anton, @fontsource-variable/archivo and @fontsource/jetbrains-mono and import them in src/fonts.ts as listed in Setup. Vite bundles the woff2 files into dist/.

## Don'ts
- No backend of any kind: no server code, API routes, databases, auth, analytics, booking services, payment links, email services or third-party APIs. The trial form calls preventDefault and only changes local React state; it never submits, stores or sends anything.
- Do not load fonts from fonts.googleapis.com, fonts.gstatic.com, Adobe Fonts or any CDN. Self-host through the Fontsource packages only.
- No CDN <script>, <link> or import maps. Every script, style, font, icon and image is in the project and bundled into dist/.
- No hotlinked images: every photo is downloaded into public/images/ once and served from there, and every third-party file is listed in ASSETS.md. No Unsplash, Pexels, Pixabay or other stock sites with their own licenses.
- No source maps in the production build (build.sourcemap false), and src/ is not copied into dist/.
- Relative asset paths (Vite base './'). Internal links are hash anchors or file names such as ./index.html, ./index.html#trial, ./index.html?class=mon-1730#trial and ./timetable.html?type=engine, never a bare directory or a leading slash.
- Do not change the stack (Vite 5 + React 18 + TypeScript + Tailwind CSS 3.4 + Motion + lucide-react + Fontsource, two HTML entries) unless the user asks. No router library, no UI kit, no calendar or date library.
- No logos, names or signage of any real gym, boxing promotion, governing body or fitness franchise, and no trademarked class or programme names belonging to fitness chains. Class names are the six invented ones given here.
- No real fighters' names, titles, records or quotes. Every coach, member, quote, number and street is invented.
- No photos with identifiable faces, readable text, equipment brand names or logos on gloves, bags, mats or apparel. Use only the eight listed images; coaches are monograms, never photos or AI portraits.
- No commercial or custom display fonts associated with sports brands: only Anton, Archivo and JetBrains Mono (OFL).
- Only dependencies under MIT, ISC, BSD, Apache-2.0, 0BSD, CC0 or Unlicense (OFL for fonts). No Aceternity UI, Tailwind Plus / Tailwind UI or purchased template code; write every effect from scratch.
- One accent only: Signal (#FF4F1F) and its hover shade. No decorative gradients (the only gradients are the tape stripes, the grain and the hero legibility overlay), no glows, no glassmorphism cards, no rounded corners, no second accent color.
- Respect prefers-reduced-motion exactly as described under Design motion. Every interactive element is keyboard reachable with the 2px Signal focus ring; chips use aria-pressed, tabs use role tab, accordions use aria-expanded, the drawer is a focus-trapped modal dialog, form errors use role alert.
- Must render at 1440×900 and 390×844 with zero console errors and no horizontal page scroll (only the marquee, the today strip, the legend and the mobile chip rows scroll inside themselves).
- Keep dist/ under 20 MB (target under 8 MB).
- No lorem ipsum, filler or hype words. Use the exact headlines, schedule, prices, numbers and CTAs given here for the default values. No meta descriptions, Open Graph tags, JSON-LD or sitemap: only the <title> and favicon.

---
— Prompt by VibeFather · https://vibefather.ai/t/boxing-and-strength-gym-website · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
中文参考译文(帮助理解,复制给 AI 时请用上面的英文原版)
# 拳击与力量训练健身房网站

完全按照以下描述构建此网站。将 [VARIABLES] 替换为你自己的值;其余内容保持不变。

## 简介
为 [BRAND] 打造的双页网站,[BRAND] 是位于 [CITY] 的一家精品健身房,面向 [AUDIENCE] 教授 [DISCIPLINE]。整体风格大胆粗粝:近黑色与混凝土灰为主,辅以一抹血橙色信号强调色;巨大的压缩体大写标题;带有颗粒感的双色调照片,拍摄沙袋、拳套、绳索、拳台围绳与壶铃(绝不出现人脸);以及斜向胶带条纹分隔线。第 1 页(index.html)是一个长单页:主视觉区、课程类型、今日课程、会员定价(带月度 / 10 次课包切换)、教练(带字母组合头像)、成果与会员评价、带页面内票据确认的免费体验预约表单(含验证)、新手常见问题以及到店信息带。第 2 页(timetable.html)是可筛选的每周课程表(桌面端为日期 × 时间网格,移动端为日期标签页),带滑入式课程详情抽屉。全部为静态、纯客户端实现。

- 受众:[CITY] 的 [AUDIENCE],对拳击好奇,但对走进一家格斗健身房感到紧张;也包括会员,用手机查看今晚的课程。他们想了解每节课是什么样、是否适合自己的水平、费用多少,以及如何免费体验。
- 目标:将紧张的访客转化为已预约的免费体验课。主视觉区、课程卡片、课程表抽屉和定价都导向体验表单;常见问题与教练卡片消除对受伤或格格不入的恐惧。次要目标:让课程表成为会员按类型和水平查找课程的最快方式。
- 语气:粗粝之下简短、直接而温暖,像一位好教练:大写祈使句标题,正文用平实句子,具体数字(时间、价格、公斤数、容量),不吹嘘,不搞格斗宣传式的逞强,不用感叹号。绝不嘲弄新手。

## 技术栈
- 框架:Vite 5 + React 18 + TypeScript
- 样式:Tailwind CSS 3.4
- 库:react(MIT)、react-dom(MIT)、motion(motion.dev,从 'motion/react' 导入)(MIT)、lucide-react(ISC)、tailwindcss(MIT)、postcss(MIT)、autoprefixer(MIT)、vite(MIT)、@vitejs/plugin-react(MIT)、typescript(Apache-2.0)、@fontsource/anton(OFL-1.1)、@fontsource-variable/archivo(OFL-1.1)、@fontsource/jetbrains-mono(OFL-1.1)
- 构建:`npm run build` → 静态文件输出到 `dist/`。无后端、无服务端代码、无外部 API。
- 设置:
  - 使用 react-ts 模板通过 npm create vite@latest 搭建脚手架。项目根目录下有两个真实的 HTML 页面:index.html(入口 src/main-home.tsx)和 timetable.html(入口 src/main-timetable.tsx)。不使用路由库。
  - vite.config.ts:base './',plugins [react()],build { outDir 'dist', sourcemap false, assetsInlineLimit 0, rollupOptions { input { index: resolve(__dirname, 'index.html'), timetable: resolve(__dirname, 'timetable.html') } } }。不要将 src/ 复制到 dist/。
  - 通过 PostCSS 使用 Tailwind 3.4(tailwindcss + postcss + autoprefixer),content ['./index.html', './timetable.html', './src/**/*.{ts,tsx}']。在 tailwind.config.ts 中,将每个 Design 颜色以 kebab-case 键(ink、coal、concrete、slab、dust、chalk、signal、signal-deep)添加到 theme.extend.colors 下,并设置 fontFamily display ['Anton', 'Impact', 'sans-serif']、sans ['Archivo Variable', 'system-ui', 'sans-serif']、mono ['JetBrains Mono', 'ui-monospace', 'monospace']。将 borderRadius DEFAULT 设为 0。
  - 在 src/fonts.ts 中导入 '@fontsource/anton/400.css'、'@fontsource-variable/archivo'、'@fontsource/jetbrains-mono/400.css' 和 '@fontsource/jetbrains-mono/500.css';从两个入口文件导入 src/fonts.ts 和 src/index.css。
  - src/index.css 包含 Tailwind 层、缓动(--ease-cut、--ease-out)的 CSS 自定义属性、.duo、.grain、.tape 和 .reveal-cut 工具类、marquee 关键帧以及 prefers-reduced-motion 覆盖。
  - 文件布局:src/content.ts(所有文案和数据)、src/lib/schedule.ts、src/lib/useCountUp.ts、src/lib/useQueryState.ts(使用 replaceState 读写 URL 查询参数)、src/lib/useOpenNow.ts、src/lib/validate.ts(试课表单规则)。
  - src/components/ 中的组件:Header.tsx、MobileMenu.tsx、SectionHead.tsx、Mask.tsx(标题行遮罩)、Reveal.tsx、DuoPhoto.tsx(img + .duo + .grain 包装器,带 alt)、Tape.tsx、Marquee.tsx、Hero.tsx、ClassCards.tsx、Intensity.tsx、TodayStrip.tsx、Pricing.tsx、PlanCard.tsx、Coaches.tsx、Monogram.tsx、Results.tsx、TrialForm.tsx、TrialTicket.tsx、Faq.tsx、Visit.tsx、BlockMap.tsx(内联 SVG)、Footer.tsx、timetable/(Masthead.tsx、FilterBar.tsx、WeekGrid.tsx、DayList.tsx、ClassDrawer.tsx、Rules.tsx)。src/pages/Home.tsx 和 src/pages/Timetable.tsx 组合它们;试课表单读取 ?class 和 ?plan,课程表读取 ?type、?level 和 ?class。
  - 在首次构建之前,使用 curl -L -o 并按照给定的确切文件名,将 Assets 下列出的每张图片下载到 public/images/。构建本身从不获取任何内容。
  - public/favicon.svg 如 Assets 所述。两个 HTML 文件:lang en、<meta name='theme-color' content='#0C0C0B'>、<link rel='icon' href='./favicon.svg' type='image/svg+xml'>。标题:index.html '<title>[BRAND] — [DISCIPLINE] in [CITY]</title>'(将 discipline 的首字母大写),timetable.html '<title>Timetable — [BRAND]</title>'。
  - 在项目根目录编写 ASSETS.md,如 Assets 所述。
  - dist/ 包含 index.html、timetable.html、带哈希的 JS/CSS、woff2 字体、favicon.svg 和八张图片。保持在 8 MB 以下。

## 变量
- [BRAND] — 健身房名称(默认:"Cinderblock Boxing Club")。虚构的健身房名称,2–4 个单词。以 Anton 大写字体作为字标(页眉、页脚、标题);其前两个单词的首字母构成预约参考前缀(CB-)。
- [DISCIPLINE] — 健身房教授的内容(默认:"boxing and strength training")。小写短语。驱动主视觉、六种课程类型及其描述、教练专长、跑马灯、成果、引语和 FAQ 答案。为新项目(例如 Muay Thai、kickboxing、wrestling、kettlebell sport)重写所有这些内容,保持六种类型和 34 节课。
- [CITY] — 城市(默认:"Oakland, California")。健身房所在地。用于主视觉眉标和导语、到访横幅、页脚和标题。重写地址、电话格式、货币和时区以适配;街道名称保持虚构。
- [AUDIENCE] — 在那里训练的人群(默认:"busy adults, from first-timers to amateur fighters")。小写短语。塑造主视觉导语、体验表单的安心文案、引语(会员的职业和年龄)以及 FAQ。
- [CREDIT] — 在页脚保留一个小型 "Template by VibeFather" 链接指向 https://vibefather.ai/t/boxing-and-strength-gym-website(默认:是;删除此行以移除)

页面与区块下的文案是为默认值编写的。如果你的值不同,请为它们重写每一个标题、段落、标签和图片——保持相同的长度、语气和结构。布局、颜色、字体和动效保持所述不变。
将所有文案、图片路径和链接放在一个内容文件中(例如 `src/content.ts`),按区块键控,以便日后无需改动组件即可替换内容。

## 设计
### 颜色
- Ink `#0C0C0B` — 页面背景、滚动时的页头、抽屉和表单卡片背景、Signal 上的文字。
- Coal `#151513` — 交替区块背景(跑马灯、价格、到访横幅、场馆规则)、卡片背景、输入框、完整课程。
- Concrete `#232320` — 凸起面板:今日条、体验课区块、课程表课程单元格、字母组合方块、地图块。
- Slab `#36352F` — 所有 1px 边框和分隔线、空强度条、容量轨道、虚线空单元格。
- Dust `#8E8B82` — 弱化文字:标签、说明文字、单元格中的教练姓名、小字、'FULL' 状态。
- Chalk `#EDEAE3` — 主文字和标题;正文使用 80% 的 Chalk。
- Signal `#FF4F1F` — 唯一强调色(血橙色):主按钮、激活的标签和选项卡、第二行标题、强度条、胶带条纹、错误状态、焦点环、今日标记。
- Signal Deep `#D63A0F` — Signal 按钮和标签的悬停与按下状态。

### 字体排印
- 展示:H1、H2、H3、字标、价格、计数器、字母组合、课程时间、卡片上的课程名称(字体族 'Anton')。始终大写。:Anton (OFL),字重 400
- 文本:正文、导航、按钮、标签、表单字段、FAQ、引语(字体族 'Archivo Variable';按钮和标签使用字重 600–700,大写并带 0.06em 字距)。:Archivo (OFL),字重 400/500/600/700
- 等宽:眉题、区块索引、统计标签、场次和容量标签、每节课计算、参考、营业时间表(字体族 'JetBrains Mono',大写,字距 0.1em)。:JetBrains Mono (OFL),字重 400/500

### 布局与动效
- 间距:8px 基准单位。容器最大宽度 1360px,居中,侧边内边距桌面 40px、平板 24px、640px 以下 20px。12 列网格,间距 24px。区块内边距桌面垂直 128px、768px 以下 88px。每个首页区块都有 SectionHead:一条 1px Slab 分隔线横跨容器,其下 20px 是一行,包含等宽索引('01',JetBrains Mono 500 13px,Signal)、旁边的等宽标签('CLASSES',13px,字距 0.16em,Chalk 70%)以及可选的右对齐等宽计数;H2 上边距 40px。字号比例:H1 Anton clamp(76px, 13.5vw, 212px) 行高 0.86;H2 Anton clamp(52px, 7.4vw, 120px) 行高 0.9,每个 H2 写成两行,第二行用 Signal;H3 Anton 40px 行高 1;正文 Archivo 400 17px/1.6(768px 以下 16px),最大宽度 62ch;导语 Archivo 400 20px/1.5 Chalk 85%。按钮:高度 54px,内边距 0 26px,Archivo 700 14px 大写,字距 0.08em;主按钮 = Signal 背景、Ink 文字,悬停时背景 Signal Deep、transform translate(-2px, -2px) 并带硬 Chalk 阴影 box-shadow 4px 4px 0 #EDEAE3,按下时恢复无阴影无偏移;次按钮 = 1.5px Chalk 边框、Chalk 文字,悬停时 Chalk 背景配 Ink 文字。全局焦点环:2px Signal 轮廓,偏移 3px。
- 圆角:处处直角(0):卡片、照片、按钮、标签、输入框、抽屉、票券。唯一的圆形是脉冲状态点和地图标记环。
- 动效:缓动:--ease-cut cubic-bezier(0.7, 0, 0.2, 1) 用于遮罩、擦除和切换(快速、硬朗);--ease-out cubic-bezier(0.2, 0.7, 0.2, 1) 用于照片缩放。
- 动效:标题遮罩(Mask.tsx):H1 和 H2 的行是 content.ts 中的数组;每行位于一个 overflow-hidden 块中,其内部 span 在 700ms 内以 --ease-cut 从 translateY(110%) 升至 0,错开 80ms,当标题 30% 可见时触发(Motion whileInView,一次)。
- 动效:硬切显现(.reveal-cut / Reveal.tsx):块以 clip-path inset(0 0 100% 0) 和 translateY(24px) 开始,在 15% 可见时于 560ms 内以 --ease-cut 动画至 inset(0) 和 0,一次;列表按索引错开。
- 动效:条纹擦除:每个 Tape 分隔线在进入时从左擦入(clip-path inset(0 100% 0 0) → inset(0),600ms --ease-cut)。
- 动效:计数器跳动(useCountUp,requestAnimationFrame):英雄统计和结果的数字部分在 40% 可见时于 1200ms 内以 easeOutExpo 从 0 到其值,一次;千位分隔符和后缀('%'、'+')保持原位;使用 tabular-nums 使宽度不跳动。
- 动效:跑马灯:线性 translateX(0 → -50%),38s,悬停暂停。
- 动效:照片悬停:在 overflow-hidden 框架内以 500ms --ease-out 从 scale 1 → 1.05。英雄照片加载时从 1.08 → 1。
- 动效:价格滚动、抽屉弹簧、选项卡滑动和票券下落完全按各自区块所述。
- 动效:prefers-reduced-motion: reduce — 禁用遮罩、显现、擦除、视差、照片缩放、跑马灯、脉冲和计数器(显示最终值);抽屉和菜单以 120ms 淡入即时打开;平滑滚动关闭。颜色悬停变化保留。
- 图像:仅使用真实照片,绝不使用插图:为本模板制作的六张照片(带重沙袋的仓库健身房地面、擂台角、缠手带、摆动的重沙袋、带粉笔的壶铃、长凳上的手套和绳子)加上两张公有领域 / CC0 照片(复古黑色拳击手套、盘绕的重绳)。不出现面孔,除手和前臂外不出现人物,不出现品牌名称。每张照片通过 DuoPhoto.tsx 获得相同的双色调分级:一个背景为 #0C0C0B 的包装器;img 具有 filter grayscale(1) contrast(1.3) brightness(0.78);一个 ::before 叠加层,背景 #FF4F1F,mix-blend-mode color,不透明度 0.22(中间调的 Signal 色调);以及 .grain 叠加层:一个内联 SVG data-URI,含 feTurbulence(type fractalNoise,baseFrequency 0.85,numOctaves 3,stitchTiles stitch),220px 平铺尺寸,mix-blend-mode overlay,不透明度 0.22,pointer-events none。处处 object-fit cover。教练是字体排印的字母组合。其他一切用代码绘制:胶带条纹(repeating-linear-gradient -45deg Signal/Ink 16px)、票券缺口、强度条、CSS ✕ 分隔符、区块地图和 favicon。图标仅来自 lucide-react,stroke-width 2,尺寸 14–20px。

## 页面与区块
### 首页(`index.html`)
1. **内容文件与文案规则** — 以下所有文案均按默认值编写([BRAND] = Cinderblock Boxing Club,[DISCIPLINE] = boxing and strength training,[CITY] = Oakland, California,[AUDIENCE] = busy adults, from first-timers to amateur fighters)。将两个页面的所有字符串、数字、列表、课程、场次、教练、价格、引语、FAQ 回答、图片路径和 alt 文本放入 src/content.ts(带类型)并从中渲染。若任何变量值不同,请重写每个标题、课程类型、场次名称、教练专长、价格说明、成果、引语和 FAQ 回答,使其对新健身房和训练项目具体且可信,同时保持相同的结构、数量和大致长度;保留六种课程类型、34 个每周场次、三个方案、六位教练、三条引语和八条 FAQ。两字母参考前缀 = [BRAND] 前两个词的首字母(CB)。字标为 [BRAND] 以字体排版呈现,绝不用绘制标志。所有人物、数字和街道均为虚构。地址:2210 Foundry Row, Oakland, CA 94607(Foundry Row 与 Tallow St 拐角)。电话 (510) 555-0172。邮箱 [email protected]。营业时间(前台有人值守):周一至周四 05:45–21:30,周五 05:45–19:30,周六 08:30–13:00,周日 08:30–11:30。时区 America/Los_Angeles。六种课程类型(id · 名称 · 级别 · 强度 1–5 · 时长 · 一行描述 · 需携带物品),两个页面均使用:'fundamentals' · Fundamentals · Beginner · 2 · 60 min · 'Stance, guard, footwork and the six basic punches, taught in small groups. Where everyone starts.' · 'Water, a towel, hand wraps (we lend them for your first month).';'bag-rounds' · Bag Rounds · Open to all · 4 · 45 min · 'Twelve three-minute rounds on the heavy bags with combinations called from the floor. Loud, sweaty, scalable.' · 'Wraps and 12–16 oz gloves (loaners on the wall).';'pad-lab' · Pad Lab · Intermediate · 3 · 60 min · 'Partner pad work: you hold, you hit, a coach corrects every round. Sharpens timing and defence.' · 'Wraps, gloves, and patience with your partner.';'sparring' · Sparring · Advanced · 5 · 75 min(周六 90 min) · 'Controlled, coach-matched technical sparring for members cleared by a coach. Headgear and mouthguard required.' · 'Mouthguard, headgear, 16 oz sparring gloves, coach sign-off.';'iron-hour' · Iron Hour · Open to all · 3 · 60 min · 'Barbell and kettlebell strength in small squads: squat, hinge, press, carry. Programmed in six-week blocks.' · 'Flat shoes or bare feet, a notebook if you like logging lifts.';'engine' · Engine · Open to all · 5 · 45 min · 'Conditioning circuits with ropes, sleds, skipping and bodyweight. Built to make round three feel like round one.' · 'Water. Lots of it.'。级别顺序:Beginner、Open to all、Intermediate、Advanced。容量:每场 16 人(Sparring 12 人)。每周课表(星期 · 时间 · 课程 id · 教练 id · 已预约/容量),恰好 34 个场次;首页的“Today”条和时间表页面均由此渲染:周一:06:00 engine km 11/16;07:15 fundamentals mr 9/16;12:15 bag-rounds pa 14/16;17:30 fundamentals mr 16/16(已满);18:45 pad-lab tw 12/16;20:00 iron-hour do 8/16。周二:06:00 iron-hour do 10/16;07:15 bag-rounds pa 13/16;12:15 engine km 7/16;17:30 bag-rounds km 15/16;18:45 sparring tw 10/12;20:00 fundamentals ic 11/16。周三:06:00 engine km 12/16;07:15 fundamentals ic 6/16;12:15 iron-hour do 9/16;17:30 fundamentals mr 14/16;18:45 pad-lab pa 13/16;20:00 bag-rounds km 9/16。周四:06:00 iron-hour do 11/16;07:15 bag-rounds pa 10/16;12:15 engine km 8/16;17:30 pad-lab tw 15/16;18:45 sparring tw 12/12(已满);20:00 engine km 6/16。周五:06:00 engine km 9/16;07:15 fundamentals ic 8/16;12:15 bag-rounds pa 12/16;17:30 iron-hour do 13/16;18:45 bag-rounds mr 16/16(已满)。周六:09:00 fundamentals mr 15/16;10:15 pad-lab pa 11/16;11:30 sparring tw 9/12(90 min,'Open sparring')。周日:09:00 iron-hour do 7/16;10:15 bag-rounds ic 10/16。场次 id = '<day>-<time without colon>'(例如 'mon-1745')。结束时间 = 开始时间 + 时长。剩余名额 = 容量 − 已预约;为 0 时显示 'Full · join waitlist',≤ 2 时显示 'Last 2 spots'。六位教练(id · 姓名 · 角色 · 专长 · 执教年数 · 一行简介):mr · Marco Ruelas · Head coach · Footwork, Fundamentals, Southpaw stance · 14 · 'Built the beginner programme. Will fix your feet before he lets you hit anything.';pa · Priya Anand · Coach · Bag Rounds, Pad work, Combinations · 8 · 'Calls the loudest rounds in the building and remembers everyone's favourite combo.';tw · Tomasz Wierzba · Ring coach · Sparring, Defence, Ring craft · 11 · 'Runs every sparring session and matches partners by weight, level and temperament.';do · Dee Okafor · Strength lead · Barbell, Kettlebells, Mobility · 9 · 'Writes the six-week Iron Hour blocks. Former competitive powerlifter, permanent chalk on her hands.';km · Kofi Mensah · Conditioning coach · Engine, Ropes & sleds, Recovery · 6 · 'Designs Engine so the last round hurts less every week. Keeps the rope wall tidy.';ic · Inés Calderón · Coach · Fundamentals, Technique, Early-morning classes · 5 · 'Teaches the 07:15 crowd and the Tuesday night beginners. Patient, precise, relentless about guard.'。字母组合 = 名字首字母 + 姓氏首字母。
   布局:无视觉输出。src/content.ts 导出带类型的对象:gym、nav、hero、marquee、classTypes、sessions、coaches、plans、results、quotes、trial、faq、visit、footer、images。src/lib/schedule.ts 导出辅助函数:sessionsFor(day)、endTime(session)、spotsLabel(session)、todayKey()(根据访客本地时钟返回周一至周日,'mon'…'sun')。
2. **页头** — 左侧字标:一个 14px 的 Signal 方块,后接 [BRAND],Anton 22px 大写,letter-spacing 0.02em,Chalk 色;链接到 ./index.html。导航居中偏右,Archivo 600 14px 大写,letter-spacing 0.08em:'Classes'(./index.html#classes)、'Timetable'(./timetable.html)、'Pricing'(./index.html#pricing)、'Coaches'(./index.html#coaches)、'FAQ'(./index.html#faq)。右侧:主按钮 'Free trial'(./index.html#trial)。在 timetable.html 上,'Timetable' 链接为 Signal 色,带 2px Signal 下划线。低于 1024px:字标 + 'Free trial' 小按钮 + 一个 44px 菜单按钮(Lucide Menu / X)。移动端菜单为全屏 Ink 面板,五个链接以 Anton 48px 大写堆叠,每个链接前有其等宽索引 '01'–'05',Signal 色,底部为地址和电话,JetBrains Mono 13px Dust 色;Escape 和点击链接可关闭,打开时锁定 body 滚动。
   布局:固定顶部,高度 72px(低于 768px 时为 64px),全宽,内部容器,flex space-between,z-index 40。在 hero 上方透明;滚动 40px 后背景为 Ink 92% 不透明度,backdrop-filter blur(10px),1px Slab 底边框。在 timetable.html 上始终处于滚动状态。
   动效:背景/边框过渡 200ms。移动端菜单:clip-path inset(0 0 100% 0) → inset(0),420ms --ease-cut,链接上升 24px,50ms 交错。导航链接:2px Signal 下划线从 scaleX(0) 到 1(原点左侧),悬停时 180ms。
3. **Hero(#top)** — 背景照片 gym-floor.webp,带 .duo 处理和 .grain 叠加层,外加从左到右的渐变,从 Ink 88% 到 Ink 10%,以便文字可读。眉题(JetBrains Mono 13px 大写,letter-spacing 0.16em,Signal):'● [CITY] · BOXING & STRENGTH · EST. 2017'(城市保持大写,点渲染为 8px Signal 方块)。H1 分三行:'THROW' / 'THE FIRST' / 'PUNCH.' — 单词 'PUNCH.' 为 Signal 色。导语(Archivo 400 20px,Chalk 85%,max-width 46ch):'Boxing and strength classes for busy adults in Oakland. Sixteen people per class, a coach on every round, and your first session is free.' 两个按钮:主按钮 'Book trial'(文字后跟 Lucide ArrowRight 18px)→ #trial;次要描边按钮 'See timetable' → ./timetable.html。下方为四项统计行,以 1px Slab 竖线分隔,每项为 Anton 44px 的数字和 JetBrains Mono 12px 大写 Dust 的标签:'34' 'classes a week';'16' 'max per class';'06' 'coaches';'1st' 'class free'。右下角:一个根据课表计算的小型等宽徽章:今天下一个尚未开始且有余位的场次,例如 'TONIGHT 18:45 · PAD LAB · 4 SPOTS'(17:00 起用 'TONIGHT',否则用 'TODAY');如果今天没有剩余场次,则显示下一天第一个有余位的场次,例如 'TOMORROW 06:00 · IRON HOUR · 6 SPOTS'。
   布局:min-height 100svh(最小 680px),内容底部对齐,padding-bottom 72px,容器 1360px,侧边内边距 40px(低于 640px 时为 20px)。12 列网格:文字占据第 1–9 列。H1 Anton clamp(76px, 13.5vw, 212px),line-height 0.86,大写,letter-spacing -0.01em,Chalk 色。导语 margin-top 28px,按钮 margin-top 36px,间距 12px,统计行 margin-top 56px(低于 640px 时为 2×2 网格)。徽章在 ≥1024px 时绝对定位在 bottom 72px right 40px,以下隐藏。照片 object-position 35% 50%。
   动效:加载时:照片在 1800ms 内从 1.08 缩放至 1 --ease-out;每个 H1 行都被遮罩(overflow hidden),并以 80ms 的错峰从 translateY(110%) 向上滑入,700ms --ease-cut,从 150ms 开始;eyebrow、lead、按钮和统计数字在标题之后以 60ms 的错峰向上淡入 16px。统计数字从 0 开始跳动(见 Design motion)。徽章的圆点脉动(opacity 1 → 0.35,1.2s infinite)。
4. **胶带分隔条与课程跑马灯** —— 一条胶带条纹带,然后是由六个课程名称加上 'Free trial'、'Gloves on loan'、'16 max' 组成的跑马灯,Anton 56px 大写,交替使用填充的 Chalk 和描边样式(color transparent,-webkit-text-stroke 1.5px Chalk at 60%),以 20px 的 Signal '✕' 分隔,该 '✕' 在 CSS 中绘制为两根旋转的条(不是字形)。
   布局:胶带条:高度 18px,全宽,背景 repeating-linear-gradient(-45deg, #FF4F1F 0 16px, #0C0C0B 16px 32px),旋转 -1.5deg 并在 x 轴上缩放 1.04,使边缘永不露出,margin -9px 0。跑马灯:Coal 背景,padding 22px 0,overflow hidden,一条轨道包含列表两次,gap 40px,aria-hidden,并带有一个视觉隐藏的纯列表,列出课程名称供屏幕阅读器使用。
   动效:轨道在 38s 内线性平移 -50%,无限循环;悬停时暂停(animation-play-state)。减少动效:无动画,列表居中换行成两行。
5. **课程(#classes)** —— SectionHead:Signal 色的等宽索引 '01',标签 'CLASSES',右侧计数 '6 TYPES · 34 SESSIONS / WEEK'。H2 'SIX WAYS' / 'TO EMPTY THE TANK.'(第二行用 Signal)。Lead 'Every class is capped, coached and scaled. Start at Fundamentals, add what you like, come as often as your plan allows.' 六张卡片按 classTypes 顺序排列,每张:照片(fundamentals → hand-wraps.webp,bag-rounds → heavy-bag.webp,pad-lab → bench-gloves.webp,sparring → ring-corner.webp,iron-hour → kettlebells.webp,engine → heavy-ropes.jpg)带 .duo + .grain;照片左上角有一个等宽标签 '0n / 06';下方:名称用 Anton 34px 大写;一行 chips:level chip 和 duration chip('60 MIN');一个强度计:标签 'INTENSITY' 用等宽 11px Dust 和五个 18×6px 的条,填充条为 Signal,空条为 Slab;一行描述用 Archivo 16px Chalk 80%;页脚行左侧是从日程计算出的每周次数(Fundamentals 为 '7 SESSIONS / WEEK'),右侧是文本链接 'Times →' 指向 ./timetable.html?type=<id>。
   布局:Ink 背景,section padding 128px 0(768px 以下为 88px)。SectionHead 如 Design spacing 中所述。H2 和 lead 在两栏头部中:H2 占第 1–7 栏,lead 占第 9–12 栏底部对齐。卡片网格 margin-top 64px:3 栏 gap 20px(1024px 以下 2 栏,640px 以下 1 栏)。卡片:Coal 背景,1px Slab 边框,直角;照片宽高比 4/3(object-fit cover);body padding 24px;chips 行 margin 16px 0;描述在桌面端最小高度 3 行。整张卡片不是链接;只有 'Times →' 是。
   动效:卡片以硬切揭示(Design motion)按索引 80ms 错峰出现。悬停:边框变为 Signal,照片在其框架内以 500ms --ease-out 缩放 1.05,'→' 向右移动 4px,一条 4px 的 Signal 条沿卡片顶部边缘从左生长(scaleX 0 → 1,260ms)。
6. **今日现场** —— 一条紧凑的条带,让健身房显得有活力。左侧:标签 'TODAY · <weekday in full, uppercase>' 用等宽 13px Signal,H3 'ON THE FLOOR' 用 Anton 40px。右侧:从日程(todayKey())中取今日课程的水平滚动行,每个都是一张票:时间 '17:30' 用 Anton 32px,课程名称用 Archivo 600 16px,教练名称用 13px Dust,名额标签用等宽 12px('7 SPOTS','LAST 2 SPOTS' 用 Signal,'FULL' 用 Dust 并在时间上加删除线)。今天已经结束的课程(按本地时间)以 40% 不透明度显示并带 'DONE'。最后一项是链接磁贴 'FULL WEEK →' 指向 ./timetable.html。如果今天没有课程(默认数据下从不会发生),显示 'REST DAY. BACK TOMORROW 06:00.'
   布局:Concrete 背景,上下各 1px Slab 边框,padding 40px 0。容器 flex:左侧块固定 280px,右侧块 flex 1 并 overflow-x auto,scroll-snap-type x mandatory,gap 12px,细自定义滚动条。票:宽度 200px,padding 18px,Ink 背景,1px Slab 边框,左边缘有一条 6px 宽的虚线垂直穿孔,用 Concrete 和 transparent 的 repeating-linear-gradient 绘制。768px 以下左侧块堆叠在行上方。
   动效:票以 50ms 错峰出现。悬停将票抬起 -4px 并在 160ms 内将其边框切换为 Signal。
7. **定价(#pricing)** —— SectionHead '02' 'MEMBERSHIP' 右侧 'NO JOINING FEE'。H2 'PICK YOUR' / 'ROUND COUNT.'(第二行 Signal)。居中的分段切换:'Monthly' / '10-class pack'(role radiogroup,方向键切换)。三张方案卡片(名称 · 月价 · 每月额度 · 用于单次课程计算的每周到访次数 · 套餐价 · 套餐条款 · 功能):'Off-peak' · $99/month · 16:00 前和周末无限课程 · 3 · $120 · 10 节非高峰课程,3 个月内使用 · ['Every class type before 16:00', 'Weekend classes', 'Gloves and wraps on loan for month one', 'Freeze up to 4 weeks a year'];'Anytime'(精选,标签 'MOST PICKED')· $149/month · 任意时间无限课程 · 6 · $160 · 10 节课,任意时间,3 个月内使用 · ['All 34 weekly sessions', 'Sparring once cleared by a coach', 'Bring a friend free once a month', 'Freeze up to 4 weeks a year'];'Anytime + Coaching' · $259/month · 无限课程外加每月两次 30 分钟私教课 · 6 · $240 · 10 节课外加两次 30 分钟私教课,3 个月内使用 · ['Everything in Anytime', 'Two private sessions with any coach', 'A written six-week strength block', 'Priority booking on full classes']。每张卡片显示:方案名称(Anton 28px 大写),价格(Anton 72px)带后缀('/MONTH' 或 '/ 10 CLASSES' 用等宽 13px Dust),额度行,然后是用等宽 13px 并带 Signal '=' 前缀的单次课程计算行:月付 → '= $8.25 per class at 3 classes a week',按 price / (weeklyVisits × 4) 计算,四舍五入到分(99/12 = 8.25,149/24 = 6.21,259/24 = 10.79);套餐 → '= $12.00 per class, never auto-renews',按 price / 10 计算(12.00,16.00,24.00)。然后是功能列表,带 Lucide Check 16px Signal,以及一个按钮 'Start free'(精选卡片上为主按钮,其他为描边按钮)链接到 #trial,并在井号前附加 ?plan=<id>(./index.html?plan=anytime#trial)。卡片下方脚注用 14px Dust:'Monthly plans roll month to month: cancel with 30 days' notice at the desk or by email. Packs never auto-renew. Students and first responders get 15% off monthly plans with ID.'
   布局:Coal 背景,padding 128px 0。切换 margin 48px auto 0,宽度 360px(480px 以下 100%),高度 52px,1px Slab 边框,两个等宽单元格,一个 Signal 滑块(绝对定位,50% 宽度)位于活动标签之后;活动标签为 Signal 上的 Ink,非活动为 Chalk 70%。卡片网格 margin-top 48px:3 栏 gap 20px,align-items stretch(1024px 以下堆叠,移动端精选在前)。卡片:Ink 背景,1px Slab 边框,padding 32px,flex column,按钮推到底部(margin-top auto,全宽)。精选卡片:2px Signal 边框,桌面端 translateY(-12px),'MOST PICKED' 标签作为 Signal 标签悬挂在顶部边缘(top -14px,left 32px,等宽 12px Ink on Signal,padding 4px 10px)。脚注 margin-top 32px,居中,max-width 70ch。
   动效:切换滑块以弹簧在单元格之间滑动(stiffness 500,damping 38)。切换时,每个价格、后缀和单次课程行以垂直滚动交换:旧值向上退出(y -100%,opacity 0),新值从下方进入(y 100% → 0),220ms --ease-cut,在 overflow-hidden 盒子内,使用 AnimatePresence mode 'popLayout'。卡片以 80ms 错峰出现。
8. **教练(#coaches)** —— SectionHead '03' 'COACHES' 右侧 '6 COACHES · 53 YEARS COMBINED'(总和从内容计算)。H2 'CORNERED BY' / 'PEOPLE WHO CARE.'(第二行 Signal)。六张教练卡片来自内容:字母组合磁贴(首字母用 Anton 88px,Chalk on Concrete,磁贴右下角有一条对角线 10px 胶带条纹丝带),角色用等宽 12px 大写 Signal,姓名用 Anton 30px 大写,'14 YEARS COACHING' 用等宽 12px Dust,专长标签为描边 chips,简介用 Archivo 15px Chalk 80%,以及 'Teaches:' 后跟该教练所带的课程名称,从日程派生(例如 'Fundamentals · Bag Rounds')。
   布局:Ink 背景,padding 128px 0。网格 3 栏 gap 20px(1024px 以下 2 栏,640px 以下 1 栏)。卡片:1px Slab 边框,无背景;字母组合磁贴宽高比 1/1,全卡片宽度,grain 叠加 10%;body padding 24px。没有教练照片或 AI 肖像。
   动效:揭示错峰 70ms。悬停:字母组合磁贴背景在 220ms 内从 Concrete → Signal,首字母从 Chalk → Ink;胶带丝带沿其对角线滑动 12px。
9. **成绩与会员评价(#results)** — 全出血色带,`ring-corner.webp` 以 35% 不透明度置于 `.duo` 中,位于 Ink 叠加层之后。SectionHead '04' 'RESULTS'。一行四个计数器(数字使用 Anton,`clamp(64px, 8vw, 120px)`,Chalk 色;标签使用 mono 12px 大写 Dust 色;每个数字上方有一条 32×4px 的 Signal 色条):'412' 'active members';'86%' 'still training after 6 months';'11,600+' 'classes coached since 2017';'38' 'members' first amateur bouts'。下方是三张评价卡(引文使用 Archivo 500 20px Chalk 色,开引号使用 40px Signal 色 Anton 字体的 '“',然后是成绩事实,使用 mono 13px Signal 色,再是姓名和背景,使用 14px Dust 色):'I walked in not knowing how to make a fist. Fourteen months later I box three nights a week and sleep like a stone.' · 'DOWN 9 KG · 3 CLASSES / WEEK' · 'Renata V. — member since 2023, accountant';'Iron Hour fixed my back and my deadlift in the same year. Dee writes the blocks, I just show up and do them.' · 'DEADLIFT 60 → 115 KG IN 9 MONTHS' · 'Jonah P. — member since 2022, line cook';'Tomasz never let me spar until I was ready, and then he matched me perfectly. My first bout felt like a Saturday class.' · 'FIRST AMATEUR BOUT · WON ON POINTS' · 'Lucía M. — member since 2021, nurse'。评价下方的小字,13px Dust 色:'Results from real routines of individual members; yours depend on how often you train and what you eat.'
   布局:相对定位区块,内边距 136px 0,背景照片绝对定位并覆盖,带 Ink 80% 叠加层和颗粒。计数器:4 列网格,间距 24px(1024px 以下为 2×2)。评价区 margin-top 80px:3 列,间距 20px(1024px 以下堆叠),每张卡片 1px Slab 边框,Ink 70% 背景,内边距 32px。
   动效:计数器在 40% 可见时跳动(Design motion);Signal 色条在此之前从左擦入(scaleX 0 → 1,500ms)。评价卡以 90ms 错峰显现。
10. **免费体验表单(#trial)** — SectionHead '05' 'FREE TRIAL',右侧 '1 CLASS · NO CARD'。左栏:H2 'YOUR FIRST' / 'ROUND IS ON US.'(第二行 Signal 色);引导语 'Pick a class, tell us a little about you and show up 15 minutes early. A coach meets you at the desk, wraps your hands and stays with you all session.';清单使用 Lucide Check 16px Signal 色:'Gloves and wraps on loan'、'Showers, lockers and towels'、'No contract, no card, no hard sell';照片 `bench-gloves.webp`(`.duo`,宽高比 1/1)。右栏:表单卡片,标题 'BOOK YOUR TRIAL'(Anton 32px)。字段按顺序:First name(必填,错误提示 'Tell us what to call you.');Last name(必填,错误提示 'Add your last name.');Email(必填,正则 `/^[^\s@]+@[^\s@]+\.[^\s@]+$/`,错误提示 'Enter an email like [email protected].');Phone(可选,若填写则必须包含至少 10 位数字,错误提示 'Add a number with at least 10 digits, or leave it empty.');'Which class?' 下拉选择,按天分组在 `<optgroup>` 中列出所有未满的课程,选项文本如 'Mon 17:30 · Fundamentals · Marco'(已满课程省略),必填,错误提示 'Pick a class for your trial.';'Boxing experience' 单选磁贴 'Never thrown a punch' / 'A few classes' / 'I've competed',必填,错误提示 'Choose the closest one.' — 若选择 'Never thrown a punch' 且所选课程为 Sparring 或 Pad Lab,显示内联 Signal 边框提示:'Most first-timers start at Fundamentals. You can keep this class, but we'd suggest Wed 17:30 or Sat 09:00.'(这两个时间是从当前时间起接下来的两节未满的 Fundamentals 课程);'Injuries or anything we should know?' 文本域(可选,最多 300 字符,实时计数器 '0 / 300');复选框 'I'm 16 or older and will fill in a short health form at the desk.'(必填,错误提示 'Please confirm to continue.')。预填:若 URL 含 `?class=<session id>`,则预选该课程;若含 `?plan=<id>`,则在提交按钮上方显示一行小字 'Interested in: Anytime'(计划名称)。提交按钮全宽 'Book my free class'。验证:字段触碰后失焦时验证,提交时验证所有字段;提交有错误时,聚焦第一个无效字段,并在顶部以 Signal 色显示摘要行:'Fix 2 fields to book your class.'(计数)。验证通过提交时:按钮文本变为 'Booking…',带 14px 旋转加载图标,持续 800ms,然后表单卡片替换为票券式成功面板:mono 'TRIAL CONFIRMED' 使用 Signal 色,H3 'YOU'RE IN, {FIRST NAME}.'(大写),一行三个字段 'CLASS'(如 'Fundamentals')、'WHEN'('Mon 17:30–18:30')、'COACH'('Marco Ruelas'),参考号 'CB-' + 4 位随机数字,使用 JetBrains Mono 20px,文本 'Arrive 15 minutes early at 2210 Foundry Row. Bring water and wear trainers; we'll handle the rest. A confirmation is on its way to {email}.' 实际不发送任何内容。按钮 'Book another' 重置表单。
   布局:Concrete 背景,内边距 128px 0。12 列网格:左栏第 1–5 列(H2,引导语 margin-top 24px,清单 margin-top 28px 间距 12px,照片 margin-top 40px,1024px 以下隐藏);右栏第 7–12 列为卡片:Ink 背景,1px Slab 边框,内边距 40px(640px 以下 24px)。First/Last name 两列一行(640px 以下堆叠)。标签使用 Archivo 600 13px 大写,字间距 0.06em,Chalk 80% 色,位于输入框上方;输入框高度 52px,背景 Coal,1px Slab 边框,Chalk 文字 16px,内边距 0 16px,方形;聚焦:边框 Signal 色加 2px Signal 色轮廓偏移 2px;无效:边框 Signal 色,消息 13px Signal 色,带 Lucide AlertTriangle 14px,`role` alert,设置 `aria-invalid` 和 `aria-describedby`。单选磁贴:3 等列(640px 以下堆叠),选中磁贴 Signal 边框 2px 和 Chalk 文字,其余 Dust 文字。票券成功面板:与卡片同尺寸,一条虚线 1px Slab 线分隔头部和字段行,虚线处左右边缘各切出两个 24px 半圆缺口(径向渐变遮罩),最小高度与表单相同,以免页面跳动。真实 `<form noValidate>` 配合 `onSubmit` `preventDefault`;不发送或存储任何内容。
   动效:错误消息下滑(高度自动,180ms)。成功:表单淡出(150ms),票券从 y -24px 落下,带轻微 rotate(-1.5deg) → 0 和 opacity 0 → 1,持续 420ms `--ease-cut`,然后一条 6px Signal 色胶带条纹擦过其顶部边缘(scaleX 0 → 1,360ms)。
11. **新手 FAQ(#faq)** — SectionHead '06' 'FIRST-TIMER FAQ'。左侧:H2 'ASK BEFORE' / 'YOU ASK.'(第二行 Signal 色)和公有领域照片 `black-gloves.jpg`(`.duo`,宽高比 4/5,`object-position` 30% 50%),带 mono 说明文字 'Loaner gloves live on the wall by the desk.'。右侧:八个手风琴项:'I've never boxed. Am I too unfit to start?' → 'No. Fundamentals is built for day one: technique first, conditioning second, and every drill has an easier version. Most members came in unable to finish a three-minute round.';'Will I get hit?' → 'Not unless you choose to. Fundamentals, Bag Rounds, Pad Lab, Iron Hour and Engine are no-contact. Sparring is optional and only open once a coach has cleared you, usually after three to six months.';'What should I wear and bring?' → 'Trainers or bare feet, clothes you can move in, water and a towel. We lend gloves and wraps for your first month; after that, 12–16 oz gloves cost around $60.';'How big are the classes?' → 'Sixteen people maximum, twelve for Sparring, with at least one coach on the floor and two in Fundamentals on weekday evenings.';'I'm 47. Is this a young person's gym?' → 'Our members range from 16 to 68. The median age is 34, and the 07:15 crowd skews older and very punctual.';'How often should a beginner train?' → 'Two or three times a week: two Fundamentals and one Iron Hour or Engine is the mix we recommend for the first eight weeks.';'Can I freeze or cancel?' → 'Monthly plans can be frozen for up to four weeks a year and cancelled with 30 days' notice. Packs never auto-renew and last three months.';'Is there parking?' → 'Twelve free spots in the yard off Tallow Street, a covered bike rack inside the door, and the 14 bus stops at Foundry Row and 3rd.'。
   布局:Ink 背景,内边距 128px 0。网格:左栏第 1–5 列,在 ≥1024px 时 sticky 于 top 104px(H2 然后照片 margin-top 40px),右栏第 7–12 列为手风琴。项:1px Slab 底部边框,问题按钮全宽,内边距 24px 0,Archivo 600 19px Chalk 色,右侧 28px 方形切换按钮,用 CSS 加号(两条 2px 横条),打开时变为 Signal 色;答案 Archivo 16px/1.65 Chalk 80% 色,内边距 0 48px 24px 0。一次只开一项;第一项默认打开。按钮使用 `aria-expanded` 和 `aria-controls`。
   动效:答案高度从 0 → auto 动画,带透明度,持续 280ms `--ease-cut`(AnimatePresence);加号旋转 45° 变成 X。
12. **到访信息区(Visit band)** — 三列:'FIND US' — '2210 Foundry Row'、'Oakland, CA 94607'、'Entrance on Tallow St, roller door with the orange stripe';'DESK HOURS' — 将内容中的四条营业时间行放入双列等宽字体表格,今天的行用 Signal 色并带一个小 'TODAY' 标签,另加一行实时状态 'Open now · until 21:30' 或 'Closed · opens Sat 08:30',按 America/Los_Angeles 时区计算;'CALL OR WRITE' — '(510) 555-0172'(tel: 链接)和 '[email protected]'(mailto: 链接)。它们右侧是一个代码绘制的 SVG 街区地图:在 Coal 底色上用 Concrete 色绘制 8 个街道矩形的深色网格,街道标签 'FOUNDRY ROW'、'TALLOW ST'、'3RD ST' 使用等宽字体 10px Dust 色,健身房所在街区填充胶带条纹图案,并有一个 12px 的 Signal 色方形标记,标签为 'YOU'RE HERE SOON'。
   布局:Coal 背景,1px Slab 色上边框,内边距 88px 0。12 列网格:三个信息列跨 1–7 列(每列带一个等宽字体 12px Signal 色标题),地图跨 8–12 列,宽高比 4/3,带 1px Slab 色边框。低于 1024px 时全部堆叠,地图排在最后。
   动效:地图标记脉冲(scale 1 → 1.6,opacity 0.6 → 0,1.6s 无限循环),在方块后方的一个圆环上。
13. **页脚(Footer)** — 顶部为胶带条纹带。巨大的字标 [BRAND] 大写,使用 Anton 字体 clamp(64px, 12vw, 200px),行高 0.85,Chalk 色,最后一个词用 Signal 色,自然换行。四列:'TRAIN'(六个课程名称 → ./timetable.html?type=<id>);'CLUB'(Pricing、Coaches、Results、FAQ → ./index.html#<id>);'VISIT'(地址行和电话);'HOURS'(四行)。底部行:左侧 '© 2017–present [BRAND]. Train hard, tap gloves, put the weights back.';右侧,如果保留 [CREDIT],则显示等宽字体 11px Dust 色的小型署名链接。
   布局:Ink 背景,内边距 72px 0 32px。字标下边距 56px,其下有一条 1px Slab 色分隔线。4 列网格间距 32px(低于 1024px 为 2 列,低于 640px 为 1 列);列标题为等宽字体 12px Signal 色,条目为 Archivo 15px Chalk 色 80% 不透明度。底部行上边距 56px,上内边距 20px,1px Slab 色上边框,flex space-between,低于 640px 时堆叠。
   动效:字标各行进入时随标题遮罩上升。

### 课程表(`timetable.html`)
1. **页头(Header)** — 与 index.html 相同的 Header 组件,始终处于滚动状态,'Timetable' 为激活项。
   布局:固定定位,72px。页面内容以 padding-top 72px 开始。
2. **报头(Masthead)** — 眉题 'TIMETABLE · 34 SESSIONS · MON–SUN',使用等宽字体 13px Signal(数量根据课程表计算)。H1 'THE WEEK.'。导语:'34 classes, six types, sixteen people max. Tap any class for the details, then book it as your free trial.' 右侧:六种课程类型的垂直图例,每种类型各有一个两字母代码,置于 28px Concrete 方块中(FU、BR、PL、SP、IH、EN),并配有强度条,以便解释紧凑网格单元格中使用的代码。报头下方,一条全宽色带,使用 heavy-ropes.jpg(.duo,桌面端宽高比 16/4,移动端 16/7,object-position 50% 40%),其下方是胶带条纹。
   布局:Ink 背景,padding 64px 0 48px。网格:文本列 1–7(H1 Anton clamp(72px, 12vw, 180px),line-height 0.86),图例列 9–12,桌面端为 2×3 网格,1024px 以下为水平滚动行。照片色带全宽位于下方,margin-top 48px。
   动效:加载时 H1 标题遮罩;图例项以 40ms 交错淡入;色带照片视差:图像在色带滚动进度中从 0 移动到其高度的 -8%(Motion useScroll + useTransform)。
3. **筛选栏(Filter bar)** — 两组标签。'CLASS'(等宽字体 11px Dust 标签):'All',然后是六个课程名称。'LEVEL':'Any level'、'Beginner'、'Open to all'、'Intermediate'、'Advanced'。课程标签为多选(选中任意一项会取消选中 'All';取消选中最后一项会重新选中 'All');级别为单选。右侧:实时计数 'SHOWING 12 OF 34',使用等宽字体 13px(aria-live polite),以及一个文本按钮 'Clear'(Lucide X 14px),仅在筛选激活时显示。筛选条件通过 history.replaceState 同步到 URL 查询(?type=bag-rounds,engine&level=beginner),并在加载时从中读取,因此来自首页的链接会预先筛选。
   布局:粘性定位 top 72px,z-index 30,Ink 95% 并带 backdrop-filter blur(8px),1px Slab 底边框,padding 16px 0。容器 flex wrap gap 12px 32px。标签:高度 36px,padding 0 14px,1px Slab 边框,Archivo 600 13px 大写 letter-spacing 0.06em,Chalk 75%;选中标签 Signal 背景、Ink 文字、Signal 边框;按钮带 aria-pressed。768px 以下每组为单行水平滚动(overflow-x auto,不换行),计数移到其下方。
   动效:标签背景和颜色过渡 140ms;按下的标签缩放至 0.96,持续 80ms。计数字像价格数字一样滚动(220ms)。
4. **周网格(桌面端 ≥1024px)** — 八列:一个时间列和 Mon–Sun。列标题:日期简称使用 Anton 28px('MON'),课程数量使用等宽字体 11px Dust('6 CLASSES');今天的列标题为 Signal,带 3px Signal 下划线和 'TODAY' 标签,今天的列主体为 Coal 背景。行:课程表中九个不同的开始时间,已排序(06:00、07:15、09:00、10:15、11:30、12:15、17:30、18:45、20:00),每行以等宽字体 13px Dust 标注。每个课程单元格是一个按钮:两字母代码标签、课程名称 Archivo 700 15px 大写、'17:30–18:30' 使用等宽字体 12px、教练名字使用 13px Dust,以及底部的名额标签('7 SPOTS' Chalk 70%,'LAST 2 SPOTS' Signal,'FULL · WAITLIST' Dust)。空位为淡色 1px 虚线 Slab 单元格,无内容。不符合筛选条件的课程保持原位,不透明度 18%,失去悬停效果并变为不可聚焦(tabIndex -1,aria-hidden)。今天早于当前本地时间的课程显示 'DONE' 而非名额。
   布局:容器 1360px。CSS 网格:grid-template-columns 72px repeat(7, minmax(0, 1fr)),gap 6px。课程单元格 min-height 112px,padding 12px,Concrete 背景,1px Slab 边框,方形,仅 Beginner 课程有 3px Signal 左边框(标记适合初学者)。满员课程获得 Coal 背景和 Dust 文字。
   动效:首次绘制时网格单元格按阅读顺序以 12ms 交错显示。筛选变化动画透明度(200ms),无布局偏移。悬停/聚焦匹配单元格:边框 Signal,translateY(-2px),140ms。
5. **日期列表(移动端和平板 <1024px)** — 七个日期标签 'MON'…'SUN',加载时选中今天的标签(role tablist,方向键在标签间移动)。下方,所选日期的匹配课程为全宽行:左侧时间块(开始时间 Anton 30px,结束时间等宽字体 12px Dust),然后是课程名称、级别标签、教练和名额,右侧为 Lucide ChevronRight 18px。每个标签显示该日匹配课程的小计数('MON 4')。如果某天没有匹配课程:'No classes match on Thursday.' 加上按钮 'Clear filters'。
   布局:标签:7 列网格,粘性定位于筛选栏下方,高度 56px,Anton 18px;选中标签 Signal 文字,带 3px Signal 底边框。行:padding 16px 0,1px Slab 底边框,grid-template-columns 76px 1fr 18px,gap 16px。移动端不匹配的课程从列表中移除(而非变暗)。
   动效:切换标签:列表交叉淡入并沿标签方向滑动 16px,持续 220ms(AnimatePresence mode 'wait')。
6. **课程详情抽屉(Class detail drawer)** — 打开任意课程(单元格、行或加载时带 ?class=<session id> 的链接)会打开抽屉,显示:顶部栏含两字母代码标签、日期和时间 'MONDAY · 17:30–18:30' 使用等宽字体 13px Signal,以及关闭按钮(Lucide X 20px,aria-label 'Close');课程照片(与首页 Classes 卡片相同的映射,.duo,宽高比 16/9);课程名称 Anton 48px 大写;标签:级别、时长、'MAX 16'(Sparring 为 'MAX 12');强度计;课程描述(来自内容,加上每种类型撰写的第二句细节,例如 Fundamentals 的 'Each session ends with three rounds on the bag so you leave having hit something.');'WHAT TO BRING' 及该类型的携带物品说明;教练块:56px 字母组合方块、姓名、角色和专长;容量条:6px Slab 轨道,Signal 填充表示已预约/容量,文字 '9 OF 16 BOOKED · 7 SPOTS LEFT';'ALSO THIS WEEK' 列出同类型的其他课程,为小按钮,可切换抽屉内容;页脚含主按钮 'Book as free trial' → ./index.html?class=<session id>#trial(满员课程按钮显示 'Join waitlist at the desk',为 tel: 链接)和次要按钮 'Close'。
   布局:右侧面板,宽度 460px(640px 以下 100vw),全高,Ink 背景,1px Slab 左边框,独立滚动;页头和页脚在其内部粘性定位。背景:Ink 70% 覆盖页面。抽屉为 role dialog,带 aria-modal,由课程名称标注;打开时焦点移至关闭按钮,Tab 被限制在内,Escape 和点击背景关闭,焦点返回打开它的单元格,body 滚动锁定。选中的课程 id 通过 replaceState 镜像到 URL(?class=…),关闭时移除。
   动效:抽屉从 x 100% 滑到 0,使用弹簧(stiffness 420,damping 40);背景在 200ms 内从 0 淡入到 1;内部块在面板落定后以 40ms 交错上浮 12px 淡入。从 'Also this week' 切换到另一课程时内容交叉淡入(160ms)。减少动效:即时打开/关闭,带 120ms 淡入。
7. **场馆规则和行动号召(House rules and call to action)** — 四个规则卡片,带等宽索引和 Lucide 图标(Clock、Hand、Droplets、ShieldCheck),标题使用 Anton 24px 大写,各一句话:'BE EARLY' — 'Doors to the floor close 5 minutes after start. Ten minutes early gets you wrapped and warm.';'TAP GLOVES' — 'Partners rotate every round. Respect the person holding the pads.';'WIPE IT DOWN' — 'Bags, benches and bars get wiped after use. Spray bottles hang on every pillar.';'TELL THE COACH' — 'Injury, bad night's sleep, first time back: say so before the warm-up and we'll scale it.'。然后是一个 CTA 色带:H2 'FIRST CLASS' / 'IS FREE.'(第二行 Signal),带按钮 'Book trial' → ./index.html#trial 和描边按钮 'See prices' → ./index.html#pricing。
   布局:Coal 背景,padding 96px 0。卡片:4 列 gap 20px(1024px 以下 2 列,640px 以下 1 列),每个 1px Slab 边框,padding 28px。CTA 色带 margin-top 96px:Ink 面板,顶部边缘有 10px 胶带条纹,padding 56px,flex space-between align-end,768px 以下堆叠。
   动效:卡片以 70ms 交错显示;CTA H2 使用标题遮罩。
8. **页脚(Footer)** — 与 index.html 相同的 Footer 组件。
   布局:与首页页脚相同。

## 资源
- 图片:为本设计制作的模板照片(可随模板自由再分发)。用 curl -L -o 将每张图片下载到 public/images/:https://media.vibefather.ai/assets/780d94b9-915b-4c06-9d9c-b81d44fea230/gym-floor.webp → public/images/gym-floor.webp(首页主视觉背景;alt 'Row of worn heavy bags hanging from a steel beam in a dark warehouse gym');https://media.vibefather.ai/assets/780d94b9-915b-4c06-9d9c-b81d44fea230/ring-corner.webp → public/images/ring-corner.webp(Sparring 课程卡片、Sparring 抽屉、Results 背景;alt 'Corner of a boxing ring with taped post and dark ropes under a single light');https://media.vibefather.ai/assets/780d94b9-915b-4c06-9d9c-b81d44fea230/hand-wraps.webp → public/images/hand-wraps.webp(Fundamentals 课程卡片和抽屉;alt 'Hands wrapping a black hand wrap around the knuckles on a gym bench');https://media.vibefather.ai/assets/780d94b9-915b-4c06-9d9c-b81d44fea230/heavy-bag.webp → public/images/heavy-bag.webp(Bag Rounds 课程卡片和抽屉;alt 'Black heavy bag swinging on its chain with chalk dust in the air');https://media.vibefather.ai/assets/780d94b9-915b-4c06-9d9c-b81d44fea230/kettlebells.webp → public/images/kettlebells.webp(Iron Hour 课程卡片和抽屉;alt 'Row of cast-iron kettlebells and a bowl of chalk on rubber flooring');https://media.vibefather.ai/assets/780d94b9-915b-4c06-9d9c-b81d44fea230/bench-gloves.webp → public/images/bench-gloves.webp(Pad Lab 课程卡片和抽屉、Free trial 区块;alt 'Worn boxing gloves, skipping rope and hand wrap on a wooden bench')。
- 图片:公有领域照片:https://thumb.wikimedia.org/wikipedia/commons/thumb/2/2a/Black_boxing_gloves.jpg/1920px-Black_boxing_gloves.jpg → public/images/black-gloves.jpg。用于 Beginner FAQ(宽高比 4/5,object-position 30% 50%;alt 'Old pair of black leather boxing gloves with loose laces')。来源页面 https://commons.wikimedia.org/wiki/File:Black_boxing_gloves.jpg,作者 Airman 1st Class Kerelin Molina(美国空军,经由 Wikimedia Commons),许可:公有领域。
- 图片:CC0 照片:https://thumb.wikimedia.org/wikipedia/commons/thumb/2/2b/Heavy_ropes._%2816589110973%29.jpg/1920px-Heavy_ropes._%2816589110973%29.jpg → public/images/heavy-ropes.jpg。用于 Engine 课程卡片和抽屉,并用作课程表刊头横幅(alt 'Close-up of thick coiled training ropes')。来源页面 https://commons.wikimedia.org/wiki/File:Heavy_ropes._(16589110973).jpg,作者 Bernard Spragg(新西兰基督城,经由 Wikimedia Commons),许可:CC0 1.0。
- 图片:项目根目录的 ASSETS.md 列出了全部八张图片的路径、来源 URL、作者和许可:六张模板照片标注为 'Made for this template, redistributable with it',并附有其 media.vibefather.ai URL;black-gloves.jpg(公有领域,Airman 1st Class Kerelin Molina,美国空军)和 heavy-ropes.jpg(CC0 1.0,Bernard Spragg),以及三个字体包(OFL-1.1)和 lucide-react(ISC)。
- 图标:public/favicon.svg 为手写:viewBox 0 0 32 32,一个 32×32 的正方形填充 #0C0C0B,底部一条 32×8 的色带填充三条斜向 #FF4F1F 条纹(多边形,45°),以及居中的粗体大写 'C'([BRAND] 的首字母)作为 SVG <text> x 16 y 21,text-anchor middle,font-family Impact, sans-serif,font-size 20,fill #EDEAE3。所有 UI 图标均来自 lucide-react;不使用其他图标集,也不使用 logo。
- 字体:安装 @fontsource/anton、@fontsource-variable/archivo 和 @fontsource/jetbrains-mono,并按 Setup 中列出的方式在 src/fonts.ts 中导入它们。Vite 会将 woff2 文件打包进 dist/。

## 禁止事项
- 不得有任何形式的后端:没有服务器代码、API 路由、数据库、认证、分析、预约服务、支付链接、邮件服务或第三方 API。试用表单调用 preventDefault,仅更改本地 React 状态;它从不提交、存储或发送任何内容。
- 不得从 fonts.googleapis.com、fonts.gstatic.com、Adobe Fonts 或任何 CDN 加载字体。仅通过 Fontsource 包自托管。
- 不得使用 CDN 的 `<script>`、`<link>` 或 import maps。每个脚本、样式、字体、图标和图像都在项目中,并打包进 dist/。
- 不得使用热链接图像:每张照片一次性下载到 public/images/ 并从那里提供,每个第三方文件都列在 ASSETS.md 中。不得使用 Unsplash、Pexels、Pixabay 或其他拥有自己许可证的图库网站。
- 生产构建中不得有 source maps(build.sourcemap false),且 src/ 不会复制到 dist/。
- 使用相对资源路径(Vite base './')。内部链接是哈希锚点或文件名,如 ./index.html、./index.html#trial、./index.html?class=mon-1730#trial 和 ./timetable.html?type=engine,绝不能是裸目录或前导斜杠。
- 除非用户要求,否则不得更改技术栈(Vite 5 + React 18 + TypeScript + Tailwind CSS 3.4 + Motion + lucide-react + Fontsource,两个 HTML 入口)。不得使用路由库、UI 套件、日历或日期库。
- 不得出现任何真实健身房、拳击推广机构、管理机构或健身连锁店的标志、名称或标牌,也不得出现属于健身连锁店的商标课程或项目名称。课程名称是此处给出的六个虚构名称。
- 不得出现真实拳击手的姓名、头衔、战绩或引语。每位教练、会员、引语、数字和街道都是虚构的。
- 不得使用带有可识别面孔、可读文字、装备品牌名称或手套、沙袋、垫子或服装上标志的照片。仅使用列出的八张图像;教练是字母组合图案,绝不是照片或 AI 肖像。
- 不得使用与体育品牌相关的商业或自定义展示字体:仅限 Anton、Archivo 和 JetBrains Mono(OFL)。
- 仅允许 MIT、ISC、BSD、Apache-2.0、0BSD、CC0 或 Unlicense 下的依赖(字体为 OFL)。不得使用 Aceternity UI、Tailwind Plus / Tailwind UI 或购买的模板代码;每个效果都从头编写。
- 仅使用一种强调色:Signal(#FF4F1F)及其悬停色调。不得使用装饰性渐变(唯一的渐变是胶带条纹、颗粒和 hero 可读性叠加层),不得使用发光、玻璃拟态卡片、圆角或第二种强调色。
- 严格按照设计动效中所述尊重 prefers-reduced-motion。每个交互元素都可通过键盘访问,并带有 2px Signal 焦点环;chips 使用 aria-pressed,tabs 使用 role tab,accordions 使用 aria-expanded,抽屉是焦点陷阱模态对话框,表单错误使用 role alert。
- 必须在 1440×900 和 390×844 下渲染,控制台零错误且无水平页面滚动(仅 marquee、today strip、legend 和移动端 chip 行在自身内部滚动)。
- 保持 dist/ 在 20 MB 以下(目标低于 8 MB)。
- 不得使用 lorem ipsum、填充内容或炒作词汇。默认值使用此处给出的确切标题、日程、价格、数字和 CTA。不得有元描述、Open Graph 标签、JSON-LD 或站点地图:仅保留 `<title>` 和 favicon。

---
— Prompt by VibeFather · https://vibefather.ai/t/boxing-and-strength-gym-website · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown

个人项目可免费使用(CC BY-NC 4.0)。 商业用途需要 Pro.

DESIGN.md

单独的设计规范:配色、字体、间距和动效。可以把这套视觉用到你已有的项目上。

---
name: "Boxing and Strength Gym Website"
colors:
  ink: "#0C0C0B"
  coal: "#151513"
  concrete: "#232320"
  slab: "#36352F"
  dust: "#8E8B82"
  chalk: "#EDEAE3"
  signal: "#FF4F1F"
  signal_deep: "#D63A0F"
typography:
  display_h1_h2_h3_wordmark_prices_counters_monograms_session_times_class_names_on_cards_family_anton_always_uppercase: { family: "Anton", weights: [400] }
  text_body_nav_buttons_chips_form_fields_faq_quotes_family_archivo_variable_buttons_and_chips_use_weight_600_700_with_uppercase_and_0_06em_tracking: { family: "Archivo", weights: [400, 500, 600, 700] }
  mono_eyebrows_section_indexes_stat_labels_spots_and_capacity_labels_per_class_math_references_hours_table_family_jetbrains_mono_uppercase_letter_spacing_0_1em: { family: "JetBrains Mono", weights: [400, 500] }
spacing: "8px base unit. Container max-width 1360px, centered, side padding 40px desktop, 24px tablet, 20px under 640px. 12-column grid, gap 24px. Section padding 128px vertical desktop, 88px under 768px. SectionHead on every home section: a 1px Slab rule across the container, 20px below it a row with the mono index ('01', JetBrains Mono 500 13px, Signal), the mono label next to it ('CLASSES', 13px, letter-spacing 0.16em, Chalk 70%) and an optional right-aligned mono count; H2 margin-top 40px. Type scale: H1 Anton clamp(76px, 13.5vw, 212px) line-height 0.86; H2 Anton clamp(52px, 7.4vw, 120px) line-height 0.9, each H2 written as two lines with the second in Signal; H3 Anton 40px line-height 1; body Archivo 400 17px/1.6 (16px under 768px), max-width 62ch; lead Archivo 400 20px/1.5 Chalk 85%. Buttons: height 54px, padding 0 26px, Archivo 700 14px uppercase, letter-spacing 0.08em; primary = Signal background, Ink text, on hover background Signal Deep, transform translate(-2px, -2px) and a hard Chalk shadow box-shadow 4px 4px 0 #EDEAE3, back to no shadow and no offset when pressed; secondary = 1.5px Chalk border, Chalk text, hover Chalk background with Ink text. Focus ring everywhere: 2px Signal outline, offset 3px."
radius: "Square corners everywhere (0): cards, photos, buttons, chips, inputs, drawer, tickets. The only round shapes are the pulsing status dots and the map marker ring."
---

# Boxing and Strength Gym Website — Design System

Apply this design system to an existing project. It describes the look and feel only; for the full site, use prompt.md.

## Colors
- **Ink** `#0C0C0B` — Page background, header when scrolled, drawer and form card background, text on Signal.
- **Coal** `#151513` — Alternate section background (marquee, pricing, visit band, house rules), card backgrounds, inputs, full sessions.
- **Concrete** `#232320` — Raised panels: today strip, trial section, timetable session cells, monogram tiles, map blocks.
- **Slab** `#36352F` — All 1px borders and rules, empty intensity bars, capacity track, dashed empty cells.
- **Dust** `#8E8B82` — Muted text: labels, captions, coach names in cells, small print, 'FULL' states.
- **Chalk** `#EDEAE3` — Primary text and headlines; body text uses Chalk at 80%.
- **Signal** `#FF4F1F` — The only accent (blood orange): primary buttons, active chips and tabs, second headline lines, intensity bars, tape stripes, error states, focus rings, today markers.
- **Signal Deep** `#D63A0F` — Hover and pressed state of Signal buttons and chips.

## Typography
- **Display: H1, H2, H3, wordmark, prices, counters, monograms, session times, class names on cards (family 'Anton'). Always uppercase.** — Anton (OFL), weights 400. Self-host the font files.
- **Text: body, nav, buttons, chips, form fields, FAQ, quotes (family 'Archivo Variable'; buttons and chips use weight 600–700 with uppercase and 0.06em tracking).** — Archivo (OFL), weights 400/500/600/700. Self-host the font files.
- **Mono: eyebrows, section indexes, stat labels, spots and capacity labels, per-class math, references, hours table (family 'JetBrains Mono', uppercase, letter-spacing 0.1em).** — JetBrains Mono (OFL), weights 400/500. Self-host the font files.

## Spacing & shape
- Spacing: 8px base unit. Container max-width 1360px, centered, side padding 40px desktop, 24px tablet, 20px under 640px. 12-column grid, gap 24px. Section padding 128px vertical desktop, 88px under 768px. SectionHead on every home section: a 1px Slab rule across the container, 20px below it a row with the mono index ('01', JetBrains Mono 500 13px, Signal), the mono label next to it ('CLASSES', 13px, letter-spacing 0.16em, Chalk 70%) and an optional right-aligned mono count; H2 margin-top 40px. Type scale: H1 Anton clamp(76px, 13.5vw, 212px) line-height 0.86; H2 Anton clamp(52px, 7.4vw, 120px) line-height 0.9, each H2 written as two lines with the second in Signal; H3 Anton 40px line-height 1; body Archivo 400 17px/1.6 (16px under 768px), max-width 62ch; lead Archivo 400 20px/1.5 Chalk 85%. Buttons: height 54px, padding 0 26px, Archivo 700 14px uppercase, letter-spacing 0.08em; primary = Signal background, Ink text, on hover background Signal Deep, transform translate(-2px, -2px) and a hard Chalk shadow box-shadow 4px 4px 0 #EDEAE3, back to no shadow and no offset when pressed; secondary = 1.5px Chalk border, Chalk text, hover Chalk background with Ink text. Focus ring everywhere: 2px Signal outline, offset 3px.
- Radius: Square corners everywhere (0): cards, photos, buttons, chips, inputs, drawer, tickets. The only round shapes are the pulsing status dots and the map marker ring.

## Motion
- Easings: --ease-cut cubic-bezier(0.7, 0, 0.2, 1) for masks, wipes and swaps (fast, hard); --ease-out cubic-bezier(0.2, 0.7, 0.2, 1) for photo scales.
- Headline mask (Mask.tsx): H1 and H2 lines are arrays in content.ts; each line sits in an overflow-hidden block and its inner span rises from translateY(110%) to 0 over 700ms --ease-cut with 80ms stagger, triggered when the heading is 30% visible (Motion whileInView, once).
- Hard-cut reveal (.reveal-cut / Reveal.tsx): blocks start with clip-path inset(0 0 100% 0) and translateY(24px) and animate to inset(0) and 0 over 560ms --ease-cut when 15% visible, once; lists stagger by index.
- Stripe wipe: every Tape divider wipes in from the left on enter (clip-path inset(0 100% 0 0) → inset(0), 600ms --ease-cut).
- Counter ticks (useCountUp, requestAnimationFrame): numeric parts of hero stats and results go from 0 to their value over 1200ms with easeOutExpo when 40% visible, once; thousands separators and suffixes ('%', '+') stay in place; tabular-nums so widths do not jump.
- Marquee: linear translateX(0 → -50%) in 38s, pause on hover.
- Photo hover: scale 1 → 1.05 over 500ms --ease-out inside an overflow-hidden frame. Hero photo scales 1.08 → 1 on load.
- Pricing roll, drawer spring, tab slide and ticket drop exactly as described in their sections.
- prefers-reduced-motion: reduce — disable masks, reveals, wipes, parallax, photo scales, marquee, pulses and counters (show final values); drawer and menus open instantly with a 120ms fade; smooth scrolling off. Color hover changes stay.

## Imagery
Real photographs only, never illustrations: six photos made for this template (warehouse gym floor with heavy bags, ring corner, hand wraps, swinging heavy bag, kettlebells with chalk, gloves and rope on a bench) plus two public-domain / CC0 photos (vintage black boxing gloves, coiled heavy ropes). No faces, no people beyond hands and forearms, no brand names. Every photo gets the same duotone grade through DuoPhoto.tsx: a wrapper with background #0C0C0B; the img has filter grayscale(1) contrast(1.3) brightness(0.78); a ::before overlay with background #FF4F1F, mix-blend-mode color, opacity 0.22 (Signal tint in the mid-tones); and the .grain overlay: an inline SVG data-URI with feTurbulence (type fractalNoise, baseFrequency 0.85, numOctaves 3, stitchTiles stitch) at 220px tile size, mix-blend-mode overlay, opacity 0.22, pointer-events none. object-fit cover everywhere. Coaches are typographic monograms. Everything else is drawn in code: tape stripes (repeating-linear-gradient -45deg Signal/Ink 16px), ticket notches, intensity bars, the CSS ✕ separators, the block map and the favicon. Icons from lucide-react only, stroke-width 2, sizes 14–20px.

## Tone
Short, direct and warm under the grit, like a good coach: imperative headlines in caps, plain sentences in the body, concrete numbers (times, prices, kilos, capacities), no hype words, no fight-promo bravado, no exclamation marks. Never mocking beginners.

---
— Prompt by VibeFather · https://vibefather.ai/t/boxing-and-strength-gym-website · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown

改成你自己的

  • 泰拳馆:将 [DISCIPLINE] 设为 Muay Thai,为缠抱、靶训和实战重写六种课程类型,并保留 34 节课的时间表网格。
  • 力量与体能工作室:将 [BRAND] 设为你的工作室,把课程卡片换成杠铃、壶铃和体能训练模块,并调整强度条。
  • 面向新手的自由搏击俱乐部:将 [AUDIENCE] 设为紧张的新手,重写新手常见问题和体验表单的安抚文案,并保留免费体验预约路径。
  • 开展小团体课程的私人教练:用 [DISCIPLINE] 描述你的训练方法,把教练字母组合替换成你自己的团队,并将价格切换链接到你的课包规格。

拳击与力量健身房网站:常见问题

如何更改课程类型和每周时间表,以匹配我自己的健身房?

拳击与力量健身房网站模板把所有课程、场次、价格和每一行文案都放在一个内容文件里。你设置 [DISCIPLINE] 并重写六种课程类型及其描述和强度等级,然后把每周时间表里的 34 节课替换成你自己的日期、时间、教练和人数上限。布局、动效和照片调色保持原样。

按月与 10 次课包的价格切换能处理我自己的会员价格吗?

可以。拳击与力量健身房网站模板包含一个价格区块,带有按月与 10 次课包切换的开关,会滚动价格并重新计算单节课费用。你在内容文件里替换套餐名称、价格和货币以适配你的健身房,开关会为访客完成单节课费用的计算。

怎么用 AI 做一个拳击与力量健身房网站?

复制本页的提示词,或者运行 npx vibefather add boxing-and-strength-gym-website,把 [CITY]、[BRAND]、[AUDIENCE]、[DISCIPLINE] 换成你自己的内容,再粘贴到 Claude Code、Codex、Cursor 等 AI 编程工具里。在线演示就是用这份提示词原样做出来的。