{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"brand-guidelines","type":"registry:component","title":"Brand Guidelines","description":"An independent 17.9-second identity film with a geometric mark, sliding palette, kinetic type specimens, and original object photography.","dependencies":["remotion","@fontsource/manrope","@fontsource/inter"],"docs":"Needs a Remotion project. If a frame renders black, the component is drawing on a transparent layer: put a background behind it, e.g. <AbsoluteFill style={{ background: \"#faf9f6\" }}><Component /></AbsoluteFill>.","registryDependencies":["https://kuchi.kalarislabs.com/r/type-caret.json"],"files":[{"path":"components/kuchi/templates/brand-guidelines/assets.ts","type":"registry:component","target":"components/kuchi/templates/brand-guidelines/assets.ts","content":"/*! Portions Copyright (c) 2026 Remocn. MIT License. See THIRD_PARTY_LICENSES. */\n// Original still-life photographs, hosted on the Kuchi media CDN.\n// Original AI-generated still-life photographs; no source-video assets.\nexport const brandGuidelinesMedia = {\n  ceramics:\n    \"https://kuchi-media.kalarislabs.com/components/templates/brand-guidelines-ceramics.jpg\",\n  materials:\n    \"https://kuchi-media.kalarislabs.com/components/templates/brand-guidelines-materials.jpg\",\n  chair:\n    \"https://kuchi-media.kalarislabs.com/components/templates/brand-guidelines-chair.jpg\",\n};\n"},{"path":"components/kuchi/templates/brand-guidelines/content.ts","type":"registry:component","target":"components/kuchi/templates/brand-guidelines/content.ts","content":"/*! Portions Copyright (c) 2026 Remocn. MIT License. See THIRD_PARTY_LICENSES. */\nimport { brandGuidelinesMedia } from \"./assets\";\n\nexport const brandGuidelinesTheme = {\n  ink: \"#242321\",\n  accent: \"#A64B38\",\n  stone: \"#D6CFC4\",\n  paper: \"#F5F1E9\",\n};\n\nexport const brandGuidelinesContent = {\n  brandName: \"Form Study\",\n  openingTagline: \"Made with purpose.\",\n  guidelinesLabel: \"Brand guidelines\",\n  collageTitle: \"Objects for everyday living.\",\n  collectionLabel: \"Material studies / No. 01\",\n  footer: \"A fictional identity. Made to be yours.\",\n};\n\nexport const brandGuidelinesPhrases = [\n  \"Material matters.\",\n  \"Keep it simple.\",\n  \"Find your form.\",\n  \"Quiet by design.\",\n  \"Make space.\",\n  \"Feel the texture.\",\n  \"Shape the everyday.\",\n  \"Made with purpose.\",\n];\nexport const brandGuidelinesClosingWords = [\"Make\", \"Ideas\", \"Real.\"];\n\nexport type BrandGuidelinesContent = typeof brandGuidelinesContent;\nexport type BrandGuidelinesTheme = typeof brandGuidelinesTheme;\nexport type BrandGuidelinesPhotos = typeof brandGuidelinesMedia;\nexport type BrandGuidelinesProps = {\n  brandName?: string;\n  accentColor?: string;\n  content?: Partial<BrandGuidelinesContent>;\n  theme?: Partial<BrandGuidelinesTheme>;\n  /** Eight slots: two typed specimens, followed by six quick style cuts. */\n  phrases?: string[];\n  /** Three individually animated closing words. */\n  closingWords?: string[];\n  photos?: Partial<BrandGuidelinesPhotos>;\n  /** A transparent mark suitable for both light and dark backgrounds. */\n  logoSrc?: string;\n  audioSrc?: string;\n  volume?: number;\n  reducedMotion?: boolean;\n};\n\nfunction withDefaults<T extends Record<string, string>>(\n  defaults: T,\n  overrides?: Partial<T>,\n): T {\n  return Object.fromEntries(\n    Object.entries(defaults).map(([key, value]) => [\n      key,\n      overrides?.[key]?.trim() || value,\n    ]),\n  ) as T;\n}\n\nexport function resolveBrandGuidelinesProps(props: BrandGuidelinesProps) {\n  const content = withDefaults(brandGuidelinesContent, props.content);\n  const theme = withDefaults(brandGuidelinesTheme, props.theme);\n  if (props.brandName?.trim()) content.brandName = props.brandName.trim();\n  if (props.accentColor?.trim()) theme.accent = props.accentColor.trim();\n  return {\n    content,\n    theme,\n    phrases: brandGuidelinesPhrases.map(\n      (text, i) => props.phrases?.[i]?.trim() || text,\n    ),\n    closingWords: brandGuidelinesClosingWords.map(\n      (text, i) => props.closingWords?.[i]?.trim() || text,\n    ),\n    photos: withDefaults(brandGuidelinesMedia, props.photos),\n    logoSrc: props.logoSrc?.trim() || undefined,\n    reducedMotion: props.reducedMotion ?? false,\n  };\n}\n\nexport type BrandGuidelinesScene = ReturnType<\n  typeof resolveBrandGuidelinesProps\n>;\nexport type SceneProps = { scene: BrandGuidelinesScene; frame: number };\n"},{"path":"components/kuchi/templates/brand-guidelines/motion.ts","type":"registry:component","target":"components/kuchi/templates/brand-guidelines/motion.ts","content":"/*! Portions Copyright (c) 2026 Remocn. MIT License. See THIRD_PARTY_LICENSES. */\nimport { Easing, interpolate } from \"remotion\";\n\nexport const BRAND_GUIDELINES_FPS = 60;\nexport const BRAND_GUIDELINES_FRAMES = 1072;\nexport const BRAND_GUIDELINES_WIDTH = 1920;\nexport const BRAND_GUIDELINES_HEIGHT = 1080;\n\n// Half-open intervals on the 60 fps picture clock. Overlap preserves the pushes.\nexport const brandGuidelinesTimeline = [\n  { name: \"Identity\", from: 0, to: 118 },\n  { name: \"Palette\", from: 118, to: 326 },\n  { name: \"Typography\", from: 294, to: 806 },\n  { name: \"Object collage\", from: 614, to: 806 },\n  { name: \"Closing identity\", from: 806, to: 1072 },\n] as const;\n\nexport const atFps = (referenceFrame: number, fps: number) =>\n  Math.round((referenceFrame / BRAND_GUIDELINES_FPS) * fps);\n\nexport const progress = (frame: number, from: number, to: number) =>\n  Math.max(0, Math.min(1, (frame - from) / (to - from)));\n\nexport function slide(frame: number, from: number, to: number) {\n  return interpolate(frame, [from, to], [0, 1], {\n    easing: Easing.bezier(0.65, 0, 0.25, 1),\n    extrapolateLeft: \"clamp\",\n    extrapolateRight: \"clamp\",\n  });\n}\n\nconst segmenter = new Intl.Segmenter(\"en\", { granularity: \"grapheme\" });\nexport const graphemes = (text: string) =>\n  Array.from(segmenter.segment(text), (part) => part.segment);\n\n/** Reserve width against the complete phrase, not its currently typed prefix. */\nexport function fitSize(text: string, max: number, width: number) {\n  const units = graphemes(text).reduce((sum, char) => {\n    if (/\\s/.test(char)) return sum + 0.29;\n    if (/[ilI.,'!|]/.test(char)) return sum + 0.29;\n    if (/[MW@%]/.test(char)) return sum + 0.96;\n    if ((char.codePointAt(0) ?? 0) > 0x024f) return sum + 1;\n    return sum + 0.62;\n  }, 0);\n  return Math.min(max, width / Math.max(1, units));\n}\n\nconst quickCuts = [512, 538, 550, 562, 578, 594] as const;\n\n/** Stateless typing and deletion: seeking directly to any frame is identical. */\nexport function specimenState(\n  frame: number,\n  phrases: string[],\n  reduced = false,\n) {\n  let index = 0;\n  let visible = 0;\n  if (frame < 434) {\n    const text = graphemes(phrases[0]);\n    const reveal = progress(frame, 324, 380);\n    const erase = progress(frame, 395, 430);\n    visible = reduced\n      ? frame < 422\n        ? text.length\n        : 0\n      : Math.floor(text.length * (frame < 395 ? reveal : 1 - erase));\n  } else if (frame < 512) {\n    index = 1;\n    visible = reduced\n      ? graphemes(phrases[1]).length\n      : Math.floor(graphemes(phrases[1]).length * progress(frame, 443, 493));\n  } else {\n    index = 2;\n    for (let i = 0; i < quickCuts.length; i++) {\n      if (frame >= quickCuts[i]) index = i + 2;\n    }\n    if (reduced) index = 7;\n    visible = graphemes(phrases[index]).length;\n  }\n  const chars = graphemes(phrases[index]);\n  return {\n    index,\n    fullText: phrases[index],\n    text: chars.slice(0, visible).join(\"\"),\n    settledText: chars.slice(0, Math.max(0, visible - 3)).join(\"\"),\n    activeText: chars.slice(Math.max(0, visible - 3), visible).join(\"\"),\n    caret: !reduced && frame < 594,\n  };\n}\n"},{"path":"components/kuchi/templates/brand-guidelines/ui.tsx","type":"registry:component","target":"components/kuchi/templates/brand-guidelines/ui.tsx","content":"/*! Portions Copyright (c) 2026 Remocn. MIT License. See THIRD_PARTY_LICENSES. */\nimport type { CSSProperties } from \"react\";\nimport { Img, Interactive, useRemotionEnvironment } from \"remotion\";\nimport type { BrandGuidelinesScene } from \"./content\";\n\nexport function BrandImage({\n  src,\n  style,\n}: {\n  src: string;\n  style: CSSProperties;\n}) {\n  // Studio 4.0.513 can loop while registering nested, moving Img layers.\n  // Keep the preview static; exports and embedded Players retain Img's load gate.\n  const { isStudio, isRendering } = useRemotionEnvironment();\n  if (isStudio && !isRendering) {\n    // biome-ignore lint/performance/noImgElement: Studio-only workaround for nested media registration; exports use Remotion Img below.\n    return <img src={src} alt=\"\" style={style} />;\n  }\n  return <Img src={src} style={style} />;\n}\n\n/** An original architectural monogram: a slab and two quarter-circle modules. */\nexport function FormStudyMark({\n  scene,\n  color,\n  size = 100,\n}: {\n  scene: BrandGuidelinesScene;\n  color: string;\n  size?: number;\n}) {\n  if (scene.logoSrc)\n    return (\n      <BrandImage\n        src={scene.logoSrc}\n        style={{ width: size, height: size, objectFit: \"contain\" }}\n      />\n    );\n  return (\n    <svg\n      viewBox=\"0 0 100 100\"\n      width={size}\n      height={size}\n      fill={color}\n      role=\"img\"\n      aria-label={`${scene.content.brandName} mark`}\n    >\n      <rect x=\"9\" y=\"7\" width=\"25\" height=\"86\" />\n      <path d=\"M42 7h49v9c0 18-14 32-32 32H42Z\" />\n      <path d=\"M42 56h36v5c0 17-13 30-30 30h-6Z\" />\n    </svg>\n  );\n}\n\nexport function Label({\n  children,\n  style,\n}: {\n  children: React.ReactNode;\n  style?: CSSProperties;\n}) {\n  return (\n    <Interactive.Div\n      name=\"Identity label\"\n      style={{\n        fontFamily: '\"Inter\", sans-serif',\n        fontSize: 13,\n        fontWeight: 400,\n        lineHeight: 1.25,\n        ...style,\n      }}\n    >\n      {children}\n    </Interactive.Div>\n  );\n}\n"},{"path":"components/kuchi/templates/brand-guidelines/index.tsx","type":"registry:component","target":"components/kuchi/templates/brand-guidelines/index.tsx","content":"/*! Portions Copyright (c) 2026 Remocn. MIT License. See THIRD_PARTY_LICENSES. */\n\"use client\";\n\nimport \"@fontsource/manrope/400.css\";\nimport \"@fontsource/manrope/500.css\";\nimport \"@fontsource/manrope/800.css\";\nimport \"@fontsource/inter/400.css\";\nimport \"@fontsource/inter/300-italic.css\";\nimport \"@fontsource/inter/500-italic.css\";\nimport { useMemo } from \"react\";\nimport {\n  AbsoluteFill,\n  Audio,\n  Sequence,\n  useCurrentFrame,\n  useVideoConfig,\n} from \"remotion\";\nimport {\n  type BrandGuidelinesProps,\n  resolveBrandGuidelinesProps,\n} from \"./content\";\nimport {\n  atFps,\n  BRAND_GUIDELINES_FPS,\n  BRAND_GUIDELINES_FRAMES,\n  BRAND_GUIDELINES_HEIGHT,\n  BRAND_GUIDELINES_WIDTH,\n} from \"./motion\";\nimport { ClosingIdentity } from \"./scenes/closing\";\nimport { ObjectCollage } from \"./scenes/collage\";\nimport { Identity } from \"./scenes/identity\";\nimport { Palette } from \"./scenes/palette\";\nimport { Typography } from \"./scenes/typography\";\n\nexport type {\n  BrandGuidelinesContent,\n  BrandGuidelinesPhotos,\n  BrandGuidelinesProps,\n  BrandGuidelinesTheme,\n} from \"./content\";\nexport {\n  brandGuidelinesContent,\n  brandGuidelinesPhrases,\n  brandGuidelinesTheme,\n} from \"./content\";\nexport {\n  BRAND_GUIDELINES_FPS,\n  BRAND_GUIDELINES_FRAMES,\n  BRAND_GUIDELINES_HEIGHT,\n  BRAND_GUIDELINES_WIDTH,\n  brandGuidelinesTimeline,\n} from \"./motion\";\n\nexport function BrandGuidelines(props: BrandGuidelinesProps) {\n  const currentFrame = useCurrentFrame();\n  const { fps, width, height } = useVideoConfig();\n  const frame = (currentFrame / fps) * BRAND_GUIDELINES_FPS;\n  const {\n    brandName,\n    accentColor,\n    content,\n    theme,\n    phrases,\n    closingWords,\n    photos,\n    logoSrc,\n    reducedMotion,\n  } = props;\n  const scene = useMemo(\n    () =>\n      resolveBrandGuidelinesProps({\n        brandName,\n        accentColor,\n        content,\n        theme,\n        phrases,\n        closingWords,\n        photos,\n        logoSrc,\n        reducedMotion,\n      }),\n    [\n      brandName,\n      accentColor,\n      content,\n      theme,\n      phrases,\n      closingWords,\n      photos,\n      logoSrc,\n      reducedMotion,\n    ],\n  );\n  const scale = Math.min(width / 960, height / 540);\n  const at = (f: number) => atFps(f, fps);\n  return (\n    <AbsoluteFill\n      style={{\n        background: scene.theme.paper,\n        color: scene.theme.ink,\n        overflow: \"hidden\",\n        fontFamily: '\"Manrope\", sans-serif',\n        WebkitFontSmoothing: \"antialiased\",\n      }}\n    >\n      <div\n        style={{\n          position: \"absolute\",\n          width: 960,\n          height: 540,\n          left: (width - 960 * scale) / 2,\n          top: (height - 540 * scale) / 2,\n          scale,\n          transformOrigin: \"0 0\",\n          overflow: \"hidden\",\n        }}\n      >\n        <Sequence\n          name=\"Identity\"\n          from={0}\n          durationInFrames={at(118)}\n          layout=\"none\"\n        >\n          <Identity scene={scene} frame={frame} />\n        </Sequence>\n        <Sequence\n          name=\"Palette\"\n          from={at(118)}\n          durationInFrames={at(326) - at(118)}\n          layout=\"none\"\n        >\n          <Palette scene={scene} frame={frame} />\n        </Sequence>\n        <Sequence\n          name=\"Typography\"\n          from={at(294)}\n          durationInFrames={at(806) - at(294)}\n          layout=\"none\"\n        >\n          <Typography scene={scene} frame={frame} />\n        </Sequence>\n        <Sequence\n          name=\"Object collage\"\n          from={at(614)}\n          durationInFrames={at(806) - at(614)}\n          layout=\"none\"\n        >\n          <ObjectCollage scene={scene} frame={frame} />\n        </Sequence>\n        <Sequence\n          name=\"Closing identity\"\n          from={at(806)}\n          durationInFrames={at(1072) - at(806)}\n          layout=\"none\"\n        >\n          <ClosingIdentity scene={scene} frame={frame} />\n        </Sequence>\n      </div>\n      {props.audioSrc?.trim() ? (\n        <Audio\n          src={props.audioSrc}\n          volume={\n            Number.isFinite(props.volume)\n              ? Math.max(0, Math.min(1, props.volume ?? 1))\n              : 1\n          }\n        />\n      ) : null}\n    </AbsoluteFill>\n  );\n}\n\nexport const brandGuidelinesConfig = {\n  componentName: \"BrandGuidelines\",\n  importPath: \"@/components/kuchi/templates/brand-guidelines\",\n  controls: {\n    brandName: {\n      type: \"text-content\" as const,\n      default: \"Form Study\",\n      description: \"Brand name across the identity posters and closing lockup\",\n    },\n    accentColor: {\n      type: \"color\" as const,\n      default: \"#A64B38\",\n      description: \"Mark, palette panel and active typography\",\n    },\n    reducedMotion: {\n      type: \"boolean\" as const,\n      default: false,\n      description:\n        \"Static layouts without typing, collage travel or tile flips\",\n    },\n  },\n  durationInFrames: BRAND_GUIDELINES_FRAMES,\n  fps: BRAND_GUIDELINES_FPS,\n  compositionWidth: BRAND_GUIDELINES_WIDTH,\n  compositionHeight: BRAND_GUIDELINES_HEIGHT,\n};\n"},{"path":"components/kuchi/templates/brand-guidelines/scenes/identity.tsx","type":"registry:component","target":"components/kuchi/templates/brand-guidelines/scenes/identity.tsx","content":"/*! Portions Copyright (c) 2026 Remocn. MIT License. See THIRD_PARTY_LICENSES. */\nimport { AbsoluteFill, Interactive } from \"remotion\";\nimport type { SceneProps } from \"../content\";\nimport { fitSize, slide } from \"../motion\";\nimport { FormStudyMark } from \"../ui\";\n\nexport function Identity({ scene, frame }: SceneProps) {\n  const reveal = scene.reducedMotion ? 1 : slide(frame, 18, 33);\n  return (\n    <AbsoluteFill style={{ background: scene.theme.paper }}>\n      <Interactive.Div\n        name=\"Opening mark\"\n        style={{ position: \"absolute\", left: 428, top: 185 }}\n      >\n        <FormStudyMark scene={scene} color={scene.theme.accent} size={104} />\n      </Interactive.Div>\n      <Interactive.Div\n        name=\"Opening tagline\"\n        style={{\n          position: \"absolute\",\n          top: 321,\n          left: 100,\n          width: 760,\n          textAlign: \"center\",\n          fontSize: fitSize(scene.content.openingTagline, 32, 760),\n          fontWeight: 800,\n          letterSpacing: \"-0.04em\",\n          opacity: reveal,\n          translate: `0 ${10 * (1 - reveal)}px`,\n        }}\n      >\n        {scene.content.openingTagline}\n      </Interactive.Div>\n    </AbsoluteFill>\n  );\n}\n"},{"path":"components/kuchi/templates/brand-guidelines/scenes/palette.tsx","type":"registry:component","target":"components/kuchi/templates/brand-guidelines/scenes/palette.tsx","content":"/*! Portions Copyright (c) 2026 Remocn. MIT License. See THIRD_PARTY_LICENSES. */\nimport { AbsoluteFill } from \"remotion\";\nimport type { SceneProps } from \"../content\";\nimport { slide } from \"../motion\";\nimport { Label } from \"../ui\";\n\nexport function Palette({ scene, frame }: SceneProps) {\n  const { theme, reducedMotion } = scene;\n  const x = (start: number, end: number, to: number) =>\n    reducedMotion ? to : 960 + (to - 960) * slide(frame, start, end);\n  const accentX = x(166, 201, 422);\n  const panels = [\n    { color: theme.accent, left: accentX, text: theme.paper },\n    { color: theme.stone, left: x(211, 241, 566), text: theme.ink },\n    { color: theme.paper, left: x(249, 279, 744), text: theme.ink },\n  ];\n  return (\n    <AbsoluteFill\n      style={{\n        background: theme.ink,\n        translate: reducedMotion\n          ? undefined\n          : `${-960 * slide(frame, 294, 326)}px 0`,\n      }}\n    >\n      <Label\n        style={{\n          position: \"absolute\",\n          left: accentX / 2,\n          top: 258,\n          translate: \"-50% 0\",\n          color: theme.paper,\n          fontSize: 16,\n        }}\n      >\n        {theme.ink.toUpperCase()}\n      </Label>\n      {panels.map((panel, i) => (\n        <div\n          key={i === 0 ? \"accent\" : i === 1 ? \"stone\" : \"paper\"}\n          style={{\n            position: \"absolute\",\n            top: 0,\n            bottom: 0,\n            left: panel.left,\n            width: 960,\n            background: panel.color,\n            color: panel.text,\n          }}\n        >\n          <Label\n            style={{ position: \"absolute\", left: 16, top: 258, fontSize: 16 }}\n          >\n            {panel.color.toUpperCase()}\n          </Label>\n        </div>\n      ))}\n    </AbsoluteFill>\n  );\n}\n"},{"path":"components/kuchi/templates/brand-guidelines/scenes/typography.tsx","type":"registry:component","target":"components/kuchi/templates/brand-guidelines/scenes/typography.tsx","content":"/*! Portions Copyright (c) 2026 Remocn. MIT License. See THIRD_PARTY_LICENSES. */\nimport { AbsoluteFill, Interactive } from \"remotion\";\nimport { Caret } from \"@/components/kuchi/type-caret\";\nimport type { SceneProps } from \"../content\";\nimport { fitSize, progress, slide, specimenState } from \"../motion\";\nimport { Label } from \"../ui\";\n\nconst styles = [\n  { fontFamily: \"Manrope\", fontWeight: 800, label: \"Manrope / ExtraBold\" },\n  { fontFamily: \"Manrope\", fontWeight: 400, label: \"Manrope / Regular\" },\n  {\n    fontFamily: \"Inter\",\n    fontWeight: 500,\n    fontStyle: \"italic\",\n    label: \"Inter / Medium Italic\",\n  },\n  {\n    fontFamily: \"Inter\",\n    fontWeight: 300,\n    fontStyle: \"italic\",\n    label: \"Inter / Light Italic\",\n  },\n  { fontFamily: \"Manrope\", fontWeight: 800, label: \"Manrope / ExtraBold\" },\n  { fontFamily: \"Manrope\", fontWeight: 500, label: \"Manrope / Medium\" },\n  {\n    fontFamily: \"Inter\",\n    fontWeight: 500,\n    fontStyle: \"italic\",\n    label: \"Inter / Medium Italic\",\n  },\n  { fontFamily: \"Manrope\", fontWeight: 800, label: \"Manrope / ExtraBold\" },\n] as const;\n\nexport function Typography({ scene, frame }: SceneProps) {\n  const state = specimenState(frame, scene.phrases, scene.reducedMotion);\n  const spec = styles[state.index];\n  const fontSize = fitSize(state.fullText, 80, 850);\n  const guides = 1 - progress(frame, 600, 620);\n  return (\n    <AbsoluteFill\n      style={{\n        background: scene.theme.paper,\n        translate: scene.reducedMotion\n          ? undefined\n          : `${960 * (1 - slide(frame, 294, 326))}px 0`,\n      }}\n    >\n      <div style={{ opacity: guides }}>\n        <Label\n          style={{\n            position: \"absolute\",\n            top: 195,\n            width: \"100%\",\n            textAlign: \"center\",\n          }}\n        >\n          {scene.content.guidelinesLabel}\n        </Label>\n        {[226, 268, 310].map((y) => (\n          <div\n            key={y}\n            style={{\n              position: \"absolute\",\n              left: 48,\n              right: 48,\n              top: y,\n              height: 1,\n              background: scene.theme.stone,\n            }}\n          />\n        ))}\n        <Label\n          style={{\n            position: \"absolute\",\n            top: 335,\n            width: \"100%\",\n            textAlign: \"center\",\n          }}\n        >\n          {spec.label}\n        </Label>\n      </div>\n      <Interactive.Div\n        name=\"Editable type specimen\"\n        style={{\n          position: \"absolute\",\n          left: 48,\n          top: 216,\n          height: 104,\n          display: \"flex\",\n          alignItems: \"center\",\n          fontFamily: spec.fontFamily,\n          fontWeight: spec.fontWeight,\n          fontStyle: \"fontStyle\" in spec ? spec.fontStyle : \"normal\",\n          fontSize,\n          letterSpacing: \"-0.055em\",\n          lineHeight: 1.1,\n          whiteSpace: \"nowrap\",\n          filter:\n            !scene.reducedMotion && frame > 636\n              ? `blur(${progress(frame, 636, 660) * 2}px)`\n              : undefined,\n        }}\n      >\n        <span>\n          {state.caret ? state.settledText : state.text}\n          {state.caret ? (\n            <span style={{ color: scene.theme.accent }}>\n              {state.activeText}\n            </span>\n          ) : null}\n        </span>\n        {state.caret ? (\n          <Caret\n            height={88}\n            width={3}\n            radius={0}\n            marginLeft={5}\n            color={scene.theme.accent}\n            opacity={1}\n          />\n        ) : null}\n      </Interactive.Div>\n    </AbsoluteFill>\n  );\n}\n"},{"path":"components/kuchi/templates/brand-guidelines/scenes/collage.tsx","type":"registry:component","target":"components/kuchi/templates/brand-guidelines/scenes/collage.tsx","content":"/*! Portions Copyright (c) 2026 Remocn. MIT License. See THIRD_PARTY_LICENSES. */\nimport { useMemo } from \"react\";\nimport { AbsoluteFill } from \"remotion\";\nimport type { BrandGuidelinesScene, SceneProps } from \"../content\";\nimport { fitSize, slide } from \"../motion\";\nimport { BrandImage, FormStudyMark, Label } from \"../ui\";\n\ntype Plate = {\n  id: string;\n  kind: \"ceramics\" | \"materials\" | \"chair\" | \"poster\" | \"mark\" | \"specimen\";\n  x: number;\n  y: number;\n  width: number;\n  height: number;\n  velocity: number;\n  delay: number;\n  direction: number;\n  depth?: number;\n};\n\n// Coordinates at frame 710. Independent tracks continue beyond the cut.\nconst plates: Plate[] = [\n  {\n    id: \"back-materials\",\n    kind: \"materials\",\n    x: 35,\n    y: -135,\n    width: 245,\n    height: 190,\n    velocity: 1.15,\n    delay: 0,\n    direction: -1,\n    depth: 0.7,\n  },\n  {\n    id: \"back-type\",\n    kind: \"specimen\",\n    x: 645,\n    y: -145,\n    width: 260,\n    height: 205,\n    velocity: -1.1,\n    delay: 2,\n    direction: -1,\n  },\n  {\n    id: \"back-chair\",\n    kind: \"chair\",\n    x: 695,\n    y: 330,\n    width: 210,\n    height: 280,\n    velocity: -1.6,\n    delay: 6,\n    direction: 1,\n  },\n  {\n    id: \"left-poster\",\n    kind: \"poster\",\n    x: 23,\n    y: 88,\n    width: 252,\n    height: 178,\n    velocity: 1.15,\n    delay: 2,\n    direction: -1,\n  },\n  {\n    id: \"right-materials\",\n    kind: \"materials\",\n    x: 666,\n    y: 72,\n    width: 265,\n    height: 195,\n    velocity: -1.6,\n    delay: 3,\n    direction: 1,\n  },\n  {\n    id: \"left-ceramics\",\n    kind: \"ceramics\",\n    x: 62,\n    y: 280,\n    width: 266,\n    height: 340,\n    velocity: 1.15,\n    delay: 5,\n    direction: 1,\n  },\n  {\n    id: \"upper-mark\",\n    kind: \"mark\",\n    x: 317,\n    y: -118,\n    width: 260,\n    height: 193,\n    velocity: -1.05,\n    delay: 10,\n    direction: -1,\n    depth: 0.5,\n  },\n  {\n    id: \"lower-type\",\n    kind: \"specimen\",\n    x: 403,\n    y: 452,\n    width: 285,\n    height: 225,\n    velocity: -1.05,\n    delay: 7,\n    direction: 1,\n  },\n  {\n    id: \"foreground-chair\",\n    kind: \"chair\",\n    x: 290,\n    y: 86,\n    width: 276,\n    height: 362,\n    velocity: -1.05,\n    delay: 4,\n    direction: -1,\n  },\n  {\n    id: \"foreground-mark\",\n    kind: \"mark\",\n    x: 554,\n    y: 268,\n    width: 260,\n    height: 204,\n    velocity: -1.6,\n    delay: 9,\n    direction: 1,\n  },\n];\n\nfunction Poster({\n  scene,\n  kind,\n}: {\n  scene: BrandGuidelinesScene;\n  kind: Plate[\"kind\"];\n}) {\n  const { theme, content } = scene;\n  if (kind === \"mark\")\n    return (\n      <AbsoluteFill\n        style={{\n          background: theme.ink,\n          color: theme.paper,\n          alignItems: \"center\",\n          justifyContent: \"center\",\n        }}\n      >\n        <FormStudyMark scene={scene} color={theme.paper} size={74} />\n        <Label\n          style={{ position: \"absolute\", bottom: 17, left: 18, fontSize: 10 }}\n        >\n          {content.brandName}\n        </Label>\n      </AbsoluteFill>\n    );\n  if (kind === \"poster\")\n    return (\n      <AbsoluteFill\n        style={{\n          background: theme.accent,\n          color: theme.paper,\n          padding: 19,\n          boxSizing: \"border-box\",\n        }}\n      >\n        <Label style={{ fontSize: 9 }}>{content.collectionLabel}</Label>\n        <div\n          style={{\n            marginTop: 17,\n            fontSize: fitSize(content.collageTitle, 32, 490),\n            lineHeight: 1.02,\n            letterSpacing: \"-0.045em\",\n            fontWeight: 500,\n            maxWidth: 200,\n          }}\n        >\n          {content.collageTitle}\n        </div>\n        <div style={{ position: \"absolute\", right: 16, bottom: 13 }}>\n          <FormStudyMark scene={scene} color={theme.paper} size={27} />\n        </div>\n      </AbsoluteFill>\n    );\n  return (\n    <AbsoluteFill\n      style={{\n        background: scene.theme.stone,\n        color: scene.theme.ink,\n        padding: 21,\n        boxSizing: \"border-box\",\n      }}\n    >\n      <div\n        style={{\n          fontSize: fitSize(content.brandName, 44, 238),\n          lineHeight: 1,\n          letterSpacing: \"-0.06em\",\n          fontWeight: 800,\n        }}\n      >\n        {content.brandName}\n      </div>\n      <div style={{ display: \"flex\", gap: 6, marginTop: 26 }}>\n        {Object.values(theme).map((color, i) => (\n          <div\n            key={[\"ink\", \"accent\", \"stone\", \"paper\"][i]}\n            style={{\n              width: 45,\n              height: 45,\n              borderRadius: i === 1 ? \"50%\" : 0,\n              background: color,\n            }}\n          />\n        ))}\n      </div>\n      <Label style={{ position: \"absolute\", bottom: 20, fontSize: 10 }}>\n        {content.openingTagline}\n      </Label>\n    </AbsoluteFill>\n  );\n}\n\nexport function ObjectCollage({ scene, frame }: SceneProps) {\n  // Photo/poster content changes with props, not with the camera or track positions.\n  const contents = useMemo(\n    () =>\n      plates.map((plate) => {\n        const kind = plate.kind;\n        return kind === \"ceramics\" ||\n          kind === \"materials\" ||\n          kind === \"chair\" ? (\n          <BrandImage\n            key={plate.id}\n            src={scene.photos[kind]}\n            style={{ width: \"100%\", height: \"100%\", objectFit: \"cover\" }}\n          />\n        ) : (\n          <Poster key={plate.id} scene={scene} kind={kind} />\n        );\n      }),\n    [scene],\n  );\n  return (\n    <AbsoluteFill\n      style={{\n        scale: scene.reducedMotion ? 1 : 1 + 0.045 * slide(frame, 640, 806),\n      }}\n    >\n      {plates.map((plate, index) => {\n        const enter = slide(frame, 614 + plate.delay, 642 + plate.delay);\n        const y = scene.reducedMotion\n          ? plate.y\n          : plate.y +\n            (frame - 710) * plate.velocity +\n            (1 - enter) * 730 * plate.direction;\n        return (\n          <div\n            key={plate.id}\n            style={{\n              position: \"absolute\",\n              left: plate.x,\n              top: 0,\n              width: plate.width,\n              height: plate.height,\n              translate: `0 ${y}px`,\n              overflow: \"hidden\",\n              boxShadow: \"0 8px 24px rgb(0 0 0 / 0.07)\",\n              filter:\n                !scene.reducedMotion && plate.depth\n                  ? `blur(${plate.depth}px)`\n                  : undefined,\n            }}\n          >\n            {contents[index]}\n          </div>\n        );\n      })}\n    </AbsoluteFill>\n  );\n}\n"},{"path":"components/kuchi/templates/brand-guidelines/scenes/closing.tsx","type":"registry:component","target":"components/kuchi/templates/brand-guidelines/scenes/closing.tsx","content":"/*! Portions Copyright (c) 2026 Remocn. MIT License. See THIRD_PARTY_LICENSES. */\nimport { AbsoluteFill, Interactive } from \"remotion\";\nimport type { SceneProps } from \"../content\";\nimport { fitSize, progress, slide } from \"../motion\";\nimport { FormStudyMark, Label } from \"../ui\";\n\nexport function ClosingIdentity({ scene, frame }: SceneProps) {\n  const { theme, reducedMotion, content } = scene;\n  const wordsOut = reducedMotion\n    ? Number(frame >= 942)\n    : slide(frame, 930, 944);\n  const markIn = reducedMotion ? Number(frame >= 944) : slide(frame, 944, 959);\n  const nameOut = reducedMotion\n    ? Number(frame >= 1000)\n    : slide(frame, 988, 1008);\n  return (\n    <AbsoluteFill style={{ background: theme.ink, color: theme.paper }}>\n      {frame < 944\n        ? scene.closingWords.map((word, index) => {\n            const turn = slide(frame, 860 + index * 3, 883 + index * 3);\n            const bounce = reducedMotion\n              ? 0\n              : Math.sin(\n                  progress(frame, 806, 860) * Math.PI * 2 + index * 1.1,\n                ) *\n                (1 - turn) *\n                17;\n            const blockWidth = index === 0 ? 94 : 50;\n            return (\n              <Interactive.Div\n                key={\n                  index === 0\n                    ? \"first-word\"\n                    : index === 1\n                      ? \"second-word\"\n                      : \"third-word\"\n                }\n                name=\"Closing word tile\"\n                style={{\n                  position: \"absolute\",\n                  top: 241,\n                  left: 88 + index * 292,\n                  width: 200,\n                  height: 65,\n                  textAlign: \"center\",\n                  perspective: 600,\n                  opacity: 1 - wordsOut,\n                  translate: `0 ${bounce - 20 * wordsOut}px`,\n                }}\n              >\n                {!reducedMotion && turn < 0.5 ? (\n                  <div\n                    style={{\n                      margin: \"9px auto\",\n                      width: blockWidth,\n                      height: 39,\n                      background: theme.paper,\n                      transform: `rotateX(${180 * turn}deg)`,\n                    }}\n                  />\n                ) : (\n                  <div\n                    style={{\n                      fontSize: fitSize(word, 42, 196),\n                      fontWeight: 800,\n                      letterSpacing: \"-0.05em\",\n                      lineHeight: 1.2,\n                      transform: reducedMotion\n                        ? undefined\n                        : `rotateX(${-180 * (1 - turn)}deg)`,\n                    }}\n                  >\n                    {word}\n                  </div>\n                )}\n              </Interactive.Div>\n            );\n          })\n        : null}\n      {frame >= 944 ? (\n        <Interactive.Div\n          name=\"Closing brand lockup\"\n          style={{\n            position: \"absolute\",\n            left: 100,\n            width: 760,\n            top: 175,\n            height: 190,\n            opacity: markIn,\n            scale: reducedMotion ? 1 : 0.88 + 0.12 * markIn,\n          }}\n        >\n          <div style={{ position: \"absolute\", left: 333, top: 44 * nameOut }}>\n            <FormStudyMark scene={scene} color={theme.paper} size={94} />\n          </div>\n          <div\n            style={{\n              position: \"absolute\",\n              top: 113,\n              width: \"100%\",\n              textAlign: \"center\",\n              fontSize: fitSize(content.brandName, 40, 660),\n              fontWeight: 800,\n              letterSpacing: \"-0.05em\",\n              opacity: 1 - nameOut,\n              translate: `0 ${-12 * nameOut}px`,\n            }}\n          >\n            {content.brandName}\n          </div>\n        </Interactive.Div>\n      ) : null}\n      <Label\n        style={{\n          position: \"absolute\",\n          bottom: 26,\n          left: 70,\n          right: 70,\n          textAlign: \"center\",\n          fontSize: 11,\n          color: theme.stone,\n          opacity: reducedMotion\n            ? Number(frame >= 1008)\n            : slide(frame, 1006, 1024),\n        }}\n      >\n        {content.footer}\n      </Label>\n    </AbsoluteFill>\n  );\n}\n"}]}